/* =============================================================
   pages.css v2.1 - Blog, Post, Oferta-kategoria, Srv, Oferta
   ============================================================= */


/*  Breadcrumb (globalny)  */
.breadcrumb {
    display: flex; gap: 8px; align-items: center;
    font-size: 13px; color: rgba(255,255,255,.35);
    margin-bottom: 20px; flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .4; }
.breadcrumb span:last-child { opacity: 1; color: rgba(255,255,255,.6); }

/* Aliasy breadcrumb - stare pliki używają innych nazw klas */
.post-breadcrumb,
.sp-breadcrumb {
    display: flex; gap: 8px; align-items: center;
    font-size: 13px; color: rgba(255,255,255,.35);
    margin-bottom: 20px; flex-wrap: wrap;
}
.post-breadcrumb a,
.sp-breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.post-breadcrumb a:hover,
.sp-breadcrumb a:hover { color: #fff; }
.post-breadcrumb span,
.sp-breadcrumb span { opacity: .4; }
.post-breadcrumb span:last-child,
.sp-breadcrumb span:last-child { opacity: 1; color: rgba(255,255,255,.6); }


/*  Sidebar (wspólny)  */
.sidebar-box {
    background: #fff; border-radius: 16px; padding: 24px;
    margin-bottom: 20px; box-shadow: 0 2px 16px rgba(0,0,0,.06);
    border: 1px solid #f0f0f0;
}
.sidebar-box-title {
    font-size: 11px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: #9ca3af;
    margin-bottom: 14px; padding-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
}
.sidebar-box--cta { background: var(--dark); border-color: rgba(255,255,255,.06); }
.sidebar-box--cta .sidebar-box-title { color: rgba(255,255,255,.35); border-color: rgba(255,255,255,.08); }
.sidebar-box--cta p { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.65; margin: 0; }
.sidebar-link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 0; font-size: 14px; color: #374151;
    text-decoration: none; border-bottom: 1px solid #f9fafb; transition: color .2s;
}
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--blue); }
.sidebar-link--active { color: var(--blue); font-weight: 600; }
.sidebar-cnt {
    background: #f3f4f6; border-radius: 20px; padding: 2px 8px;
    font-size: 11px; color: #6b7280; flex-shrink: 0; margin-left: 8px;
}


/*  PAGE HERO (wspólny / generic)  */
.page-hero { background: var(--dark); padding: 120px 5% 72px; text-align: center; }
.page-hero-inner { max-width: 860px; margin: 0 auto; }
.page-hero-title {
    font-size: clamp(32px, 4.5vw, 58px); font-weight: 900; color: #fff;
    margin: 12px 0 18px; line-height: 1.1; letter-spacing: -.025em;
}
.page-hero-title em,
.blog-page-hero-title em,
.cat-hero-title em,
.srv-hero-title em,
.oferta-hero__title em {
    background: var(--grad); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text; font-style: normal;
}
.page-hero-sub { color: var(--muted); font-size: clamp(15px,2vw,17px); max-width: 600px; margin: 0 auto 32px; line-height: 1.75; }
.page-hero-label {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: #818cf8; margin-bottom: 18px;
}
.page-hero-label::before {
    content: ''; width: 28px; height: 2px;
    background: var(--grad); border-radius: 2px; flex-shrink: 0;
}
.page-hero-cat,
.post-hero-cat {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    background: rgba(99,102,241,.15); color: #818cf8;
    padding: 5px 14px; border-radius: 20px;
    margin-bottom: 18px;
    border: 1px solid rgba(129,140,248,.2);
}


/*  BLOG: Page hero  */
.blog-page-hero { background: var(--dark); padding: 120px 5% 72px; }
.blog-page-hero-inner { max-width: 1280px; margin: 0 auto; }
.blog-page-hero-title {
    font-size: clamp(40px,6vw,72px); font-weight: 900; color: #fff;
    margin: 12px 0 18px; line-height: 1.1; letter-spacing: -.03em;
}
.blog-page-hero-sub { color: var(--muted); font-size: clamp(15px,2vw,17px); max-width: 560px; line-height: 1.75; }


