/*
Theme Name: Konvers
Theme URI: https://konvers.pl
Author: Konvers
Description: Autorski motyw Konvers Sp. z o.o. - dystrybutor geosyntetykow. Szablony podstron z polami ACF, bez buildera.
Version: 1.4.0
Requires PHP: 7.4
Text Domain: konvers
*/

/* ==========================================================================
   Tokeny
   ========================================================================== */
:root {
  --paper: #FCFCFA;
  --surface: #F5F5F0;
  --ink: #1E1E1C;
  --ink-soft: #3D3D38;
  --muted: #6E6E67;
  --line: #E6E6DF;
  --accent: #F0E32A;
  --accent-soft: #FAF5C0;
  --accent-strong: #E3D414;
  --footer: #232321;
  --error: #C75B4A;
  --font-head: 'Chivo', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

/* ==========================================================================
   Reset / baza
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.section { padding: 116px 0; }
.section--tint { background: var(--surface); }
.section--top-slim { padding-top: 72px; }
.section--bottom-slim { padding-bottom: 56px; }

/* ==========================================================================
   Typografia
   ========================================================================== */
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.kicker::before {
  content: "";
  width: 22px; height: 3px; border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.h2 {
  font-family: var(--font-head);
  font-weight: 700; font-size: 40px; line-height: 1.12;
  letter-spacing: -0.02em; color: var(--ink);
  margin: 0 0 18px;
  text-wrap: balance;
}
.h2--page { font-size: 44px; }
.h2--sub { font-size: 28px; margin-bottom: 24px; }

.lead {
  font-size: 18px; line-height: 1.6; color: var(--muted);
  max-width: 620px; text-wrap: pretty;
}
.body-text {
  font-size: 16px; line-height: 1.65; color: var(--ink-soft);
  max-width: 620px; text-wrap: pretty;
}

/* ==========================================================================
   Przyciski
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 34px;
  border-radius: 2px; cursor: pointer; text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink);
  border: 1px solid rgba(30, 30, 28, 0.35);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { border-color: var(--ink); }
.btn--primary { background: var(--accent); border-color: transparent; }
.btn--primary:hover { background: var(--ink); color: #fff; border-color: transparent; }
.btn--small { padding: 12px 22px; font-size: 12.5px; }
.btn--light { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn--light:hover { border-color: #fff; }
.btn--block { width: 100%; }

/* ==========================================================================
   Chipy
   ========================================================================== */
.chip {
  display: inline-flex; align-items: center;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 2px;
  text-decoration: none;
}
.chip--accent { background: var(--accent); border-color: var(--accent-strong); }
a.chip:hover { border-color: var(--ink); }

/* ==========================================================================
   Kafle-linki
   ========================================================================== */
.tile-link {
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 2px rgba(30, 30, 28, 0.04);
}
.tile-link--big { padding: 32px 30px; }
.tile-link:hover {
  background: var(--accent-soft);
  border-color: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 30, 28, 0.07);
}
.tile-link__title {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink);
}
.tile-link--big .tile-link__title { font-size: 19px; }
.tile-link__arrow { font-size: 17px; color: var(--muted); transition: transform 0.15s ease; }
.tile-link:hover .tile-link__arrow { color: var(--ink); transform: translateX(3px); }
.tile-link__sub { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ==========================================================================
   Siatki
   ========================================================================== */
.grid { display: grid; gap: 14px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   Naglowek
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 252, 250, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 28px; height: 82px; }

.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-logo__mark {
  background: var(--accent);
  padding: 4px 7px 2px; border-radius: 4px;
  display: inline-flex;
}
.site-logo__name {
  font-family: var(--font-head); font-weight: 700; font-size: 21px;
  letter-spacing: -0.01em; color: var(--ink);
}
.site-logo__suffix { font-weight: 400; font-size: 12px; color: var(--muted); margin-left: 6px; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
  font-family: var(--font-head); font-size: 15px; font-weight: 500;
  color: var(--muted); text-decoration: none;
  padding: 8px 13px; border-radius: 6px;
}
.site-nav a:hover { color: var(--ink); }
.site-nav li { list-style: none; }
.site-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current_page_parent > a {
  font-weight: 600; color: var(--ink);
  background: var(--accent-soft);
  border-radius: 6px 6px 0 0;
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 4px;
  background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero slider
   ========================================================================== */
.hero {
  position: relative;
  height: 660px;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transition: opacity 0.7s ease;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18, 18, 16, 0.74) 0%, rgba(18, 18, 16, 0.42) 40%, rgba(18, 18, 16, 0.05) 70%, rgba(18, 18, 16, 0) 100%);
}
.hero__motif {
  position: absolute; right: -90px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero__content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
}
.hero__box { max-width: 680px; }
.hero__badge {
  display: inline-block;
  background: var(--accent); color: var(--ink);
  padding: 7px 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 26px;
  white-space: nowrap;
}
.hero__title {
  font-family: var(--font-head); font-weight: 700;
  font-size: 68px; line-height: 1.0; letter-spacing: -0.03em;
  color: #fff; margin: 0 0 8px;
  text-wrap: balance;
}
.hero__lead {
  font-size: 20px; line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 24px 0 34px; max-width: 520px;
  text-wrap: pretty;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(18, 18, 16, 0.32); color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-family: var(--font-head); line-height: 1; padding: 0;
}
.hero__arrow:hover { background: rgba(18, 18, 16, 0.55); }
.hero__arrow--prev { left: 22px; }
.hero__arrow--next { right: 22px; }

