/* ============================================================
   SERWIS URZĄDZEŃ — hub (page-serwis.php)
   ============================================================ */

/* ── WRAP ───────────────────────────────────────────────────── */
.kr-sh-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── BREADCRUMB — pełna szerokość ───────────────────────────── */
.kr-sh-bc {
    width: 100%;
    background: var(--gray-l);
    border-bottom: 1px solid var(--gray-b);
    padding: 11px 0;
    font-size: 13px;
    color: var(--gray-m);
}
.kr-sh-bc a { color: var(--gray-m); text-decoration: none; }
.kr-sh-bc a:hover { color: var(--red); }
.kr-sh-bc span { margin: 0 7px; }
.kr-sh-bc strong { color: var(--black); font-weight: 600; }

/* ── HERO — tylko czarne tło + nadtytuł + H1 ────────────────── */
.kr-sh-hero {
    background: var(--black);
    padding: 44px 0 40px;
}
.kr-sh-hero__nad {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 10px;
}
.kr-sh-hero__h1 {
    font-size: clamp(26px, 3.2vw, 38px) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

/* ── KAFELKI — pełna szerokość, zaraz pod hero ──────────────── */
.kr-sh-tiles {
    width: 100%;
    border-bottom: 1px solid var(--gray-b);
}
.kr-sh-tiles__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-left: 1px solid var(--gray-b);
}
.kr-sh-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 36px 16px 32px;
    text-decoration: none;
    color: var(--black);
    border-right: 1px solid var(--gray-b);
    border-bottom: 1px solid var(--gray-b);
    transition: background .18s, color .18s;
    text-align: center;
    gap: 14px;
}
.kr-sh-tile:hover {
    background: var(--gray-l);
    color: var(--red);
}
.kr-sh-tile__icon {
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s;
}
.kr-sh-tile:hover .kr-sh-tile__icon { transform: translateY(-2px); }
.kr-sh-tile__icon svg {
    width: 44px;
    height: 44px;
}
.kr-sh-tile__label {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: inherit;
}

/* ── LAYOUT: main + sidebar ─────────────────────────────────── */
.kr-sh-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 60px;
    padding-top: 56px;
    padding-bottom: 60px;
    align-items: start;
}

/* ── INTRO: lead + przyciski ────────────────────────────────── */
.kr-sh-intro {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-b);
}
.kr-sh-intro__lead {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
    max-width: 680px;
    margin: 0 0 24px;
}
.kr-sh-intro__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.kr-sh-btn-ghost {
    display: inline-block;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    border: 1px solid #bbb;
    border-radius: 3px;
    text-decoration: none;
    transition: border-color .2s;
}
.kr-sh-btn-ghost:hover { border-color: var(--black); color: var(--black); }
.kr-sh-btn-red {
    display: inline-block;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    background: var(--red);
    border-radius: 3px;
    text-decoration: none;
    letter-spacing: .03em;
    transition: background .2s;
}
.kr-sh-btn-red:hover { background: #c0000f; color: var(--white); }

/* ── SEKCJE ─────────────────────────────────────────────────── */
.kr-sh-section {
    margin-bottom: 52px;
    padding-bottom: 52px;
    border-bottom: 1px solid var(--gray-b);
}
.kr-sh-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.kr-sh-sec__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--black);
    margin: 0 0 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--black);
    display: inline-block;
}

/* ── GRAFIKA ────────────────────────────────────────────────── */
.kr-sh-jak__img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 36px;
    border-radius: 3px;
}

/* ── KROKI ──────────────────────────────────────────────────── */
.kr-sh-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}
.kr-sh-steps li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--gray-b);
    font-size: 14px;
    line-height: 1.65;
    color: var(--black);
}
.kr-sh-steps li:last-child { border-bottom: none; }
.kr-sh-steps li a { color: var(--red); font-weight: 600; text-decoration: none; }
.kr-sh-steps li a:hover { text-decoration: underline; }
.kr-sh-steps__num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

/* ── WYRÓŻNIKI ──────────────────────────────────────────────── */
.kr-sh-why__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.kr-sh-why__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--gray-b);
    border-radius: 3px;
    background: var(--gray-l);
}
.kr-sh-why__icon {
    flex-shrink: 0;
    color: var(--red);
    margin-top: 1px;
}
.kr-sh-why__icon svg { width: 22px; height: 22px; display: block; }
.kr-sh-why__item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 6px;
    line-height: 1.4;
}
.kr-sh-why__item p {
    font-size: 13px;
    color: var(--gray-m);
    line-height: 1.65;
    margin: 0;
}

/* ── SIDEBAR ────────────────────────────────────────────────── */
.kr-sh-sidebar { position: sticky; top: 100px; }
.kr-sh-sidebar__box {
    border: 1px solid var(--gray-b);
    border-left: 3px solid var(--red);
    border-radius: 3px;
    padding: 24px 20px;
    background: var(--white);
}
.kr-sh-sidebar__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 10px;
}
.kr-sh-sidebar__text {
    font-size: 13px;
    color: var(--gray-m);
    line-height: 1.7;
    margin: 0 0 16px;
}
.kr-sh-sidebar__link {
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
    text-decoration: none;
}
.kr-sh-sidebar__link:hover { text-decoration: underline; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .kr-sh-tiles__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
    .kr-sh-layout { grid-template-columns: 1fr; gap: 0; }
    .kr-sh-sidebar { position: static; padding-bottom: 40px; border-bottom: 1px solid var(--gray-b); margin-bottom: 40px; order: -1; }
    .kr-sh-why__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .kr-sh-wrap { padding: 0 16px; }
    .kr-sh-tiles__grid { grid-template-columns: repeat(2, 1fr); }
    .kr-sh-hero { padding: 32px 0 28px; }
    .kr-sh-layout { padding-top: 40px; padding-bottom: 40px; }
    .kr-sh-intro { margin-bottom: 36px; padding-bottom: 36px; }
    .kr-sh-section { margin-bottom: 40px; padding-bottom: 40px; }
}

a.kr-sh-btn-red:hover {
    color: #fff !important;
    text-decoration: none !important;
}
