/* ==========================================================================
   OpenService Starter – Official Design System & Component Styles
   Project Palette:
     --navy:   #1B2A4A
     --navy-dk:#111D33
     --orange: #E85C1A
     --orange-lt:#F07840
     --bg:     #F6F8FC
     --white:  #FFFFFF
     --muted:  #6B7A92
     --border: #E4EAF3
     --gold:   #F5A623
     --charcoal:#1A1A2E
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #1B2A4A;
  --navy-dk: #111D33;
  --orange: #E85C1A;
  --orange-lt: #F07840;
  --bg: #F6F8FC;
  --white: #FFFFFF;
  --muted: #6B7A92;
  --border: #E4EAF3;
  --gold: #F5A623;
  --charcoal: #1A1A2E;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --max-w: 1100px;

  --shadow: 0 4px 24px rgba(27, 42, 74, 0.08);
  --shadow-hover: 0 12px 40px rgba(27, 42, 74, 0.14);
}

/* =============================================
   1. GLOBAL FULL-WIDTH BREAKOUT (Astra / WordPress Fix)
   ============================================= */
html,
body {
  overflow-x: hidden;
}

/* Frontend-only 100vw breakout */
body:not(.wp-admin) .entry-content .os-wrap,
body:not(.wp-admin) .ast-container .os-wrap,
body:not(.wp-admin) .entry-content .os-trust-bar,
body:not(.wp-admin) .ast-container .os-trust-bar,
body:not(.wp-admin) .entry-content .trust-bar,
body:not(.wp-admin) .ast-container .trust-bar,
body:not(.wp-admin) .entry-content .contact-section,
body:not(.wp-admin) .ast-container .contact-section,
body:not(.wp-admin) .entry-content .hours-section,
body:not(.wp-admin) .ast-container .hours-section,
body:not(.wp-admin) .entry-content .map-section,
body:not(.wp-admin) .ast-container .map-section,
body:not(.wp-admin) .entry-content .faq-teaser,
body:not(.wp-admin) .ast-container .faq-teaser,
body:not(.wp-admin) .entry-content .page-hero,
body:not(.wp-admin) .ast-container .page-hero,
body:not(.wp-admin) .entry-content .os-what-is,
body:not(.wp-admin) .ast-container .os-what-is,
body:not(.wp-admin) .entry-content .os-programs,
body:not(.wp-admin) .ast-container .os-programs,
body:not(.wp-admin) .entry-content .os-steps-section,
body:not(.wp-admin) .ast-container .os-steps-section,
body:not(.wp-admin) .entry-content .os-security,
body:not(.wp-admin) .ast-container .os-security,
body:not(.wp-admin) .entry-content .os-scope,
body:not(.wp-admin) .ast-container .os-scope,
body:not(.wp-admin) .entry-content .os-cta-strip,
body:not(.wp-admin) .ast-container .os-cta-strip,
body:not(.wp-admin) .entry-content .os-honest-strip,
body:not(.wp-admin) .ast-container .os-honest-strip,
body:not(.wp-admin) .entry-content .os-hero,
body:not(.wp-admin) .ast-container .os-hero,
body:not(.wp-admin) .entry-content .os-for-whom,
body:not(.wp-admin) .ast-container .os-for-whom,
body:not(.wp-admin) .entry-content .os-how-section,
body:not(.wp-admin) .ast-container .os-how-section,
body:not(.wp-admin) .entry-content .os-scope-section,
body:not(.wp-admin) .ast-container .os-scope-section,
body:not(.wp-admin) .entry-content .os-promise-section,
body:not(.wp-admin) .ast-container .os-promise-section,
body:not(.wp-admin) .entry-content .os-footer,
body:not(.wp-admin) .ast-container .os-footer,
body:not(.wp-admin) .entry-content .os-services-section,
body:not(.wp-admin) .ast-container .os-services-section,
body:not(.wp-admin) .entry-content .os-uslugi,
body:not(.wp-admin) .ast-container .os-uslugi,
body:not(.wp-admin) .entry-content .os-faq-section,
body:not(.wp-admin) .ast-container .os-faq-section,
body:not(.wp-admin) .entry-content .os-tabs-section,
body:not(.wp-admin) .ast-container .os-tabs-section,
body:not(.wp-admin) .entry-content .os-about-section,
body:not(.wp-admin) .ast-container .os-about-section,
body:not(.wp-admin) .entry-content .os-pricing-section,
body:not(.wp-admin) .ast-container .os-pricing-section,
body:not(.wp-admin) .entry-content .os-cennik,
body:not(.wp-admin) .ast-container .os-cennik,
body:not(.wp-admin) .entry-content .os-jak,
body:not(.wp-admin) .ast-container .os-jak,
body:not(.wp-admin) .entry-content .os-opinie,
body:not(.wp-admin) .ast-container .os-opinie,
body:not(.wp-admin) .entry-content .os-kontakt,
body:not(.wp-admin) .ast-container .os-kontakt,
body:not(.wp-admin) .entry-content .os-podstrony,
body:not(.wp-admin) .ast-container .os-podstrony,
body:not(.wp-admin) .entry-content .os-section,
body:not(.wp-admin) .ast-container .os-section {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  box-sizing: border-box !important;
}

/* Gutenberg Editor canvas reset (prevents shifting right in editor view) */
.editor-styles-wrapper .os-wrap,
.editor-styles-wrapper .os-trust-bar,
.editor-styles-wrapper .trust-bar,
.editor-styles-wrapper .contact-section,
.editor-styles-wrapper .hours-section,
.editor-styles-wrapper .map-section,
.editor-styles-wrapper .faq-teaser,
.editor-styles-wrapper .page-hero,
.editor-styles-wrapper .os-what-is,
.editor-styles-wrapper .os-programs,
.editor-styles-wrapper .os-steps-section,
.editor-styles-wrapper .os-security,
.editor-styles-wrapper .os-scope,
.editor-styles-wrapper .os-cta-strip,
.block-editor-block-list__layout .os-wrap,
.block-editor-block-list__layout .os-trust-bar,
.block-editor-block-list__layout .trust-bar,
.block-editor-block-list__layout .contact-section,
.block-editor-block-list__layout .hours-section,
.block-editor-block-list__layout .map-section,
.block-editor-block-list__layout .faq-teaser,
.block-editor-block-list__layout .page-hero,
.block-editor-block-list__layout .os-what-is,
.block-editor-block-list__layout .os-programs,
.block-editor-block-list__layout .os-steps-section,
.block-editor-block-list__layout .os-security,
.block-editor-block-list__layout .os-scope,
.block-editor-block-list__layout .os-cta-strip,
.block-editor-block-list__layout .os-honest-strip,
.editor-styles-wrapper .os-honest-strip,
.block-editor-block-list__layout .os-hero,
.editor-styles-wrapper .os-hero {
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
  left: 0 !important;
  right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Phone links styling & hover highlight glow (excluding buttons) */
.os-wrap a[href^="tel:"]:not(.os-btn-orange):not(.os-btn-ghost):not(.os-sticky-call),
a.os-call-link:not(.os-btn-orange):not(.os-btn-ghost) {
  color: var(--orange) !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease !important;
  display: inline-block;
}

.os-wrap a[href^="tel:"]:not(.os-btn-orange):not(.os-btn-ghost):not(.os-sticky-call):hover,
a.os-call-link:not(.os-btn-orange):not(.os-btn-ghost):hover {
  color: var(--orange-lt) !important;
  text-decoration: none !important;
  text-shadow: 0 0 10px rgba(232, 92, 26, 0.4) !important;
  transform: translateY(-1px);
}

.os-btn-orange,
.os-wrap .os-btn-orange,
a.os-btn-orange,
.os-page-hero .os-btn-orange {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: var(--orange) !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  padding: 16px 32px !important;
  border-radius: 100px !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 20px rgba(232, 92, 26, 0.30) !important;
}

.os-btn-orange:hover,
.os-wrap .os-btn-orange:hover,
a.os-btn-orange:hover {
  background: var(--orange-lt) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 8px 28px rgba(232, 92, 26, 0.38) !important;
}

@media (max-width: 480px) {

  .os-btn-orange,
  .os-btn-ghost,
  .os-page-hero .os-btn-orange {
    font-size: 15px !important;
    padding: 14px 24px !important;
    white-space: normal !important;   /* pozwól na zawijanie tekstu */
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* Przyciski w sekcjach cennik i CTA strip — pełna szerokość */
  .os-cennik .os-btn-orange,
  .os-cta-strip .os-btn-orange,
  .os-jak .os-btn-orange {
    width: 100% !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
  }
}

.site-content,
.ast-plain-container .site-content .ast-container,
.entry-content,
#content,
#primary {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  max-width: 100% !important;
}

.entry-content>*:last-child,
.entry-content>.wp-block-group:last-child {
  margin-bottom: 0 !important;
}

.entry-content>p:empty,
.entry-content>p:last-child:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-footer,
#colophon {
  margin-top: 0 !important;
}

.os-promise-section {
  margin-bottom: 0 !important;
}

/* Usuwa wbudowany we framework motywu Astra / Gutenberg domyślny margines boczny, 
który ściskał zawartość bloków 'Grupa' (odkryte z poziomu badacza przeglądarki) */
.entry-content>.wp-block-group,
.entry-content>.wp-block-cover,
.entry-content>.wp-block-columns {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.os-wrap *,
.os-wrap *::before,
.os-wrap *::after {
  box-sizing: border-box;
}

.os-wrap {
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--bg);
}

.os-wrap h1,
.os-wrap h2,
.os-wrap h3,
.os-wrap h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  line-height: 1.2;
}

