/* inter-300 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/inter-v20-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/inter-v20-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/inter-v20-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/inter-v20-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/inter-v20-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-800 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('/fonts/inter-v20-latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-900 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('/fonts/inter-v20-latin_latin-ext-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* barlow-condensed-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/barlow-condensed-v13-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* barlow-condensed-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/barlow-condensed-v13-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* barlow-condensed-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/barlow-condensed-v13-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* barlow-condensed-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/barlow-condensed-v13-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* barlow-condensed-800 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  src: url('/fonts/barlow-condensed-v13-latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ─── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --c-bg: #000;
  --c-text: #fff;
  --c-accent: rgb(234, 0, 4);
  --c-accent-dim: rgba(234, 0, 4, 0.12);
  --c-muted: rgba(255,255,255,0.45);
  --c-border: rgba(255,255,255,0.1);
  --nav-h: 72px;
  --max-w: 1200px;
  --font-main: 'Inter', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --ease: cubic-bezier(.25,.46,.45,.94);
}
html { scroll-behavior: smooth; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── SCROLLBAR ─────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: var(--c-accent); border-radius: 2px; }

/* ─── LAYOUT ─────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ─── NAV ────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--c-border);
}
.nav-inner {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.nav-logo img { height: 20px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c-muted);
  transition: color 0.25s;
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 1px;
  background: var(--c-accent); transform: scaleX(0); transition: transform 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-accent); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: #c00003; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#mobile-menu {
  display: none; position: fixed; inset: 0; top: var(--nav-h);
  background: #000; z-index: 999; padding: 40px 24px;
  flex-direction: column; gap: 0;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-size: 28px; font-weight: 700; font-family: var(--font-cond);
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--c-muted); padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
  transition: color 0.2s;
}
#mobile-menu a:hover { color: #fff; }
#mobile-menu .nav-cta { margin-top: 32px; width: fit-content; font-size: 14px; padding: 14px 28px; }

/* ─── MAIN CONTENT ──────────────────────────────────── */
#page { padding-top: var(--nav-h); min-height: 100vh; }
.page-section { display: block; }

/* ── BREADCRUMBS ── */
.breadcrumbs { border-bottom: 1px solid var(--c-border); }
.breadcrumbs ol {
  list-style: none; margin: 0; padding: 18px 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.02em;
}
.breadcrumbs li { display: flex; align-items: center; gap: 8px; color: var(--c-muted); }
.breadcrumbs a { color: var(--c-muted); text-decoration: none; transition: color var(--ease); }
.breadcrumbs a:hover { color: var(--c-accent); }
.breadcrumbs li[aria-current] { color: rgba(255,255,255,0.85); }
.breadcrumbs .sep { color: rgba(255,255,255,0.25); font-size: 11px; }
@media (max-width: 640px) {
  .breadcrumbs ol { padding: 14px 0; font-size: 12px; }
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-accent); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 16px 32px; border-radius: 2px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: #c00003; transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(234,0,4,0.35);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 31px; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px; transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-outline:hover {
  border-color: #fff; transform: translateY(-2px);
}

/* ─── SECTION LABEL ─────────────────────────────────── */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 20px;
}
.section-label::before {
  content: ''; display: block; width: 28px; height: 2px; background: var(--c-accent);
}

/* ─── SECTION HEADING ───────────────────────────────── */
.section-title {
  font-family: var(--font-cond); font-size: clamp(36px,5vw,64px);
  font-weight: 800; letter-spacing: -0.01em; line-height: 1.05;
  text-transform: uppercase;
}
.section-title em { font-style: normal; color: var(--c-accent); }

/* ─── DIVIDER ────────────────────────────────────────── */
.divider { height: 1px; background: var(--c-border); }

/* ─────────────────────────────────────────────────────── */
/* ══ PAGE: STRONA GŁÓWNA ══════════════════════════════ */
/* ─────────────────────────────────────────────────────── */

/* HERO */
.hero {
  position: relative; min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('/img/serwis-samochodowy-myslowice-hero.webp');
  background-size: cover; background-position: center 40%;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.60) 50%,
    rgba(0,0,0,0.40) 100%
  );
}
.hero-content {
  position: relative; z-index: 1;
  padding: 80px 0 100px;
  max-width: var(--max-w); margin: 0 auto; padding-left: 24px; padding-right: 24px;
  padding-bottom: 80px;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 40px; height: 2px; background: var(--c-accent); }