.hero__dots {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 4;
  display: flex; justify-content: center; gap: 12px;
}
.hero__dot {
  width: 12px; height: 12px; border-radius: 999px;
  padding: 0; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.3s ease, background 0.3s ease;
}
.hero__dot.is-active { width: 34px; background: var(--accent); }

/* Hero statyczne (podstrony bez slidera nie wystepuja, ale zostawiamy hak) */

/* ==========================================================================
   Pasek partnerow (marquee)
   ========================================================================== */
.partners-bar { padding: 44px 0; border-bottom: 1px solid var(--line); background: #fff; }
.partners-bar__title {
  text-align: center;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.marquee {
  position: relative; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__move { display: flex; width: max-content; animation: mq-scroll 34s linear infinite; }
.marquee:hover .marquee__move { animation-play-state: paused; }
.marquee__track { display: flex; align-items: center; gap: 72px; padding-left: 36px; }
.marquee__track > * { flex-shrink: 0; }
@keyframes mq-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__move { animation: none !important; }
  .hero__slide { transition: none; }
}

/* Logotyp partnera (ikona + wordmark) */
.brand-mark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark img { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.brand-mark svg { flex-shrink: 0; }
.brand-mark__text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-mark__word {
  font-family: var(--font-head); font-weight: 700; font-size: 19px;
  letter-spacing: -0.01em; color: #5E5E57;
}
.brand-mark__sub {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #A7A79E; margin-top: 3px;
}

/* Placeholder logo partnera (tekstowy) */
.partner-logo-ph {
  font-family: var(--font-mono); font-size: 13px; color: #8A8A82;
  border: 1px solid var(--line); border-radius: 2px;
  padding: 10px 18px; background: #fff; white-space: nowrap;
  display: inline-block;
}

/* ==========================================================================
   Sekcje strony glownej
   ========================================================================== */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 40px; flex-wrap: wrap;
}

.browse-line {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  margin-top: 24px;
}
.browse-line__label { font-size: 14.5px; color: var(--muted); margin-right: 4px; }

/* Karty wyroznionych produktow */
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.prod-card {
  display: block; text-decoration: none;
  background: #fff;
  border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(30, 30, 28, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.prod-card:hover { border-color: var(--accent-strong); box-shadow: 0 6px 18px rgba(30, 30, 28, 0.08); }
.prod-card__img img { width: 100%; height: 240px; object-fit: cover; }
.prod-card__body { padding: 32px 34px; }
.prod-card__body .chip { margin-bottom: 12px; }
.prod-card__title { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--ink); margin: 0 0 4px; }
.prod-card__maker { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.prod-card__short { font-size: 15.5px; line-height: 1.55; color: var(--muted); margin: 0 0 14px; }
.prod-card__more { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); }

/* Obszary */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.area { text-decoration: none; display: block; }
.area img { width: 100%; height: 170px; object-fit: cover; border-radius: 4px; }
.area__title { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); margin: 18px 0 8px; }
.area__desc { font-size: 14.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.area__more {
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink); margin-top: 12px;
}

/* Dlaczego Konvers */
.why { display: grid; grid-template-columns: 1.1fr 2fr; gap: 56px; align-items: start; }
.why__items { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.check-item { display: flex; gap: 14px; align-items: flex-start; }
.check-item__icon {
  width: 34px; height: 34px; border-radius: 17px;
  background: var(--accent); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink);
}
.check-item__title { font-family: var(--font-head); font-weight: 600; font-size: 17.5px; color: var(--ink); margin-bottom: 4px; }
.check-item__desc { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Kroki wspolpracy */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { border-top: 1px solid var(--line); padding-top: 26px; position: relative; }
.step::before {
  content: "";
  position: absolute; top: -1px; left: 0;
  width: 56px; height: 3px; background: var(--accent);
}
.step__num {
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  letter-spacing: 0.12em; color: var(--muted);
  margin-bottom: 14px;
}
.step__title { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--ink); margin-bottom: 10px; }
.step__desc { font-size: 15.5px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.steps-actions { display: flex; gap: 14px; margin-top: 52px; flex-wrap: wrap; }

/* ==========================================================================
   Pasek CTA
   ========================================================================== */
.cta-band {
  background: var(--accent-soft);
  border-top: 1px solid var(--accent-strong);
  border-bottom: 1px solid var(--accent-strong);
  padding: 90px 0;
  position: relative; overflow: hidden;
}
.cta-band__motif {
  position: absolute; right: -40px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; position: relative; flex-wrap: wrap;
}
.cta-band__title {
  font-family: var(--font-head); font-weight: 700; font-size: 30px;
  color: var(--ink); margin: 0 0 8px; letter-spacing: -0.015em;
}
.cta-band__sub { font-size: 16px; color: var(--muted); max-width: 560px; }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.crumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--muted);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs__sep { color: var(--muted); font-size: 13px; }
.crumbs__current { color: var(--ink); font-weight: 600; }
/* Wyjscie Yoast SEO */
.crumbs .breadcrumb_last { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Listy produktow (taksonomie)
   ========================================================================== */
.product-rows { display: flex; flex-direction: column; gap: 12px; }
.product-row {
  display: grid; grid-template-columns: 120px 1.3fr 1fr auto;
  gap: 22px; align-items: center;
  background: #fff; text-decoration: none;
  border: 1px solid var(--line); border-radius: 4px;
  padding: 18px 22px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.product-row:hover { background: var(--accent-soft); border-color: var(--accent-strong); }
.product-row__img img { width: 120px; height: 68px; object-fit: cover; border-radius: 8px; }
.product-row__group {
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 3px;
}
.product-row__title { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); }
.product-row__meta { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.product-row__cta { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; }

/* ==========================================================================
   Karta produktu
   ========================================================================== */
.product-single { display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; align-items: start; }
.product-single__photo img { width: 100%; height: 340px; object-fit: cover; border-radius: 4px; }
.product-single__makerline { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.product-single__title {
  font-family: var(--font-head); font-weight: 700; font-size: 42px;
  letter-spacing: -0.015em; color: var(--ink); margin: 0 0 6px;
}
.product-single__maker { font-size: 16px; color: var(--muted); margin-bottom: 20px; }
.product-single__what { font-size: 17px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 22px; text-wrap: pretty; }
.product-single__label {
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.product-single__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.info-box {
  background: var(--accent-soft);
  border: 1px solid var(--accent-strong);
  border-radius: 4px;
  padding: 16px 20px; margin-bottom: 26px;
  font-size: 15.5px; line-height: 1.55; color: var(--ink-soft);
}
.product-single__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Partnerzy
   ========================================================================== */
.partner-list { display: flex; flex-direction: column; gap: 16px; }
.partner-row {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 30px; align-items: start;
  background: #fff;
  border: 1px solid var(--line); border-radius: 4px;
  padding: 36px 38px;
}
.partner-row__logo {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 20px 24px; margin-bottom: 16px; min-height: 72px;
}
.partner-row__logo img { max-height: 48px; width: auto; }
.partner-row__name { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); }
.partner-row__who { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 10px; }
.partner-row__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.partner-row__offer { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }

.partner-strip { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   O firmie
   ========================================================================== */
.about-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.about-stat-wrap { text-align: center; }
.about-stat {
  display: inline-block;
  background: var(--accent); border-radius: 4px;
  padding: 34px 46px;
  position: relative; overflow: hidden;
}
.about-stat__motif {
  position: absolute; left: 50%; top: 55%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.about-stat__value {
  position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 84px;
  line-height: 1; color: var(--ink); letter-spacing: -0.03em;
}
.about-stat__label { position: relative; font-size: 16px; color: var(--ink); margin-top: 6px; }

.work-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.work-card {
  background: #fff;
  border: 1px solid var(--line); border-radius: 4px;
  padding: 32px 34px;
  display: flex; gap: 16px; align-items: flex-start;
}
.work-card .check-item__icon { width: 36px; height: 36px; border-radius: 18px; font-size: 16px; }
.work-card__title { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.work-card__desc { font-size: 15.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 28px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line); border-radius: 4px;
  padding: 26px 28px;
}
.contact-card__company { font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--ink); margin-bottom: 10px; }
.contact-card__data { font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); }
.contact-card__data .muted { color: var(--muted); }
.contact-map img { width: 100%; height: 200px; object-fit: cover; border-radius: 4px; }

.advisors { display: flex; flex-direction: column; gap: 12px; }
.advisor {
  background: #fff;
  border: 1px solid var(--line); border-radius: 4px;
  padding: 18px 22px;
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center;
}
.advisor__initials {
  width: 44px; height: 44px; border-radius: 22px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink);
}
.advisor__name { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); }
.advisor__role { font-size: 14px; color: var(--muted); margin: 2px 0 4px; }
.advisor__contact { font-size: 14.5px; color: var(--ink-soft); }

/* Formularz */
.contact-form-box {
  background: #fff;
  border: 1px solid var(--line); border-radius: 4px;
  padding: 42px 44px;
  position: relative; overflow: hidden;
}
.contact-form-box__title { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--ink); margin-bottom: 6px; }
.contact-form-box__intro { font-size: 15px; color: var(--muted); margin: 0 0 22px; }

.field { display: block; margin-bottom: 16px; }
.field__label {
  display: block;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  color: var(--ink); margin-bottom: 6px;
}
.field__optional { font-weight: 400; color: var(--muted); }
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 2px;
  outline: none;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field__error { font-size: 13px; color: var(--error); }

.rodo-label { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 6px; cursor: pointer; }
.rodo-label input { margin-top: 3px; }
.rodo-label span { font-size: 13.5px; line-height: 1.5; color: var(--muted); }

.form-alert {
  border: 1px solid var(--error); border-radius: 4px;
  background: #FDF3F1; color: var(--error);
  font-size: 14.5px; padding: 12px 16px; margin-bottom: 18px;
}

/* Ekran podziekowania */
.form-success { text-align: center; padding: 56px 20px; }
.form-success__icon {
  width: 62px; height: 62px; border-radius: 31px;
  background: var(--accent);
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--ink);
}
.form-success__title { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--ink); margin-bottom: 10px; }
.form-success__text { font-size: 16px; color: var(--muted); line-height: 1.6; max-width: 380px; margin: 0 auto 24px; }