.os-wrap h1 {
  font-size: clamp(1.55rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.os-wrap h2 {
  font-size: clamp(1.85rem, 4.5vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}

/* Gutenberg wp-block-heading inside our sections must match our h2 */
.os-wrap h2.wp-block-heading,
.os-what-is h2.wp-block-heading,
.os-programs h2.wp-block-heading,
.os-steps-section h2.wp-block-heading,
.os-security h2.wp-block-heading,
.os-scope h2.wp-block-heading,
.os-uslugi h2.wp-block-heading,
.os-tabs-section h2.wp-block-heading,
.tabs-section h2.wp-block-heading,
.os-faq-section h2.wp-block-heading,
.os-for-whom h2.wp-block-heading,
.os-about-section h2.wp-block-heading,
.about-section h2.wp-block-heading,
.os-stats-section h2.wp-block-heading,
.stats-section h2.wp-block-heading,
.os-values-section h2.wp-block-heading,
.values-section h2.wp-block-heading,
.serwis-section h2.wp-block-heading,
.contact-section h2.wp-block-heading,
.hours-section h2.wp-block-heading,
.map-section h2.wp-block-heading,
.os-promise-section h2.wp-block-heading,
.os-honest-strip h2.wp-block-heading {
  font-size: clamp(1.4rem, 3vw, 1.85rem) !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  line-height: 1.2 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  margin-bottom: 12px !important;
}

/* Specific override for white-text sections */
.os-security .wp-block-heading,
.os-security h2.wp-block-heading,
.os-honest-strip .wp-block-heading,
.os-honest-strip h2.wp-block-heading,
.os-promise-section .wp-block-heading,
.os-promise-section h2.wp-block-heading,
.os-values-section .wp-block-heading,
.os-values-section h2.wp-block-heading,
.values-section .wp-block-heading,
.values-section h2.wp-block-heading,
.trust-bar h2.wp-block-heading {
  color: var(--white) !important;
}

/* H4 inside condition boxes etc. should be smaller */
.os-what-is__conditions .wp-block-heading,
.os-wrap h4.wp-block-heading {
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted) !important;
}

.os-wrap h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.os-section-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  display: block;
}

.os-container,
.contact-section .container,
.hours-section .container,
.map-section .container,
.about-section .container,
.stats-section .container,
.serwis-section .container,
.tabs-section .container,
.values-section .container,
.page-hero-inner,
.os-page-hero__inner,
.trust-bar-inner,
.faq-teaser-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

.os-container-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.os-section {
  padding: 80px 0;
}

/* =============================================
   2. BUTTONS
   ============================================= */
.os-btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(232, 92, 26, 0.30);
}

.os-btn-orange:hover {
  background: var(--orange-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 92, 26, 0.38);
}

.os-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy) !important;
  text-decoration: none !important;
  padding: 14px 28px;
  border-radius: 100px;
  border: 2px solid var(--border);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.os-btn-ghost:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow);
}

/* Sticky Call Button – Mobile */
.os-sticky-call {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: var(--orange);
  color: #fff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  padding: 15px 32px;
  border-radius: 100px;
  text-decoration: none !important;
  box-shadow: 0 6px 28px rgba(232, 92, 26, 0.45);
  white-space: nowrap;
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .os-sticky-call {
    display: flex;
  }
}

/* =============================================
   3. HERO SECTION
   ============================================= */
.os-hero {
  background: #fff;
  padding: 32px 0 0;
  overflow: hidden;
}

.os-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.os-hero__text {
  padding-bottom: 72px;
}

.os-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FEF0EA;
  color: var(--orange);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.os-hero__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
}

.os-hero .os-hero__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.os-hero__title em {
  font-style: normal;
  color: var(--orange);
}

.os-hero__lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 460px;
  line-height: 1.7;
}

.os-hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}

.os-hero__subtext {
  font-size: 14px;
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 44px;
}

.os-hero__trust {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  width: fit-content;
}

.os-hero__trust-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
}

.os-hero__trust-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.os-hero__trust-text strong {
  display: block;
  color: var(--charcoal);
  font-size: 15px;
}

.os-hero__photo-wrap {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #dde6f4 0%, #c8d6ed 100%);
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.os-hero__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.os-hero__photo-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px;
}

.os-hero__photo-icon {
  width: 80px;
  height: 80px;
  background: var(--navy);
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.os-hero__photo-inner strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}

.os-hero__photo-inner p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.os-hero__tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(27, 42, 74, 0.14);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.os-hero__tag-dot {
  width: 11px;
  height: 11px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  flex-shrink: 0;
}

.os-hero__tag strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.os-hero__tag span {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .os-hero .os-hero__title {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .os-hero__lead {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .os-hero .os-hero__title {
    font-size: 1.55rem;
  }
}

/* =============================================
   4. SOCIAL PROOF BAR
   ============================================= */
.os-proof {
  background: var(--navy);
  padding: 40px 0;
}

.os-proof__bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.os-proof__item {
  text-align: center;
  padding: 4px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.os-proof__item:last-child {
  border-right: none;
}

@media (max-width: 992px) {
  .os-proof__bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .os-proof__item {
    border-right: none;
  }
}

@media (max-width: 640px) {
  .os-proof__bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.os-proof__num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  display: block;
  color: #fff;
}

.os-proof__label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

.os-proof__stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

/* =============================================
   5. USŁUGI (SERVICE CARDS)
   ============================================= */
.os-uslugi {
  background: var(--bg);
}

.os-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.os-service-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 30px 26px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.os-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.os-service-icon {
  width: 52px;
  height: 52px;
  background: #FEF0EA;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 24px;
}

.os-service-card p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* =============================================
   6. JAK DZIAŁAMY (PROCESS & TIMELINE)
   ============================================= */
.os-jak {
  background: #fff;
}

.os-jak__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: stretch;
}

.os-jak__text p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 1rem;
  line-height: 1.65;
}

.os-jak__steps {
  list-style: none;
  margin: 28px 0;
  padding: 0;
}

.os-jak__step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.os-jak__step-num {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 18px;
}

.os-jak__step-body strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
}

.os-jak__step-body span {
  font-size: 15px;
  color: var(--muted);
}

.os-jak__box {
  background: linear-gradient(145deg, var(--navy) 0%, #243660 100%);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.os-jak__box .os-section-label {
  color: rgba(255, 255, 255, 0.5);
}

.os-jak__time {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin: 6px 0 14px;
}

.os-jak__box p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-bottom: 24px;
  line-height: 1.65;
}

/* =============================================
   7. CENNIK (PRICING & HONEST BOX)
   ============================================= */
.os-cennik {
  background: var(--bg);
}

.os-cennik__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  margin-top: 40px;
  align-items: start;
}

.os-pricing-wrap {
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.os-pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.os-pricing-table thead {
  background: var(--navy);
}

.os-pricing-table th {
  padding: 16px 24px;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.os-pricing-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}

.os-pricing-table tr:last-child td {
  border-bottom: none;
}

.os-pricing-table tbody tr:hover td {
  background: var(--bg);
}

.os-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: var(--orange);
  white-space: nowrap;
  font-size: 18px;
}

.os-pricing-note {
  padding: 14px 28px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.os-honest-box {
  background: linear-gradient(145deg, var(--navy) 0%, #243660 100%);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  color: #fff;
}

.os-honest-box .os-honest-icon {
  font-size: 38px;
  margin-bottom: 16px;
  display: block;
}

.os-honest-box h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.os-honest-box ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.os-honest-box ul li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.55;
  padding-left: 22px;
  position: relative;
}

.os-honest-box ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4ade80;
  font-weight: 700;
}

.os-honest-note {
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
}

/* =============================================
   8. OPINIE (GOOGLE REVIEWS CAROUSEL)
   ============================================= */
.os-opinie {
  background: #fff;
}

.os-trustindex-wrapper {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-top: 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.os-trustindex-header {
  flex-shrink: 0;
  width: 180px;
  text-align: center;
}

.os-trustindex-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.os-rating-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.os-rating-stars {
  color: var(--gold);
  font-size: 36px;
  letter-spacing: 4px;
}

.os-rating-text strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  color: var(--navy);
  margin-top: 8px;
}

.os-rating-text span {
  font-size: 12px;
  color: var(--muted);
}

.os-trustindex-carousel {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.os-carousel-container {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.os-reviews-scroll {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease-in-out;
}

.os-review-slide {
  flex: 0 0 calc((100% - 32px) / 3);
  background: var(--bg);
  border-radius: var(--r-md);
  padding: 18px;
  border: 1px solid var(--border);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.os-review-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.os-author-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--orange), var(--navy));
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.os-author-details {
  flex: 1;
  min-width: 0;
}

.os-author-details strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.os-author-details span {
  font-size: 11px;
  color: var(--muted);
}

.os-review-text {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.5;
  margin-top: 8px;
}

/* =============================================
   9. PODSTRONY (SUBPAGES GRID)
   ============================================= */
.os-podstrony {
  background: var(--bg);
}

.os-subpages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.os-subpage-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 26px;
  border: 1px solid var(--border);
  text-decoration: none !important;
  color: var(--charcoal);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.os-subpage-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: var(--charcoal);
}

.os-subpage-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: #FEF0EA;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.os-subpage-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.os-subpage-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* =============================================
   10. KONTAKT & MAPA
   ============================================= */
.os-kontakt {
  background: #fff;
}

.os-kontakt__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
}

.os-contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.os-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}

.os-contact-row-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.os-contact-row-text a {
  color: var(--orange);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
}

.os-contact-row-text a:hover {
  text-decoration: underline !important;
}

.os-contact-row-text p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.os-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.os-contact-form input,
.os-contact-form textarea {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.os-contact-form input:focus,
.os-contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.08);
}

.os-contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* =============================================
   11. STOPKA (FOOTER)
   ============================================= */
