/* =====================================================
   OERO — style.css
   Wspólne komponenty cache'owane przez przeglądarkę.
   NIE pisz tu CSS specyficznego dla jednej strony.
   CSS unikalny dla strony → inline <style> w danym pliku PHP.
   ===================================================== */

/* === SELF-HOSTED FONTS === */
@font-face {
  font-family: 'Sora';
  src: url('/fonts/sora-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('/fonts/sora-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('/fonts/sora-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('/fonts/sora-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* === ZMIENNE === */
:root {
  --navy:        #0A1D33;
  --navy-dark:   #07111e;
  --red-dark:    #8B0F2C;
  --red-light:   #F9E9EC;
  --orange:      #C42348;
  --orange-h:    #e02055;
  --text:        #333333;
  --text-light:  #666;
  --light-bg:    #F2F3F3;
  --border:      #e0e4e8;
  --white:       #ffffff;
  --font:        'Sora', sans-serif;
  --radius:      12px;
  --radius-lg:   16px;
  --shadow:      0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.16);
  --max-w:       1200px;
  --header-h:    72px;
  --trans:       .25s ease;
  --section-pad: 88px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.75;
  font-size: 15px;
  font-weight: 300;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 3px; }
ul { list-style: none; }
address { font-style: normal; }
button { font-family: var(--font); }

/* === LAYOUT === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-pad) 0; }
.section:not(.section--light):not(.section--dark) + .section:not(.section--light):not(.section--dark),
.section--light + .section--light,
.section--dark  + .section--dark { padding-top: 0; }
.section--light { background: var(--white); }
.section--dark  { background: linear-gradient(135deg, #C42348 0%, #E34C60 100%); color: var(--white); }

/* === ANIMACJE === */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { transition: none; opacity: 1; transform: none; }
}

/* === PRZYCISKI === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--trans), color var(--trans),
              border-color var(--trans), transform .2s, box-shadow .2s;
  white-space: nowrap;
  text-align: center;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: inset 0 0 0 0 var(--white);
  transition: box-shadow .38s cubic-bezier(.4,0,.2,1), color .3s, transform .2s;
  overflow: hidden;
  gap: 0;
}
.btn-primary::before {
  content: '<';
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  max-width: 24px;
  overflow: hidden;
  white-space: nowrap;
  margin-right: 6px;
  color: var(--orange);
  transition: opacity .2s ease .12s;
}
.btn-primary::after {
  content: '/>';
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  max-width: 30px;
  overflow: hidden;
  white-space: nowrap;
  margin-left: 6px;
  color: var(--orange);
  transition: opacity .2s ease .12s;
}
.btn-primary:hover {
  box-shadow: inset 2000px 0 0 0 var(--white);
  color: var(--orange);
  transform: translateY(-2px);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover::after  { opacity: 1; }
/* secondary: białe + czerwona ramka → czerwone fill */
.btn-secondary {
  background: var(--white);
  color: var(--orange);
  border-color: var(--orange);
  box-shadow: inset 0 0 0 0 var(--orange);
  transition: box-shadow .38s cubic-bezier(.4,0,.2,1), color .3s, transform .2s;
  overflow: hidden;
  gap: 0;
}
.btn-secondary::before {
  content: '<';
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  max-width: 24px;
  overflow: hidden;
  white-space: nowrap;
  margin-right: 6px;
  color: var(--white);
  transition: opacity .2s ease .12s;
}
.btn-secondary::after {
  content: '/>';
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  max-width: 30px;
  overflow: hidden;
  white-space: nowrap;
  margin-left: 6px;
  color: var(--white);
  transition: opacity .2s ease .12s;
}
.btn-secondary:hover {
  box-shadow: inset 400px 0 0 0 var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-secondary:hover::before { opacity: 1; }
.btn-secondary:hover::after  { opacity: 1; }

/* outline = identyczny z secondary */
.btn-outline { background: var(--white); color: var(--orange); border-color: var(--orange); box-shadow: inset 0 0 0 0 var(--orange); transition: box-shadow .38s cubic-bezier(.4,0,.2,1), color .3s, transform .2s; overflow: hidden; gap: 0; }
.btn-outline::before { content: '<'; font-size: 13px; font-weight: 400; opacity: 0; max-width: 0; overflow: hidden; white-space: nowrap; margin-right: 0; color: var(--white); transition: max-width .35s cubic-bezier(.4,0,.2,1) .08s, opacity .2s ease .12s, margin-right .35s cubic-bezier(.4,0,.2,1) .08s; }
.btn-outline::after  { content: '/>'; font-size: 13px; font-weight: 400; opacity: 0; max-width: 0; overflow: hidden; white-space: nowrap; margin-left: 0; color: var(--white); transition: max-width .35s cubic-bezier(.4,0,.2,1) .08s, opacity .2s ease .12s, margin-left .35s cubic-bezier(.4,0,.2,1) .08s; }
.btn-outline:hover { box-shadow: inset 400px 0 0 0 var(--orange); color: var(--white); transform: translateY(-2px); }
.btn-outline:hover::before { opacity: 1; max-width: 24px; margin-right: 6px; }
.btn-outline:hover::after  { opacity: 1; max-width: 30px; margin-left: 6px; }

/* outline-light: na ciemnych tłach (uproszczony) */
.btn-outline-light       { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); transform: translateY(-2px); }
.btn-full { width: 100%; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  height: var(--header-h);
  transition: box-shadow .3s;
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.10); }
.site-header > .container {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 42px; width: auto; }
.logo-text { font-size: 22px; font-weight: 700; color: var(--navy); font-family: var(--font); letter-spacing: -0.3px; text-decoration: none; line-height: 1; }
.logo-accent { color: var(--orange); }

