/*
 Theme Name:   CustomSite Child
 Theme URI:    https://customsite.pl
 Description:  Motyw potomny GeneratePress dla CustomSite — strony WordPress Białystok
 Author:       Maciej — CustomSite / Fullsite Sp. z o.o.
 Author URI:   https://customsite.pl
 Template:     generatepress
 Version:      1.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  customsite-child
*/

/* ============================================
   CustomSite Design System
   Colors: #F26522 (orange), #1C2B4A (navy), #B5A99A (sand), #F7F6F3 (off-white)
   Fonts: Outfit (headings 800), Inter (body)
   ============================================ */

/* Font fallback size-adjust to reduce CLS during font swap */
@font-face {
  font-family: 'Outfit Fallback';
  src: local('Arial');
  size-adjust: 102%;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  --cs-orange: #F26522;
  --cs-orange-dark: #D4541A;
  --cs-orange-pale: #FEF3EC;
  --cs-navy: #1C2B4A;
  --cs-navy-mid: #253660;
  --cs-navy-light: #374E80;
  --cs-sand: #B5A99A;
  --cs-white: #FFFFFF;
  --cs-off: #F7F6F3;
  --cs-border: rgba(0,0,0,0.08);
  --cs-text: #1A1A1A;
  --cs-muted: #6B6B6B;
}

/* ── Typography ── */
body {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  color: var(--cs-text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-weight: 800;
  color: var(--cs-navy);
  letter-spacing: -0.5px;
}

/* ── Logo ── */
.cs-logo-text {
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--cs-navy);
  text-decoration: none;
}
.cs-logo-text em {
  color: var(--cs-orange);
  font-style: normal;
}
.cs-logo-text sup {
  color: var(--cs-sand);
  font-size: 20px;
  font-weight: 400;
  vertical-align: baseline;
}

/* ── Buttons ── */
.btn-cs-orange {
  background: var(--cs-orange);
  color: #fff;
  border: none;
  padding: 15px 28px;
  border-radius: 8px;
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-cs-orange:hover {
  background: var(--cs-orange-dark);
  transform: translateY(-1px);
  color: #fff;
}

.btn-cs-outline {
  background: transparent;
  color: var(--cs-navy);
  border: 2px solid var(--cs-border);
  padding: 13px 26px;
  border-radius: 8px;
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-cs-outline:hover {
  border-color: var(--cs-orange);
  color: var(--cs-orange);
}
/* Outline button on dark backgrounds (hero, about, etc.) */
.cs-hero .btn-cs-outline,
.cs-about .btn-cs-outline {
  border-color: var(--cs-orange);
  color: #fff;
}
.cs-hero .btn-cs-outline:hover,
.cs-about .btn-cs-outline:hover {
  background: var(--cs-orange);
  border-color: var(--cs-orange);
  color: #fff;
}

.btn-cs-white {
  background: #fff;
  color: var(--cs-orange);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s;
}
.btn-cs-white:hover {
  transform: translateY(-1px);
}

/* ── Topbar ── */
.cs-topbar {
  background: var(--cs-navy);
  padding: 8px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cs-topbar span {
  color: var(--cs-orange);
  font-weight: 600;
}
.cs-topbar-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  margin: 0 12px;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .cs-topbar {
    font-size: 11px;
    padding: 6px 12px;
  }
  .cs-topbar-dot {
    margin: 0 6px;
  }
  /* Hide less important items on mobile — keep only city + experience */
  .cs-topbar .cs-topbar-hide-mobile {
    display: none;
  }
}

/* ── Navigation ── */
.cs-header {
  background: #fff;
  border-bottom: 1px solid var(--cs-border);
  position: sticky;
  top: 0;
  z-index: 999;
}
.cs-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.cs-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cs-nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--cs-navy);
  text-decoration: none;
  transition: color 0.2s;
}
.cs-nav-links a:hover {
  color: var(--cs-orange);
}
.cs-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cs-phone-link {
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--cs-navy);
  text-decoration: none;
}
.cs-phone-link:hover {
  color: var(--cs-orange);
}

/* ── Section Commons ── */
.cs-section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.cs-section-pre {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cs-orange);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cs-section-pre::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--cs-orange);
  border-radius: 1px;
}
.cs-section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--cs-navy);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.cs-section-desc {
  font-size: 16px;
  color: var(--cs-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
}

/* ── Badge ── */
.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242,101,34,0.15);
  border: 1px solid rgba(242,101,34,0.3);
  color: #F4834A;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cs-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--cs-orange);
  border-radius: 50%;
}

/* ── Hero ── */
.cs-hero {
  background: var(--cs-navy);
  position: relative;
  overflow: hidden;
}
.cs-hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242,101,34,0.14) 0%, transparent 65%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}
.cs-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.cs-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
}
.cs-hero h1 em {
  color: var(--cs-orange);
  font-style: normal;
}
.cs-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
  text-align: left;
}
.cs-hero-sub strong {
  color: rgba(255,255,255,0.88);
  font-weight: 500;
}
.cs-hero-btns {
  display: flex;
  gap: 18px;
  margin-bottom: 48px;
}
.cs-hero .btn-cs-outline {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.22);
}
.cs-hero .btn-cs-outline:hover {
  background: var(--cs-orange);
  border-color: var(--cs-orange);
  color: #fff;
}

/* ── Stats ── */
.cs-stats {
  display: flex;
  gap: 36px;
  align-items: center;
}
.cs-stat-val {
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.cs-stat-val em {
  color: var(--cs-orange);
  font-style: normal;
}
.cs-stat-lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}
.cs-stat-div {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* ── Form Card ── */
.cs-form-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(8px);
}
.cs-form-card h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.cs-form-card > p {
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  margin-bottom: 20px;
}
.cs-form-card .cs-input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 13px 16px;
  color: #fff;
  font-size: 15px;
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  margin-bottom: 6px;
  outline: none;
  transition: border-color 0.2s;
}
.cs-form-card .cs-input:focus {
  border-color: var(--cs-orange);
}
.cs-form-card .cs-input::placeholder {
  color: rgba(255,255,255,0.3);
}
.cs-form-card textarea.cs-input {
  resize: none;
  min-height: 80px;
}
.cs-form-submit {
  width: 100%;
  background: var(--cs-orange);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s;
}
.cs-form-submit:hover {
  background: var(--cs-orange-dark);
}
.cs-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
/* Inline validation */
.cs-field { position: relative; }
.cs-field-error {
  display: none;
  color: #e74c3c;
  font-size: 12px;
  margin-top: 2px;
  margin-bottom: 4px;
}
.cs-field-error.visible { display: block; }
.cs-input.cs-invalid {
  border-color: #e74c3c !important;
}
/* RODO consent */
.cs-field-consent { margin-top: 4px; margin-bottom: 2px; }
.cs-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #555;
  cursor: pointer;
}
.cs-consent-checkbox {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  cursor: pointer;
}
.cs-consent-checkbox.cs-invalid { outline: 2px solid #e74c3c; outline-offset: 2px; }
.cs-consent-label a { color: var(--cs-orange); text-decoration: underline; }
.cs-consent-label a:hover { color: var(--cs-orange-dark); }
/* Thank-you message */
.cs-form-thankyou {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--cs-border);
}
.cs-form-alts {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  justify-content: center;
}
.cs-form-alt {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.cs-form-alt:hover {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.2);
}