.os-footer {
  background: var(--navy-dk);
  color: rgba(255, 255, 255, 0.55);
  padding: 64px 0 0;
  font-size: 15px;
  /* Force full-width breakout from any WP container */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

/* Astra Below-Footer builder override – remove theme's 35px side padding */
.site-below-footer-wrap[data-section="section-below-footer-builder"] .ast-builder-grid-row {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
}

.os-footer-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.1fr 1.4fr;
  gap: 36px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.os-footer-col h4,
.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 18px;
}

.os-footer-logo-desc .os-footer-brand,
.footer-logo-desc .footer-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  display: block;
}

.os-footer-logo-desc p,
.footer-logo-desc p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.60);
  max-width: 270px;
  margin: 0;
}

.os-footer-contact-list,
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0;
}

.os-footer-contact-list li,
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.55;
}

.os-footer-contact-list li .fi,
.footer-contact-list li .fi {
  font-size: 19px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--orange);
}

.os-footer-contact-list a,
.footer-contact-list a {
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none !important;
  font-weight: 600;
  white-space: nowrap !important;
  word-break: normal !important;
}

.os-footer-contact-list a:hover,
.footer-contact-list a:hover {
  color: #fff;
}

.os-footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.os-footer-nav-list a {
  color: rgba(255, 255, 255, 0.70);
  text-decoration: none !important;
  font-size: 16px;
  transition: color 0.2s;
}

.os-footer-nav-list a:hover {
  color: #fff;
}

.os-footer-map-placeholder {
  border-radius: var(--r-md);
  overflow: hidden;
  display: block;
  width: 100%;
  height: 200px;
}

.os-footer-bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 28px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.30);
  flex-wrap: wrap;
  gap: 8px;
}

.os-footer-bottom a {
  color: rgba(255, 255, 255, 0.40);
  text-decoration: none !important;
}

.os-footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.70);
}

/* =============================================
   12. RESPONSIVE MEDIA QUERIES
   ============================================= */
@media (max-width: 960px) {
  .os-subpages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .os-footer-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .os-section {
    padding: 40px 0;
  }

  .os-container {
    padding: 0 16px;
  }

  .os-page-hero__inner {
    padding: 0 16px !important;
  }

  .os-footer-grid,
  .footer-grid {
    padding: 0 16px;
  }

  .os-footer-bottom {
    padding: 20px 16px;
  }

  .os-hero {
    padding: 16px 0 0;
  }

  .os-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 16px;
  }

  .os-hero__photo-wrap {
    max-width: 100%;
    aspect-ratio: 4/5;
    border-radius: 16px;
  }

  .os-hero__tag {
    padding: 12px 18px;
    bottom: 12px;
    left: 12px;
    gap: 10px;
    border-radius: var(--r-sm);
  }

  .os-hero__tag strong {
    font-size: 13px;
  }

  .os-hero__tag span {
    font-size: 11px;
  }

  .os-hero__tag-dot {
    width: 8px;
    height: 8px;
  }

  .os-hero__text {
    padding-bottom: 40px;
  }

  .os-hero__ctas {
    gap: 12px;
    margin-bottom: 28px;
  }

  .os-proof {
    padding: 8px 0;
  }

  .os-proof__item {
    border-right: none;
    padding: 4px 16px;
  }

  .os-proof__num {
    font-size: 1.4rem;
  }

  .os-jak__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .os-jak__box {
    padding: 32px 24px;
  }

  .os-jak__time {
    font-size: 4rem;
  }

  .os-cennik__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .os-kontakt__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .os-trustindex-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .os-trustindex-header {
    width: 100%;
  }

  .os-review-slide {
    flex: 0 0 100%;
  }

  /* Reset footer breakout on mobile to prevent horizontal scroll */
  .os-footer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    left: auto;
    right: auto;
  }

  /* === GLOBAL mobile padding 25px — catches ALL inner containers with desktop 28px === */
  .os-hero__inner,
  .os-page-hero__inner,
  .os-container,
  .os-container-wide,
  .os-security__inner,
  .os-promise-inner,
  .os-honest-inner,
  .os-cta-strip__inner,
  .os-tabs-section .os-container,
  .os-faq-section .os-container-wide,
  .os-footer-grid,
  .footer-grid,
  .os-footer-bottom,
  .trust-bar-inner,
  .faq-teaser-inner,
  .container {
    padding-left: 25px !important;
    padding-right: 25px !important;
  }
}

@media (max-width: 600px) {
  .os-express-checklist-box {
    padding: 20px !important;
  }

  .os-express-grid {
    margin: 0;
    padding: 0;
  }

  .os-pricing-table th:nth-child(3),
  .os-pricing-table td:nth-child(3) {
    display: none;
  }

  .os-pricing-table th:first-child,
  .os-pricing-table td:first-child {
    width: 70%;
    padding: 12px 14px;
    font-size: 14px;
  }

  .os-pricing-table th:nth-child(2),
  .os-pricing-table td:nth-child(2) {
    width: 30%;
    text-align: right;
    padding: 12px 14px;
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .os-section {
    padding: 32px 0;
  }

  .os-container {
    padding: 0 16px;
  }

  .os-page-hero__inner {
    padding: 0 16px !important;
  }

  .os-footer-grid,
  .footer-grid {
    padding: 0 16px;
  }

  .os-footer-bottom {
    padding: 20px 16px;
  }

  .os-hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .os-hero__ctas .os-btn-orange,
  .os-hero__ctas .os-btn-ghost {
    justify-content: center;
    width: 100%;
  }

  .os-proof__item {
    padding: 6px 12px;
    flex: 1 1 40%;
  }

  .os-proof__num {
    font-size: 1.2rem;
  }

  .os-proof__label {
    font-size: 11px;
  }

  .os-services-grid,
  .os-subpages-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .os-service-card,
  .os-subpage-card {
    padding: 22px;
  }

  .os-footer-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* =============================================
   PODSTRONA: POMOC ZDALNA
   ============================================= */

/* PAGE HERO */
.os-page-hero {
  background: #fff;
  padding: 40px 0 48px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.os-page-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.os-page-hero__inner--no-box {
  grid-template-columns: 1fr;
}

.os-page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 92, 26, 0.08);
  border: 1px solid rgba(232, 92, 26, 0.18);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 20px;
}

.os-page-hero h1 {
  color: var(--navy);
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
}

.os-page-hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.os-page-hero__lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 32px;
}

.os-page-hero__price {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  text-align: center;
  flex-shrink: 0;
  min-width: 200px;
  justify-self: end;
}

.os-page-hero__price .os-price-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.os-page-hero__price .os-price-unit {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.os-page-hero__price .os-price-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* FOTO NA PODSTRONACH */
.os-page-hero__photo-wrap {
  width: 100%;
  max-width: 460px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #dde6f4 0%, #c8d6ed 100%);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(27, 42, 74, 0.08);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.os-page-hero__photo-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(27, 42, 74, 0.12);
}

.os-page-hero__photo-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.os-page-hero__photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 44px 20px;
  color: var(--muted);
  text-align: center;
  border: 2px dashed rgba(27, 42, 74, 0.18);
  border-radius: var(--r-lg);
  box-sizing: border-box;
}

.os-photo-ph-icon {
  font-size: 32px;
  margin-bottom: 4px;
}

.os-page-hero__photo-placeholder strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--navy);
  font-size: 15px;
}

.os-page-hero__photo-placeholder span {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .os-page-hero {
    padding: 36px 0 40px;
  }

  .os-page-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .os-page-hero__photo-wrap {
    max-width: 100%;
    width: 100%;
    border-radius: 16px;
    margin-top: 8px;
  }
}

@media (max-width: 700px) {
  .os-page-hero__price {
    display: none;
  }
}

/* =========================================================================
   MOBILE TYPOGRAPHY – kompaktowe nagłówki < 480 px
   Cel: tytuł podstrony maksymalnie w 2 liniach na ekranie 390–430 px.
   ========================================================================= */
/* --- TYPOGRAPHY: 768px mobile heading hierarchy --- */
@media (max-width: 768px) {

  .os-wrap h1,
  .os-page-hero h1,
  .os-hero__title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }

  .os-wrap h2,
  h2.wp-block-heading,
  .os-section-heading {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 480px) {

  /* H1 stron (hero główny) */
  .os-wrap h1,
  .os-page-hero h1,
  .os-hero__title {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
  }

  /* H2 sekcji */
  .os-wrap h2,
  h2.wp-block-heading,
  .os-section-heading {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
  }

  /* H3 kart, kroków */
  .os-wrap h3 {
    font-size: 1.1rem !important;
  }

  /* Lead / subtitle pod hero */
  .os-page-hero__lead,
  .os-hero__lead {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }

  /* Mniejszy padding hero na mobile - sync z kontenerami */
  .os-page-hero {
    padding: 40px 0 36px !important;
  }

  .os-page-hero__inner {
    padding: 0 16px !important;
  }

  /* Sekcje - mniejszy padding */
  .os-wrap section,
  .os-section {
    padding: 48px 0 !important;
  }

  /* Bloki Gutenberga z wp-block-heading */
  .entry-content h2.wp-block-heading {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
  }

  /* Badge hero */
  .os-page-hero__badge {
    font-size: 12px !important;
    padding: 5px 12px !important;
  }

  /* Sekcja FAQ - ukryj sidebar na micro-mobile */
  .faq-sidebar {
    display: none;
  }

  .os-faq-layout {
    grid-template-columns: 1fr !important;
  }

  /* Tab nav - scroll poziomy */
  .tabs-nav {
    flex-wrap: nowrap;
  }

  .tab-btn {
    font-size: 13px !important;
    padding: 10px 12px !important;
  }

  /* Tabele cennika - mniejsza czcionka */
  .os-price-table th,
  .os-price-table td {
    padding: 10px 12px !important;
    font-size: 13px !important;
  }
}