/* Honeypot */
.hp-field { position: absolute !important; left: -9999px; opacity: 0; }

/* ==========================================================================
   Contact Form 7 - dopasowanie do motywu
   ========================================================================== */
.konvers-cf7 .wpcf7-form-control-wrap { display: block; }
.konvers-cf7 input[type="text"],
.konvers-cf7 input[type="email"],
.konvers-cf7 input[type="tel"],
.konvers-cf7 textarea,
.konvers-cf7 select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 2px;
  outline: none;
}
.konvers-cf7 textarea { resize: vertical; }
.konvers-cf7 input:focus, .konvers-cf7 select:focus, .konvers-cf7 textarea:focus { border-color: var(--ink); }
.konvers-cf7 .wpcf7-not-valid { border-color: var(--error); }
.konvers-cf7 .wpcf7-not-valid-tip {
  display: block; margin-top: 4px;
  font-family: var(--font-body); font-size: 13px; color: var(--error);
}

/* Zgoda RODO (acceptance) */
.konvers-cf7 .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.konvers-cf7 .wpcf7-acceptance label {
  display: flex; gap: 10px; align-items: flex-start; cursor: pointer;
}
.konvers-cf7 .wpcf7-acceptance input[type="checkbox"] { width: auto; margin-top: 3px; flex-shrink: 0; }
.konvers-cf7 .wpcf7-acceptance .wpcf7-list-item-label {
  font-family: var(--font-body); font-size: 13.5px; line-height: 1.5; color: var(--muted);
}