/* Nav */
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 8px 13px;
  color: rgba(10,29,51,.72);
  font-size: 14px;
  font-weight: 400;
  border-radius: 6px;
  transition: color var(--trans), background var(--trans);
}
.nav-list > li > a:hover { color: var(--navy); background: rgba(10,29,51,.06); }
.nav-list > li > a.active {
  color: var(--orange);
  font-weight: 700;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-list > li > a.active::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  animation: nav-dot-blink 2.4s ease-in-out infinite;
}
@keyframes nav-dot-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.42; }
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 36px rgba(0,0,0,.16);
  min-width: 270px;
  padding: 10px 0 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s, transform .22s, visibility .22s;
  pointer-events: none;
}
.has-dropdown:hover .dropdown,
.has-dropdown.dd-open .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--navy);
  font-size: 14px;
  border-radius: 0;
  transition: background var(--trans), color var(--trans);
}
.dropdown a:hover { background: var(--light-bg); color: var(--orange); }

/* Header social + CTA */
.header-social { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.header-social__link {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 6px;
  color: rgba(10,29,51,.5);
  transition: color var(--trans), background var(--trans);
}
.header-social__link:hover { color: var(--orange); background: rgba(196,35,72,.07); }
.header-social__link svg { width: 16px; height: 16px; fill: currentColor; }
.btn-header {
  flex-shrink: 0;
  background: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  font-size: 13.5px;
  border-radius: 7px;
  font-weight: 600;
  border: none;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background var(--trans), transform .2s;
}
.btn-header:hover { background: var(--orange-h); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 198;
  cursor: pointer;
}
.nav-overlay.is-visible { display: block; }

/* === AKCENT === */
.accent { color: var(--orange); }

/* === NAGŁÓWKI === */
h1 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 10px;
}
h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.22;
  margin-bottom: 14px;
}
.section-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-header--light h2,
.section-header--light h3 { color: var(--white); }
.section-header--light p  { color: rgba(255,255,255,.72); }
.section-eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-header p { font-size: 16px; color: var(--text-light); line-height: 1.75; }

