/* =============================================================
   SERVICE PAGE STYLES
   ============================================================= */

/* ===== SERVICE HERO ===== */
.service-hero {
    background: linear-gradient(160deg, #091d3e 0%, #0f2b5e 40%, #1a478b 100%);
    padding: 48px 20px 40px;
    text-align: center;
}

.service-hero .container {
    max-width: 800px;
    margin: 0 auto;
}

.service-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.22;
    margin-bottom: 12px;
    color: #fff;
}

.service-lead {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.45;
    color: rgba(255,255,255,0.85);
    max-width: 620px;
    margin: 0 auto 24px;
}

.service-hero-cta {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .service-hero {
        padding: 32px 16px 28px;
    }
    .service-hero h1 {
        font-size: 1.4rem;
    }
    .service-hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .service-hero-cta .btn-highlight,
    .service-hero-cta .btn-call-card {
        width: 100%;
        max-width: 340px;
    }
}

/* ===== SERVICE PRICING BLOCK ===== */
.service-pricing-block {
    background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
    padding: 70px 20px;
}

.service-pricing-block .container {
    max-width: 800px;
    margin: 0 auto;
}

.service-pricing-block h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a478b;
    text-align: center;
    margin-bottom: 40px;
}

.service-price-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    justify-items: center;
}

.service-price-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.service-price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.service-price-card img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #fff;
}

.service-price-card h3 {
    font-size: 1.1rem;
    color: #222;
    font-weight: 700;
    margin: 18px 20px 10px;
}

.service-price-card .price-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 20px 22px;
}

.service-price-card .price-old {
    font-weight: 700;
    font-size: 0.95rem;
    color: #9aa3b2;
    text-decoration: line-through;
    line-height: 1.1;
}

.service-price-card .price-current {
    font-weight: 900;
    font-size: 1.5rem;
    color: #d33;
    line-height: 1.1;
}

@media (max-width: 600px) {
    .service-pricing-block {
        padding: 50px 16px;
    }
    .service-pricing-block h2 {
        font-size: 1.5rem;
        margin-bottom: 28px;
    }
    .service-price-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-price-card {
        max-width: 400px;
    }
}

/* ===== SERVICE PROCESS / STEPS ===== */
.service-process {
    background: linear-gradient(180deg, #ffffff 0%, #eef3fb 100%);
    padding: 80px 20px;
}

.service-process .container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.service-process h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a478b;
    margin-bottom: 40px;
}

.service-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

.service-steps::before {
    content: "";
    position: absolute;
    top: 54px;
    left: calc(10% + 24px);
    right: calc(10% + 24px);
    height: 3px;
    background: linear-gradient(90deg, #1a478b, #4169e1, #1a478b);
    border-radius: 2px;
    opacity: 0.2;
    z-index: 0;
}
.steps-4 {
    grid-template-columns: repeat(4, 1fr);
}
.steps-4::before {
    left: calc(12.5% + 24px);
    right: calc(12.5% + 24px);
}

.service-step {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 14px;
    padding: 30px 20px 26px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 3px solid transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #1a478b, #4169e1);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(26, 71, 139, 0.15);
}

.service-step .step-number {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1a478b 0%, #4169e1 100%);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(26, 71, 139, 0.35);
}

.service-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.service-step p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .service-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    .service-steps::before {
        display: none;
    }
    .service-process {
        padding: 60px 18px;
    }
}

@media (max-width: 600px) {
    .service-process {
        padding: 50px 16px;
    }
    .service-process h2 {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
    .service-steps {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 30px;
    }
    .service-steps::before {
        display: none;
    }
    .service-step {
        display: grid;
        grid-template-columns: 38px 1fr;
        grid-template-rows: auto auto;
        gap: 2px 14px;
        align-items: center;
        padding: 14px 16px;
        border-radius: 0;
        border-top: none;
        border: none;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        background: transparent;
        background-image: none;
        box-shadow: none;
        text-align: left;
    }
    .service-step:first-child {
        border-top: 1px solid rgba(0,0,0,0.06);
    }
    .service-step:hover {
        transform: none;
        box-shadow: none;
    }
    .service-step .step-number {
        width: 38px;
        height: 38px;
        min-width: 38px;
        margin: 0;
        font-size: 1rem;
        grid-row: 1 / -1;
    }
    .service-step h3 {
        font-size: 0.95rem;
        margin-bottom: 0;
        align-self: end;
    }
    .service-step p {
        font-size: 0.85rem;
        line-height: 1.4;
        color: #777;
        align-self: start;
    }
}

/* ===== SERVICE WHY / BENEFITS ===== */
.service-why {
    padding: 80px 20px;
    background: linear-gradient(180deg, #eef6ff 0%, #ffffff 100%);
}

.service-why .container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.service-why h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a478b;
    margin-bottom: 50px;
}

.service-why .container > p {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
}
.service-why .container > p:last-child {
    margin-bottom: 0;
}

.service-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 35px 28px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
}