/* Przycisk wysylki */
.konvers-cf7 .wpcf7-submit { width: 100%; margin-top: 10px; }
.konvers-cf7 .wpcf7-spinner { margin: 12px auto 0; display: block; }

/* Komunikaty */
.konvers-cf7 .wpcf7-response-output {
  margin: 18px 0 0; padding: 12px 16px;
  border-radius: 4px;
  font-family: var(--font-body); font-size: 14.5px; line-height: 1.5;
}
.konvers-cf7 form.sent .wpcf7-response-output {
  border: 1px solid var(--accent-strong);
  background: var(--accent-soft);
  color: var(--ink-soft);
}
.konvers-cf7 form.invalid .wpcf7-response-output,
.konvers-cf7 form.failed .wpcf7-response-output,
.konvers-cf7 form.spam .wpcf7-response-output {
  border: 1px solid var(--error);
  background: #FDF3F1;
  color: var(--error);
}

/* ==========================================================================
   Stopka (jedyna ciemna sekcja)
   ========================================================================== */
.site-footer { background: var(--footer); color: #E8E8E2; padding: 88px 0 0; }
.site-footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px; padding-bottom: 64px;
}
.site-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.site-footer__brand-name { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: #fff; }
.site-footer__brand-suffix { font-weight: 400; font-size: 12px; color: #999; }
.site-footer__about { font-size: 14.5px; color: #B9B9B2; line-height: 1.6; max-width: 300px; margin: 0; }
.site-footer__heading {
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #8C8C85; margin-bottom: 12px;
}
.site-footer__col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.site-footer__col a { font-size: 14.5px; color: #B9B9B2; text-decoration: none; line-height: 2; }
.site-footer__col a:hover { color: #fff; }
.site-footer__contact { font-size: 14.5px; color: #B9B9B2; line-height: 1.9; }
.site-footer__cta { margin-top: 16px; }
.site-footer__bottom {
  border-top: 1px solid #3A3A37;
  padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.site-footer__bottom span { font-size: 13px; color: #8C8C85; }

/* ==========================================================================
   Responsywnosc
   ========================================================================== */
@media (max-width: 1080px) {
  .grid--4, .areas { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .why { grid-template-columns: 1fr; gap: 36px; }
  .hero__title { font-size: 54px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .product-single { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; gap: 36px; }
  .about-stat-wrap { text-align: left; }
}

@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .section--top-slim { padding-top: 48px; }
  .wrap { padding: 0 22px; }
  .h2 { font-size: 32px; }
  .h2--page { font-size: 36px; }
  .hero { height: 620px; }
  .hero__title { font-size: 42px; }
  .hero__lead { font-size: 17px; }
  .hero__arrow { display: none; }
  .feature-cards, .grid--3, .grid--2, .work-cards { grid-template-columns: 1fr; }
  .why__items { grid-template-columns: 1fr; }
  .partner-row { grid-template-columns: 1fr; gap: 18px; padding: 26px 24px; }
  .product-row { grid-template-columns: 1fr; gap: 10px; }
  .product-row__img img { width: 100%; height: 150px; }
  .contact-form-box { padding: 30px 24px; }

  /* Nawigacja mobilna */
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute; top: 82px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 22px 20px;
    margin: 0;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { display: block; padding: 12px 10px; font-size: 16px; }
  .site-nav .current-menu-item > a,
  .site-nav .current_page_item > a { border-radius: 6px; box-shadow: inset 3px 0 0 var(--accent); }
  .site-header__cta { display: none; }
}

@media (max-width: 560px) {
  .grid--4, .areas { grid-template-columns: 1fr; }
  .hero { height: auto; min-height: 560px; }
  .hero__content { position: relative; padding: 110px 0 90px; }
  .hero__title { font-size: 36px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; }
}