/* ── Trust Bar ── */
.cs-trust {
  background: var(--cs-off);
  border-bottom: 1px solid var(--cs-border);
  padding-top: 20px;
  padding-bottom: 20px;
  width: 100%;
}
.cs-trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.cs-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--cs-navy);
  font-weight: 500;
  padding: 8px 20px;
  border-left: 1px solid var(--cs-border);
  white-space: nowrap;
}
.cs-trust-item:first-child {
  border-left: none;
  padding-left: 0;
}
.cs-trust-icon {
  width: 28px;
  height: 28px;
  background: var(--cs-orange-pale);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ── Services Grid ── */
.cs-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cs-svc {
  background: var(--cs-off);
  border-radius: 14px;
  padding: 32px 24px;
  border: 2px solid transparent;
}
.cs-svc-icon {
  width: 48px;
  height: 48px;
  background: var(--cs-orange-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.cs-svc h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cs-svc p {
  font-size: 14px;
  color: var(--cs-muted);
  line-height: 1.65;
}
.cs-svc-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cs-orange);
  text-decoration: none;
}
.cs-svc-link:hover {
  text-decoration: underline;
}

/* ── About Section ── */
.cs-about {
  background: var(--cs-navy);
}
.cs-about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.cs-about .cs-section-pre { color: #F4834A; }
.cs-about .cs-section-pre::before { background: #F4834A; }
.cs-about .cs-section-title { color: #fff; }
.cs-about .cs-section-desc { color: rgba(255,255,255,0.55); }

.cs-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cs-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  line-height: 1.5;
}
.cs-check {
  width: 22px;
  height: 22px;
  background: rgba(242,101,34,0.2);
  border: 1px solid rgba(242,101,34,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 11px;
  color: var(--cs-orange);
}

/* ── Person Card ── */
.cs-person-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.cs-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
}
.cs-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cs-orange), #F4834A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.cs-person-info h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.cs-person-role {
  color: #F4834A;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.cs-person-info p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.65;
}
.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.cs-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

/* ── Portfolio ── */
.cs-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cs-port-item {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--cs-border);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}
.cs-port-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
  border-color: var(--cs-orange);
}
.cs-port-thumb {
  height: 200px;
  overflow: hidden;
}
.cs-port-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.cs-port-item:hover .cs-port-thumb img {
  transform: scale(1.05);
}
.cs-port-info {
  padding: 18px 20px;
}
.cs-port-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.cs-port-info p {
  font-size: 13px;
  color: var(--cs-muted);
}

/* ── Locations ── */
.cs-locations {
  background: var(--cs-off);
  text-align: left;
}
.cs-loc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 24px;
  max-width: 800px;
  margin-left: 0;
  margin-right: auto;
}
.cs-loc-pill {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--cs-border);
  background: #fff;
  color: var(--cs-navy);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.cs-loc-pill:hover {
  border-color: var(--cs-orange);
  color: var(--cs-orange);
}
.cs-loc-pill.main {
  background: var(--cs-navy);
  color: #fff;
  border-color: var(--cs-navy);
}

/* ── Reviews ── */
.cs-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cs-review {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--cs-border);
}
.cs-review-stars {
  color: #F59E0B;
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.cs-review p {
  font-size: 14px;
  color: var(--cs-text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}
.cs-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cs-review-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cs-orange), #F4834A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.cs-review-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--cs-navy);
}
.cs-review-src {
  font-size: 12px;
  color: var(--cs-muted);
}

/* ── CTA Strip ── */
.cs-cta-strip {
  background: var(--cs-orange);
  padding: 64px 0 24px;
}
.cs-cta-strip .cs-section {
  padding-top: 0;
  padding-bottom: 0;
}
.cs-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cs-cta-strip h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.cs-cta-strip p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
}
.cs-cta-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cs-cta-strip .btn-cs-outline,
.cs-cta-strip .btn-cs-orange {
  border: 2px solid #fff;
}
.cs-cta-strip .btn-cs-outline {
  color: #fff;
  background: transparent;
}
.cs-cta-strip .btn-cs-outline:hover,
.cs-cta-strip .btn-cs-orange:hover {
  background: #fff;
  border-color: #fff;
  color: var(--cs-orange);
}