.hero-title {
  font-family: var(--font-cond);
  font-size: clamp(32px, 6vw, 82px);
  font-weight: 900; line-height: 0.95;
  text-transform: uppercase; letter-spacing: -0.02em;
  margin-bottom: 32px; max-width: 800px;
}
.hero-title .line-red { color: var(--c-accent); }
.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px); font-weight: 300;
  color: rgba(255,255,255,0.75); max-width: 480px;
  line-height: 1.65; margin-bottom: 48px;
}
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span {
  font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--c-muted);
}
.scroll-line {
  width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%,100% { opacity: 0.3; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 1; }
}

/* USŁUGI PREVIEW */
.services-preview { padding: 100px 0; }
.services-preview-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 64px; flex-wrap: wrap; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}
.service-card {
  background: #000; padding: 36px 28px;
  cursor: pointer;
  transition: background 0.25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--c-accent); transform: scaleX(0); transition: transform 0.3s var(--ease);
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: #0d0d0d; }
.service-icon {
  width: 40px; height: 40px; margin-bottom: 24px;
  color: var(--c-accent); opacity: 0.9;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card-title {
  font-family: var(--font-cond); font-size: 18px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.2;
  margin-bottom: 12px;
}
.service-card-desc {
  font-size: 13px; color: var(--c-muted); line-height: 1.6;
}
.service-card-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-accent); margin-top: 24px;
  transition: gap 0.2s;
}
.service-card:hover .service-card-arrow { gap: 10px; }

/* PARALLAX 1 */
.parallax-section {
  position: relative; min-height: 540px;
  display: flex; align-items: center;
  overflow: hidden;
}
.parallax-bg {
  position: absolute; inset: -60px 0;
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.parallax-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.80);
}
.parallax-content {
  position: relative; z-index: 1;
  width: 100%; padding: 80px 24px;
  max-width: var(--max-w); margin: 0 auto;
}
.parallax-1-bg {
  background-image: url('/img/serwis-myslowice-paralax.webp');
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; margin-top: 56px;
}
.feature-item { }
.feature-num {
  font-family: var(--font-cond); font-size: 13px; font-weight: 700;
  color: var(--c-accent); letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.feature-title {
  font-family: var(--font-cond); font-size: 24px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.feature-desc { font-size: 14px; color: var(--c-muted); line-height: 1.65; }

/* PARALLAX 2 – CTA */
.parallax-2-bg {
  background-image: url('/img/serwis-samochodowy-myslowice-kontakt.webp');
}
.parallax-2-content {
  max-width: 700px;
}
.parallax-2-title {
  font-family: var(--font-cond); font-size: clamp(36px, 5vw, 68px);
  font-weight: 900; text-transform: uppercase; line-height: 1;
  margin-bottom: 24px;
}
.parallax-2-body {
  font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.65;
  margin-bottom: 40px;
}
.cta-phone {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-cond); font-size: 36px; font-weight: 800;
  color: var(--c-accent); letter-spacing: -0.02em; margin-bottom: 32px;
}
.cta-phone svg { width: 28px; height: 28px; }
.cta-address {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-main); font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.65); letter-spacing: 0.02em;
  margin-bottom: 32px; cursor: pointer;
  transition: color .2s var(--ease);
}
.cta-address:hover { color: #fff; }
.cta-address svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--c-accent); }

/* HOMEPAGE ABOUT TEASER */
.about-teaser { padding: 100px 0px 50px 0px; }
.about-teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-teaser-img {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
}
.about-teaser-img img { width: 100%; height: 100%; object-fit: cover; }
.about-teaser-img::after {
  content: ''; position: absolute; bottom: -1px; right: -1px;
  width: 60%; height: 60%;
  border-bottom: 2px solid var(--c-accent);
  border-right: 2px solid var(--c-accent);
}
.about-teaser-text p {
  color: var(--c-muted); font-size: 15px; line-height: 1.8;
  margin-bottom: 20px;
}

