/* No1 Page Sections — front-end. Bazuje na preview.html, kolorystyka brandu. */
.no1ps-page {
    --no1ps-accent: #c52423;
    --no1ps-accent-dark: #a01d1c;
    --no1ps-card-bg: #ffffff;
    --no1ps-band: #f4f1ee;
    --no1ps-radius: 14px;
    background: #ffffff;
}

/* Pasy sekcji stykają się (padding zamiast marginesów), tło naprzemienne */
.no1ps-page .no1ps-section {
    margin: 0;
    padding: 70px 0;
}
.no1ps-page .no1ps-section:first-child {
    padding-top: 40px;
}

/* Co druga sekcja inne tło — automatycznie wg pozycji (hero jest 1., więc bez tła) */
.no1ps-page > .no1ps-section:nth-of-type(even) {
    background: var(--no1ps-band);
}

/* Krótki opis (1.5) */
.no1ps-page .no1ps-desc-text {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
}
.no1ps-page .no1ps-desc-text p {
    margin: 0 0 14px;
}
.no1ps-page .no1ps-desc-text p:last-child {
    margin-bottom: 0;
}

/* Nagłówki sekcji */
.no1ps-page .no1ps-heading {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 30px;
    color: #1a1a1a;
}
.no1ps-page .no1ps-heading-lg {
    margin-bottom: 45px;
}

/* Przyciski */
.no1ps-page .no1ps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
    border: 2px solid transparent;
    cursor: pointer;
}
.no1ps-page .no1ps-btn-accent {
    background: var(--no1ps-accent);
    color: #fff;
}
.no1ps-page .no1ps-btn-accent:hover {
    background: var(--no1ps-accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 36, 35, .28);
}
.no1ps-page .no1ps-btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .8);
}
.no1ps-page .no1ps-btn-outline:hover {
    background: #fff;
    color: #1a1a1a;
}
.no1ps-page .no1ps-btn-lg {
    padding: 15px 40px;
    font-size: 17px;
}

/* HERO */
.no1ps-page .no1ps-hero {
    position: relative;
    height: 500px;
    border-radius: var(--no1ps-radius);
    overflow: hidden;
    background: #444;
    color: #fff;
}
.no1ps-page .no1ps-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.no1ps-page .no1ps-hero-overlay {
    position: absolute;
    inset: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, .35));
}
.no1ps-page .no1ps-hero-title {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff;
}
.no1ps-page .no1ps-hero-subtitle {
    font-size: 19px;
    margin: 0 0 24px;
    max-width: 620px;
}
.no1ps-page .no1ps-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* Pasek cech */
.no1ps-page .no1ps-feature-bar {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 12px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .07);
    width: calc(100% - 60px);
    margin-left: auto;
    margin-right: auto;
}
.no1ps-page .no1ps-feature {
    flex: 1 1 auto;
}

/* Karty finish / installs */
.no1ps-page .no1ps-finish-card,
.no1ps-page .no1ps-install-card {
    background: var(--no1ps-card-bg);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}