/* === PAGE HERO (podstrony) === */
.page-hero { background: var(--orange); padding: 52px 0 56px; text-align: center; }
.page-hero__breadcrumb { font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.page-hero__breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--trans); }
.page-hero__breadcrumb a:hover { color: var(--orange); }
.page-hero__breadcrumb span { color: rgba(255,255,255,.9); }
.page-hero h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 700; color: var(--white); margin-bottom: 14px; line-height: 1.25; }
.page-hero__lead { font-size: 16px; color: rgba(255,255,255,.72); max-width: 600px; margin: 0 auto; line-height: 1.75; }
.page-hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.page-hero__phone { display: block; text-align: center; margin-top: 20px; font-size: clamp(30px,4vw,48px); font-weight: 700; color: var(--white); letter-spacing: -.5px; line-height: 1; transition: color var(--trans); }
.page-hero__phone:hover { color: var(--orange); }
.page-hero__meta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.page-hero__cat { display: inline-block; background: rgba(255,255,255,.15); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; }
.page-hero__date { font-size: 13px; color: rgba(255,255,255,.5); }

/* === FORMULARZE === */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 1.5px solid #d0d5dd;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(196,35,72,.14);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-light);
}
.checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--orange);
  cursor: pointer;
  padding: 0;
  border: none;
  -webkit-appearance: checkbox;
  appearance: checkbox;
}
.checkbox-label a { color: var(--orange); text-decoration: underline; }
.form-msg {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.form-msg.success { background: #fff; color: var(--orange); border: 1.5px solid var(--orange); display: block; font-weight: 600; }
.form-msg.error   { background: #fee2e2; color: #991b1b; display: block; }

/* Contact ciemny */
.contact-form-dark .form-group label { color: rgba(255,255,255,.82); }
.contact-form-dark .form-group input,
.contact-form-dark .form-group textarea {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  color: var(--white);
}
.contact-form-dark .form-group input::placeholder,
.contact-form-dark .form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.contact-form-dark .form-group input:focus,
.contact-form-dark .form-group textarea:focus {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(255,255,255,.15);
}
.contact-form-dark .checkbox-label { color: rgba(255,255,255,.6); }

/* === FAQ — AKORDEON === */
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(196,35,72,.1);
}
.faq-item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  user-select: none;
  transition: background var(--trans);
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--orange);
  transition: transform .3s;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--light-bg); }
.faq-answer {
  padding: 4px 24px 22px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

/* FAQ bez akordeonu (tekst ciągły) */
.faq-plain { display: flex; flex-direction: column; gap: 40px; }
.faq-plain__item h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.faq-plain__item p  { font-size: 15px; color: var(--text); line-height: 1.8; }

/* === KONTAKT (sekcja-kontakt.php) === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info > h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,.82);
}
.contact-list li svg { flex-shrink: 0; color: var(--orange); margin-top: 2px; }
.contact-list a { color: rgba(255,255,255,.88); transition: color var(--trans); }
.contact-list a:hover { color: var(--orange); }
.contact-map { aspect-ratio: 16 / 9; width: 100%; }
.contact-map iframe { border: 0; border-radius: var(--radius); display: block; width: 100%; height: 100%; }

/* === FOOTER === */
/* Stopka ma teraz kompletny wlasny <style> w footer.php (klasy .footer-cta/.footer-depts/.footer-cols itd.) */

/* === STICKY MOBILE CTA === */
.mobile-sticky-cta { display: none; }
@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
    gap: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--white);
    box-shadow: 0 -2px 16px rgba(0,0,0,.12);
    z-index: 900;
  }
  .mobile-sticky-cta .btn { flex: 1; justify-content: center; font-size: 15px; }
  body { padding-bottom: 80px; }
}