/* TRUST BAR */
.os-trust-bar,
.trust-bar {
  background: var(--navy) !important;
  padding: 10px 0 !important;
  overflow: hidden;
}

.os-trust-bar__inner,
.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8px 20px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-content: center !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
}

.os-trust-bar__inner>*,
.trust-bar-inner>*,
.os-trust-item {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  align-self: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

/* ti-text: inline (nie inline-flex) żeby <strong> nie zlewał się z tekstem */
.os-trust-item .ti-text,
.os-trust-item span:not(.ti) {
  margin: 0 !important;
  padding: 0 !important;
  display: inline !important;
  line-height: 1.3 !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

.os-trust-item strong {
  color: #fff !important;
  font-weight: 700 !important;
}

.os-trust-item .ti {
  font-size: 18px !important;
  width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', sans-serif !important;
  vertical-align: middle !important;
}

@media (max-width: 640px) {
  .os-trust-bar__inner {
    gap: 12px !important;
    padding: 10px 16px !important;
    justify-content: flex-start !important;
  }

  .os-trust-item {
    font-size: 13px !important;
  }
}

@media (max-width: 400px) {
  .os-trust-item {
    width: 100% !important;
  }
}

/* WHAT IS */
.os-what-is {
  background: #fff;
}

.os-what-is__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.os-what-is__text p {
  color: var(--muted);
  margin-bottom: 16px;
}

.os-what-is__conditions {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  border: 1px solid var(--border);
}

.os-what-is__conditions h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 16px;
}

.os-condition-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
}

.os-condition-item:last-child {
  margin-bottom: 0;
}

.os-condition-icon {
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.os-condition-item p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.os-condition-item strong {
  color: var(--charcoal);
  display: block;
  margin-bottom: 2px;
}

@media (max-width: 768px) {
  .os-what-is__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* PROGRAMS */
.os-programs {
  background: var(--bg);
}

.os-programs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.os-program-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px 28px;
  border: 2px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.os-program-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow);
}

.os-program-card.recommended {
  border-color: var(--orange);
}

.os-program-card.recommended::before {
  content: 'Rekomendowany';
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--orange);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
}

.os-program-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.os-program-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.os-program-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  transition: gap 0.2s;
}

.os-program-download:hover {
  gap: 12px;
}

@media (max-width: 600px) {
  .os-express-checklist-box {
    padding: 20px !important;
  }

  .os-express-grid {
    margin: 0;
    padding: 0;
  }

  .os-programs__grid {
    grid-template-columns: 1fr;
  }
}

/* STEPS */
.os-steps-section {
  background: #fff;
}

.os-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  position: relative;
}

.os-steps-list::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 48px;
  width: 2px;
  background: var(--border);
}

.os-step-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.os-step-item:last-child {
  border-bottom: none;
}

.os-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.os-step-num.orange {
  background: var(--orange);
}

.os-step-body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.os-step-body p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.os-step-tag {
  display: inline-block;
  margin-top: 10px;
  background: rgba(232, 92, 26, 0.08);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

@media (max-width: 768px) {
  .os-step-item {
    gap: 18px;
  }
}

/* SECURITY */
.os-security {
  background: var(--navy);
  padding: 80px 0;
}

.os-security__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.os-security h2 {
  color: #fff;
  margin-bottom: 8px;
}

.os-security__lead {
  color: rgba(255, 255, 255, 0.60);
  font-size: 1rem;
  margin-bottom: 32px;
}

.os-security__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.os-security__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.55;
}

.os-security__list li .si {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  /* Bez filter – emoji mają być kolorowe */
}

/* Ikona telefonu - czerwona sluchawka */
.os-security__list li:nth-child(4) .si {
  background: rgba(255, 255, 255, 0.12);
  color: transparent;
  text-shadow: 0 0 0 #ef4444;
}

.os-security__cta-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: 40px 36px;
}

.os-security__cta-box h3,
.os-security__cta-box .wp-block-heading {
  color: #fff !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  margin-bottom: 10px !important;
  line-height: 1.2 !important;
}

.os-security__cta-box p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  margin-bottom: 28px;
}

.os-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.os-payment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--r-sm);
  padding: 12px 16px;
}

.os-payment-item .pi {
  font-size: 20px;
}

.os-payment-item div {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.80);
}

.os-payment-item strong {
  color: #fff;
  display: block;
  font-size: 14px;
}

@media (max-width: 768px) {
  .os-security__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* SCOPE */
.os-scope {
  background: var(--bg);
}

.os-scope__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.os-scope-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid var(--border);
}

.os-scope-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.os-scope-card h3 {
  margin-bottom: 8px;
}

.os-scope-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .os-scope__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 440px) {
  .os-scope__grid {
    grid-template-columns: 1fr;
  }
}

/* CTA STRIP */
.os-cta-strip {
  background: linear-gradient(135deg, var(--orange) 0%, #c94a0f 100%);
  padding: 64px 0;
}

.os-cta-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.os-cta-strip h2 {
  color: #fff;
  margin-bottom: 6px;
}

.os-cta-strip p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin: 0;
}

.os-cta-strip .os-btn-orange {
  background: #fff !important;
  color: var(--orange) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.os-cta-strip .os-btn-orange:hover {
  background: var(--bg) !important;
  color: var(--orange) !important;
}

@media (max-width: 768px) {
  .os-cta-strip__inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .os-cta-strip .os-btn-orange {
    width: 100% !important;
    max-width: 400px;
    text-align: center !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }

  .os-trust-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0 24px;
  }

  .os-trust-item {
    font-size: 14px;
  }
}

/* ==========================================================================
   USLUGI
   ========================================================================== */
.os-uslugi {
  background: var(--bg);
}

.os-uslugi__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.os-service-card {
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: 36px;
  border: 2px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}

.os-service-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow);
}

.os-service-card.is-featured {
  background: var(--navy);
  border-color: var(--navy);
}

.os-service-card.is-featured h3,
.os-service-card.is-featured .os-service-card__desc {
  color: rgba(255, 255, 255, .85);
}

.os-service-card.is-featured h3 {
  color: var(--white);
}

.os-service-card.is-featured .os-service-card__price {
  color: var(--orange);
}

.os-service-card__icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.os-service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.os-service-card__desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.os-service-card__price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 16px;
  display: block;
}

.os-service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.os-service-card__tag {
  background: rgba(27, 42, 74, .07);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.os-service-card.is-featured .os-service-card__tag {
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .75);
}

@media (max-width: 700px) {
  .os-uslugi__grid {
    grid-template-columns: 1fr;
  }
}

.os-repair-section {
  background: var(--bg) !important;
}

.os-repair-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.os-repair-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid var(--border);
}

.os-repair-card__icon {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.os-repair-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.os-repair-card__desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .os-repair-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .os-express-checklist-box {
    padding: 20px !important;
  }

  .os-express-grid {
    margin: 0;
    padding: 0;
  }

  .os-repair-grid {
    grid-template-columns: 1fr;
  }
}

/* REPAIR SECTION – full-width background via pseudo-element */
.os-repair-section {
  background: transparent !important;
  position: relative !important;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

.os-repair-section::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: calc(-50vw + 50%) !important;
  right: calc(-50vw + 50%) !important;
  background: var(--bg) !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.os-repair-section>* {
  position: relative !important;
  z-index: 1 !important;
}

.os-area-section {
  background: var(--white);
}

.os-area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

.os-area-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.os-area-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}

.os-area-list li::before {
  content: '📍';
  font-size: 16px;
}

.os-area-box {
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: 36px;
  border: 1px solid var(--border);
}

.os-area-box h3 {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.os-area-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 4px;
}

.os-area-price-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px !important;
}

/* Override WP button inside area-box */
.os-area-box .wp-block-buttons {
  display: block !important;
  width: auto !important;
}

.os-area-box .wp-block-button {
  display: inline-block !important;
  width: auto !important;
}

.os-area-box .wp-block-button.os-btn-orange .wp-block-button__link,
.os-area-box .wp-block-button__link {
  display: inline-flex !important;
  width: auto !important;
  align-items: center !important;
  background: var(--orange) !important;
  color: #fff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 11px 24px !important;
  border-radius: 100px !important;
  border: none !important;
  box-shadow: 0 3px 14px rgba(232, 92, 26, .25) !important;
  text-decoration: none !important;
  transition: background .2s !important;
  outline: none !important;
  white-space: nowrap !important;
}

.os-area-box .wp-block-button__link::before,
.os-area-box .wp-block-button__link::after {
  display: none !important;
  content: none !important;
}

.os-area-box .wp-block-button__link:hover {
  background: var(--orange-lt) !important;
  color: #fff !important;
}

@media (max-width: 700px) {
  .os-area-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   JAK DZIALAMY
   ========================================================================== */
.os-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.os-about-text p {
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.75;
}

.os-about-text p:last-child {
  margin-bottom: 0;
}

.os-about-text strong {
  color: var(--charcoal);
}

.os-photo-grid {
  display: grid;
  gap: 12px;
}

.os-photo-grid.grid-1-2 {
  grid-template-columns: 1.3fr 1fr;
}

.os-photo-slot {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: border-color .2s;
  position: relative;
}

.os-photo-slot:hover {
  border-color: var(--orange);
}

.os-photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.os-photo-slot.tall {
  aspect-ratio: 3/4;
}

.os-photo-placeholder {
  text-align: center;
  padding: 24px;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.os-photo-placeholder .ph-icon {
  font-size: 32px;
  margin-bottom: 8px;
  opacity: .4;
}

.os-photo-placeholder p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

.os-photo-slot:has(img:not([src*="placeholder"])) .os-photo-placeholder {
  display: none;
}

@media (max-width: 700px) {

  .os-about-grid,
  .os-photo-grid.grid-1-2 {
    grid-template-columns: 1fr;
  }
}

.os-stats-section {
  background: var(--bg);
}

.os-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.os-stat-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
}

.os-stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}