/* ─────────────────────────────────────────────────────── */
/* ══ PAGE: O NAS ════════════════════════════════════════ */
/* ─────────────────────────────────────────────────────── */
.page-hero {
  padding: 80px 0 0;
  background: #000;
  border-bottom: 1px solid var(--c-border);
}
.page-hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: end; padding-bottom: 80px;
}
.page-hero-img {
  aspect-ratio: 16/9; overflow: hidden;
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-text p {
  color: var(--c-muted); font-size: 15px; line-height: 1.8;
  margin-bottom: 16px;
}
.values-section { padding: 0px 0px 50px 0px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--c-border); border: 1px solid var(--c-border); margin-top: 56px; }
.value-card { background: #000; padding: 40px 32px; }
.value-card-icon {
  width: 36px; height: 36px; margin-bottom: 24px; color: var(--c-accent);
}
.value-card-title {
  font-family: var(--font-cond); font-size: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px;
}
.value-card-desc { font-size: 14px; color: var(--c-muted); line-height: 1.65; }
.team-section { padding: 0 0 100px; }
.team-section p { color: var(--c-muted); font-size: 15px; line-height: 1.8; max-width: 680px; margin-top: 32px; }
.team-visual {
  margin-top: 64px; position: relative; overflow: hidden;
  border: 1px solid var(--c-border);
}
.team-visual img { width: 100%; max-height: 500px; object-fit: cover; }
.team-visual-label {
  position: absolute; bottom: 0; left: 0;
  background: var(--c-accent); padding: 12px 24px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────── */
/* ══ PAGE: USŁUGI ═══════════════════════════════════════ */
/* ─────────────────────────────────────────────────────── */
.services-page-hero { padding: 80px 0 64px; border-bottom: 1px solid var(--c-border); }
.services-seo {
  padding: 72px 0;
  border-bottom: 1px solid var(--c-border);
}
.services-seo-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.services-seo h2 {
  font-family: var(--font-cond); font-size: 28px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.2;
}
.services-seo-body p {
  color: var(--c-muted); font-size: 15px; line-height: 1.8; margin-bottom: 16px;
}
.services-list { padding: 80px 0 100px; }
.services-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}
.service-tile {
  background: #000; padding: 36px 28px 40px;
  cursor: pointer; transition: background 0.25s;
  position: relative; overflow: hidden;
  min-height: 240px; display: flex; flex-direction: column;
}
.service-tile::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--c-accent); transform: scaleX(0); transition: transform 0.3s var(--ease);
  transform-origin: left;
}
.service-tile:hover::after { transform: scaleX(1); }
.service-tile:hover { background: #0d0d0d; }
.service-tile-icon {
  width: 36px; height: 36px; color: var(--c-accent); margin-bottom: 20px;
}
.service-tile-icon svg { width: 100%; height: 100%; }
.service-tile-title {
  font-family: var(--font-cond); font-size: 19px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.2;
  margin-bottom: 10px;
}
.service-tile-desc { font-size: 13px; color: var(--c-muted); line-height: 1.6; flex: 1; }
.service-tile-link {
  margin-top: 24px; display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-accent); transition: gap 0.2s;
}
.service-tile:hover .service-tile-link { gap: 10px; }