/* ── Footer ── */
.cs-footer {
  background: var(--cs-navy);
  padding: 48px 0 24px;
}
.cs-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.cs-footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 40px;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.cs-footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 18px;
}
.cs-footer-contact a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 6px;
}
.cs-footer-contact a:hover {
  color: var(--cs-orange);
}
.cs-footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}
.cs-footer-col a {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.cs-footer-col a:hover {
  color: var(--cs-orange);
}
.cs-footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ── Blog Preview ── */
.cs-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cs-blog-card {
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--cs-border);
  background: var(--cs-off);
  transition: all 0.2s;
}
.cs-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border-color: var(--cs-orange);
}
.cs-blog-card-thumb {
  height: 180px;
  overflow: hidden;
}
.cs-blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-blog-card-body {
  padding: 20px;
}
.cs-blog-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cs-orange);
  margin-bottom: 8px;
}
.cs-blog-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0;
}
.cs-blog-card-body h3 a {
  color: var(--cs-navy);
  text-decoration: none;
}
.cs-blog-card-body h3 a:hover {
  color: var(--cs-orange);
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .cs-hero-inner {
    grid-template-columns: 1fr;
    padding: 48px 24px;
  }
  .cs-hero h1 {
    font-size: 36px;
  }
  .cs-hero-sub {
    text-align: left;
    margin-bottom: 32px;
  }
  .cs-about-inner {
    grid-template-columns: 1fr;
  }
  .cs-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cs-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs-trust {
    flex-wrap: wrap;
  }
  .cs-cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .cs-hero h1 {
    font-size: 28px;
  }
  .cs-section-title {
    font-size: 28px;
  }
  .cs-services-grid,
  .cs-portfolio-grid,
  .cs-reviews-grid,
  .cs-blog-grid {
    grid-template-columns: 1fr;
  }
  .cs-footer-grid {
    grid-template-columns: 1fr;
  }
  .cs-stats {
    justify-content: center;
    gap: 24px;
  }
  .cs-hero-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .cs-hero-btns br {
    display: none;
  }
  .cs-hero-btns .btn-cs-orange,
  .cs-hero-btns .btn-cs-outline {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .cs-person-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cs-tags {
    justify-content: center;
  }
}

/* Old mobile menu removed — using overlay */

/* ── GeneratePress Overrides ── */
.site-header,
.main-navigation {
  display: none !important;
}
.site-footer {
  display: none !important;
}
.site-content {
  display: block !important;
  padding: 0 !important;
}
.content-area {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}
.inside-article {
  padding: 0 !important;
  max-width: 100% !important;
}
.separate-containers .inside-article,
.one-container .inside-article {
  padding: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.page .entry-content,
.single-realizacje .entry-content,
.post-type-archive-realizacje .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
}
.grid-container,
.site.container,
#page.container {
  max-width: 100% !important;
  padding: 0 !important;
}
.site-main {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ===========================================
   Hide GP default page title on all custom pages
   =========================================== */
.page .entry-header,
.single-realizacje .entry-header,
.post-type-archive-realizacje .entry-header {
  display: none !important;
}

/* Entry Content text colors fix */
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { color: var(--cs-navy); }
.entry-content p { color: var(--cs-text); font-size: 16px; line-height: 1.8; }
.entry-content .cs-svc p { font-size: 14px; color: var(--cs-muted); line-height: 1.7; }
.entry-content .cs-svc h3 { font-size: 18px; font-weight: 700; color: var(--cs-navy); }
.entry-content ul, .entry-content ol { color: var(--cs-text); font-size: 16px; line-height: 1.8; padding-left: 24px; }
.entry-content a { color: var(--cs-orange); }
.entry-content .btn-cs-orange,
.entry-content .btn-cs-outline,
.entry-content .cs-hero a,
.entry-content .cs-cta-section a { color: #fff; }
.entry-content .btn-cs-outline { color: var(--cs-orange); }
.entry-content .btn-cs-outline:hover { color: #fff; }
.entry-content .cs-checklist li { color: var(--cs-text); }
.entry-content .cs-check { background: var(--cs-orange-pale); border-color: var(--cs-orange); color: var(--cs-orange); }

/* Full-width sections inside entry-content */
.entry-content .cs-hero,
.entry-content .cs-cta-section,
.entry-content .cs-cta-strip {
  width: 100%;
  max-width: 100%;
}

/* Grid layout support inside entry-content sections */
.entry-content .cs-container[style*="grid"] {
  display: grid !important;
}
.entry-content .cs-section img {
  max-width: 100%;
  height: auto;
}
.entry-content .cs-section .cs-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--cs-border);
}
/* Stats grid on /o-nas/ — match both with and without space after colon */
.entry-content .cs-section div[style*="grid-template-columns:repeat(4"],
.entry-content .cs-section div[style*="grid-template-columns: repeat(4"] {
  display: grid !important;
}
.entry-content .cs-section div[style*="grid-template-columns:repeat(3"],
.entry-content .cs-section div[style*="grid-template-columns: repeat(3"] {
  display: grid !important;
}
.entry-content .cs-container[style*="display:grid"],
.entry-content .cs-container[style*="display: grid"] {
  display: grid !important;
}
@media (max-width: 768px) {
  .entry-content .cs-container[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .entry-content .cs-section div[style*="grid-template-columns:repeat(3"],
  .entry-content .cs-section div[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  .entry-content .cs-section div[style*="grid-template-columns:repeat(4"],
  .entry-content .cs-section div[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ===========================================
   Hero Small Variant
   =========================================== */
section.cs-hero-sm,
.cs-hero-sm {
  padding: 72px 0 !important;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-hero-sm .cs-container {
  width: 100%;
  text-align: center;
}
.cs-hero-sm h1 {
  font-size: 42px;
  margin: 0 0 12px;
}
.cs-hero-sm .cs-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 0;
}

/* ===========================================
   Breadcrumb
   =========================================== */
.cs-breadcrumb {
  font-size: 14px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.6);
}
.cs-breadcrumb a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}
.cs-breadcrumb a:hover {
  color: var(--cs-orange);
}

/* ===========================================
   Portfolio Archive Grid
   =========================================== */
/* Portfolio Filter Buttons */
.cs-portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.cs-filter-btn {
  padding: 10px 22px;
  border: 2px solid var(--cs-border, #e5e5e5);
  border-radius: 50px;
  background: #fff;
  color: var(--cs-navy);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}
.cs-filter-btn:hover {
  border-color: var(--cs-orange);
  color: var(--cs-orange);
}
.cs-filter-btn.active {
  background: var(--cs-orange);
  border-color: var(--cs-orange);
  color: #fff;
}
@media (max-width: 600px) {
  .cs-portfolio-filters { gap: 8px; }
  .cs-filter-btn { padding: 8px 16px; font-size: 13px; }
}

.cs-portfolio-archive {
  padding: 60px 0;
}
.cs-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .cs-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cs-portfolio-grid { grid-template-columns: 1fr; }
}
.cs-portfolio-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--cs-border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cs-portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.cs-portfolio-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.cs-portfolio-thumb {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--cs-navy);
}
.cs-portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-portfolio-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cs-navy) 0%, var(--cs-navy-mid) 100%);
}
.cs-portfolio-placeholder-inner {
  text-align: center;
  color: #fff;
}
.cs-portfolio-placeholder-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 8px;
}
.cs-portfolio-placeholder-text {
  font-family: var(--cs-heading);
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
}
.cs-portfolio-info {
  padding: 16px 20px 20px;
}
.cs-portfolio-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cs-navy);
  margin: 0 0 8px;
}
.cs-portfolio-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cs-orange-pale);
  color: var(--cs-orange);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px 3px 8px;
  border-radius: 20px;
  margin-bottom: 6px;
}
.cs-pf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cs-orange);
  flex-shrink: 0;
}
.cs-portfolio-tech {
  font-size: 13px;
  color: var(--cs-muted);
  margin: 4px 0 0;
}

/* Hero meta badges */
.cs-hero-meta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cs-hero-badge {
  background: rgba(242,101,34,0.2);
  color: var(--cs-orange);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}
.cs-hero-tech {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  padding: 4px 0;
}

/* ===========================================
   Single Realizacja Hero – Wariant 1
   =========================================== */
.cs-hero-rl {
  min-height: auto !important;
  padding: 80px 0 60px !important;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-hero-rl-inner {
  text-align: center;
  width: 100%;
}
.cs-hero-rl .cs-breadcrumb {
  text-align: center;
  margin-bottom: 28px;
}
.cs-rl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 30px;
  padding: 6px 18px 6px 12px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.9);
}
.cs-rl-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cs-orange);
  flex-shrink: 0;
}
.cs-rl-title {
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  word-break: break-word;
}
.cs-rl-tech {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin: 0;
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .cs-hero-rl { padding: 60px 0 40px !important; }
  .cs-rl-title { font-size: clamp(32px, 8vw, 56px); }
}

/* ===========================================
   Single Realizacja Layout
   =========================================== */
.cs-realizacja-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.cs-realizacja-screenshot {
  grid-column: 1 / -1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--cs-border);
}
.cs-realizacja-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}
.cs-realizacja-body {
  grid-column: 1;
}
.cs-realizacja-body h2 {
  font-size: 1.5rem;
  color: var(--cs-navy);
  margin-bottom: 12px;
}
.cs-realizacja-body h3 {
  font-size: 1.15rem;
  color: var(--cs-navy);
  margin-top: 24px;
  margin-bottom: 8px;
}
.cs-realizacja-body p,
.cs-realizacja-body li {
  color: var(--cs-text);
  font-size: 16px;
  line-height: 1.8;
}
.cs-realizacja-sidebar {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 900px) {
  .cs-realizacja-content {
    grid-template-columns: 1fr;
  }
  .cs-realizacja-sidebar {
    grid-column: 1;
  }
}

/* Sidebar card */
.cs-sidebar-card {
  background: var(--cs-off);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--cs-border);
}
.cs-sidebar-card h3 {
  font-size: 1rem;
  color: var(--cs-navy);
  margin: 0 0 12px;
}
.cs-sidebar-card p {
  font-size: 14px;
  color: var(--cs-muted);
  margin: 0 0 8px;
}
.cs-project-details dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cs-muted);
  margin-top: 12px;
}
.cs-project-details dd {
  font-size: 15px;
  color: var(--cs-text);
  margin: 2px 0 0;
  font-weight: 500;
}
.cs-project-details dd a {
  color: var(--cs-orange);
  text-decoration: none;
}
.cs-project-details dd a:hover {
  text-decoration: underline;
}