/* === SEO BLOCKS === */
.seo-wide .container { max-width: 1400px; }
.seo-wide .seo-text  { max-width: none; }
.seo-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.85;
  color: var(--text);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.seo-text { max-width: 860px; margin: 0 auto; }
.seo-text h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; color: var(--navy); margin-bottom: 16px; line-height: 1.35; }
.seo-text h3 { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin: 24px 0 8px; }
.seo-text p { margin-bottom: 14px; color: var(--text); }
.seo-text p:last-child { margin-bottom: 0; }
@media (max-width: 768px) { .seo-lead { text-align: left; } }

/* === KARTY USŁUG (uslugi.php, podstrony) === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow);
  transition: box-shadow .3s, transform .3s;
  min-width: 0;
}
.service-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,.13); transform: translateY(-6px); }
.service-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(196,35,72,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-card__icon svg { color: var(--orange); }
.service-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.35; }
.service-card p  { font-size: 13.5px; color: var(--text-light); line-height: 1.7; flex: 1; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
  transition: gap var(--trans);
  align-self: flex-start;
}
.service-card__link:hover { gap: 10px; }

/* === KROKI WSPÓŁPRACY === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.step-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  transition: box-shadow .3s, border-color .3s, transform .3s;
}
.step-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,.1); transform: translateY(-4px); border-color: var(--orange); }
.step-number {
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.step-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.step-card p  { font-size: 14px; color: var(--text-light); line-height: 1.75; }
.steps-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 48px; }

/* === KORZYŚCI === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.benefit-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border: 1.5px solid transparent;
  border-radius: var(--radius-lg);
  transition: box-shadow .3s, border-color .3s, transform .3s;
}
.benefit-card:hover { box-shadow: 0 10px 36px rgba(0,0,0,.12); border-color: rgba(255,255,255,.3); transform: translateY(-4px); }
.benefit-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(196,35,72,.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin: 0 auto 22px;
}
.benefit-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.benefit-card p  { font-size: 14px; color: var(--text-light); line-height: 1.75; }
.benefits-4 { grid-template-columns: repeat(4, 1fr); }

/* === PROBLEM BANNER === */
.problem-banner {
  background: var(--orange);
  color: var(--white);
  padding: var(--section-pad) 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.08);
}
.problem-banner h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; color: var(--white); margin-bottom: 28px; }
.pbanner-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.pbanner-phone {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1;
  transition: color var(--trans);
}
.pbanner-phone:hover { color: var(--orange); }

/* === QUICK FAQ === */
.quick-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.quick-faq-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}
.quick-faq-card__q { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.35; }
.quick-faq-card__a { font-size: 14.5px; color: var(--text-light); line-height: 1.8; }

/* === PROBLEMS GRID === */
.problems-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.problems-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: auto; aspect-ratio: 595 / 340; object-fit: cover; }
.problems-content h2 { text-align: left; }
.problems-content > p { margin-bottom: 24px; color: var(--text-light); }
.problem-list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 32px; }
.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.problem-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background: rgba(196,35,72,.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23C42348' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E")
  center / 12px no-repeat;
  border-radius: 50%;
}

/* === INTRO SPLIT (strony usług) === */
.intro-split { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: center; }
.intro-features { display: flex; flex-direction: column; gap: 24px; }
.intro-feature { display: flex; align-items: flex-start; gap: 16px; }
.intro-feature__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.intro-feature__text { font-size: 17px; font-weight: 600; color: var(--navy); line-height: 1.4; }

/* === O WŁAŚCICIELU === */
.owner-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
.owner-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.owner-content h2 { margin-bottom: 20px; }
.owner-content p { margin-bottom: 16px; color: var(--text-light); }
.owner-credentials { display: flex; flex-direction: column; gap: 8px; margin: 24px 0 28px; }
.owner-credentials li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.owner-credentials li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

/* === REALIZACJE === */
.realizacje-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.stat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-number {
  display: block;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--text-light); font-weight: 400; }