.os-stat-label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 700px) {
  .os-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.os-values-section {
  background: var(--navy);
  padding: 80px 0;
}

.os-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.os-value-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--r-xl);
  padding: 28px;
}

.os-value-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.os-value-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}

.os-value-card p {
  color: rgba(255, 255, 255, .60);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 700px) {
  .os-values-grid {
    grid-template-columns: 1fr;
  }
}

/* TABS */
.os-tabs-section {
  background: var(--bg);
  padding: 80px 0;
}

.os-tabs-wrap {
  margin-top: 40px;
}

/* Chrome-style card tabs (os-prefixed variant) */
.os-tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 2px;
  position: relative;
}

.os-tabs-nav::-webkit-scrollbar {
  display: none;
}

.os-tab-btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid transparent;
  border-bottom: none;
  padding: 12px 20px;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 10px 10px 0 0;
  margin-bottom: -2px;
  position: relative;
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
}

.os-tab-btn:hover {
  color: var(--navy);
  background: rgba(228, 234, 243, .6);
}

.os-tab-btn.is-active {
  color: var(--navy);
  background: var(--white);
  border-color: var(--border);
  border-bottom-color: var(--white);
  box-shadow: 0 -2px 8px rgba(27, 42, 74, .06);
  z-index: 1;
}

.os-tab-btn.is-active::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 8px;
  right: 8px;
  height: 3px;
  background: var(--orange);
  border-radius: 0 0 3px 3px;
}

.os-tab-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: 36px 32px;
}

.os-tab-panel.is-active {
  display: block;
}

.editor-styles-wrapper .os-tab-panel {
  display: block;
  margin-bottom: 20px;
  border-radius: var(--r-lg);
  border: 1px dashed var(--border);
}

/* Editor override */

.os-steps-list {
  display: flex;
  flex-direction: column;
  position: relative;
}

.os-steps-list::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 48px;
  width: 2px;
  background: var(--border);
}

.os-step-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.os-step-item:last-child {
  border-bottom: none;
}

.os-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.os-step-num.is-orange {
  background: var(--orange);
}

.os-step-body h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.os-step-body p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  line-height: 1.65;
}

.os-step-tag {
  display: inline-block;
  margin-top: 8px;
  background: rgba(232, 92, 26, .08);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ==========================================================================
   DLA SENIORA
   ========================================================================== */
.os-for-whom {
  background: var(--white);
  padding: 80px 0;
}

.os-for-whom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.os-for-whom p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 17px;
}

.os-situation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.os-situation-list .os-sit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  line-height: 1.65;
}

.os-situation-list .os-sit-item .si {
  width: 36px;
  height: 36px;
  background: rgba(232, 92, 26, .10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.os-situation-list .os-sit-item p {
  margin: 0;
  color: var(--muted);
}

.os-situation-list .os-sit-item strong {
  color: var(--charcoal);
}

.os-for-whom-box {
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: 36px;
  border: 1px solid var(--border);
}

@media (max-width: 700px) {
  .os-for-whom-grid {
    grid-template-columns: 1fr;
  }
}

.os-promise-section {
  background: var(--navy);
  padding: 80px 28px !important;
  /* Flex layout działa niezależnie od obecności os-promise-inner */
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 64px;
  align-items: center;
  box-sizing: border-box;
}

/* Lewa kolumna — tekst + lista obietnic */
.os-promise-section>.wp-block-group:not(.os-promise-cta) {
  flex: 1;
  min-width: 280px;
  max-width: 540px;
}

/* Prawa kolumna — CTA box */
.os-promise-section>.os-promise-cta {
  flex: 0 0 400px;
  min-width: 280px;
}

/* Fallback: jeśli os-promise-inner nadal istnieje (starsze strony) */
.os-promise-inner {
  display: contents;
  /* przezroczysty wrapper — dzieci stają się dziećmi flex rodzica */
}

@media (max-width: 768px) {
  .os-promise-section {
    flex-direction: column !important;
    padding: 60px 20px !important;
    gap: 40px;
  }

  .os-promise-section>.wp-block-group:not(.os-promise-cta),
  .os-promise-section>.os-promise-cta {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

.os-promise-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.os-promise-list .os-prom-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255, 255, 255, .80);
  font-size: 16px;
  line-height: 1.65;
}

.os-promise-list .os-prom-item::before {
  content: '✓';
  color: #4ade80;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Remove Gutenberg's block margins inside the promise list */
.editor-styles-wrapper .os-promise-list .block-editor-block-list__layout>*,
.os-promise-list .wp-block {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.os-promise-cta {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-xl);
  padding: 40px;
}

.os-promise-cta h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.os-promise-cta p {
  color: rgba(255, 255, 255, .60);
  font-size: 16px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.os-promise-cta .phone-big {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

.os-promise-cta .phone-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 24px;
  display: block;
}

/* os-promise-inner legacy rule – pozostawione dla kompatybilności wstecznej */

/* ==========================================================================
   FAQ
   ========================================================================== */
.os-faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.os-faq-sidebar {
  position: sticky;
  top: 88px;
}

.os-faq-sidebar h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 12px;
}

.os-faq-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  margin: 0;
}

.os-faq-cat-list a {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: background .2s, color .2s;
}

.os-faq-cat-list a:hover {
  background: var(--bg);
  color: var(--navy);
}

.os-faq-cat-list a.is-active {
  background: rgba(232, 92, 26, .10);
  color: var(--orange);
}

.os-faq-group {
  margin-bottom: 56px;
}

.os-faq-group:last-child {
  margin-bottom: 0;
}

.os-faq-group-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.os-faq-group-icon {
  font-size: 20px;
}

.os-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color .2s;
}

.os-faq-item.is-open {
  border-color: var(--orange);
}

.os-faq-item__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.os-faq-item__q:hover {
  background: var(--bg);
}

.os-faq-item.is-open .os-faq-item__q {
  background: rgba(232, 92, 26, .04);
  color: var(--orange);
}

.os-faq-item__arrow {
  font-size: 18px;
  flex-shrink: 0;
  transition: transform .25s;
  color: var(--muted);
}

.os-faq-item.is-open .os-faq-item__arrow {
  transform: rotate(45deg);
  color: var(--orange);
}

.os-faq-item__a {
  display: none;
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

.os-faq-item.is-open .os-faq-item__a {
  display: block;
}

.editor-styles-wrapper .os-faq-item__a {
  display: block;
}

/* Editor override */
@media (max-width: 700px) {
  .os-faq-layout {
    grid-template-columns: 1fr;
  }

  .os-faq-sidebar {
    display: none;
  }
}

/* ==========================================================================
   CENNIK
   ========================================================================== */
/* Chrome-style card tabs (pricing variant) */
.os-pricing-tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 2px;
  position: relative;
}

.os-pricing-tabs-nav::-webkit-scrollbar {
  display: none;
}

.os-pricing-tab-btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid transparent;
  border-bottom: none;
  padding: 12px 20px;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 10px 10px 0 0;
  margin-bottom: -2px;
  position: relative;
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
}

.os-pricing-tab-btn:hover {
  color: var(--navy);
  background: rgba(228, 234, 243, .6);
}

.os-pricing-tab-btn.is-active {
  color: var(--navy);
  background: var(--white);
  border-color: var(--border);
  border-bottom-color: var(--white);
  box-shadow: 0 -2px 8px rgba(27, 42, 74, .06);
  z-index: 1;
}

.os-pricing-tab-btn.is-active::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 8px;
  right: 8px;
  height: 3px;
  background: var(--orange);
  border-radius: 0 0 3px 3px;
}

.os-price-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  text-align: left;
  margin-bottom: 0;
}

.os-price-table th {
  background: var(--navy);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 14px 20px;
}

.os-price-table th:last-child {
  text-align: right;
}

.os-price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--charcoal);
  vertical-align: top;
}

.os-price-table td:last-child {
  text-align: right;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}

.os-price-table tr:last-child td {
  border-bottom: none;
}

.os-price-table .is-free,
.os-price-table .free {
  color: #22c55e !important;
}

.os-price-table tr.is-highlight td {
  background: rgba(232, 92, 26, .06);
}

@media (max-width: 700px) {

  .os-price-table table,
  .os-price-table tbody,
  .os-price-table tr,
  .os-price-table td,
  .os-pricing-table,
  .os-pricing-table tbody,
  .os-pricing-table tr,
  .os-pricing-table td {
    display: block !important;
    width: 100% !important;
  }

  .os-price-table thead,
  .os-pricing-table thead {
    display: none !important;
  }

  .os-price-table tr,
  .os-pricing-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--border) !important;
    border-radius: var(--r-md);
    padding: 16px;
    background: #fff !important;
  }

  .os-price-table td,
  .os-pricing-table td {
    padding: 4px 0 !important;
    border: none !important;
    text-align: left !important;
    white-space: normal !important;
  }

  .os-price-table td:first-child,
  .os-pricing-table td:first-child {
    font-size: 16px !important;
    font-weight: 700;
    color: var(--navy);
    padding-bottom: 8px !important;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border) !important;
  }

  .os-price-table td:not(:first-child):not(:last-child),
  .os-pricing-table td:not(:first-child):not(:last-child) {
    font-size: 14px !important;
    color: var(--muted);
    display: block !important;
    /* Wymusza pokazanie w kartach mimo ukrycia w oryginale */
  }

  .os-price-table td:last-child,
  .os-pricing-table td:last-child {
    font-size: 16px !important;
    font-weight: 800;
    color: var(--orange) !important;
    margin-top: 4px;
    white-space: normal !important;
    text-align: left !important;
  }
}