.benefit-item span[class^="mdi--"] {
    display: inline-block;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: #1a478b;
}

.benefit-item h3 {
    font-size: 1.15rem;
    color: #222;
    margin-bottom: 12px;
    font-weight: 600;
}

.benefit-item p {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .service-why {
        padding: 60px 0;
    }
    .service-why h2 {
        font-size: 1.5rem;
        margin-bottom: 28px;
        padding: 0 16px;
    }
    .service-benefits {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding: 0 16px 16px;
        scrollbar-width: none;
    }
    .service-benefits::-webkit-scrollbar {
        display: none;
    }
    .benefit-item {
        flex: 0 0 82%;
        scroll-snap-align: center;
        text-align: left;
    }
}

/* ===== SERVICE FAQ ===== */
.service-faq {
    padding: 80px 20px;
    background: #f9fafb;
}

.service-faq .container {
    max-width: 800px;
    margin: 0 auto;
}

.service-faq h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a478b;
    text-align: center;
    margin-bottom: 40px;
}

.service-faq .faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-faq .faq-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.service-faq .faq-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.service-faq .faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    list-style: none;
    line-height: 1.4;
    gap: 16px;
}

.service-faq .faq-item summary::-webkit-details-marker {
    display: none;
}

.service-faq .faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 300;
    color: #1a478b;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-faq .faq-item[open] summary::after {
    transform: rotate(45deg);
}

.service-faq .faq-item p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

@media (max-width: 1024px) {
    .service-faq {
        padding: 60px 16px;
    }
    .service-faq h2 {
        font-size: 1.5rem;
        margin-bottom: 28px;
    }
    .service-faq .faq-item summary {
        padding: 16px 18px;
        font-size: 0.93rem;
    }
    .service-faq .faq-item p {
        font-size: 0.9rem;
        padding: 0 18px 16px;
    }
}

/* ===== SERVICE DESCRIPTION ===== */
.service-description {
    background: #fff;
    padding: 48px 20px;
}

.service-description .container {
    max-width: 780px;
    margin: 0 auto;
}

.service-description h2 {
    font-size: 1.25rem;
    color: #1a478b;
    font-weight: 700;
    margin-bottom: 24px;
}

.service-description p {
    color: #444;
    line-height: 1.85;
    font-size: 1rem;
    margin-bottom: 20px;
}

.service-description p:last-child {
    margin-bottom: 0;
}

.service-description strong {
    color: #1a2f55;
    font-weight: 600;
}

@media (max-width: 768px) {
    .service-description {
        padding: 36px 20px;
    }
    .service-description p {
        font-size: 0.97rem;
    }
}

/* ===== USLUGI TEXT (bez ramki) ===== */
.uslugi-text {
    padding: 32px 20px;
    background: #fff;
}
.uslugi-text .container {
    max-width: 860px;
    margin: 0 auto;
}
.uslugi-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1a478b;
    margin-bottom: 16px;
}
.uslugi-text p {
    color: #374151;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 14px;
}
.uslugi-text p:last-child {
    margin-bottom: 0;
}