.realizacje-branze { margin-bottom: 48px; }
.realizacje-branze h3,
.realizacje-cases h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.branze-list { display: flex; flex-wrap: wrap; gap: 10px; }
.branze-list li {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 14px;
  color: var(--text);
}
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}
.case-problem { font-size: 14px; color: var(--text-light); margin-bottom: 14px; font-style: italic; }
.case-result  { font-size: 14px; color: var(--text); font-weight: 400; }

/* === ZDJĘCIA === */
.photos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photos-grid img { border-radius: var(--radius-lg); width: 100%; height: 280px; object-fit: cover; display: block; }

/* === BLOG === */
.blog-section { padding: 72px 0 88px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s, border-color .3s, transform .3s;
}
.blog-card:hover { box-shadow: var(--shadow); border-color: var(--orange); transform: translateY(-4px); }
.blog-card__img-placeholder { background: linear-gradient(135deg, var(--red-dark) 0%, var(--orange) 100%); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.blog-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.blog-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.blog-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.blog-card__cat { display: inline-block; background: rgba(196,35,72,.12); color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; }
.blog-card__date { font-size: 12px; color: var(--text-light); }
.blog-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.35; margin: 0; }
.blog-card h3 a { color: inherit; transition: color var(--trans); }
.blog-card h3 a:hover { color: var(--orange); }
.blog-card__excerpt { font-size: 14px; color: var(--text-light); line-height: 1.75; flex: 1; }
.blog-card__link { font-size: 13px; font-weight: 700; color: var(--orange); display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; align-self: flex-start; transition: gap var(--trans); }
.blog-card__link:hover { gap: 8px; }
.blog-cta { background: var(--red-dark); border-radius: var(--radius-lg); padding: 48px 40px; text-align: center; margin-top: 64px; }
.blog-cta h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; color: var(--white); margin-bottom: 12px; }
.blog-cta p  { font-size: 16px; color: rgba(255,255,255,.72); margin-bottom: 28px; }
.blog-cta .btn-group { justify-content: center; }

