/* No1 Extensions Page — front-end. System wizualny spójny z no1-page-sections. */
.no1ext-page {
    --no1ext-accent: #c52423;
    --no1ext-accent-dark: #a01d1c;
    --no1ext-card-bg: #ffffff;
    --no1ext-band: #f4f1ee;
    --no1ext-radius: 14px;
    background: #ffffff;
    color: #1a1a1a;
}

/* Pasy sekcji stykają się (padding), tło naprzemienne wg pozycji */
.no1ext-page .no1ext-section {
    margin: 0;
    padding: 70px 0;
}
.no1ext-page .no1ext-section:first-child {
    padding-top: 40px;
}
.no1ext-page > .no1ext-section:nth-of-type(even),
.no1ext-page.no1ext-block .no1ext-section:nth-of-type(even) {
    background: var(--no1ext-band);
}

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

/* Przyciski */
.no1ext-page .no1ext-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;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.no1ext-page .no1ext-btn-accent {
    background: var(--no1ext-accent);
    color: #fff;
}
.no1ext-page .no1ext-btn-accent:hover {
    background: var(--no1ext-accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 36, 35, .28);
}
.no1ext-page .no1ext-btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .8);
}
.no1ext-page .no1ext-btn-outline:hover {
    background: #fff;
    color: #1a1a1a;
}
.no1ext-page .no1ext-btn-lg {
    padding: 15px 40px;
    font-size: 17px;
}

/* HERO */
.no1ext-page .no1ext-hero {
    position: relative;
    height: 500px;
    border-radius: var(--no1ext-radius);
    overflow: hidden;
    background: #2b2725;
    color: #fff;
}
.no1ext-page .no1ext-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.no1ext-page .no1ext-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));
}
.no1ext-page .no1ext-hero-title {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff;
}
.no1ext-page .no1ext-hero-subtitle {
    font-size: 19px;
    margin: 0 0 24px;
    max-width: 620px;
}
.no1ext-page .no1ext-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* Pasek zaufania — biała karta */
.no1ext-page .no1ext-feature-bar {
    background: #fff;
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 14px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .07);
}
.no1ext-page .no1ext-feature {
    flex: 1 1 auto;
}
.no1ext-page .no1ext-feature i {
    color: var(--no1ext-accent);
    margin-right: 4px;
}

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

/* What's included */
.no1ext-page .no1ext-included {
    list-style: none;
    margin: 0;
    padding: 0;
}
.no1ext-page .no1ext-included li {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 16px;
    color: #333;
}
.no1ext-page .no1ext-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 50%;
    background: rgba(197, 36, 35, .1);
    color: var(--no1ext-accent);
    font-size: 13px;
}

/* Recent projects (karty + lightbox) */
.no1ext-page .no1ext-project-card {
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    height: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
    transition: transform .3s ease, box-shadow .3s ease;
}
.no1ext-page .no1ext-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}
.no1ext-page .no1ext-lightbox {
    display: block;
    position: relative;
    cursor: zoom-in;
    border-radius: 10px;
    overflow: hidden;
}
.no1ext-page .no1ext-lightbox img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}
.no1ext-page .no1ext-lightbox::after {
    content: "\1F50D";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: rgba(197, 36, 35, .5);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}
.no1ext-page .no1ext-lightbox:hover::after {
    opacity: 1;
}

/* How we work — kafelki z plakietką numeru */
.no1ext-page .no1ext-steps {
    position: relative;
    --bs-gutter-x: 1.75rem;
    --bs-gutter-y: 1.75rem;
}
.no1ext-page .no1ext-steps::before {
    content: "";
    position: absolute;
    top: 68px;
    left: 8%;
    right: 8%;
    border-top: 2px dashed rgba(197, 36, 35, .35);
    z-index: 0;
}
.no1ext-page .no1ext-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;
}
.no1ext-page .no1ext-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .12);
    border-color: rgba(197, 36, 35, .25);
}
.no1ext-page .no1ext-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(--no1ext-accent), var(--no1ext-accent-dark));
    box-shadow: 0 10px 22px rgba(197, 36, 35, .32);
    transition: transform .3s ease;
}
.no1ext-page .no1ext-step:hover .no1ext-step-number {
    transform: scale(1.08);
}
.no1ext-page .no1ext-step-text {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* Areas — pigułki */
.no1ext-page .no1ext-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.no1ext-page .no1ext-pill {
    border: 1px solid #e4e4e4;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    color: #444;
    background: #fafafa;
    transition: border-color .25s ease, color .25s ease;
}
.no1ext-page .no1ext-pill:hover {
    border-color: var(--no1ext-accent);
    color: var(--no1ext-accent);
}

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

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

/* Slider (opcjonalny — Recent projects) */
.no1ext-page .no1ext-projects-swiper {
    position: relative;
    padding-bottom: 48px;
}
.no1ext-page .no1ext-projects-swiper .swiper-slide {
    height: auto;
}
.no1ext-page .swiper-pagination-bullet-active {
    background: var(--no1ext-accent);
}

/* Overlay VenoBox jest na <body> — reguła globalna (ładowana tylko na tych stronach) */
.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;
}

@media (max-width: 991px) {
    .no1ext-page .no1ext-section { padding: 50px 0; }
    .no1ext-page .no1ext-section:first-child { padding-top: 30px; }
    .no1ext-page .no1ext-hero { height: 420px; }
    .no1ext-page .no1ext-hero-overlay { padding: 28px; }
}
@media (max-width: 767px) {
    .no1ext-page .no1ext-steps::before { display: none; }
}
@media (max-width: 575px) {
    .no1ext-page .no1ext-hero { height: 360px; }
    .no1ext-page .no1ext-heading { font-size: 26px; }
    .no1ext-page .no1ext-feature-bar { flex-direction: column; }
}