/* ===== SERVICE CTA BOTTOM ===== */
.service-cta-bottom {
    background: linear-gradient(160deg, #091d3e 0%, #0f2b5e 30%, #1a478b 70%, #1e5199 100%);
    padding: 80px 20px;
    text-align: center;
}

.service-cta-bottom .container {
    max-width: 700px;
    margin: 0 auto;
}

.service-cta-bottom h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.service-cta-bottom > .container > p {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

.service-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.service-cta-buttons .cta-btn-order .material-symbols--shopping-cart {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230f2b5e' d='M7 22q-.825 0-1.412-.587T5 20t.588-1.412T7 18t1.413.588T9 20t-.587 1.413T7 22m10 0q-.825 0-1.412-.587T15 20t.588-1.412T17 18t1.413.588T19 20t-.587 1.413T17 22M5.2 4h14.75q.575 0 .875.513t.025 1.037l-3.55 6.4q-.275.5-.737.775T15.55 13H8.1L7 15h12v2H7q-1.125 0-1.7-.987t-.05-1.963L6.6 11.6L3 4H1V2h3.25z'/%3E%3C/svg%3E");
}

@media (max-width: 1024px) {
    .service-cta-bottom {
        padding: 60px 16px;
    }
    .service-cta-bottom h2 {
        font-size: 1.6rem;
    }
    .service-cta-bottom > .container > p {
        font-size: 1rem;
        margin-bottom: 28px;
    }
    .service-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .service-cta-buttons .cta-btn-order,
    .service-cta-buttons .cta-btn-call {
        width: 100%;
        max-width: 300px;
        height: 50px;
        padding: 0 24px;
        font-size: 0.95rem;
        border-radius: 12px;
    }
}

/* .service-other-links styles moved to main.css */

/* service-process, service-why, service-faq visible on all devices */

/* ===== MOBILE BUTTON RESPONSIVE (service pages only) ===== */
@media (max-width: 991px) {
    .service-page .btn-highlight,
    .service-page .btn-call-card {
        width: 100%;
        max-width: 420px;
    }

    .service-page .btn-highlight {
        height: 52px;
        min-width: 0;
        padding: 0 24px;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .service-page .btn-call-card {
        height: 52px;
        min-width: 0;
        padding: 0 24px;
        font-size: 0.95rem;
        border-radius: 12px;
    }
}


/* ===== SERVICE PAGE BUTTON OVERRIDES ===== */
.service-page .btn-highlight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 200px;
    height: 58px;
    padding: 0 32px;
    background: linear-gradient(160deg, #ffffff 0%, #edf2fa 100%);
    color: #0f2b5e;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid #b8c9e2;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9),
        0 2px 4px rgba(0,0,0,.06),
        0 10px 28px rgba(0,0,0,.13);
    transition: transform .2s ease, box-shadow .3s ease;
}
.service-page .btn-highlight:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9),
        0 4px 8px rgba(0,0,0,.08),
        0 18px 44px rgba(0,0,0,.18);
}
.service-page .btn-highlight:active {
    transform: translateY(0);
    box-shadow: inset 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08) !important;
}
.service-page .btn-call-card {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 200px;
    height: 58px;
    padding: 0 32px;
    background: linear-gradient(160deg, #0f2b5e 0%, #1a478b 40%, #2558a8 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 2px 4px rgba(0,0,0,.1),
        0 12px 32px rgba(15,43,94,.3);
    transition: transform .2s ease, box-shadow .3s ease;
}
.service-page .btn-call-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 4px 8px rgba(0,0,0,.12),
        0 20px 50px rgba(15,43,94,.35);
}
.service-page .btn-call-card:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.service-page .btn-call-card .material-symbols--call {
    background-color: #fff;
}
.service-page .cta-btn-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    padding: 0 36px;
    background: linear-gradient(160deg, #ffffff 0%, #f0f4fa 100%);
    color: #0f2b5e;
    border-radius: 14px;
    border: 1px solid #b8c9e2;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        0 2px 4px rgba(0,0,0,0.1),
        0 8px 24px rgba(0,0,0,0.2);
}
.service-page .cta-btn-order:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        0 4px 8px rgba(0,0,0,0.12),
        0 16px 44px rgba(0,0,0,0.28);
}
@media (max-width: 1024px) {
    .service-page .btn-highlight,
    .service-page .btn-call-card {
        height: 52px;
        min-width: 0;
        padding: 0 24px;
        font-size: 0.95rem;
        border-radius: 12px;
    }
}