/* === WPIS BLOGOWY === */
.post-section { padding: 72px 0 88px; background: var(--light-bg); }
.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.post-article { background: var(--white); border-radius: var(--radius-lg); border: 1.5px solid var(--border); overflow: hidden; }
.post-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.post-cover-placeholder { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--red-dark) 0%, var(--orange) 100%); display: flex; align-items: center; justify-content: center; }
.post-cover-placeholder svg { opacity: .15; }
.post-content { padding: 40px 44px 48px; }
.post-body { font-size: 16px; font-weight: 300; line-height: 1.85; color: var(--text); }
.post-body h2 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 36px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--light-bg); }
.post-body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 28px 0 10px; }
.post-body p { margin-bottom: 18px; }
.post-body ul, .post-body ol { margin: 4px 0 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.post-body ul li { list-style: disc; padding-left: 4px; }
.post-body ol li { list-style: decimal; padding-left: 4px; }
.post-body strong { font-weight: 700; color: var(--navy); }
.post-body a { color: var(--orange); font-weight: 600; transition: color var(--trans); }
.post-body a:hover { color: var(--orange-h); }
.post-body .highlight-box { background: rgba(196,35,72,.07); border-left: 4px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 24px 0; font-size: 15px; }
.post-footer { margin-top: 40px; padding-top: 24px; border-top: 1.5px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.post-back { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 700; font-size: 14px; transition: gap var(--trans); }
.post-back:hover { gap: 14px; }
.post-back svg { transform: rotate(180deg); }
.post-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar-card { background: var(--white); border-radius: var(--radius-lg); border: 1.5px solid var(--border); padding: 28px 26px; }
.sidebar-card--dark { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.sidebar-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.sidebar-card--dark h3 { color: var(--white); }
.sidebar-card p { font-size: 13.5px; color: var(--text-light); line-height: 1.7; margin-bottom: 18px; }
.sidebar-card--dark p { color: rgba(255,255,255,.7); }
.sidebar-toc { display: flex; flex-direction: column; gap: 10px; }
.sidebar-toc a { font-size: 13.5px; color: var(--text); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; transition: color var(--trans); }
.sidebar-toc a::before { content: ''; width: 6px; height: 6px; min-width: 6px; border-radius: 50%; background: var(--orange); margin-top: 7px; }
.sidebar-toc a:hover { color: var(--orange); }
.sidebar-phone { display: flex; align-items: center; gap: 10px; font-size: clamp(22px,3.5vw,28px); font-weight: 700; color: var(--white); margin-bottom: 4px; text-decoration: none; }
.sidebar-phone svg { flex-shrink: 0; }

/* === POLITYKA PRYWATNOŚCI === */
.policy-content { max-width: 860px; margin: 0 auto; }
.policy-content h2 { font-size: clamp(17px,2vw,20px); font-weight: 700; color: var(--navy); margin: 36px 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--orange); }
.policy-content > h2:first-child { margin-top: 0; }
.policy-content p { margin-bottom: 14px; line-height: 1.8; color: var(--text); }
.policy-content ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.policy-content li { margin-bottom: 8px; line-height: 1.75; color: var(--text); }
.policy-content a { color: var(--orange); text-decoration: underline; }
.policy-content strong { font-weight: 700; color: var(--navy); }
.policy-browsers dt { font-weight: 700; margin-top: 10px; color: var(--navy); }
.policy-browsers dd { margin-left: 0; padding-left: 16px; border-left: 3px solid var(--orange); margin-bottom: 10px; font-size: 13px; color: var(--text-light); }
.cookie-table-wrap { overflow-x: auto; margin: 24px 0; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 580px; }
.cookie-table thead tr { background: var(--navy); color: var(--white); }
.cookie-table th { padding: 10px 12px; text-align: left; font-weight: 600; }
.cookie-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.cookie-table tr:nth-child(even) td { background: var(--light-bg); }

/* === TRUST BAR ===
   .trust-bar = context-neutral component (identity: background, border,
   radius, shadow, padding, gap). Used standalone in .loc-stats/.real-stats-bar
   sections and inside .hero.
   .hero-trust-bar = modifier, hero-only positioning on top of .trust-bar. */
.trust-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 32px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 22px 40px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 0 24px rgba(0,0,0,.08), 0 12px 40px rgba(0,0,0,.10);
}
.hero-trust-bar { margin-top: 32px; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(196,35,72,.1);
  color: var(--orange);
}
.trust-icon svg { width: 28px; height: 28px; }
.trust-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.trust-text strong { font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: var(--navy); }
.trust-text small  { font-size: 15px; color: var(--text-light); }
/* nadpisanie globalnej .stat-number (display:block/font-size duży/kolor akcent),
   żeby liczba + znak (+/%) zostały w jednej linii i dziedziczyły rozmiar .trust-text */
.trust-text .stat-number {
  display: inline; font-size: inherit; font-weight: inherit; color: inherit; line-height: inherit; margin-bottom: 0;
}
.trust-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex: 0 0 auto;
}
@media (max-width: 768px) {
  .trust-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; padding: 20px; width: 100%; box-sizing: border-box; }
  .trust-divider { display: none; }
  .trust-item { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .trust-icon { width: 40px; height: 40px; }
  .trust-text strong { font-size: 16px; }
  .trust-text small  { font-size: 12px; }
}

/* === SEKCJE ZE STATYSTYKAMI ===
   Odstępy i wyśrodkowanie należą do sekcji, nie do komponentu .trust-bar.
   Padding min. 56px = zapas na cień (blur 40px + offset 12px). */
.loc-stats,
.real-stats-bar {
  padding: 56px 0;
}

.loc-stats > .container,
.real-stats-bar > .container {
  display: flex;
  justify-content: center;
}