/* Outline button variant */
.btn-cs-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--cs-orange);
  color: var(--cs-orange);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-cs-outline:hover {
  background: var(--cs-orange);
  color: #fff;
}

/* CTA section */
.cs-cta-section {
  background: var(--cs-navy);
  color: #fff;
  padding: 60px 0;
}
.cs-cta-section h2 {
  color: #fff;
  font-size: 1.8rem;
}
.cs-cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

/* Background variant */
.cs-bg-off {
  background: var(--cs-off);
}

/* Pagination */
.cs-pagination {
  margin-top: 40px;
  text-align: center;
}
.cs-pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.cs-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--cs-border);
  color: var(--cs-text);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.cs-pagination .page-numbers.current,
.cs-pagination .page-numbers:hover {
  background: var(--cs-orange);
  color: #fff;
  border-color: var(--cs-orange);
}

/* Blog page styling */
.blog .site-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}
.blog .site-main article {
  max-width: 800px;
  margin: 0 auto 32px;
  padding: 32px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--cs-border);
}
.single .site-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* ===========================================
   Grupa 4: Czcionki na ciemnych tłach — fix
   Zapewnia biały/jasny kolor tekstu na WSZYSTKICH
   sekcjach z ciemnym tłem (#1C2B4A / var(--cs-navy))
   =========================================== */

/* Footer logo override — "Site" was navy on navy */
.cs-footer .cs-logo-text {
  color: #fff;
}
.cs-footer .cs-logo-text sup {
  color: rgba(255,255,255,0.4);
}

/* Universal dark-section text safety net */
.cs-hero p,
.cs-hero span,
.cs-hero li,
.cs-hero small,
.cs-hero label,
.cs-hero div:not(.cs-hero-form):not([class*="btn"]) {
  color: rgba(255,255,255,0.85);
}

.cs-cta-section span,
.cs-cta-section li,
.cs-cta-section small,
.cs-cta-section label {
  color: rgba(255,255,255,0.85);
}

.cs-footer span:not(.cs-footer-bottom span),
.cs-footer li,
.cs-footer small,
.cs-footer label {
  color: rgba(255,255,255,0.45);
}

/* entry-content overrides for dark sections */
.entry-content .cs-hero h1,
.entry-content .cs-hero h2,
.entry-content .cs-hero h3,
.entry-content .cs-hero h4 {
  color: #fff;
}
.entry-content .cs-hero p,
.entry-content .cs-hero li,
.entry-content .cs-hero span {
  color: rgba(255,255,255,0.85);
}
.entry-content .cs-cta-section h1,
.entry-content .cs-cta-section h2,
.entry-content .cs-cta-section h3 {
  color: #fff;
}
.entry-content .cs-cta-section p,
.entry-content .cs-cta-section li,
.entry-content .cs-cta-section span {
  color: rgba(255,255,255,0.85);
}

/* Topbar text */
.cs-topbar,
.cs-topbar span,
.cs-topbar a {
  color: rgba(255,255,255,0.7);
}
.cs-topbar a:hover {
  color: #fff;
}

/* ============================================
   GRUPA 1+2: Logo, Hamburger Overlay, Dropdown, Spacing
   ============================================ */

/* --- Image Logo --- */
.cs-logo { display: flex; align-items: center; text-decoration: none; }
.cs-logo-img { height: 40px; width: auto; display: block; }
@media (max-width: 768px) { .cs-logo-img { height: 32px; } }

/* --- Desktop nav --- */
.cs-nav-desktop { display: flex; align-items: center; }
.cs-nav-desktop .cs-nav-links { display: flex; list-style: none; gap: 24px; margin: 0; padding: 0; }

/* --- Branże dropdown (desktop) --- */
.cs-has-dropdown { position: relative; }
.cs-dropdown-trigger {
  cursor: pointer; color: var(--cs-navy) !important; font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; padding: 0;
  user-select: none; letter-spacing: 0; line-height: inherit; vertical-align: middle;
}
.cs-dropdown-trigger:hover { color: var(--cs-orange) !important; }
.cs-nav-links .cs-has-dropdown { display: flex; align-items: center; }
.cs-dropdown {
  display: none; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%); padding-top: 12px; z-index: 1000;
}
.cs-has-dropdown.hover .cs-dropdown { display: block; }
.cs-dropdown-grid {
  background: #fff; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 20px 24px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 4px; min-width: 380px;
}
.cs-dropdown-item {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  border-radius: 8px; text-decoration: none; color: var(--cs-navy);
  font-size: 14px; font-weight: 500; transition: background 0.15s;
  white-space: nowrap;
}
.cs-dropdown-item:hover { background: var(--cs-off); color: var(--cs-orange); }
.cs-dropdown-icon { font-size: 18px; width: 24px; text-align: center; flex-shrink: 0; }

/* Hide desktop nav on mobile */
@media (max-width: 768px) {
  .cs-nav-desktop { display: none; }
  .cs-nav-right { display: none; }
}
@media (min-width: 769px) {
  .cs-hamburger { display: none !important; }
}

/* --- Hamburger button --- */
.cs-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 32px; height: 32px; background: none;
  border: none; cursor: pointer; padding: 4px; z-index: 10001;
  position: relative;
}
@media (max-width: 768px) { .cs-hamburger { display: flex; } }
.cs-hamburger span {
  display: block; width: 24px; height: 2px; background: var(--cs-navy);
  border-radius: 2px; transition: all 0.3s ease;
}
.cs-hamburger.open span { background: #fff; }
.cs-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.cs-hamburger.open span:nth-child(2) { opacity: 0; }
.cs-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Mobile overlay menu --- */
.cs-mobile-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--cs-navy); z-index: 10000;
  display: flex; flex-direction: column; justify-content: center;
  align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.cs-mobile-overlay.open { opacity: 1; pointer-events: all; }
/* overlay-close button removed — hamburger X handles closing */
.cs-overlay-nav { text-align: center; width: 90%; max-width: 400px; }
.cs-overlay-links {
  list-style: none; margin: 0; padding: 0;
}
.cs-overlay-links > li { margin-bottom: 8px; }
.cs-overlay-links > li > a,
.cs-overlay-sub-toggle {
  color: #fff; font-size: 20px; font-weight: 600; font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  text-decoration: none; display: block; padding: 12px 0;
  transition: color 0.2s;
}
.cs-overlay-links > li > a:hover { color: var(--cs-orange); }
.cs-overlay-sub-toggle {
  background: none; border: none; cursor: pointer; width: 100%;
  text-align: center;
}
.cs-overlay-sub-toggle:hover { color: var(--cs-orange); }
.cs-chevron { font-size: 14px; margin-left: 4px; }