/* ─────────────────────────────────────────────────────── */
/* ══ PAGE: USŁUGA DETAIL ════════════════════════════════ */
/* ─────────────────────────────────────────────────────── */
.service-detail { padding: 80px 0 100px; }
.service-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 80px; align-items: start; }
.service-detail-body p {
  color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.8; margin-bottom: 20px;
}
.service-detail-body h3 {
  font-family: var(--font-cond); font-size: 22px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin: 36px 0 16px; color: #fff;
}
.service-detail-sidebar { }
.sidebar-card {
  background: #0a0a0a; border: 1px solid var(--c-border);
  padding: 32px; margin-bottom: 16px;
}
.sidebar-card-title {
  font-family: var(--font-cond); font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
  color: var(--c-muted);
}
.sidebar-phone {
  font-family: var(--font-cond); font-size: 28px; font-weight: 800;
  color: var(--c-accent); letter-spacing: -0.02em;
}
.sidebar-email { font-size: 14px; color: var(--c-muted); margin-top: 8px; }
.sidebar-hours { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 2; }
.service-detail-img {
  aspect-ratio: 16/9; overflow: hidden;
  margin-bottom: 48px; position: relative;
}
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; margin: 16px 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: rgba(255,255,255,0.75);
  padding: 10px 0; border-bottom: 1px solid var(--c-border);
}
.checklist li::before {
  content: ''; display: block; flex-shrink: 0;
  width: 16px; height: 16px; margin-top: 2px;
  border: 2px solid var(--c-accent); border-radius: 50%;
  position: relative;
}
.checklist li.check::before {
  background: var(--c-accent); border-color: var(--c-accent);
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: 48px; cursor: pointer;
  transition: color 0.2s; padding-top: 32px;
}
.back-link:hover { color: #fff; }

/* ─────────────────────────────────────────────────────── */
/* ══ PAGE: KONTAKT ══════════════════════════════════════ */
/* ─────────────────────────────────────────────────────── */
.contact-section { padding: 80px 0 100px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info { }
.contact-info-item { margin-bottom: 40px; }
.contact-info-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 10px;
}
.contact-info-value {
  font-family: var(--font-cond); font-size: 24px; font-weight: 700;
  color: #fff; letter-spacing: -0.01em;
}
.contact-info-sub { font-size: 14px; color: var(--c-muted); margin-top: 4px; }
.contact-map {
  aspect-ratio: 4/3; background: #0a0a0a; border: 1px solid var(--c-border);
  overflow: hidden; margin-top: 48px;
}
.contact-map iframe { width: 100%; height: 100%; }
.contact-form { }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--c-muted); margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: #0a0a0a; border: 1px solid var(--c-border);
  color: #fff; font-family: var(--font-main); font-size: 14px;
  padding: 14px 16px; outline: none; border-radius: 0;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--c-accent); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-submit { width: 100%; padding: 18px; margin-top: 8px; }
.form-notice {
  font-size: 12px; color: var(--c-muted); line-height: 1.6; margin-top: 16px;
}
.form-success {
  background: rgba(0,180,80,0.1); border: 1px solid rgba(0,180,80,0.3);
  padding: 20px; text-align: center; display: none;
  font-size: 14px; color: rgba(0,220,100,0.9);
}

/* ── Zgody w formularzu ─────────────────────────────────── */
.consent-block { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--c-border); }
.consent-row {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 16px; cursor: pointer;
}
.consent-row:last-child { margin-bottom: 0; }
.consent-row input[type="checkbox"] {
  position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; cursor: pointer;
}
.consent-box {
  flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 3px;
  background: rgba(255,255,255,0.04);
  display: grid; place-items: center;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.consent-box svg {
  width: 12px; height: 12px; color: #fff; opacity: 0;
  transform: scale(.6); transition: opacity .18s ease, transform .18s var(--ease);
}
.consent-row input:checked ~ .consent-box { background: var(--c-accent); border-color: var(--c-accent); }
.consent-row input:checked ~ .consent-box svg { opacity: 1; transform: scale(1); }
.consent-row input:focus-visible ~ .consent-box { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.consent-row.has-error .consent-box { border-color: var(--c-accent); background: var(--c-accent-dim); }
.consent-text { font-size: 12.5px; line-height: 1.6; color: var(--c-muted); }
.consent-text a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 2px; }
.consent-text .opt {
  font-size: 10px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
}
.consent-error {
  display: none; font-size: 12px; color: var(--c-accent);
  margin: -6px 0 14px; padding-left: 32px;
}
.consent-error.is-visible { display: block; }
.consent-info { margin-top: 16px; border: 1px solid var(--c-border); border-radius: 3px; }
.consent-info summary {
  list-style: none; cursor: pointer; padding: 12px 15px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-muted); display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.consent-info summary::-webkit-details-marker { display: none; }
.consent-info summary:hover { color: var(--c-text); }
.consent-info summary::after {
  content: ''; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px,-2px); transition: transform .25s var(--ease); flex-shrink: 0;
}
.consent-info[open] summary::after { transform: rotate(-135deg) translate(-2px,-2px); }
.consent-info__body { padding: 0 15px 15px; font-size: 12px; line-height: 1.65; color: var(--c-muted); }
.consent-info__body p { margin-bottom: 9px; }
.consent-info__body p:last-child { margin-bottom: 0; }
.consent-info__body strong { color: rgba(255,255,255,0.85); }

/* Link do ustawień cookies w stopce */
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a, .footer-legal button {
  font-size: 13px; color: var(--c-muted); background: none; border: none;
  padding: 0; cursor: pointer; font-family: inherit; transition: color .25s var(--ease);
}
.footer-legal a:hover, .footer-legal button:hover { color: var(--c-accent); }

