/* ================================================================
   JEZDZIK.PL — stylesheet
   Paleta: niebieski #0055A4 | biały #FFFFFF | czerwony #EF4135
   ================================================================ */

:root {
  --nav-h: 68px;
  --blue:        #0055A4;
  --blue-dark:   #003d7a;
  --blue-light:  #e8f0fb;
  --red:         #EF4135;
  --red-dark:    #c73229;
  --white:       #FFFFFF;
  --bg:          #F7F8FA;
  --text:        #1a2b4a;
  --text-muted:  #5a6a82;
  --border:      #dde3ee;
  --shadow-sm:   0 2px 8px rgba(0,85,164,0.07);
  --shadow-md:   0 4px 20px rgba(0,85,164,0.12);
  --shadow-lg:   0 8px 40px rgba(0,85,164,0.16);
  --radius:      10px;
  --radius-lg:   20px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container:   1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --tricolor: linear-gradient(to right, var(--blue) 33.3%, var(--white) 33.3% 66.6%, var(--red) 66.6%);
}

/* ----------------------------------------------------------------
   Reset & base
   ---------------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
address { font-style: normal; }
ul { list-style: none; }
blockquote { quotes: none; }

/* ----------------------------------------------------------------
   Layout helpers
   ---------------------------------------------------------------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section      { padding: 5rem 0; }
.section--alt {
  background-color: #f7f8fa;
  background-image: radial-gradient(circle, rgba(0,85,164,0.032) 1px, transparent 1px);
  background-size: 28px 28px;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
  display: inline-block;
  position: relative;
}

.section-header h2::after {
  content: "";
  display: block;
  margin: 0.55rem auto 0;
  height: 4px;
  width: 56px;
  background: linear-gradient(to right, var(--blue) 33.3%, var(--white) 33.3% 66.6%, var(--red) 66.6%);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ----------------------------------------------------------------
   Tricolor bar
   ---------------------------------------------------------------- */

.tricolor-bar {
  height: 4px;
  background: linear-gradient(to right,
    var(--blue)  33.3%,
    var(--white) 33.3% 66.6%,
    var(--red)   66.6%);
}

/* ----------------------------------------------------------------
   Navigation
   ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(235, 235, 235, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,85,164,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
}

.nav-brand { display: none; align-items: center; }

.nav-logo { height: 42px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  position: relative;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0.9rem;
  border: none;
  background: transparent;
  transition: color var(--transition);
}

.nav-link:hover  { color: var(--blue); }
.nav-link.active { color: var(--blue); font-weight: 600; }

/* Tricolor podkreślenie — identyczne z przyciskami */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(to right,
    var(--blue)  33.3%,
    var(--white) 33.3% 66.6%,
    var(--red)   66.6%
  );
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.nav-link:hover::after,
.nav-link.active::after { width: calc(100% - 1.8rem); }

/* ORGA */
.nav-link--tool {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.nav-link--tool:hover  { color: var(--blue-dark); }
.nav-link--tool.active { color: var(--blue); }

/* ----------------------------------------------------------------
   Language switcher dropdown
   ---------------------------------------------------------------- */

.lang-switcher { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  transition: border-color var(--transition), color var(--transition);
}

.lang-btn:hover { color: var(--blue); }

.lang-flag { font-size: 1rem; line-height: 1; }
.lang-code { letter-spacing: 0.06em; }

.lang-chevron {
  opacity: 0.55;
  transition: transform var(--transition);
}

.lang-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-btn[aria-expanded="true"] { border-color: rgba(0,85,164,0.3); color: var(--blue); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 110px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 200;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.lang-option:hover { background: var(--blue-light); color: var(--blue); }

.lang-option.active {
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 700;
  pointer-events: none;
}

.nav-link--cta {
  color: var(--blue);
  font-weight: 600;
}

.nav-link--cta:hover  { color: var(--blue-dark); }
.nav-link--cta.active { font-weight: 700; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.75rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: 0.01em;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--blue);
  border: none;
  box-shadow: none;
  font-weight: 700;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-outline {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--blue);
  border: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-outline:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-primary::after,
.btn-outline::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}

.btn-primary:hover::after,
.btn-outline:hover::after {
  animation: btn-shimmer 0.55s ease forwards;
}

@keyframes btn-shimmer {
  to { left: 140%; }
}

.btn-solid {
  background: var(--blue);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0,85,164,0.25);
}
.btn-solid:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,85,164,0.35);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------------
   Hero — strona główna
   ---------------------------------------------------------------- */