/* Branże submenu in overlay */
.cs-overlay-sub {
  list-style: none; margin: 0; padding: 0;
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.cs-overlay-sub.open { max-height: 600px; }
.cs-overlay-sub li a {
  color: rgba(255,255,255,0.7); font-size: 16px; font-weight: 400;
  text-decoration: none; display: block; padding: 6px 0;
}
.cs-overlay-sub li a:hover { color: var(--cs-orange); }

.cs-overlay-cta {
  display: block; margin-top: 24px; width: 100%; text-align: center;
  padding: 14px 24px; font-size: 16px;
}
.cs-overlay-phone {
  display: block; margin-top: 20px; color: rgba(255,255,255,0.6);
  font-size: 18px; text-decoration: none;
}
.cs-overlay-phone:hover { color: #fff; }

/* --- Hide old mobile menu --- */
.cs-mobile-menu { display: none !important; }

/* --- Globalne spacing sekcji --- */
.site-main section { padding: 80px 0; }
@media (max-width: 768px) { .site-main section { padding: 48px 0; } }

/* Usuń dziury między nav a hero */
.cs-hero { margin-top: 0 !important; }
.site-content { padding-top: 0 !important; }
.entry-content > *:first-child { margin-top: 0; }

/* Hero full-width na podstronach — entry-content jest teraz 100% więc nie trzeba breakout */
.entry-content .cs-hero {
  width: 100%;
  max-width: 100%;
}

/* Nadpis footer logo - teraz obrazek */
.cs-footer .cs-logo-text { display: none; }

/* ============================================
   GRUPA 6: Blog Redesign
   ============================================ */
.cs-blog-hero { background: var(--cs-navy); padding: 60px 0 50px; text-align: center; }
.cs-blog-hero h1 { color: #fff; font-size: 42px; margin-bottom: 12px; }
.cs-blog-hero p { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 600px; margin: 0 auto; }

.cs-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
@media (max-width: 992px) { .cs-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cs-blog-grid { grid-template-columns: 1fr; } }

.cs-blog-card { background: var(--cs-off); border-radius: 12px; overflow: hidden; border: 1px solid var(--cs-border); transition: box-shadow 0.2s, transform 0.2s; }
.cs-blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.cs-blog-card-link { text-decoration: none; color: inherit; display: block; }
.cs-blog-card-image { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--cs-off); }
.cs-blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.cs-blog-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--cs-navy), var(--cs-orange)); padding: 20px; text-align: center; }
.cs-blog-placeholder span { color: #fff; font-weight: 700; font-size: 16px; line-height: 1.3; }
.cs-blog-badge { position: absolute; top: 12px; left: 12px; background: var(--cs-orange); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; }
.cs-blog-card-body { padding: 20px; }
.cs-blog-card-body h2 { font-size: 18px; font-weight: 700; color: var(--cs-navy); margin: 0 0 8px; line-height: 1.3; }
.cs-blog-excerpt { font-size: 14px; color: #666; line-height: 1.5; margin: 0 0 12px; }
.cs-blog-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #999; }
.cs-read-more { color: var(--cs-orange); font-weight: 600; }

.cs-single-post { padding-bottom: 60px; }
.cs-single-hero-img { max-width: 900px; margin: 0 auto; border-radius: 0 0 12px 12px; overflow: hidden; }
.cs-single-hero-img img { width: 100%; height: auto; display: block; }
.cs-single-content { max-width: 760px; margin: 0 auto; padding: 40px 24px 0; }
.cs-single-header { margin-bottom: 32px; }
.cs-single-header h1 { font-size: 36px; line-height: 1.2; margin-bottom: 16px; color: var(--cs-navy); }
@media (max-width: 768px) { .cs-single-header h1 { font-size: 28px; } }
.cs-single-meta { display: flex; align-items: center; gap: 8px; color: #999; font-size: 14px; flex-wrap: wrap; }
.cs-single-dot { color: #ccc; }
.cs-single-cat { color: var(--cs-orange); font-weight: 600; }
.cs-single-body { font-size: 17px; line-height: 1.75; color: #333; }
.cs-single-body h2 { font-size: 24px; margin-top: 40px; color: var(--cs-navy); }
.cs-single-body h3 { font-size: 20px; margin-top: 32px; color: var(--cs-navy); }
.cs-single-body blockquote { border-left: 4px solid var(--cs-orange); padding: 16px 24px; background: var(--cs-off); margin: 24px 0; border-radius: 0 8px 8px 0; }
.cs-single-cta { background: var(--cs-navy); border-radius: 12px; padding: 40px 32px; text-align: center; margin: 48px 0 32px; }
.cs-single-cta h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.cs-single-cta p { color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.cs-related { margin-top: 48px; }
.cs-related h3 { font-size: 22px; margin-bottom: 20px; color: var(--cs-navy); }
.cs-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 600px) { .cs-related-grid { grid-template-columns: 1fr; } }
.cs-related-card { text-decoration: none; color: inherit; }
.cs-related-img { border-radius: 8px; overflow: hidden; aspect-ratio: 16/9; margin-bottom: 10px; }
.cs-related-img img { width: 100%; height: 100%; object-fit: cover; }
.cs-related-card h4 { font-size: 15px; color: var(--cs-navy); line-height: 1.3; }
.cs-related-card:hover h4 { color: var(--cs-orange); }
.cs-pagination { margin-top: 48px; text-align: center; }
.cs-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.cs-pagination .page-numbers { padding: 8px 16px; border-radius: 6px; font-size: 14px; background: var(--cs-off); color: var(--cs-navy); text-decoration: none; }
.cs-pagination .page-numbers.current { background: var(--cs-orange); color: #fff; }

/* ============================================
   GRUPA 7: Realizacje na branżowych
   ============================================ */
.cs-branza-realizacje { padding: 60px 0; background: var(--cs-off); }
.cs-branza-realizacje h2 { text-align: center; margin-bottom: 32px; }
.cs-branza-real-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .cs-branza-real-grid { grid-template-columns: 1fr; } }
.cs-branza-real-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--cs-border); text-decoration: none; color: inherit; transition: box-shadow 0.2s; }
.cs-branza-real-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.cs-branza-real-img { overflow: hidden; }
.cs-branza-real-img img, .cs-branza-real-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.cs-branza-real-placeholder { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--cs-navy), var(--cs-navy-mid)); display: flex; align-items: center; justify-content: center; }
.cs-branza-real-placeholder span { color: #fff; font-size: 14px; font-weight: 600; padding: 16px; text-align: center; }
.cs-branza-real-info { padding: 16px; }
.cs-branza-real-info h3 { font-size: 16px; color: var(--cs-navy); margin: 0 0 4px; }
.cs-branza-real-tech { font-size: 13px; color: var(--cs-muted); }
.cs-branza-real-card h3 { padding: 16px; font-size: 16px; color: var(--cs-navy); margin: 0; }
.cs-branza-all-link { text-align: center; margin-top: 32px; }

/* ============================================
   GRUPA 9: Drobne poprawki
   ============================================ */
.post-type-archive-realizacje .cs-section-title,
.single-realizacje .entry-title,
.post-type-archive-realizacje h1 { text-align: center; padding-top: 60px; }

/* ============================================
   BLOK 1: Globalna szerokość 1200px
   ============================================ */

/* --- Główna zasada: entry-content = full-width, .cs-section = 1200px content --- */
/* Pages: entry-content full width (sections handle own width) */
.page .entry-content {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* Single realizacje: also full width */
.single-realizacje .entry-content {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* Single blog posts: narrower, centered */
.single-post .entry-content {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  font-size: 17px;
  line-height: 1.8;
}

/* .cs-section = kontener treści 1200px (gdy NIE jest direct child entry-content) */
.cs-section {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}
/* Gdy .cs-section SAM jest <section> w entry-content — pełna szerokość tła,
   treść centrowana za pomocą calc padding */
.entry-content > section.cs-section {
  max-width: 100% !important;
  /* Centruj treść: padding = max(40px, (100% - 1200px)/2 + 40px) */
  padding-left: max(40px, calc((100% - 1120px) / 2)) !important;
  padding-right: max(40px, calc((100% - 1120px) / 2)) !important;
}
@media (max-width: 768px) {
  .entry-content > section.cs-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* GeneratePress grid-container constraint */
.grid-container {
  max-width: 100% !important;
  padding: 0 !important;
}

@media (max-width: 768px) {
  .cs-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* --- Full-width background sections (strona główna) --- */
.cs-topbar,
.cs-header,
.cs-hero,
.cs-trust,
.cs-about,
.cs-cta-section,
.cs-cta-strip,
.cs-footer,
.cs-blog-hero,
.cs-branza-realizacje {
  width: 100%;
  max-width: 100%;
}

/* Treść wewnątrz full-width sekcji ograniczona do 1200px */
.cs-hero .cs-hero-inner,
.cs-about .cs-about-inner,
.cs-cta-section .cs-cta-inner,
.cs-blog-hero > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}
.cs-footer .cs-footer-inner,
.cs-cta-strip .cs-cta-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Trust bar — pełna szerokość, treść centrowana przez flexbox */
.cs-trust {
  width: 100%;
}

@media (max-width: 768px) {
  .cs-hero .cs-hero-inner,
  .cs-about .cs-about-inner,
  .cs-cta-section .cs-cta-inner,
  .cs-footer .cs-footer-inner,
  .cs-trust {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* --- Sekcje w entry-content: full-width tło, .cs-section = constrained content --- */
/* Wszystkie <section> bezpośrednio w entry-content = full-width tło */
.entry-content > section {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* (reguły przeniesione wyżej do definicji .cs-section) */

/* ============================================
   BLOK 2: Granatowe tła — głębia i dekoracje
   ============================================ */
/* Dot pattern dla hero podstron */
.entry-content .cs-hero {
  position: relative;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(242,101,34,0.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 40%);
}
.entry-content .cs-hero::before {
  display: none;
}
.entry-content .cs-hero .cs-hero-inner {
  position: relative;
  z-index: 2;
}
/* Hero podstron — zmniejsz min-height */
.entry-content .cs-hero .cs-hero-inner {
  padding-top: 64px !important;
  padding-bottom: 56px !important;
}

/* Sekcja O nas na stronie głównej */
.cs-about {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(242,101,34,0.1) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,0.03) 0%, transparent 40%);
}
.cs-about::before {
  display: none;
}
.cs-about::after {
  display: none;
}
.cs-about .cs-about-inner { position: relative; z-index: 2; }

/* Watermark na hero branżowych i lokalizacyjnych */
.cs-hero-watermark {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 120px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  line-height: 1;
  letter-spacing: -4px;
}
@media (max-width: 768px) {
  .cs-hero-watermark { font-size: 60px; right: 20px; }
}

/* CTA section depth */
.cs-cta-section {
  position: relative;
}
.cs-cta-section::before {
  display: none;
}

/* Blog hero depth */
.cs-blog-hero {
  position: relative;
  background-image:
    radial-gradient(circle at 70% 30%, rgba(242,101,34,0.1) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 40%);
}
.cs-blog-hero::before {
  display: none;
}

/* ============================================
   BLOK 3+4: SEO sections styling
   ============================================ */
/* Timeline / steps */
.cs-steps {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 48px;
}
.cs-steps::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cs-border);
}
.cs-step {
  position: relative;
  margin-bottom: 36px;
}
.cs-step:last-child { margin-bottom: 0; }
.cs-step-num {
  position: absolute;
  left: -48px;
  top: 0;
  width: 38px;
  height: 38px;
  background: var(--cs-orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-weight: 800;
  font-size: 16px;
  z-index: 2;
}
.cs-step h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--cs-navy);
}
.cs-step p {
  color: var(--cs-muted);
  line-height: 1.7;
  font-size: 15px;
}

/* FAQ accordion */
.cs-faq { max-width: 800px; margin: 0; }
/* Remove stray </p> tags injected by wpautop */
.cs-faq-item > p:empty,
.cs-faq-item > p { display: none; }
.cs-faq-item > .cs-faq-q,
.cs-faq-item > .cs-faq-a { display: block !important; }
.cs-faq-item {
  border-bottom: 1px solid var(--cs-border);
}
.cs-faq-q {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  padding: 20px 56px 20px 24px !important;
  text-align: left !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--cs-navy) !important;
  cursor: pointer;
  position: relative;
  line-height: 1.4 !important;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
  margin: 0 !important;
  box-shadow: none !important;
  outline: none;
  display: block !important;
}
.cs-faq-q:hover {
  background: var(--cs-off) !important;
  color: var(--cs-navy) !important;
}
.cs-faq-q.open {
  background: var(--cs-navy) !important;
  color: #fff !important;
}
.cs-faq-q::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--cs-orange);
  font-weight: 400;
  transition: transform 0.2s;
}
.cs-faq-q.open::after {
  content: '−';
  color: #fff;
}
.cs-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.cs-faq-a-inner {
  padding: 8px 24px 20px;
  color: var(--cs-muted);
  line-height: 1.7;
  font-size: 15px;
}