/*  BLOG: Featured post  */
.blog-featured-section { background: #f8fafc; padding: 56px 5% 0; }
.blog-featured-inner { max-width: 1280px; margin: 0 auto; }
.blog-featured-card {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0; border-radius: 20px; overflow: hidden;
    background: #fff; box-shadow: 0 4px 32px rgba(0,0,0,.08);
    text-decoration: none; transition: box-shadow .3s, transform .3s;
}
.blog-featured-card:hover { box-shadow: 0 12px 48px rgba(0,0,0,.14); transform: translateY(-2px); }
.blog-featured-img { position: relative; min-height: 380px; overflow: hidden; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.blog-featured-card:hover .blog-featured-img img { transform: scale(1.04); }
.blog-featured-img-placeholder {
    width: 100%; height: 100%; min-height: 380px;
    background: linear-gradient(135deg,#0d1936,#1a2a5e);
    display: flex; align-items: center; justify-content: center;
}
.blog-featured-cat {
    position: absolute; top: 20px; left: 20px;
    background: var(--blue); color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; padding: 5px 12px; border-radius: 20px;
}
.blog-featured-body {
    padding: 48px 52px; display: flex; flex-direction: column; justify-content: center;
}
.blog-featured-meta { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #9ca3af; margin-bottom: 16px; }
.blog-meta-dot { opacity: .4; }
.blog-featured-title {
    font-size: clamp(22px,3vw,32px); font-weight: 900; color: var(--dark);
    margin: 0 0 16px; line-height: 1.25; letter-spacing: -.02em;
}
.blog-featured-excerpt { font-size: 16px; color: #4b5563; line-height: 1.7; margin-bottom: 28px; flex: 1; }
.blog-featured-cta {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 700; color: var(--blue);
    transition: gap .2s;
}
.blog-featured-card:hover .blog-featured-cta { gap: 12px; }


/*  BLOG: Main section + grid  */
.blog-main-section { background: #f8fafc; padding: 48px 5% 80px; }
.blog-main-inner { max-width: 1280px; margin: 0 auto; }
.blog-filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.blog-filter-item {
    padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 600;
    background: #fff; color: #374151; text-decoration: none;
    border: 1.5px solid #e5e7eb; transition: all .2s;
}
.blog-filter-item:hover { border-color: var(--blue); color: var(--blue); }
.blog-filter-item--active { background: var(--blue); color: #fff; border-color: var(--blue); }
.blog-grid--listing {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-bottom: 48px;
}
.blog-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06); text-decoration: none;
    display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s;
    border: 1px solid #f0f0f0;
}
.blog-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.12); transform: translateY(-3px); }
.bimg { height: 200px; overflow: hidden; background: linear-gradient(135deg,#0d1936,#1a2a5e); flex-shrink: 0; position: relative; }
.bimg--sm { height: 150px; }
.bimg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.blog-card:hover .bimg img { transform: scale(1.05); }
.bimg-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-tag {
    display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--blue); background: rgba(99,102,241,.08);
    padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; align-self: flex-start;
}
.blog-title { font-size: 17px; font-weight: 800; color: var(--dark); line-height: 1.35; margin-bottom: 8px; }
.blog-excerpt { font-size: 14px; color: #6b7280; line-height: 1.65; flex: 1; margin-bottom: 16px; }
.blog-meta { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #9ca3af; margin-top: auto; }
.blog-more { margin-left: auto; color: var(--blue); font-weight: 600; transition: gap .2s; white-space: nowrap; }
.blog-empty { text-align: center; padding: 80px 20px; color: #6b7280; font-size: 18px; }


/*  POST: Hero ─ */
.post-hero { background: var(--dark); padding: 120px 5% 0; }
.post-hero-inner { max-width: 860px; margin: 0 auto; text-align: center; padding-bottom: 48px; }
.post-hero-title {
    font-size: clamp(32px, 4.5vw, 58px); font-weight: 900; color: #fff;
    margin: 0 0 18px; line-height: 1.1; letter-spacing: -.025em;
}
.post-hero-sub { color: var(--muted); font-size: clamp(15px,2vw,17px); line-height: 1.75; max-width: 600px; margin: 0 auto 32px; }
.post-hero-meta { display: flex; gap: 8px; justify-content: center; align-items: center; font-size: 13px; color: rgba(255,255,255,.4); }
.post-meta-dot { opacity: .4; }
.post-hero-cover { max-width: 1280px; margin: 0 auto; border-radius: 16px 16px 0 0; overflow: hidden; }
.post-hero-cover img { width: 100%; height: 480px; object-fit: cover; display: block; }


/*  POST: Body layout  */
.post-body-wrap {
    display: grid; grid-template-columns: 1fr 300px;
    gap: 52px; max-width: 1280px; margin: 0 auto;
    padding: 64px 5% 80px; align-items: start;
}
.post-article { min-width: 0; }
.post-sidebar { position: sticky; top: 88px; }


/*  POST: Prose  */
.prose { line-height: 1.85; color: #1f2937; font-size: 17px; }
.prose h2 { font-size: clamp(22px,3vw,28px); font-weight: 800; margin: 48px 0 16px; color: var(--dark); letter-spacing: -.02em; }
.prose h3 { font-size: clamp(18px,2.5vw,22px); font-weight: 700; margin: 36px 0 12px; }
.prose p  { margin: 0 0 20px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 20px; }
.prose li { margin-bottom: 8px; line-height: 1.7; }
.prose ul li::marker { color: var(--blue); }
.prose blockquote { border-left: 3px solid var(--blue); padding: 14px 20px; background: #f8faff; border-radius: 0 10px 10px 0; margin: 28px 0; font-style: italic; color: #374151; }
.prose strong { font-weight: 700; color: var(--dark); }
.prose a { color: var(--blue); text-decoration: underline; }
.prose code { background: #f1f5f9; border-radius: 4px; padding: 2px 6px; font-size: .88em; font-family: monospace; }
.prose pre { background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: 20px 24px; overflow-x: auto; font-size: 14px; margin: 24px 0; }
.prose pre code { background: none; padding: 0; }


/*  POST: Tagi, nawigacja, powiązane ─ */
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 40px 0 0; padding-top: 28px; border-top: 1px solid #e5e7eb; }
.post-tags-label { font-size: 13px; color: #9ca3af; font-weight: 600; }
.post-tag { padding: 5px 14px; background: #f3f4f6; border-radius: 20px; font-size: 13px; color: #374151; text-decoration: none; transition: all .2s; }
.post-tag:hover { background: var(--blue); color: #fff; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid #e5e7eb; }
.post-nav-item { display: flex; flex-direction: column; gap: 6px; }
.post-nav-item--next { text-align: right; }
.post-nav-dir { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9ca3af; }
.post-nav-title { font-size: 15px; font-weight: 700; color: var(--dark); text-decoration: none; line-height: 1.4; transition: color .2s; }
.post-nav-title:hover { color: var(--blue); }
.post-related { margin-top: 60px; padding-top: 48px; border-top: 1px solid #e5e7eb; }
.post-related-title { font-size: 22px; font-weight: 800; margin-bottom: 28px; color: var(--dark); }
.blog-grid--related { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }


/*  OFERTA KATEGORIA: Cat hero ─ */
.cat-hero { background: var(--dark); padding: 120px 5% 80px; }
.cat-hero-inner { max-width: 1280px; margin: 0 auto; }
.cat-hero-title {
    font-size: clamp(32px, 4.5vw, 58px); font-weight: 900; color: #fff;
    margin: 12px 0 20px; line-height: 1.1; letter-spacing: -.025em;
}
.cat-hero-sub { color: var(--muted); font-size: clamp(15px,2vw,17px); max-width: 700px; line-height: 1.75; margin-bottom: 36px; }
.cat-hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }


/*  Why section  */
.why-section { background: #f8fafc; padding: 80px 5%; }
.why-inner { max-width: 1280px; margin: 0 auto; }
.why-head { text-align: center; margin-bottom: 56px; }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.why-card {
    background: #fff; border-radius: 16px; padding: 32px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06); border: 1px solid #f0f0f0;
    transition: box-shadow .3s, transform .3s;
}
.why-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.why-card-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(99,102,241,.1); display: flex; align-items: center;
    justify-content: center; color: var(--blue); margin-bottom: 18px;
}
.why-card-title { font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.why-card-desc { font-size: 14px; color: #6b7280; line-height: 1.65; }


/*  Cat services list (card-row) ─ */
.cat-services-section { padding: 80px 5%; background: #fff; }
.cat-services-inner { max-width: 1280px; margin: 0 auto; }
.cat-services-head { text-align: center; margin-bottom: 52px; }
.cat-services-list { display: flex; flex-direction: column; gap: 16px; }
.cat-srv-card {
    display: flex; align-items: center; gap: 24px;
    background: #f8fafc; border: 1.5px solid #e5e7eb; border-radius: 16px;
    padding: 28px 32px; text-decoration: none;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.cat-srv-card:hover { border-color: var(--blue); box-shadow: 0 6px 24px rgba(99,102,241,.1); transform: translateX(4px); }
.cat-srv-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: rgba(99,102,241,.08); display: flex; align-items: center;
    justify-content: center; color: var(--blue); flex-shrink: 0;
}
.cat-srv-body { flex: 1; min-width: 0; }
.cat-srv-title { font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.cat-srv-desc { font-size: 14px; color: #6b7280; line-height: 1.6; }
.cat-srv-price { font-size: 13px; font-weight: 700; color: var(--blue); margin-top: 6px; }
.cat-srv-arrow { color: #d1d5db; flex-shrink: 0; transition: color .2s, transform .2s; }
.cat-srv-card:hover .cat-srv-arrow { color: var(--blue); transform: translateX(4px); }


/*  Other cats ─ */
.other-cats-section {
    background: var(--dark);
    padding: 72px 5%;
}
.other-cats-section .section-label {
    color: rgba(255,255,255,.45) !important;
    border-color: rgba(255,255,255,.15) !important;
    background: transparent !important;
}
.other-cats-section .section-h2 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
.other-cats-section .section-h2 em {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; font-style: normal;
}
.other-cats-inner { max-width: 1280px; margin: 0 auto; }
.other-cats-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 16px; margin-top: 36px; }
.other-cat-card {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.1);
    border-radius: 14px; padding: 20px 24px; text-decoration: none;
    font-weight: 700; font-size: 16px; color: rgba(255,255,255,.85); transition: all .2s;
}
.other-cat-card:hover {
    background: rgba(255,255,255,.1); border-color: rgba(99,102,241,.6);
    color: #fff; transform: translateY(-2px);
}
.other-cat-arrow { color: rgba(255,255,255,.3); transition: color .2s, transform .2s; }
.other-cat-card:hover .other-cat-arrow { color: #818cf8; transform: translateX(4px); }


/*  FAQ  */
.faq-section { background: #f8fafc; padding: 80px 5%; }
.faq-inner { max-width: 860px; margin: 0 auto; }
.faq-head { text-align: center; margin-bottom: 52px; }
.faq-head .section-label {
    color: var(--blue) !important;
    border-color: rgba(99,102,241,.3) !important;
    background: rgba(99,102,241,.06) !important;
}
.faq-head .section-h2 {
    color: var(--dark) !important;
    -webkit-text-fill-color: var(--dark) !important;
}
.faq-head .section-h2 em {
    background: var(--grad); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text; font-style: normal;
}
.faq-item { border: 1.5px solid #e5e7eb; border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
.faq-item--open { border-color: var(--blue); }
.faq-q {
    width: 100%; background: none; border: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 22px 28px; font-size: 17px; font-weight: 700; color: var(--dark);
    text-align: left; transition: background .2s;
}
.faq-q:hover { background: #f8fafc; }
.faq-item--open .faq-q { background: #f8fafc; color: var(--blue); }
.faq-icon { flex-shrink: 0; transition: transform .3s; }
.faq-item--open .faq-icon { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item--open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 28px 22px; font-size: 15px; color: #4b5563; line-height: 1.75; }


/*  Why / Cat services: jasne tło - section-label fix ─ */
.why-head .section-label,
.cat-services-head .section-label {
    color: var(--blue) !important;
    border-color: rgba(99,102,241,.3) !important;
    background: rgba(99,102,241,.06) !important;
}
.why-head .section-h2,
.cat-services-head .section-h2 {
    color: var(--dark) !important;
    -webkit-text-fill-color: var(--dark) !important;
}
.why-head .section-h2 em,
.cat-services-head .section-h2 em {
    background: var(--grad); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text; font-style: normal;
}


/*  Cat CTA  */
.cat-cta-section { background: var(--dark); padding: 88px 5%; text-align: center; }
.cat-cta-inner { max-width: 640px; margin: 0 auto; }
.cat-cta-inner h2 { font-size: clamp(30px,4vw,44px); font-weight: 900; color: #fff; margin-bottom: 14px; letter-spacing: -.02em; }
.cat-cta-inner p { color: var(--muted); font-size: 17px; line-height: 1.7; margin-bottom: 36px; }
.btn-primary--lg { padding: 16px 40px; font-size: 17px; }


/*  usluga.php - service-layout ─ */
.service-layout {
    display: grid !important;
    grid-template-columns: 260px 1fr !important;
    gap: 48px; max-width: 1280px; margin: 0 auto;
    padding: 56px 5% 80px; align-items: start; box-sizing: border-box;
}
.service-sidebar { min-width: 0; position: sticky; top: 88px; }
.service-content {
    min-width: 0; background: #fff; border-radius: 16px;
    padding: 40px 48px; box-shadow: 0 2px 16px rgba(0,0,0,.05);
    border: 1px solid #f0f0f0;
}
.service-content .prose { max-width: 100%; }


/*  Srv Hero ─ */
.srv-hero { background: var(--dark); padding: 120px 5% 80px; }
.srv-hero-inner { max-width: 1280px; margin: 0 auto; }
.srv-hero-layout {
    display: grid; grid-template-columns: 1fr 340px;
    gap: 64px; align-items: center; margin-top: 32px;
}
.srv-hero-title {
    font-size: clamp(32px, 4.5vw, 58px); font-weight: 900; color: #fff;
    margin: 12px 0 20px; line-height: 1.1; letter-spacing: -.025em;
}
.srv-hero-sub {
    color: var(--muted); font-size: clamp(15px,2vw,17px);
    line-height: 1.75; margin-bottom: 36px; max-width: 600px;
}
.srv-hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 50px; font-size: 15px; font-weight: 700;
    color: rgba(255,255,255,.65); text-decoration: none;
    border: 1.5px solid rgba(255,255,255,.12); transition: all .25s;
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }

.srv-hero-right { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.srv-hero-icon-wrap {
    width: 160px; height: 160px;
    background: rgba(99,102,241,.12); border: 1px solid rgba(99,102,241,.2);
    border-radius: 32px; display: flex; align-items: center; justify-content: center;
    color: #818cf8;
}
.srv-hero-icon-wrap svg { width: 80px; height: 80px; stroke-width: 1.2; }
.srv-hero-price {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px; padding: 16px 28px; text-align: center;
}
.srv-hero-price-lbl { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 4px; }
.srv-hero-price-val { font-size: 28px; font-weight: 900; color: #fff; }


/*  Treść usługi ─ */
.srv-content-section { background: #fff; padding: 72px 5%; }
.srv-content-inner { max-width: 900px; margin: 0 auto; }
.srv-prose { font-size: 17px; line-height: 1.85; }

.srv-placeholder {
    text-align: center; padding: 60px 20px; background: #f8fafc;
    border-radius: 20px; border: 1.5px dashed #e5e7eb;
}
.srv-placeholder-icon { margin-bottom: 20px; }
.srv-placeholder p { font-size: 17px; color: #6b7280; line-height: 1.7; max-width: 480px; margin: 0 auto; }


/*  Powiązane usługi ─ */
.srv-related-section { background: #f8fafc; padding: 72px 5%; }
.srv-related-inner { max-width: 1280px; margin: 0 auto; }
.srv-related-head { text-align: center; margin-bottom: 48px; }
.srv-related-head .section-label {
    color: var(--blue) !important; border-color: rgba(99,102,241,.3) !important;
    background: rgba(99,102,241,.06) !important;
}
.srv-related-head .section-h2 { color: var(--dark) !important; -webkit-text-fill-color: var(--dark) !important; }
.srv-related-head .section-h2 em {
    background: var(--grad); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text; font-style: normal;
}

.srv-related-section .tiles,
.srv-related-section .tiles-4,
.srv-related-section .tiles-5 {
    display: grid !important; grid-template-columns: repeat(3,1fr) !important;
    gap: 20px !important; margin-bottom: 0;
}
.srv-related-section .tile {
    background: #fff !important; border: 1.5px solid #e5e7eb !important;
    border-radius: var(--radius-sm) !important; padding: 28px 24px !important;
    text-decoration: none; display: flex !important; flex-direction: column !important;
    gap: 10px; width: auto !important; min-width: 0 !important;
}
.srv-related-section .tile-icon {
    width: 44px; height: 44px; background: rgba(99,102,241,.08);
    border-radius: 10px; display: flex; align-items: center;
    justify-content: center; color: var(--blue);
}
.srv-related-section .tile-title { font-size: 16px; font-weight: 800; color: var(--dark); line-height: 1.3; }
.srv-related-section .tile-desc { font-size: 13px; color: #6b7280; line-height: 1.6; flex: 1; }
.srv-related-section .tile-more { font-size: 13px; font-weight: 700; color: var(--blue); margin-top: auto; }


/*  Oferta główna (oferta.php)  */
.oferta-hero { background: var(--dark); padding: 120px 5% 72px; }
.oferta-hero__inner { max-width: 1280px; margin: 0 auto; }
.oferta-hero__title {
    font-size: clamp(32px, 4.5vw, 58px); font-weight: 900; color: #fff;
    margin: 12px 0 20px; line-height: 1.1; letter-spacing: -.025em;
}
.oferta-hero__title em {
    background: var(--grad); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text; font-style: normal;
}
.oferta-hero__sub {
    color: var(--muted); font-size: clamp(15px,2vw,17px);
    line-height: 1.75; max-width: 600px; margin-bottom: 36px;
}
.oferta-hero__anchors { display: flex; gap: 10px; flex-wrap: wrap; }
.oferta-anchor {
    padding: 8px 20px; border-radius: 50px; font-size: 13px; font-weight: 600;
    background: rgba(255,255,255,.07); color: rgba(255,255,255,.75);
    text-decoration: none; border: 1.5px solid rgba(255,255,255,.1); transition: all .2s;
}
.oferta-anchor:hover { background: rgba(99,102,241,.2); border-color: rgba(99,102,241,.5); color: #fff; }

.oferta-main { background: var(--bg); padding: 72px 5% 80px; }
.oferta-main__inner { max-width: 1280px; margin: 0 auto; }

.oferta-filar { margin-bottom: 64px; }
.oferta-filar__head {
    display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
    padding: 16px 24px; background: #fff; border-radius: var(--radius);
    border: 1px solid rgba(34,68,204,.1); box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.oferta-filar__accent { flex-shrink: 0; width: 3px; height: 44px; background: var(--grad); border-radius: 3px; }
.oferta-filar__icon {
    flex-shrink: 0; width: 46px; height: 46px;
    background: linear-gradient(135deg,rgba(34,68,204,.08),rgba(129,140,248,.06));
    border: 1px solid rgba(34,68,204,.12); border-radius: 14px 4px 14px 4px;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue); padding: 10px; box-sizing: border-box;
}
.oferta-filar__icon svg { width: 100%; height: 100%; }
.oferta-filar__head-text { flex: 1; min-width: 0; }
.oferta-filar__head-text h2 { font-size: 18px; font-weight: 800; color: #0f172a; margin: 0 0 2px; line-height: 1.25; }
.oferta-filar__head-text p {
    font-size: 13px; color: #64748b; margin: 0; line-height: 1.55;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.oferta-filar__more {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none;
    padding: 8px 18px; border-radius: 50px; border: 1.5px solid rgba(34,68,204,.2);
    transition: all .2s; white-space: nowrap;
}
.oferta-filar__more:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.oferta-divider { border: none; border-top: 1px solid rgba(34,68,204,.08); margin: 0 0 64px; }
.oferta-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* Gridy kafelków w ofercie */
.oferta-main .tiles,
.oferta-main .tiles-4,
.oferta-main .tiles-5,
.oferta-main .tiles-6 { display: grid; gap: 20px; }
.oferta-main .tiles  { grid-template-columns: repeat(3,1fr); }
.oferta-main .tiles-4 { grid-template-columns: repeat(4,1fr); }
.oferta-main .tiles-6 { grid-template-columns: repeat(3,1fr); }
.oferta-main .tiles-5 { grid-template-columns: repeat(6,1fr); }
.oferta-main .tiles-5 .tile:nth-child(1) { grid-column: 1/3; }
.oferta-main .tiles-5 .tile:nth-child(2) { grid-column: 3/5; }
.oferta-main .tiles-5 .tile:nth-child(3) { grid-column: 5/7; }
.oferta-main .tiles-5 .tile:nth-child(4) { grid-column: 2/4; }
.oferta-main .tiles-5 .tile:nth-child(5) { grid-column: 4/6; }


/*  Responsive ─ */
@media (max-width: 1100px) {
    .why-grid { grid-template-columns: repeat(2,1fr); }
    .blog-grid--listing { grid-template-columns: repeat(2,1fr); }
    .oferta-main .tiles,
    .oferta-main .tiles-4,
    .oferta-main .tiles-6 { grid-template-columns: repeat(2,1fr); }
    .oferta-main .tiles-5 { grid-template-columns: repeat(2,1fr); }
    .oferta-main .tiles-5 .tile:nth-child(n) { grid-column: auto; }
}
@media (max-width: 960px) {
    .srv-hero-layout { grid-template-columns: 1fr; gap: 40px; }
    .srv-hero-right { flex-direction: row; justify-content: flex-start; }
    .srv-hero-icon-wrap { width: 100px; height: 100px; border-radius: 20px; }
    .srv-hero-icon-wrap svg { width: 52px; height: 52px; }
    .srv-related-section .tiles,
    .srv-related-section .tiles-4,
    .srv-related-section .tiles-5 { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 900px) {
    .post-hero,
    .cat-hero,
    .srv-hero,
    .oferta-hero,
    .page-hero,
    .blog-page-hero { padding-top: 100px; padding-bottom: 56px; }
    .blog-featured-card { grid-template-columns: 1fr; }
    .blog-featured-img { min-height: 260px; }
    .blog-featured-body { padding: 32px 28px; }
    .post-body-wrap { grid-template-columns: 1fr; padding: 40px 5% 60px; }
    .post-sidebar { display: none; }
    .post-hero-cover img { height: 240px; }
    .blog-grid--related { grid-template-columns: repeat(2,1fr); }
    .cat-srv-card { padding: 20px 24px; }
    .service-layout { grid-template-columns: 1fr !important; padding: 36px 5% 60px; }
    .service-sidebar { display: none; }
    .service-content { padding: 28px 24px; }
    .post-hero-sub,
    .cat-hero-sub,
    .srv-hero-sub,
    .oferta-hero__sub,
    .page-hero-sub { max-width: 100%; }
}
@media (max-width: 768px) {
    .oferta-filar__more { display: none; }
    .oferta-filar__head-text p { white-space: normal; }
}
@media (max-width: 640px) {
    .post-hero,
    .cat-hero,
    .srv-hero,
    .oferta-hero,
    .page-hero { padding-top: 88px; padding-bottom: 44px; }
    .blog-grid--listing, .blog-grid--related { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; }
    .blog-page-hero { padding: 100px 5% 52px; }
    .cat-hero-ctas { flex-direction: column; }
    .faq-q { font-size: 15px; padding: 18px 20px; }
    .faq-a-inner { padding: 0 20px 18px; }
    .srv-hero-ctas { flex-direction: column; align-items: flex-start; }
    .srv-content-section { padding: 48px 5%; }
    .srv-related-section { padding: 52px 5%; }
    .srv-related-section .tiles,
    .srv-related-section .tiles-4,
    .srv-related-section .tiles-5 { grid-template-columns: 1fr !important; }
    .oferta-main .tiles,
    .oferta-main .tiles-4,
    .oferta-main .tiles-5,
    .oferta-main .tiles-6 { grid-template-columns: 1fr; }
    .oferta-main .tiles-5 .tile:nth-child(n) { grid-column: auto; }
}