/* Sekcja statystyk zaraz po innej sekcji o tym samym tle — bez podwójnego odstępu */
.section--light + .loc-stats,
.loc-stats + .section--light,
.section--light + .real-stats-bar,
.real-stats-bar + .section--light {
  padding-top: 32px;
}

@media (max-width: 640px) {
  .loc-stats,
  .real-stats-bar {
    padding: 36px 0;
  }
}

/* === CONTENT VISIBILITY === */
.seo-wide,
.realizacje,
.lokalizacje {
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}
/* contain: paint (włączane przez content-visibility: auto) obcina wszystko,
   co wychodzi poza padding-box elementu — w tym box-shadow .trust-bar.
   Sekcja z paskiem statystyk nie może mieć paint containment. */
.seo-wide:has(.trust-bar),
.realizacje:has(.trust-bar),
.lokalizacje:has(.trust-bar) {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

/* === PRINT === */
@media print {
  .site-header, .contact-form-wrap, .nav-overlay, .hamburger { display: none !important; }
  .hero { background: white; color: black; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 11px; }
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .problems-grid { grid-template-columns: 1fr; gap: 0; }
  .problems-image { display: none; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .owner-grid { grid-template-columns: 1fr; gap: 32px; }
  .owner-photo { max-width: 280px; }
  .realizacje-stats { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .intro-split { grid-template-columns: 1fr; gap: 40px; }
  .photos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; --section-pad: 48px; }

  /* Mobile nav */
  .hamburger { display: flex; }
  .btn-header { display: none; }
  .header-social { display: none; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    bottom: 0;
    width: 290px;
    background: var(--white);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .32s ease;
    z-index: 199;
    padding: 16px 0 32px;
    border-right: 1px solid var(--border);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav .nav-list > li > a { color: var(--navy); }
  .main-nav .nav-list > li > a:hover { color: var(--orange); font-weight: 700; background: rgba(196,35,72,.05); }
  .main-nav .nav-list > li > a.active { color: var(--orange); font-weight: 700; background: rgba(196,35,72,.05); }
  .main-nav .nav-list > li > a.active::before { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li > a { padding: 12px 20px; font-size: 15px; border-radius: 0; }
  .has-dropdown > a { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .has-dropdown > a::after { content: '▾'; font-size: 14px; line-height: 1; color: rgba(10,29,51,.5); flex-shrink: 0; transition: transform .25s ease; }
  .has-dropdown.mob-open > a::after { transform: rotate(180deg); }
  .dropdown {
    position: static;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    min-width: 0;
    display: none;
    pointer-events: auto;
  }
  .has-dropdown.mob-open .dropdown { display: block; }
  .has-dropdown:hover .dropdown,
  .has-dropdown.dd-open .dropdown,
  .has-dropdown:focus-within .dropdown { transform: none; }
  .dropdown a { color: var(--text-light); padding: 10px 20px 10px 36px; font-size: 14px; }
  .dropdown a:hover { background: rgba(196,35,72,.06); color: var(--orange); font-weight: 600; }

  /* Layout */
  .services-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .quick-faq-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .post-content { padding: 28px 22px 36px; }
  .post-body h2 { font-size: 18px; }
  .blog-cta { padding: 32px 20px; }
  .pbanner-actions { flex-direction: column; }
}

@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
  .benefits-4 { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .blog-grid { grid-template-columns: 1fr; }
  .contact-form-dark { padding: 28px 20px; }
}

@media (max-width: 480px) {
  :root { --section-pad: 32px; }
  .container { padding: 0 16px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .faq-item summary { font-size: 15px; padding: 16px 18px; }
  .faq-answer { padding: 0 18px 18px; }
  .realizacje-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 24px 16px; }
  .photos-grid { grid-template-columns: 1fr; }
  .quick-faq-card { padding: 22px 20px; }
}