.os-price-note-box {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  margin-top: 24px;
  border-left: 4px solid var(--orange);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.os-express-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 36px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.os-express-box h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.os-express-box p {
  color: rgba(255, 255, 255, .65);
  font-size: 14px;
  margin: 0;
  max-width: 500px;
}

.os-express-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  white-space: nowrap;
}

.os-honest-strip {
  background: var(--navy);
  padding: 64px 0;
}

.os-honest-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 768px) {
  .os-honest-inner {
    padding: 0 16px !important;
  }

  .os-honest-strip {
    padding: 40px 0 !important;
  }
}

.os-honest-strip h2 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 3vw, 1.85rem) !important;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.2;
}

.os-honest-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.os-honest-list li {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, .75);
  font-size: 15px;
}

.os-honest-list li::before {
  content: '✓';
  color: #4ade80;
  font-weight: 700;
  flex-shrink: 0;
}

.os-honest-cta {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-xl);
  padding: 36px;
}

.os-honest-cta h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.os-honest-cta p {
  color: rgba(255, 255, 255, .60);
  font-size: 14px;
  margin-bottom: 24px;
}

@media (max-width: 700px) {
  .os-honest-inner {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   CENNIK – ZAKŁADKI (CHROME-STYLE TABS)
   ========================================================================= */
.os-tabs-section {
  background: var(--white);
  padding: 80px 0;
}

.os-tabs-section .os-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

@media (max-width: 768px) {
  .os-tabs-section .os-container {
    padding: 0 16px !important;
  }
}

.os-tabs-wrap {
  margin-top: 40px;
}

/* Tab bar – bottom border acts as the "shelf" */
.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 2px;
  position: relative;
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

/* Individual tab – Chrome card style */
.tab-btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted) !important;
  background: var(--bg) !important;
  border: 1px solid transparent !important;
  border-bottom: none !important;
  padding: 12px 20px !important;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 10px 10px 0 0 !important;
  margin-bottom: -2px;
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
  box-shadow: none !important;
  position: relative;
}

.tab-btn:hover {
  color: var(--navy) !important;
  background: rgba(228, 234, 243, .6) !important;
}

/* Active tab – "lifted" card look */
.tab-btn.active {
  color: var(--navy) !important;
  background: var(--white) !important;
  border-color: var(--border) !important;
  border-bottom-color: var(--white) !important;
  box-shadow: 0 -2px 8px rgba(27, 42, 74, .06) !important;
  z-index: 1;
}

/* Orange accent bar on top of active tab */
.tab-btn.active::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 8px;
  right: 8px;
  height: 3px;
  background: var(--orange);
  border-radius: 0 0 3px 3px;
}

/* Tab panels */
.tab-panel {
  display: none;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}

.tab-panel.active {
  display: block;
}

.tab-panel h3,
.tab-panel h4,
.tab-panel .wp-block-heading {
  font-size: 15px !important;
  margin-top: 32px !important;
  margin-bottom: 12px !important;
}

.editor-styles-wrapper .tab-panel {
  display: block !important;
  margin-bottom: 20px;
  border: 1px dashed var(--border);
  padding: 20px;
}

/* Editor override to show all tabs for editing */
.os-express-grid {
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 768px) {
  .os-express-grid {
    max-width: 100%;
    box-sizing: border-box;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.os-price-big {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px !important;
}

.os-express-checklist-box {
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: 32px !important;
  border: 1px solid var(--border);
}

.os-checklist-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 16px !important;
}

.os-checklist {
  list-style: none !important;
  padding-left: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.os-checklist li {
  font-size: 15px;
  list-style: none !important;
  padding-left: 0 !important;
}

@media (max-width: 600px) {
  .os-express-checklist-box {
    padding: 20px !important;
  }

  .os-express-grid {
    margin: 0;
    padding: 0;
  }

  .tabs-nav,
  .os-tabs-nav,
  .os-pricing-tabs-nav {
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: none;
    padding-bottom: 12px;
  }

  .tab-btn,
  .os-tab-btn,
  .os-pricing-tab-btn {
    flex: 1 1 calc(50% - 6px) !important;
    padding: 10px 8px !important;
    font-size: 12px !important;
    white-space: normal !important;
    text-align: center;
    line-height: 1.3;
    border: 1px solid var(--border) !important;
    background: var(--bg) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    color: var(--muted) !important;
    margin-bottom: 0;
  }

  .tab-btn.active,
  .os-tab-btn.is-active,
  .os-pricing-tab-btn.is-active {
    background: var(--orange) !important;
    color: var(--white) !important;
    border-color: var(--orange) !important;
  }

  /* Hide the ::before accent on mobile – orange bg is the indicator */
  .tab-btn.active::before,
  .os-tab-btn.is-active::before,
  .os-pricing-tab-btn.is-active::before {
    display: none;
  }

  /* Tab panels – no border on mobile for cleaner look */
  .tab-panel,
  .os-tab-panel {
    border: none !important;
    padding: 24px 0 !important;
    border-radius: 0 !important;
  }
}

/* =========================================================================
   FAQ – SEKCJA, SIDEBAR, ACCORDION
   ========================================================================= */
.os-faq-section {
  background: var(--white);
  padding: 80px 0;
}

.os-faq-section .os-container-wide {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

@media (max-width: 768px) {
  .os-faq-section .os-container-wide {
    padding: 0 16px !important;
  }
}

.os-faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 90px;
  background: transparent;
  border: none;
  padding: 0;
}

.faq-sidebar h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 14px;
}

.faq-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin: 0;
}

.faq-cat-list a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none !important;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.faq-cat-list a:hover,
.faq-cat-list a.active {
  background: rgba(232, 92, 26, .08);
  color: var(--orange);
}

.os-faq-group {
  margin-bottom: 40px;
}

.faq-group-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-group-icon {
  font-size: 18px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
}

.faq-q:hover {
  color: var(--orange);
}

.faq-arrow {
  font-size: 22px;
  color: var(--orange);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform .25s;
  line-height: 1;
}

.faq-item.is-open .faq-arrow {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.faq-a a {
  color: var(--orange);
  font-weight: 600;
}

.faq-item.is-open .faq-a {
  display: block;
}

/* =========================================================================
   DLA SENIORA (Specific Styles)
   ========================================================================= */
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 92, 26, .08);
  border: 1px solid rgba(232, 92, 26, .18);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 24px
}

.hero-phone-box,
.os-hero-phone-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 36px;
  text-align: center;
  flex-shrink: 0;
  min-width: 220px
}

.hero-phone-label,
.os-hero-phone-label {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px
}

.hero-phone-num,
.os-hero-phone-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px
}

.hero-phone-sub,
.os-hero-phone-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5
}

@media(max-width:700px) {

  .hero-phone-box,
  .os-hero-phone-box {
    display: none
  }
}


.os-how-section {
  background: var(--bg)
}

.os-scope-section {
  background: var(--white)
}

.os-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px
}

@media(max-width:700px) {
  .os-scope-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:440px) {
  .os-scope-grid {
    grid-template-columns: 1fr
  }
}

.os-promise-section .os-lead {
  color: rgba(255, 255, 255, .65);
  font-size: 17px;
  margin-bottom: 32px;
  line-height: 1.75
}


/* STEPS LIST (How Section) */
.os-steps-list {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  position: relative
}

.os-steps-list::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 54px;
  bottom: 54px;
  width: 2px;
  background: var(--border)
}

.os-step-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border)
}

.os-step-item:last-child {
  border-bottom: none
}

.os-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1
}

.os-step-num.orange {
  background: var(--orange)
}

.os-step-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px
}

.os-step-body p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
  line-height: 1.7
}

@media(max-width:768px) {
  .os-step-item {
    gap: 18px
  }
}

/* SCOPE CARD (Senior) */
.os-scope-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--border)
}

.os-scope-icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: block
}

.os-scope-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem
}

.os-scope-card p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65
}

@media (max-width: 800px) {
  .os-faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-sidebar {
    position: static;
  }
}

/* =========================================================================
   HONEST STRIP – poprawki dla cennika (klasa html bez os-)
   ========================================================================= */
.honest-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.honest-list li {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, .75);
  font-size: 15px;
}

.honest-list li::before {
  content: '✓';
  color: #4ade80;
  font-weight: 700;
  flex-shrink: 0;
}



/* Global mobile section padding reduction */
@media (max-width: 768px) {

  .os-what-is,
  .os-programs,
  .os-steps-section,
  .os-security,
  .os-scope,
  .os-stats-section,
  .os-uslugi,
  .os-about-section,
  .os-values-section,
  .os-tabs-section,
  .os-faq-section,
  .os-for-whom,
  .os-promise-section {
    padding: 48px 0 !important;
  }
}

/* ==========================================================================
   POLITYKA PRYWATNOSCI
   ========================================================================== */
.os-policy-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 28px 64px;
}

.os-policy-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  align-items: start;
}

/* Sidebar TOC */
.os-policy-toc {
  position: sticky;
  top: 88px;
  /* Kompensacja: Chrome przesuwa sticky grid item w dół o wartość top.
     margin-top: -88px cofamy do właściwej pozycji startowej (wyrównanie z h2). */
  margin-top: -88px;
}

.os-policy-toc h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 12px;
}

.os-policy-toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  margin: 0;
}

.os-policy-toc ul a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  transition: background .15s, color .15s;
}

.os-policy-toc ul a:hover,
.os-policy-toc ul a.is-active {
  background: var(--bg);
  color: var(--navy);
  font-weight: 600;
}

/* Content area */
.os-policy-content {
  max-width: 680px;
}