/* ─────────────────────────────────────────────────────── */
/* ══ PAGE: POLICY ═══════════════════════════════════════ */
/* ─────────────────────────────────────────────────────── */
.policy-content { padding: 80px 0 100px; max-width: 800px; }
.policy-content h2 {
  font-family: var(--font-cond); font-size: 28px; font-weight: 700;
  text-transform: uppercase; margin: 48px 0 20px;
  padding-top: 48px; border-top: 1px solid var(--c-border);
}
.policy-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.policy-content p, .policy-content li {
  font-size: 15px; color: var(--c-muted); line-height: 1.8; margin-bottom: 16px;
}
.policy-content ul { padding-left: 20px; margin-bottom: 20px; }
.policy-content strong { color: rgba(255,255,255,0.85); }

/* ─────────────────────────────────────────────────────── */
/* ══ FOOTER ═════════════════════════════════════════════ */
/* ─────────────────────────────────────────────────────── */
#footer {
  background: #050505; border-top: 1px solid var(--c-border);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
  padding-bottom: 64px;
}
.footer-logo img { height: 20px; margin-bottom: 20px; }
.footer-tagline { font-size: 13px; color: var(--c-muted); line-height: 1.7; max-width: 280px; }
.footer-col-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px; color: var(--c-muted); cursor: pointer;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--c-accent); }
.footer-contact-item span { font-size: 14px; color: var(--c-muted); }
.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copyright { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-border); color: var(--c-muted);
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--c-accent); color: var(--c-accent); }
.footer-social svg { width: 16px; height: 16px; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid, .services-masonry { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-teaser-grid { grid-template-columns: 1fr; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .services-seo-inner { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .hero-title { font-size: clamp(44px, 12vw, 72px); }
  .services-grid, .services-masonry { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ─── BRANDS SECTION ────────────────────────────────── */
.brands-section {
  background: #fff;
  padding: 80px 0;
  overflow: hidden;
}
.brands-header {
  text-align: center;
  margin-bottom: 56px;
  padding: 0 24px;
}
.brands-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 20px; justify-content: center;
}
.brands-label::before {
  content: ''; display: block; width: 28px; height: 2px; background: var(--c-accent);
}
.brands-label::after {
  content: ''; display: block; width: 28px; height: 2px; background: var(--c-accent);
}
.brands-title {
  font-family: var(--font-cond);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 1.05;
  color: #000;
}
.brands-title em { font-style: normal; color: var(--c-accent); }
.brands-sub {
  font-size: 15px; color: #666; margin-top: 16px; font-weight: 300;
}
.carousel-wrap {
  position: relative;
}
.carousel-wrap::before,
.carousel-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.carousel-wrap::before { left: 0; background: linear-gradient(to right, #fff 0%, transparent 100%); }
.carousel-wrap::after  { right: 0; background: linear-gradient(to left,  #fff 0%, transparent 100%); }
.carousel-track {
  display: flex; align-items: center; gap: 0;
  width: max-content;
  animation: carouselScroll 36s linear infinite;
}
.carousel-track:hover { animation-play-state: paused; }
@keyframes carouselScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.brand-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 0 48px;
  height: 72px;
  border-right: 1px solid #eee;
  flex-shrink: 0;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.3s;
  cursor: default;
}
.brand-logo:hover { filter: grayscale(0) opacity(1); }
.brand-logo img {
  height: 72px; width: auto; max-width: 230px;
  object-fit: contain;
}

/* ─── UTILS ──────────────────────────────────────────── */
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.red { color: var(--c-accent); }
.muted { color: var(--c-muted); }


/* ═══════════════════════════════════════════════════════════
   DODANE PRZY PRZEJŚCIU NA STRUKTURĘ WIELOPLIKOWĄ
   ═══════════════════════════════════════════════════════════ */

/* Kotwice (np. /#o-nas) nie mogą chować się pod przyklejonym menu. */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Pominięcie nawigacji – widoczne dopiero po tabulacji. */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--c-accent); color: #fff;
  padding: 12px 20px; font-size: 14px; font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Linkowanie wewnętrzne na podstronach usług. */
.service-related {
  margin-top: 64px; padding-top: 32px;
  border-top: 1px solid var(--c-border);
}
.service-related ul {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px 24px;
}
.service-related a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 14px; transition: color var(--ease);
}
.service-related a:hover { color: var(--c-accent); }