.hero {
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #edf2fb 0%, #f7f9fe 60%, #ffffff 100%);
  overflow: hidden;
}

/* Split: lewa ciemna + prawa jasna, z ukośnym cięciem na styku */
.hero-split {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* tło pokazuje się gdzie dark panel jest obcięty */
  background: linear-gradient(155deg, #edf2fb 0%, #f7f9fe 50%, #ffffff 100%);
}

.hero-dark {
  background:
    radial-gradient(ellipse 70% 55% at 5%  15%, rgba(255,255,255,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 55% 70% at 95% 85%, rgba(239,65,53,0.22)   0%, transparent 50%),
    linear-gradient(135deg, #081730 0%, #0d2454 55%, #122f72 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5rem 3rem 5rem 2.5rem;
  position: relative;
  overflow: hidden;
  /* Ukośne cięcie prawej krawędzi — Option C + A */
  clip-path: polygon(0 0, 100% 0, calc(100% - 5vw) 100%, 0 100%);
}


.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.hero-logo-large {
  height: clamp(50px, 6vw, 82px);
  width: auto;
  margin-bottom: 0.3rem;
}

.hero-brand-sub {
  font-size: clamp(0.9rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.hero-brand-author {
  font-size: clamp(0.78rem, 1.1vw, 0.98rem);
  font-style: italic;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

/* Przyciski na ciemnym tle */
.hero-dark .btn-primary,
.hero-dark .btn-outline { color: var(--white); }

.hero-dark .btn-primary:hover,
.hero-dark .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.hero-light {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem 3rem;
  text-align: center;
}

.hero-foot {
  padding-bottom: 0;
}

.hero-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.35rem;
}

/* Hero carousel — grid stacking umożliwia crossfade bez skakania wysokości */
.hero-carousel {
  display: grid;
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: scale(0.96) translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

/* Slajd z dłuższym tekstem (3 linie) — lekko mniejsza czcionka */
.hero-slide--long {
  font-size: 0.72em;
  line-height: 1.18;
}


/* Dots indicator */
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 2.25rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), width var(--transition);
}

.carousel-dot.active {
  background: var(--blue);
  width: 26px;
}

.carousel-dot:hover:not(.active) { background: #aabbcc; }

.accent-blue {
  background: linear-gradient(135deg, #003d7a 0%, #0077d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-red {
  background: linear-gradient(135deg, #c0281e 0%, #f0554a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* .hero-desc przeniesiony do .section-brands */

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.carousel-dots { justify-content: center; }

/* Hero brands strip */
.hero-brands {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
}

.hero-brands span {
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  transition: border-color var(--transition), color var(--transition);
}

.hero-brands span:hover { border-color: var(--blue); color: var(--blue); }

/* ----------------------------------------------------------------
   Hero foot — brands line (wewnątrz .hero)
   ---------------------------------------------------------------- */

.brands-line {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-align: center;
  padding: 1.75rem 0 1.75rem;
}

/* ----------------------------------------------------------------
   Statement section
   ---------------------------------------------------------------- */

.section-statement {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(0,85,164,0.07);
  border-bottom: 1px solid rgba(0,85,164,0.07);
}

.statement-text {
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  font-weight: 400;
  line-height: 1.9;
  color: var(--text);
  max-width: 740px;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.statement-sig {
  display: block;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.04em;
}

/* ----------------------------------------------------------------
   Pillars grid (editorialna, bez kart)
   ---------------------------------------------------------------- */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
}

.pillar {
  padding-top: 2rem;
  border-top: 2px solid var(--border);
  transition: border-top-color var(--transition);
}

.pillar:hover { border-top-color: var(--blue); }
.pillar:last-child:hover { border-top-color: var(--red); }

.pillar-number {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--blue);
  opacity: 0.55;
  margin-bottom: 1rem;
}

.pillar h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.pillar p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ----------------------------------------------------------------
   Page hero — inner pages
   ---------------------------------------------------------------- */

.page-hero {
  padding: 3rem 0 2.25rem;
  background:
    radial-gradient(ellipse 80% 120% at 95% 50%, rgba(0,85,164,0.07) 0%, transparent 60%),
    linear-gradient(160deg, #edf2fb 0%, #f7f9fe 50%, #ffffff 100%);
  border-bottom: 1px solid rgba(0,85,164,0.08);
}

.page-hero h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.page-hero p { color: var(--text-muted); font-size: 1rem; }

.breadcrumb {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.breadcrumb a  { color: var(--blue); }
.breadcrumb span { margin: 0 0.45rem; color: var(--border); }

/* ----------------------------------------------------------------
   Values cards (3-up)
   ---------------------------------------------------------------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.value-card {
  background: linear-gradient(155deg, #ffffff 0%, #f0f5ff 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03), 0 10px 32px rgba(0,85,164,0.09);
  border-top: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tricolor);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.04), 0 20px 48px rgba(0,85,164,0.12);
}

.value-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--blue);
}

.value-icon--blue { background: var(--blue-light); color: var(--blue); }
.value-icon--gray { background: #eef0f3; color: #5a6a82; }
.value-icon--red  { background: #fdecea; color: var(--red); }

.value-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.55rem; }
.value-card p  { color: var(--text-muted); font-size: 0.93rem; line-height: 1.6; }

/* ----------------------------------------------------------------
   Services summary (homepage — lightweight)
   ---------------------------------------------------------------- */

.services-summary {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.services-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
  list-style: none;
}

.services-tags li {
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(0,85,164,0.15);
  transition: background var(--transition), color var(--transition);
}

.services-tags li:hover { background: var(--blue); color: var(--white); }

/* ----------------------------------------------------------------
   Services grid (homepage preview + full page)
   ---------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.35rem;
}

.service-card {
  background: linear-gradient(155deg, #ffffff, #f0f5ff);
  border: 1px solid rgba(0,85,164,0.10);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: 0 2px 12px rgba(0,85,164,0.06);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tricolor);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,85,164,0.13);
}

.service-icon {
  width: 42px;
  height: 42px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  color: var(--blue);
}

.service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.45rem; }
.service-card p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.55; }

/* Full-page services */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 1.75rem;
}

.service-full-card {
  display: flex;
  gap: 1.5rem;
  background: linear-gradient(155deg, #ffffff 0%, #f0f5ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-full-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tricolor);
}

.service-full-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.service-full-card--featured {
  border-color: var(--blue);
  background: linear-gradient(135deg, #f5f9ff, var(--white));
}

.sfc-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.service-full-card--featured .sfc-icon { background: var(--blue); color: var(--white); }

.sfc-body { flex: 1; }

.sfc-badge {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.sfc-body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.sfc-body p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.sfc-list {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sfc-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.sfc-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ----------------------------------------------------------------
   Quote section
   ---------------------------------------------------------------- */

.quote-section {
  padding: 5rem 0;
  background: var(--blue);
  text-align: center;
  color: var(--white);
}

.quote-text {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 400;
  max-width: 760px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
  font-style: italic;
  opacity: 0.95;
}

.quote-author {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

/* ----------------------------------------------------------------
   CTA band
   ---------------------------------------------------------------- */

.cta-band {
  padding: 4rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.cta-band p  { color: var(--text-muted); margin-top: 0.3rem; font-size: 0.95rem; }

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: right;
}

.cta-phone {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.01em;
  line-height: 1;
}
.cta-phone:hover { color: var(--blue-dark); }

.cta-email {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.cta-email:hover { color: var(--blue); }

/* ----------------------------------------------------------------
   About page
   ---------------------------------------------------------------- */

.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: start;
}

.about-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  color: var(--text);
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 0.98rem;
  line-height: 1.8;
}

.brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.brand-tag {
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(0,85,164,0.15);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-box {
  background: linear-gradient(155deg, #ffffff 0%, #f0f5ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tricolor);
}

.stat-box strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-box span { color: var(--text-muted); font-size: 0.85rem; }

.about-quote {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.5rem 1.75rem;
}

.about-quote p {
  font-style: italic;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.about-quote cite {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  font-style: normal;
}

/* ----------------------------------------------------------------
   Tips / porady index
   ---------------------------------------------------------------- */

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.tip-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.tip-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tricolor);
  z-index: 1;
}

.tip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.tip-card-header {
  padding: 1.75rem 1.75rem 1.25rem;
  background: linear-gradient(135deg, var(--blue-light), #e0ebf7);
}

.tip-card-header--featured { background: linear-gradient(135deg, #dce9f7, #c9dcf2); }

.tip-badge {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.tip-card-icon { color: var(--blue); margin-bottom: 0.75rem; }
.tip-card-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); }

.tip-card-body { padding: 1.4rem 1.75rem; flex: 1; }
.tip-card-body p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.65; }

.tip-card-footer { padding: 0.75rem 1.75rem 1.6rem; }

/* ----------------------------------------------------------------
   Article page
   ---------------------------------------------------------------- */

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3.5rem;
  align-items: start;
}

.article-lead {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border);
}

.article-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--blue);
  margin: 2.25rem 0 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.article-content h2:first-of-type { margin-top: 0; }

.article-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}

.article-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
  font-size: 0.97rem;
}

.article-content ul,
.article-content ol { margin: 0.75rem 0 1.25rem; }

.article-content ul li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.article-content ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.article-content ol {
  counter-reset: step;
  list-style: none;
}

.article-content ol li {
  counter-increment: step;
  position: relative;
  padding-left: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.article-content ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.65rem;
  height: 1.65rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.alert-box {
  background: #fff8e1;
  border-left: 4px solid #f59e0b;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.92rem;
  color: #6b4c00;
  line-height: 1.6;
}

.alert-box strong { color: #92400e; }

/* Sidebar */
.article-sidebar { position: sticky; top: 88px; }

.sidebar-card {
  background: linear-gradient(155deg, #ffffff 0%, #f0f5ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.sidebar-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tricolor);
}

.sidebar-card h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.sidebar-card--cta { background: var(--bg); }
.sidebar-card--cta p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }

.sidebar-links { display: flex; flex-direction: column; gap: 0.25rem; }

.sidebar-link {
  display: block;
  padding: 0.55rem 0.7rem;
  color: var(--text);
  font-size: 0.9rem;
  border-radius: var(--radius);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}

.sidebar-link:hover  { background: var(--blue-light); color: var(--blue); border-left-color: var(--blue); }
.sidebar-link.active { background: var(--blue-light); color: var(--blue); border-left-color: var(--blue); font-weight: 600; }

.sidebar-link--tool {
  margin-top: 0.5rem;
  background: rgba(0,85,164,0.05);
  border: 1px solid rgba(0,85,164,0.15);
  border-radius: var(--radius);
  border-left: 3px solid var(--blue);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--blue);
}

.sidebar-link--tool:hover { background: var(--blue); color: var(--white); border-left-color: var(--blue); }

/* Link do ORGA w artykule zakupu */
.orga-link-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--blue-light);
  border: 1px solid rgba(0,85,164,0.2);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0 1.75rem;
  flex-wrap: wrap;
}

.orga-link-box-text { flex: 1; min-width: 180px; }
.orga-link-box-text strong { display: block; color: var(--text); font-size: 0.97rem; margin-bottom: 0.2rem; }
.orga-link-box-text span   { color: var(--text-muted); font-size: 0.88rem; }

/* ----------------------------------------------------------------
   ORGA — strona kalkulatora
   ---------------------------------------------------------------- */

.orga-page {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.orga-page-heading {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.orga-page-desc {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 1.5rem !important;
}

/* Ciemny, efektowny wariant sekcji kalkulatora */
.orga-hero-calc {
  background:
    radial-gradient(ellipse 70% 55% at 5% 15%, rgba(255,255,255,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 55% 70% at 95% 85%, rgba(239,65,53,0.22) 0%, transparent 50%),
    linear-gradient(135deg, #081730 0%, #0d2454 55%, #122f72 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.orga-hero-calc::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--blue) 33.3%, var(--white) 33.3% 66.6%, var(--red) 66.6%);
}

.orga-hero-calc::after {
  content: "ORGA";
  position: absolute;
  right: 1.5rem;
  bottom: -2rem;
  font-size: 9.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.02em;
  user-select: none;
}

.orga-hero-calc .orga-page-heading {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.orga-hero-calc .orga-page-desc {
  color: rgba(255,255,255,0.7);
}

.orga-hero-calc .orga-calc {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.13);
}

.orga-hero-calc .orga-result {
  color: var(--white);
  font-size: 1.3rem;
}

.orga-hero-calc .orga-result.error {
  color: #ff8c87;
}

.orga-hero-calc .btn-solid {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.orga-hero-calc .btn-solid:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.orga-explainer h2,
.orga-table-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.orga-explainer p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.orga-back {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.orga-back p {
  color: var(--text-muted);
  font-size: 0.93rem;
  flex: 1;
  min-width: 200px;
  margin: 0;
}

/* ----------------------------------------------------------------
   Strefa Klienta
   ---------------------------------------------------------------- */

.client-zone-page {
  max-width: 680px;
  margin: 0 auto;
}

/* Hub — siatka kart */
.czc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 380px));
  gap: 1.75rem;
  justify-content: center;
}

.czc-card {
  background:
    radial-gradient(ellipse 70% 55% at 5%  15%, rgba(255,255,255,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 55% 70% at 95% 85%, rgba(239,65,53,0.18)   0%, transparent 50%),
    linear-gradient(135deg, #081730 0%, #0d2454 55%, #122f72 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.czc-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--tricolor);
}

.czc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.35);
}

.czc-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.czc-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.czc-desc {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  flex: 1;
}

.czc-arrow {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.75rem;
  transition: transform var(--transition), color var(--transition);
}

.czc-card:hover .czc-arrow {
  transform: translateX(5px);
  color: var(--white);
}

/* ----------------------------------------------------------------
   Terminarz wizyt
   ---------------------------------------------------------------- */

.schedule-page { max-width: 860px; margin: 0 auto; }

.schedule-card {
  background:
    radial-gradient(ellipse 70% 55% at 5%  15%, rgba(255,255,255,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 55% 70% at 95% 85%, rgba(239,65,53,0.22)   0%, transparent 50%),
    linear-gradient(135deg, #081730 0%, #0d2454 55%, #122f72 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.schedule-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--tricolor);
}

.schedule-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.schedule-iframe-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: #f5f8ff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.schedule-iframe-wrap iframe {
  width: 100%;
  height: 680px;
  border: none;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.schedule-iframe-wrap iframe.loaded {
  opacity: 1;
}

@media (max-width: 540px) {
  .schedule-card { padding: 1.75rem 1.25rem; }
  .schedule-iframe-wrap iframe { height: 820px; }
}


.repair-status-card {
  background:
    radial-gradient(ellipse 70% 55% at 5%  15%, rgba(255,255,255,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 55% 70% at 95% 85%, rgba(239,65,53,0.22)   0%, transparent 50%),
    linear-gradient(135deg, #081730 0%, #0d2454 55%, #122f72 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 540px) {
  .repair-status-card { padding: 2rem 1.25rem; }
}

.repair-status-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--tricolor);
}

.repair-status-heading {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.repair-status-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.repair-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.repair-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.repair-input-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.repair-input-group input {
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
}

.repair-input-group input::placeholder { color: rgba(255,255,255,0.3); }

.repair-input-group input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.12);
}

.repair-submit {
  margin-top: 0.5rem;
  align-self: flex-start;
}

.repair-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* Wynik zapytania do serwisu */
.repair-result {
  margin-top: 1.75rem;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.repair-result--loading {
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 1rem 0;
}

.repair-result--loading::after {
  content: "Sprawdzanie…";
}

.repair-result--notfound {
  background: rgba(239,65,53,0.15);
  border: 1px solid rgba(239,65,53,0.35);
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius);
}

.repair-result--found {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  border-radius: var(--radius);
}

.repair-result--error {
  background: rgba(239,65,53,0.15);
  border: 1px solid rgba(239,65,53,0.35);
  color: #ff8c87;
  border-radius: var(--radius);
}

/* Dane zlecenia — status badge */
.repair-data-status {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.1rem;
}

.rds--open   { background: rgba(34,197,94,0.18); color: #6ee7a0; border: 1px solid rgba(34,197,94,0.3); }
.rds--closed { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.15); }

/* Dane zlecenia — lista pól */
.repair-data-rows { display: flex; flex-direction: column; gap: 0.1rem; }

.repair-data-row {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  align-items: baseline;
}

@media (max-width: 480px) {
  .repair-data-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
    padding: 0.55rem 0;
  }
}

.repair-data-row:last-child { border-bottom: none; }

.repair-data-row span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.repair-data-row strong {
  font-size: 0.93rem;
  color: var(--white);
  font-weight: 600;
}

.repair-data-row small { color: rgba(255,255,255,0.4); font-weight: 400; }

/* Wariant duży kalkulatora (na dedykowanej stronie) */
.orga-calc--large {
  padding: 2rem 2.25rem;
}

.orga-input--large {
  width: 180px;
  font-size: 1.1rem;
  padding: 0.7rem 1rem;
}

.orga-result--large {
  font-size: 1.2rem;
  margin-top: 1.25rem;
}

/* ----------------------------------------------------------------
   ORGA calculator (ogólny — używany też na porady-kupno)
   ---------------------------------------------------------------- */

.orga-calc {
  background: var(--blue-light);
  border: 1px solid rgba(0,85,164,0.18);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 1.5rem 0;
}

.orga-calc-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 1rem !important;
}

.orga-input-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.orga-input {
  padding: 0.6rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  width: 160px;
  background: var(--white);
  transition: border-color var(--transition);
  color: var(--text);
}

.orga-input:focus {
  outline: none;
  border-color: var(--blue);
}

.orga-result {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  min-height: 1.4em;
}

.orga-result.error { color: var(--red); }

/* ----------------------------------------------------------------
   Article table
   ---------------------------------------------------------------- */

.article-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border-radius: var(--radius);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.article-table th {
  background: var(--blue);
  color: var(--white);
  text-align: left;
  padding: 0.65rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.article-table th:first-child { border-radius: var(--radius) 0 0 0; }
.article-table th:last-child  { border-radius: 0 var(--radius) 0 0; }

.article-table td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
  line-height: 1.5;
}

.article-table td:first-child { color: var(--text); font-weight: 500; white-space: nowrap; }

.article-table tr:last-child td { border-bottom: none; }
.article-table tr:nth-child(even) td { background: var(--bg); }
.article-table em { color: var(--text-muted); font-style: italic; }

/* ----------------------------------------------------------------
   Markdown article content (.md-content)
   ---------------------------------------------------------------- */

/* Pierwszy akapit = lead */
.md-content > p:first-child {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border);
}

/* Blockquote = alert/ostrzeżenie */
.md-content blockquote {
  background: #fff8e1;
  border-left: 4px solid #f59e0b;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.92rem;
  color: #6b4c00;
  line-height: 1.6;
}

.md-content blockquote p {
  color: inherit;
  font-size: inherit;
  margin-bottom: 0;
}

/* ----------------------------------------------------------------
   Contact page
   ---------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-block { margin-bottom: 2.25rem; }

.contact-block h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.contact-icon {
  width: 38px;
  height: 38px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.contact-item-text strong { display: block; font-size: 1rem; color: var(--text); margin-bottom: 0.1rem; }
.contact-item-text span, .contact-item-text a { color: var(--text-muted); font-size: 0.88rem; }
.contact-item-text a:hover { color: var(--blue); }

.contact-phone-big { font-size: 1.45rem; font-weight: 700; color: var(--blue); }
.contact-phone-big a { color: var(--blue); }
.contact-phone-big a:hover { color: var(--blue-dark); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 0.55rem 0; font-size: 0.93rem; border-bottom: 1px solid var(--border); }
.hours-table td:first-child { color: var(--text); font-weight: 500; }
.hours-table td:last-child { color: var(--text-muted); text-align: right; }
.hours-table tr:last-child td { border-bottom: none; }

.hours-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  font-style: italic;
}

/* Location */
.location-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.location-desc p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0 1rem;
  padding: 0.7rem 1.4rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.93rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(0,85,164,0.25);
}

.map-btn:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,85,164,0.35);
}

.location-note {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  color: var(--blue-dark);
  line-height: 1.6;
  margin-top: 1rem;
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */

.site-footer {
  background: #1a2b4a;
  color: rgba(255,255,255,0.8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 1.5rem 3rem;
}

.footer-logo   { height: 46px; width: auto; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.9rem;
}

.footer-list li   { margin-bottom: 0.5rem; font-size: 0.88rem; }
.footer-list a    { color: rgba(255,255,255,0.75); }
.footer-list a:hover { color: var(--white); }

.footer-address { font-size: 0.88rem; line-height: 1.75; color: rgba(255,255,255,0.75); }
.footer-address small { color: rgba(255,255,255,0.4); font-size: 0.82em; }
.footer-note    { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 0.5rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.15rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer-bottom span { text-align: center; }

/* ----------------------------------------------------------------
   Splash screen
   ---------------------------------------------------------------- */

.splash {
  position: fixed;
  top: calc(var(--nav-h) + 4px); /* nav 68px + tricolor bar 4px */
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Natychmiastowe pokazanie przy przejściu PJAX — bez animacji wejścia */
.splash--instant,
.splash--instant .splash-logo,
.splash--instant .splash-tagline,
.splash--instant .splash-tricolor {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Po pierwszym odtworzeniu — blokuje re-trigger animacji dzieci */
.splash--played .splash-logo,
.splash--played .splash-tagline,
.splash--played .splash-tricolor {
  animation: none;
  opacity: 1;
  transform: none;
}

.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.splash-logo {
  height: 76px;
  width: auto;
  margin-bottom: 1.5rem;
  animation: splashSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.splash-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  animation: splashSlideUp 0.3s 0.1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.splash-tricolor {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  opacity: 0;
  animation: splashSlideUp 0.2s 0.15s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes splashSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------------------
   Fade-in scroll animation (JS-driven via IntersectionObserver)
   ---------------------------------------------------------------- */

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ----------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------- */

@media (max-width: 1024px) {
  .about-layout    { grid-template-columns: 1fr; gap: 2.5rem; }
  .article-layout  { grid-template-columns: 1fr; }
  .article-sidebar { position: static; top: auto; }
  .footer-inner    { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2.5rem 1.5rem; }
  .services-full-grid { grid-template-columns: 1fr; }
  .pillars-grid    { gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav { justify-content: space-between; }
  .nav-brand { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    gap: 0.45rem;
    z-index: 99;
  }

  .nav-links.open { display: flex; gap: 0.5rem; }

  .nav-link,
  .nav-link--tool,
  .nav-link--cta {
    width: auto;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: normal;
    text-align: center;
  }

  .nav-link:hover,
  .nav-link--tool:hover,
  .nav-link--cta:hover    { color: var(--blue); background: transparent; }

  .nav-link.active,
  .nav-link--tool.active,
  .nav-link--cta.active {
    background: transparent;
    color: var(--blue);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--blue);
  }

  /* Na mobile wyłączamy ::after — zastępuje go text-decoration */
  .nav-link::after { display: none; }

  .nav-link--tool         { color: var(--blue); font-weight: 600; }
  .nav-link--cta          { color: var(--blue); font-weight: 600; margin-left: 0; }

  /* Mobile: lang switcher — inline PL | EN */
  .lang-switcher  { width: auto; padding: 0.25rem 0; }
  .lang-btn       { display: none; }
  .lang-dropdown  { position: static; opacity: 1; visibility: visible; transform: none;
                    box-shadow: none; border: none; border-radius: 0; background: transparent;
                    display: flex; flex-direction: row; align-items: center; gap: 0; width: auto; }
  .lang-dropdown li               { display: flex; align-items: center; }
  .lang-dropdown li + li::before  { content: "|"; color: var(--border); padding: 0 0.3rem;
                                    font-size: 0.85rem; pointer-events: none; }
  .lang-option    { padding: 0.35rem 0.5rem; font-size: 0.95rem; font-weight: 600;
                    border-radius: var(--radius); }

  .values-grid     { grid-template-columns: 1fr; }
  .pillars-grid    { grid-template-columns: 1fr; gap: 0; }
  .pillar          { padding: 1.75rem 0; border-top: 1px solid var(--border); }
  .section-statement { padding: 3rem 0; }
  .contact-layout  { grid-template-columns: 1fr; gap: 2rem; }
  .about-stats     { grid-template-columns: 1fr 1fr; }
  .about-layout    { grid-template-columns: 1fr; gap: 2rem; }
  .about-content   { order: 1; }
  .about-aside     { order: 2; }
  .cta-band-inner  { flex-direction: column; align-items: flex-start; }
  .cta-contacts    { text-align: left; }
  .section         { padding: 3.5rem 0; }
  .hero-split      { grid-template-columns: 1fr; }
  .hero-dark       { clip-path: none; padding: 3rem 1.5rem 2.5rem; }
  .hero-light      { padding: 2.5rem 1.5rem 3rem; }
}

@media (max-width: 540px) {
  .footer-inner    { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-stats     { grid-template-columns: 1fr 1fr; }
  .about-quote     { margin-top: 0.5rem; }
  .stat-box strong { font-size: 1.8rem; }
  .hero-actions    { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .services-full-grid { grid-template-columns: 1fr; }
  .service-full-card  { flex-direction: column; gap: 1rem; }
  .tips-grid       { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .about-stats     { grid-template-columns: 1fr; }
}