.os-policy-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.os-policy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.os-policy-section h2.wp-block-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem !important;
  font-weight: 700;
  color: var(--navy) !important;
  margin-bottom: 12px;
}

.os-policy-section p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 10px;
}

.os-policy-section p:last-child {
  margin-bottom: 0;
}

.os-policy-section ul,
.os-policy-section ol {
  margin: 8px 0 10px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.os-policy-section li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.os-policy-section strong {
  color: var(--charcoal);
}

.os-policy-section a {
  color: var(--orange);
  text-decoration: none;
}

.os-policy-section a:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .os-policy-layout {
    display: block;
  }

  .os-policy-toc {
    display: none;
  }

  .os-policy-wrap {
    padding: 40px 20px;
  }

  .os-policy-content {
    max-width: 100%;
  }
}

/* =============================================
   12. PODSTRONA KONTAKT (Z KONTAKT.HTML)
   ============================================= */

/* Reset Gutenberg button block wrapper to prevent double borders */
.wp-block-button.btn-call,
.wp-block-button.btn-ghost {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

a.btn-call,
.btn-call a,
.btn-call.wp-block-button__link,
.wp-block-button.btn-call a.wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: var(--orange) !important;
  color: var(--white) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  border-radius: 100px !important;
  text-decoration: none !important;
  transition: background .2s, transform .15s !important;
  box-shadow: 0 4px 20px rgba(232, 92, 26, .30) !important;
  border: none !important;
  cursor: pointer !important;
  line-height: 1.2 !important;
}

a.btn-call:hover,
.btn-call a:hover,
.btn-call.wp-block-button__link:hover,
.wp-block-button.btn-call a.wp-block-button__link:hover {
  background: var(--orange-lt) !important;
  transform: translateY(-2px) !important;
  color: var(--white) !important;
}

a.btn-ghost,
.btn-ghost a,
.btn-ghost.wp-block-button__link,
.wp-block-button.btn-ghost a.wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  text-decoration: none !important;
  padding: 12px 24px !important;
  border-radius: 100px !important;
  border: 2px solid var(--border) !important;
  background: var(--white) !important;
  transition: border-color .2s !important;
  line-height: 1.2 !important;
}

a.btn-ghost:hover,
.btn-ghost a:hover,
.btn-ghost.wp-block-button__link:hover,
.wp-block-button.btn-ghost a.wp-block-button__link:hover {
  border-color: var(--navy) !important;
  color: var(--navy) !important;
}

.section-label {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: var(--orange) !important;
  margin-bottom: 10px !important;
}

.contact-section {
  background: var(--white);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-card {
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: 36px;
  border: 1px solid var(--border);
}

.contact-card.primary {
  background: var(--navy);
  border-color: var(--navy);
}

.contact-card-icon,
.contact-card-icon span,
.contact-card p.contact-card-icon {
  font-size: 26px !important;
  line-height: 1 !important;
  margin-bottom: 16px !important;
  margin-top: 0 !important;
  display: block !important;
  height: 32px !important;
  color: var(--orange) !important;
}

.contact-card.primary .contact-card-icon {
  color: var(--orange) !important;
}

.contact-card-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--orange) !important;
  color: var(--orange) !important;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.contact-card.primary h3 {
  color: var(--white);
}

.contact-card p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.65;
  font-family: 'Inter', sans-serif;
}

.contact-card.primary p {
  color: rgba(255, 255, 255, .60);
}

.phone-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
  text-decoration: none !important;
}

.phone-number:hover {
  color: var(--orange) !important;
}

.contact-card.primary .phone-number {
  color: var(--white) !important;
}

.phone-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: block;
}

.contact-card.primary .phone-note {
  color: rgba(255, 255, 255, .45);
}

.contact-details,
.wp-block-list.contact-details {
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.contact-details li *,
.wp-block-list.contact-details li *,
.directions-list li *,
.wp-block-list.directions-list li * {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: manual !important;
}

.contact-details li,
.wp-block-list.contact-details li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: var(--muted) !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.contact-details li strong,
.wp-block-list.contact-details li strong {
  color: var(--navy) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  flex-shrink: 0 !important;
  margin-right: 4px !important;
  display: inline-block !important;
}

.hours-section {
  background: var(--bg);
  padding: 80px 0;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.hours-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px;
  border: 1px solid var(--border);
}

.hours-card h3 {
  font-size: 1.05rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--navy);
}

.hours-table,
.wp-block-table.hours-table {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  width: 100% !important;
}

.hours-table table,
.wp-block-table.hours-table table {
  width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  margin: 0 !important;
  border: none !important;
}

.hours-table tr,
.wp-block-table.hours-table tr {
  border-bottom: 1px solid var(--border) !important;
}

.hours-table tr:last-child,
.wp-block-table.hours-table tr:last-child {
  border-bottom: none !important;
}

.hours-table td,
.wp-block-table.hours-table td {
  padding: 10px 0 !important;
  font-size: 14px !important;
  vertical-align: top !important;
  background: transparent !important;
  border: none !important;
  font-family: 'Inter', sans-serif !important;
}

.hours-table td:first-child,
.wp-block-table.hours-table td:first-child {
  color: var(--muted) !important;
  width: 60% !important;
  text-align: left !important;
}

.hours-table td:last-child,
.wp-block-table.hours-table td:last-child {
  font-weight: 700 !important;
  color: var(--navy) !important;
  text-align: right !important;
}

.hours-table tr.closed td:last-child,
.wp-block-table.hours-table tr.closed td:last-child {
  color: var(--muted) !important;
  font-weight: 400 !important;
}

.hours-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.map-section {
  background: var(--white);
  padding: 80px 0;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.map-placeholder {
  background: var(--bg);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 380px;
  border: none;
  border-radius: var(--r-xl);
  display: block;
}

.map-info h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--navy);
}

.directions-list,
.wp-block-list.directions-list {
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  margin-bottom: 24px !important;
  padding: 0 !important;
}

.directions-list li,
.wp-block-list.directions-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  font-size: 15px !important;
  color: var(--muted) !important;
  line-height: 1.55 !important;
  font-family: 'Inter', sans-serif !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.directions-list li strong,
.wp-block-list.directions-list li strong {
  color: var(--navy) !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  flex-shrink: 0 !important;
  margin-right: 4px !important;
  display: inline-block !important;
}

.faq-teaser {
  background: var(--bg);
  padding: 64px 0;
}

.faq-teaser-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.faq-teaser h2 {
  margin-bottom: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--navy);
}

.faq-teaser p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  max-width: 480px;
  font-family: 'Inter', sans-serif;
}

/* GUTENBERG BLOCK OVERRIDES FOR PERFECT GRID & BUTTON LAYOUT */
.wp-block-columns.contact-grid,
.wp-block-columns.hours-grid,
.wp-block-columns.map-grid {
  display: grid !important;
  flex-wrap: unset !important;
  gap: 48px;
}

.wp-block-columns.hours-grid {
  gap: 32px;
}

.wp-block-columns.contact-grid>.wp-block-column,
.wp-block-columns.hours-grid>.wp-block-column,
.wp-block-columns.map-grid>.wp-block-column {
  flex-basis: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
}

@media (max-width: 700px) {

  .wp-block-columns.contact-grid,
  .wp-block-columns.map-grid,
  .wp-block-columns.hours-grid,
  .contact-grid,
  .map-grid,
  .hours-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-section,
  .hours-section,
  .map-section {
    padding: 56px 0 !important;
  }
}

/* =============================================
   PODSTRONA: O FIRMIE I JAK DZIAŁAMY
   ============================================= */

/* ABOUT SECTION */
.about-section {
  background: var(--white);
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.75;
  font-size: 16px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--charcoal);
}

/* PHOTO GRID */
.photo-grid {
  display: grid;
  gap: 12px;
}

.photo-grid.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.photo-grid.grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.photo-grid.grid-1-2 {
  grid-template-columns: 1.3fr 1fr;
}

.photo-slot {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: border-color .2s;
  position: relative;
}

.photo-slot:hover {
  border-color: var(--orange);
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-slot.tall {
  aspect-ratio: 3/4;
}

.photo-slot.wide {
  aspect-ratio: 16/9;
}

.photo-placeholder {
  text-align: center;
  padding: 24px;
}

.photo-placeholder .ph-icon {
  font-size: 32px;
  margin-bottom: 8px;
  opacity: .4;
}

.photo-placeholder p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

/* STATS */
.stats-section {
  background: var(--bg);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
}

.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

/* SERWIS PHOTOS & INFO */
.serwis-section {
  background: var(--white);
  padding: 80px 0;
}

.serwis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.serwis-info h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--navy);
}

.serwis-info p {
  color: var(--muted);
  margin-bottom: 16px;
}

.serwis-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  padding: 0;
}

.serwis-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.serwis-details li .sd {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.serwis-details li p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.serwis-details li strong {
  color: var(--charcoal);
}

/* TABS – Chrome-style (duplicate for jak-dzialamy etc.) */
.tabs-section {
  background: var(--bg);
  padding: 80px 0;
}

.tabs-wrap {
  margin-top: 40px;
}

/* tab styles inherited from the main CENNIK – CHROME-STYLE TABS block above */

/* STEPS */
.steps-list {
  display: flex;
  flex-direction: column;
  position: relative;
}

.steps-list::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 48px;
  width: 2px;
  background: var(--border);
}

.step-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.step-item:last-child {
  border-bottom: none;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-num.orange {
  background: var(--orange);
}

.step-body h3 {
  font-size: 1rem;
  margin-bottom: 5px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--navy);
}

.step-body p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  line-height: 1.65;
}