.no1ps-page .no1ps-finish-card:hover,
.no1ps-page .no1ps-install-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}
.no1ps-page .no1ps-finish-card img,
.no1ps-page .no1ps-install-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
    display: block;
}
.no1ps-page .no1ps-install-card img {
    margin-bottom: 0;
}
.no1ps-page .no1ps-finish-label {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* Lightbox — sygnalizuj klikalność zdjęcia */
.no1ps-page .no1ps-lightbox {
    display: block;
    position: relative;
    cursor: zoom-in;
    border-radius: 10px;
    overflow: hidden;
}
.no1ps-page .no1ps-lightbox::after {
    content: "\1F50D"; /* emoji lupy — uniwersalne, niezależne od fontu ikon */
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background: rgba(197, 36, 35, .5);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}
.no1ps-page .no1ps-lightbox:hover::after {
    opacity: 1;
}

/* Kroki (How it works) — kafelki z plakietką numeru */
.no1ps-page .no1ps-steps {
    position: relative;
    --bs-gutter-x: 1.75rem;
    --bs-gutter-y: 1.75rem;
}
/* Kropkowana linia „procesu" — widoczna tylko w przerwach między kartami */
.no1ps-page .no1ps-steps::before {
    content: "";
    position: absolute;
    top: 68px;
    left: 8%;
    right: 8%;
    border-top: 2px dashed rgba(197, 36, 35, .35);
    z-index: 0;
}
.no1ps-page .no1ps-step {
    position: relative;
    z-index: 1;
    text-align: center;
    height: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px 22px 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.no1ps-page .no1ps-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .12);
    border-color: rgba(197, 36, 35, .25);
}
.no1ps-page .no1ps-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 20px;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg, var(--no1ps-accent), var(--no1ps-accent-dark));
    box-shadow: 0 10px 22px rgba(197, 36, 35, .32);
    transition: transform .3s ease;
}
.no1ps-page .no1ps-step:hover .no1ps-step-number {
    transform: scale(1.08);
}
.no1ps-page .no1ps-step-title {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1a1a1a;
}
.no1ps-page .no1ps-step-text {
    margin: 0;
    color: #666;
    line-height: 1.6;
}
@media (max-width: 767px) {
    .no1ps-page .no1ps-steps::before {
        display: none; /* przy układzie kolumnowym linia nie ma sensu */
    }
}

/* Accordion (Bootstrap) — akcenty brandu */
.no1ps-page .no1ps-accordion .accordion-button:not(.collapsed) {
    background: #fff;
    color: var(--no1ps-accent);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08);
}
.no1ps-page .no1ps-accordion .accordion-button:focus {
    box-shadow: 0 0 0 .2rem rgba(197, 36, 35, .18);
    border-color: rgba(197, 36, 35, .4);
}
.no1ps-page .no1ps-accordion-item {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid #eee;
}

/* CTA */
.no1ps-page .no1ps-cta {
    background: #fff;
    padding: 55px 30px;
    border-radius: var(--no1ps-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}
.no1ps-page .no1ps-cta-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
}
.no1ps-page .no1ps-cta-text {
    margin: 0 0 26px;
    color: #555;
}

/* Swiper — slidery finish / installs */
.no1ps-page .no1ps-finish-swiper,
.no1ps-page .no1ps-installs-swiper {
    position: relative;
    padding: 6px 4px 56px;
}
.no1ps-page .no1ps-finish-swiper .swiper-slide,
.no1ps-page .no1ps-installs-swiper .swiper-slide {
    height: auto;
}
.no1ps-page .no1ps-swiper-pagination {
    bottom: 12px;
}
.no1ps-page .swiper-pagination-bullet-active {
    background: var(--no1ps-accent);
}
.no1ps-page .no1ps-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--no1ps-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    transition: background .25s ease, color .25s ease;
}
.no1ps-page .no1ps-nav:hover {
    background: var(--no1ps-accent);
    color: #fff;
}
.no1ps-page .no1ps-nav-prev { left: -8px; }
.no1ps-page .no1ps-nav-next { right: -8px; }

@media (max-width: 991px) {
    .no1ps-page .no1ps-section { padding: 50px 0; }
    .no1ps-page .no1ps-section:first-child { padding-top: 30px; }
    .no1ps-page .no1ps-hero { height: 420px; }
    .no1ps-page .no1ps-hero-overlay { padding: 30px; }
    .no1ps-page .no1ps-feature-bar { width: 100%; margin-top: -20px; }
    .no1ps-page .no1ps-nav-prev { left: 4px; }
    .no1ps-page .no1ps-nav-next { right: 4px; }
}
@media (max-width: 575px) {
    .no1ps-page .no1ps-hero { height: 360px; }
    .no1ps-page .no1ps-feature-bar { flex-direction: column; }
    .no1ps-page .no1ps-heading { font-size: 26px; }
}

/* Lightbox (VenoBox) — overlay siedzi na <body>, więc reguła globalna.
   Wymuś zmieszczenie obrazu w oknie, bez scrollowania. */
.vbox-overlay .vbox-content img,
.vbox-overlay img.vbox-child {
    max-width: 92vw !important;
    max-height: 86vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}