/* Process grid — 3 kolumny z kartami kroków */
.cs-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cs-process-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 28px;
  border: 1px solid var(--cs-border);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cs-process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.cs-process-num {
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--cs-orange);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 12px;
}
.cs-process-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--cs-navy);
  margin-bottom: 10px;
}
.cs-process-card p {
  font-size: 14px;
  color: var(--cs-muted);
  line-height: 1.7;
  margin: 0;
}

/* Dark background sections — override text colors when parent has navy bg */
[style*="background:var(--cs-navy)"] .cs-section-desc,
[style*="background: var(--cs-navy)"] .cs-section-desc {
  color: rgba(255,255,255,0.6);
}
[style*="background:var(--cs-navy)"] .cs-section-title,
[style*="background: var(--cs-navy)"] .cs-section-title {
  color: #fff;
}
[style*="background:var(--cs-navy)"] .cs-section-pre,
[style*="background: var(--cs-navy)"] .cs-section-pre {
  color: #F4834A;
}
[style*="background:var(--cs-navy)"] .cs-section-pre::before,
[style*="background: var(--cs-navy)"] .cs-section-pre::before {
  background: #F4834A;
}

/* Proces na granatowym tle — karty jak wp-reason */
.cs-section-dark .cs-process-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
}
.cs-section-dark .cs-process-card:hover { background: rgba(255,255,255,0.1); }
.cs-section-dark .cs-process-card h3 { color: #fff; }
.cs-section-dark .cs-process-card p { color: rgba(255,255,255,0.6); }
.cs-section-dark .cs-process-num { color: #F4834A; opacity: 1; }
.cs-section-dark .cs-section-title { color: #fff; }
.cs-section-dark .cs-section-desc { color: rgba(255,255,255,0.6); }

/* Technologia na jasnym tle — karty jak process-card */
.cs-section-light .cs-wp-reason {
  background: #fff;
  border: 1px solid var(--cs-border);
}
.cs-section-light .cs-wp-reason:hover {
  background: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.cs-section-light .cs-wp-reason h3 { color: var(--cs-navy); }
.cs-section-light .cs-wp-reason p { color: var(--cs-muted); }
.cs-section-light .cs-wp-reason-icon { background: var(--cs-orange-pale); }

/* Technologia na białym tle — karty jak cs-svc */
.cs-section-white-bg .cs-wp-reason {
  background: var(--cs-off);
  border: 1px solid var(--cs-border);
}
.cs-section-white-bg .cs-wp-reason:hover {
  background: #fff;
  border-color: var(--cs-orange);
  box-shadow: 0 12px 40px rgba(242,101,34,0.1);
  transform: translateY(-4px);
}
.cs-section-white-bg .cs-wp-reason h3 { color: var(--cs-navy); }
.cs-section-white-bg .cs-wp-reason p { color: var(--cs-muted); }
.cs-section-white-bg .cs-wp-reason-icon { background: var(--cs-orange-pale); }

/* Dlaczego my? na szarym tle — karty białe */
.cs-section-off-bg .cs-svc { background: #fff; }
.cs-section-off-bg .cs-svc:hover { background: #fff; }

/* WordPress reasons — karty na granatowym tle */
.cs-wp-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cs-wp-reason {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 32px 24px;
  transition: transform 0.2s, background 0.2s;
}
.cs-wp-reason:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.1);
}
.cs-wp-reason-icon {
  width: 48px;
  height: 48px;
  background: rgba(242,101,34,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.cs-wp-reason h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.cs-wp-reason p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 992px) {
  .cs-wp-reasons { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cs-wp-reasons { grid-template-columns: 1fr; }
}
@media (max-width: 992px) {
  .cs-process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cs-process-grid { grid-template-columns: 1fr; }
}

/* Counters / stats */
.cs-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.cs-counter {
  background: #fff;
  border-radius: 12px;
  padding: 32px 16px;
  border: 1px solid var(--cs-border);
}
.cs-counter-val {
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--cs-orange);
  line-height: 1;
  margin-bottom: 8px;
}
.cs-counter-lbl {
  font-size: 14px;
  color: var(--cs-muted);
  font-weight: 500;
}
@media (max-width: 768px) {
  .cs-counters { grid-template-columns: repeat(2, 1fr); }
}

/* Comparison table */
.cs-compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  font-size: 15px;
}
.cs-compare-table thead th {
  background: var(--cs-navy);
  color: #fff;
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-family: 'Outfit', 'Outfit Fallback', sans-serif;
}
.cs-compare-table thead th:first-child {
  border-radius: 12px 0 0 0;
}
.cs-compare-table thead th:last-child {
  border-radius: 0 12px 0 0;
}
.cs-compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--cs-border);
  color: var(--cs-text);
}
.cs-compare-table tbody tr:nth-child(even) {
  background: var(--cs-off);
}
.cs-compare-table .cs-highlight-col {
  background: rgba(242,101,34,0.08) !important;
  font-weight: 600;
  color: var(--cs-navy);
}
/* Nagłówek kolumny WooCommerce — pomarańczowe tło */
.cs-compare-table thead th.cs-highlight-col,
.cs-compare-table thead th.cs-highlight-head {
  background: var(--cs-orange) !important;
  color: #fff !important;
}
@media (max-width: 768px) {
  /* Scroll wrapper — parent div tabeli */
  .cs-compare-table-wrap,
  div:has(> .cs-compare-table) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  .cs-compare-table { font-size: 12px; min-width: 480px; }
  .cs-compare-table td, .cs-compare-table thead th { padding: 10px 8px; word-break: break-word; }
}
/* Wrapper for horizontal scroll on mobile */
.cs-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}
@media (max-width: 768px) {
  .cs-table-scroll {
    margin: 0 -20px;
    width: calc(100% + 40px);
    padding: 0 20px;
  }
}

/* Why WP prose section */
.cs-prose {
  max-width: 800px;
  margin: 0 auto;
  columns: 2;
  column-gap: 48px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--cs-text);
}
.cs-prose p { margin-bottom: 16px; break-inside: avoid; }
@media (max-width: 768px) {
  .cs-prose { columns: 1; }
}