.step-tag {
  display: inline-block;
  margin-top: 8px;
  background: rgba(232, 92, 26, .08);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.info-box {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  border-left: 4px solid var(--orange);
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.info-box strong {
  color: var(--charcoal);
}

/* VALUES */
.values-section {
  background: var(--navy);
  padding: 80px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.value-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--r-xl);
  padding: 28px;
}

.value-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.value-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
}

.value-card p {
  color: rgba(255, 255, 255, .60);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 700px) {

  .about-grid,
  .photo-grid.grid-2,
  .photo-grid.grid-3,
  .photo-grid.grid-1-2 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .serwis-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-section,
  .stats-section,
  .serwis-section,
  .tabs-section,
  .values-section {
    padding: 56px 0;
  }
}

@media (max-width: 768px) {
  .step-item {
    gap: 16px;
  }

  .tab-panel {
    padding: 24px 16px;
  }
}

/* NATIVE BLOCKS STYLES (jak-dzialamy) */
.about-photo img {
  border-radius: var(--r-xl);
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.serwis-photo img {
  border-radius: var(--r-xl);
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 0;
}

.serwis-photos-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}

/* NATIVE TABS STEPS STYLES */
ol.os-steps-list {
  counter-reset: os-step;
  list-style: none;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-left: 0;
}

ol.os-steps-list::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--border);
}

ol.os-steps-list li {
  position: relative;
  padding-left: 72px;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

ol.os-steps-list li::before {
  counter-increment: os-step;
  content: counter(os-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  z-index: 1;
}

ol.os-steps-list li strong {
  font-size: 1rem;
  color: var(--navy);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
}

.values-cols {
  gap: 20px;
  margin-bottom: 20px;
}

.values-cols .value-card {
  height: 100%;
  margin: 0;
}

@media (max-width: 768px) {
  .values-cols {
    display: flex;
    flex-direction: column;
  }
}




/* CONTACT ICONS FIX */
.ci,
.di,
.sd,
.contact-details li .ci,
.directions-list li .di {
  font-size: 26px !important;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .value-icon {
    font-size: 30px !important;
  }
}



/* STATS MOBILE FIX */
@media (max-width: 700px) {

  .os-stat-card,
  .stat-card {
    padding: 16px 12px;
  }

  .os-stat-num,
  .stat-num {
    font-size: 2rem;
  }
}

@media (max-width: 400px) {

  .os-stats-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}


/* PHONE ICON - czerwona sluchawka w Zawsze odbieram */
.value-icon.phone-icon,
.phone-icon svg {
  color: #E85C1A !important;
}

/* PHONE-ICON-SVG - czerwona sluchawka we wszystkich blokach trust-item i security-item */
.phone-icon-svg,
.ti .phone-icon-svg,
.si .phone-icon-svg {
  color: #E85C1A !important;
  vertical-align: middle;
}

/* =====================================================================
   FOOTER PHONE ICON - tylko pierwsza ikona (telefon) = czerwona
   ===================================================================== */
.footer-contact-list li:first-child span,
.os-footer-contact-list li:first-child span {
  position: relative;
  font-size: 0 !important;
  width: 20px;
  min-width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-list li:first-child span::before,
.os-footer-contact-list li:first-child span::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background-color: #E85C1A;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1L6.6 10.8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1L6.6 10.8z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.footer-contact-list li .fi::before,
.os-footer-contact-list li .fi::before,


/* =====================================================================
   MOJE ZASADY - ikony wieksze + czerwona sluchawka
   ===================================================================== */
/* Wieksze ikonki na desktopie i mobile */
.value-icon,
.os-value-icon {
  font-size: 40px !important;
  margin-bottom: 16px !important;
  display: block !important;
  line-height: 1 !important;
}

@media (max-width: 768px) {

  .value-icon,
  .os-value-icon {
    font-size: 44px !important;
  }
}

/* Czerwona sluchawka - wysoka specyficznosc */
.value-card .phone-icon,
.os-value-card .phone-icon,
p.value-icon.phone-icon,
p.phone-icon .phone-icon-svg,
.value-icon .phone-icon-svg,
.phone-icon-svg {
  color: #E85C1A !important;
  fill: #E85C1A !important;
}


/* ZAWSZE ODBIERAM - poprawka rozmiaru ikony SVG */
.value-card p.value-icon,
.value-card .value-icon,
.os-value-card p.value-icon,
.os-value-card .value-icon {
  font-size: 28px !important;
  color: inherit !important;
  margin-bottom: 14px !important;
  line-height: 1 !important;
}

.value-card p.phone-icon svg,
.value-card .phone-icon svg {
  width: 32px !important;
  height: 32px !important;
  fill: #E85C1A !important;
  display: block;
}

/* Poprawka dla stron standardowych bez wlasnych sekcji full-width */
body.page-template-default:not(.home):not(.privacy-policy) .entry-content>p,
body.page-template-default:not(.home):not(.privacy-policy) .entry-content>h1,
body.page-template-default:not(.home):not(.privacy-policy) .entry-content>h2,
body.page-template-default:not(.home):not(.privacy-policy) .entry-content>h3,
body.page-template-default:not(.home):not(.privacy-policy) .entry-content>h4,
body.page-template-default:not(.home):not(.privacy-policy) .entry-content>ul,
body.page-template-default:not(.home):not(.privacy-policy) .entry-content>ol {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

body.privacy-policy .entry-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Usuwanie nadmiarowych odstepow na stronie polityki prywatnosci */
.privacy-policy .os-section,
.privacy-policy .wp-block-group {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Usuniecie domyslnego paddingu Astra/Gutenberg z blokow na stronie polityki */
.os-policy-layout.wp-block-group,
.os-policy-toc.wp-block-group,
.os-policy-content.wp-block-group,
.os-policy-section.wp-block-group {
  padding: 0 !important;
  margin: 0 !important;
}

.os-policy-wrap.wp-block-group {
  max-width: var(--max-w) !important;
  margin: 0 auto !important;
  padding: 32px 28px 64px !important;
  box-sizing: border-box !important;
}

/* Ale sekcje maja swoj wlasny padding z os-policy-section */
.os-policy-section {
  margin-bottom: 40px !important;
  padding-bottom: 40px !important;
}

/* os-policy-wrap: wyłącz breakout 100vw – treść polityki nie potrzebuje pełnej szerokości */
.os-policy-wrap {
  position: static !important;
  width: auto !important;
  max-width: var(--max-w) !important;
  left: auto !important;
  transform: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* os-policy-layout: wyśrodkowanie siatki w ramach wrappera */
.os-policy-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
  padding: 0;
  margin: 0;
}

/* Fix podwójnego zagnieżdżenia os-policy-wrap (outer > inner — inner dostaje 0 padding)
   Specyficzność (0,3,0) bije reguły (0,2,0) wyżej w pliku */
.os-policy-wrap .os-policy-wrap.wp-block-group {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Wyrównanie górne: TOC i content zaczynają się na tej samej wysokości */
.os-policy-toc h4 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.os-policy-toc ul {
  margin-top: 0 !important;
}

/* Pierwszy nagłówek h2 w content — zerujemy margin-top żeby wyrównać z TOC */
.os-policy-content .os-policy-section:first-child h2.wp-block-heading,
.os-policy-content>.wp-block-group:first-child h2.wp-block-heading,
.os-policy-layout .os-policy-content h2.wp-block-heading:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Padding na mobile dla polityki */
@media (max-width: 992px) {
  .os-policy-wrap {
    padding: 28px 20px 48px !important;
  }

  .os-policy-content,
  .os-policy-section {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  /* Tabele i pre nie wychodza poza ekran */
  .os-policy-section table,
  .os-policy-section pre {
    max-width: 100%;
    overflow-x: auto;
    display: block;
  }
}

/* POLITYKA - poprawka specyficznosci na mobile */
@media (max-width: 992px) {
  .os-policy-wrap.wp-block-group {
    padding: 28px 20px 48px !important;
  }

  /* inner wrap na mobile też musi mieć 0 */
  .os-policy-wrap .os-policy-wrap.wp-block-group {
    padding: 0 !important;
  }
}


/* ==========================================================================
   ODPORNOŚĆ NA EDYCJĘ — fallback selektory dla sekcji gridowych
   Działają nawet jeśli Gutenberg upuści klasę podczas edycji bloku.
   ========================================================================== */

/* os-services-grid: siatka kart usług (Usługi, strona główna) */
.os-services-section .os-container>.wp-block-group:last-child {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 44px;
}

/* os-scope-grid: siatka zakresu pomocy (Dla Seniora) */
.os-scope-section .os-container>.wp-block-group:last-child {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 700px) {
  .os-scope-section .os-container>.wp-block-group:last-child {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 440px) {
  .os-scope-section .os-container>.wp-block-group:last-child {
    grid-template-columns: 1fr;
  }
}

/* os-area-grid: siatka zasięgu dojazdu (Usługi) */
.os-area-section .os-container>.wp-block-group:last-child {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

@media (max-width: 700px) {
  .os-area-section .os-container>.wp-block-group:last-child {
    grid-template-columns: 1fr;
  }
}

/* os-repair-grid: siatka kart napraw (Usługi)
   :not(.os-faq-layout) – wyklucza stronę FAQ, gdzie os-faq-layout
   jest pierwszym wp-block-group wewnątrz os-container-wide */
.os-container-wide>.wp-block-group:first-child:not(.os-faq-layout) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .os-container-wide>.wp-block-group:first-child:not(.os-faq-layout) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .os-container-wide>.wp-block-group:first-child:not(.os-faq-layout) {
    grid-template-columns: 1fr;
  }
}

/* os-tabs-wrap: margines nad sekcją tabów (Cennik, Jak działamy) */
.os-cennik .os-container>.wp-block-group:last-child,
.os-jak .container>.wp-block-group:last-child {
  margin-top: 40px;
}