/* Included list (co zawiera sklep) */
.cs-included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cs-included-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--cs-border);
}
.cs-included-icon {
  width: 36px;
  height: 36px;
  background: var(--cs-orange-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.cs-included-item h4 {
  font-size: 15px;
  margin: 0 0 4px;
  color: var(--cs-navy);
}
.cs-included-item p {
  font-size: 13px;
  color: var(--cs-muted);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .cs-included-grid { grid-template-columns: 1fr; }
}

/* ============================================
   BLOK 5: Kontakt — mniejszy hero
   ============================================ */
.page-id-15 .entry-content .cs-hero .cs-hero-inner {
  padding-top: 48px !important;
  padding-bottom: 40px !important;
}
/* Kontakt mobile — hero grid 1 kolumna + formularz pełna szerokość */
@media (max-width: 992px) {
  .page-id-15 .entry-content .cs-hero .cs-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}
@media (max-width: 768px) {
  .page-id-15 .entry-content .cs-hero .cs-hero-inner {
    padding-top: 32px !important;
    padding-bottom: 24px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* ============================================
   BLOK 5b: Wycena — mniejszy hero + cennik alignment
   ============================================ */
.page-id-16 .entry-content .cs-hero .cs-hero-inner {
  padding-top: 40px !important;
  padding-bottom: 32px !important;
}
/* Wycena mobile — hero grid 1 kolumna + formularz pełna szerokość */
@media (max-width: 992px) {
  .page-id-16 .entry-content .cs-hero .cs-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}
@media (max-width: 768px) {
  .page-id-16 .entry-content .cs-hero .cs-hero-inner {
    padding-top: 32px !important;
    padding-bottom: 24px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
/* Cennik — karty równa wysokość */
.page-id-16 .cs-section div[style*="repeat(3"] > div {
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
/* Cennik — opis karty rośnie, by wyrównać wysokość */
.page-id-16 .cs-section div[style*="repeat(3"] > div > p:last-child {
  flex: 1;
}

/* ============================================
   BLOK 6: Blog CTA baner
   ============================================ */
.cs-blog-cta-bar {
  background: var(--cs-orange);
  padding: 16px 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cs-blog-cta-bar p {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.cs-blog-cta-bar a {
  background: #fff;
  color: var(--cs-orange);
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.15s;
  white-space: nowrap;
}
.cs-blog-cta-bar a:hover { transform: translateY(-1px); }

/* ============================================
   BLOK 7: Single post — szersza treść (moved to BLOK 1)
   ============================================ */
.single-post .entry-content h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 16px;
}
.single-post .entry-content h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
}

/* ============================================
   BLOK 8: Realizacja single — nagłówek padding
   ============================================ */
.single-realizacje .cs-hero .cs-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 40px;
}
.single-realizacje .cs-realizacja-content {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}
@media (max-width: 768px) {
  .single-realizacje .cs-hero .cs-hero-inner {
    padding: 32px 20px;
  }
  .single-realizacje .cs-realizacja-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ============================================
   MOBILE BUG FIXES (2026-03-19)
   ============================================ */

/* FIX: Mobile menu overlapping topbar — ensure overlay covers full screen */
.cs-mobile-overlay.open {
  z-index: 10000;
}

/* FIX: Reduce gap between hero CTA buttons and trust bar on mobile */
@media (max-width: 768px) {
  .cs-hero-inner {
    padding-bottom: 40px;
  }
  .cs-trust {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .cs-trust-inner {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 4px 24px;
    padding-left: 16px;
    padding-right: 16px;
  }
  /* Nieparzysta liczba — ostatni element wycentrowany na 2 kolumny */
  .cs-trust-inner .cs-trust-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
  }
  .cs-trust-item {
    font-size: 11px;
    padding: 4px 0;
    border-left: none;
    margin-left: 0;
    gap: 6px;
    justify-content: flex-start;
  }
  .cs-trust-icon {
    width: 20px;
    height: 20px;
    font-size: 11px;
    border-radius: 4px;
  }
}

/* FIX: Portfolio section text padding — ensure .cs-section-desc has padding on mobile */
@media (max-width: 768px) {
  .cs-section-desc {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Breadcrumb and title padding on realizacja pages */
.cs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 768px) {
  .cs-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* FIX: Blog article — remove extra left indent on paragraphs */
.single-post .entry-content p {
  text-indent: 0;
  margin-left: 0;
  padding-left: 0;
}
.cs-single-body p {
  text-indent: 0;
  margin-left: 0;
  padding-left: 0;
}

/* FIX: Contact form overflow on mobile — force single column */
@media (max-width: 768px) {
  .cs-form-card {
    max-width: 100%;
    box-sizing: border-box;
    padding: 24px 16px;
  }
  .cs-form-card .cs-input {
    box-sizing: border-box;
    max-width: 100%;
  }
  .cs-hero-right {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
}

/* FIX: CTA strip buttons — prevent text wrap on mobile */
@media (max-width: 768px) {
  .cs-cta-btns {
    flex-direction: column;
    width: 100%;
  }
  .cs-cta-btns a {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap;
  }
}

/* ============================================
   SKLEPY / PODSTRONY z edytora WP — mobile fixes
   ============================================ */

/* Usuń podwójny padding z GP wrappera gdy wewnątrz jest .cs-section */
.page .inside-article {
  padding: 0 !important;
}

/* Tabela porównawcza — zapobiegaj overflow strony */
.entry-content {
  overflow-x: hidden;
}

/* Sekcje w edytorze WP — pełna szerokość tła + poprawny padding */
.entry-content > section {
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .entry-content > section .cs-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  /* Hero na podstronach z edytora — tekst centrowany ale btns poprawne */
  .entry-content .cs-hero .cs-hero-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .entry-content .cs-hero-btns {
    gap: 12px;
  }
  /* Counters — mniejszy gap na mobile */
  .cs-counters {
    gap: 12px;
  }
  .cs-counter {
    padding: 20px 12px;
  }
  .cs-counter-val {
    font-size: 28px;
  }
  /* Included items — mniejszy padding */
  .cs-included-item {
    padding: 12px 14px;
  }
}

/* FAQ — napraw wpautop dodający </p> po </button> */
.cs-faq-item > p {
  display: none;
}
.cs-faq-item > br {
  display: none;
}

/* Wycena — karty cenowe: stack na mobile */
@media (max-width: 768px) {
  .entry-content [style*="repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}

/* Sekcja usług — pełna szerokość tła */
.cs-services-section {
  width: 100%;
}

/* Karty usług — lista z pomarańczowymi kropkami */
.cs-dot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cs-dot-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cs-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.cs-dot-list li::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--cs-accent);
  flex-shrink: 0;
}

/* ============================================================
   LOKALIZACJA – Białystok (9-section page)
   ============================================================ */

/* Section lead text */
.cs-section-lead {
  font-size: 17px;
  color: var(--cs-muted);
  margin: 0 0 40px;
  max-width: 700px;
  line-height: 1.7;
}

/* Flowing text blocks (region, dlaczego lokalnie) */
.cs-lok-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--cs-text);
}
.cs-lok-text p {
  margin: 0 0 18px;
}
.cs-lok-text p:last-child {
  margin-bottom: 0;
}

/* Benefits grid */
.cs-lok-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cs-lok-benefit {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--cs-off);
  border-radius: 14px;
  padding: 24px;
}
.cs-lok-benefit-ico {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}
.cs-lok-benefit-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--cs-dark);
  margin-bottom: 8px;
}
.cs-lok-benefit p {
  font-size: 14px;
  color: var(--cs-muted);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 640px) {
  .cs-lok-benefits {
    grid-template-columns: 1fr;
  }
}

/* Pricing cards */
.cs-lok-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cs-lok-price-card {
  background: #fff;
  border: 2px solid #e8eaef;
  border-radius: 16px;
  padding: 32px 24px;
}
.cs-lok-price-card--main {
  border-color: var(--cs-orange);
}
.cs-lok-price-ico {
  font-size: 30px;
  margin-bottom: 16px;
}
.cs-lok-price-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--cs-dark);
  margin: 0 0 12px;
}
.cs-lok-price-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--cs-orange);
  margin-bottom: 12px;
}
.cs-lok-price-desc {
  font-size: 14px;
  color: var(--cs-muted);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 768px) {
  .cs-lok-prices {
    grid-template-columns: 1fr;
  }
}

/* FAQ accordion */
.cs-lok-faq {
  border-top: 1px solid #e8eaef;
}
.cs-lok-faq-item {
  border-bottom: 1px solid #e8eaef;
}
.cs-lok-faq-item summary {
  cursor: pointer;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--cs-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.cs-lok-faq-item summary::-webkit-details-marker {
  display: none;
}
.cs-lok-faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--cs-orange);
  flex-shrink: 0;
  line-height: 1;
}
.cs-lok-faq-item[open] > summary::after {
  content: '−';
}
.cs-lok-faq-item[open] > summary {
  color: var(--cs-orange);
}
.cs-lok-faq-ans {
  font-size: 15px;
  color: var(--cs-muted);
  line-height: 1.75;
  padding-bottom: 20px;
}
.cs-lok-faq-ans p {
  margin: 0 0 10px;
}
.cs-lok-faq-ans p:last-child {
  margin-bottom: 0;
}
.cs-lok-faq-ans ul {
  margin: 0 0 12px 20px;
  padding: 0;
}
.cs-lok-faq-ans li {
  margin-bottom: 4px;
}

/* Contact bar */
.cs-contact-bar {
  background: #fff;
  border-top: 1px solid #e8eaef;
}
.cs-contact-bar__inner {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 48px;
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}
.cs-contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: #444;
  white-space: nowrap;
}
.cs-contact-item > span:not(.cs-contact-ico),
.cs-contact-item > a {
  white-space: nowrap;
}
.cs-contact-item a {
  color: #444;
  text-decoration: none;
}
.cs-contact-item a:hover {
  color: var(--cs-orange);
}
.cs-contact-item--addr {
  align-items: flex-start;
}
.cs-contact-addr {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  white-space: nowrap;
}
.cs-contact-ico {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Service cards variant — white tiles on gray bg */
.cs-services-grid--cards .cs-svc {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
