/* Sekcja otwierająca */

.service-hero {
    border-bottom: 1px solid var(--line);
    background: var(--cream);
}

.service-hero-inner {
    padding-top: 77px;
    padding-bottom: 84px;
}

.service-kicker,
.service-section-label,
.service-caveat-label,
.service-contact-label {
    margin: 0;
    color: var(--forest-700);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.service-title {
    max-width: 970px;
    margin: 27px 0 0;
    color: var(--forest-950);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(54px, 6.4vw, 94px);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 0.99;
    text-wrap: balance;
}

.service-title span {
    display: block;
    color: var(--forest-700);
    font-style: italic;
}

.service-lead {
    max-width: 720px;
    margin: 39px 0 0;
    padding-left: 23px;
    border-left: 1px solid var(--forest-700);
    color: var(--muted);
    font-size: 19px;
    line-height: 1.72;
}

.service-primary-link {
    display: inline-flex;
    min-height: 52px;
    margin-top: 38px;
    padding: 14px 20px;
    align-items: center;
    gap: 27px;
    background: var(--forest-900);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
}

.service-primary-link:hover {
    background: var(--green-500);
    color: var(--forest-950);
}

/* Podsumowanie w hero */

.service-summary {
    padding: 31px;
    background: var(--forest-950);
    color: var(--white);
}

.service-summary-heading {
    margin: 0 0 17px;
    color: var(--green-300);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.service-summary-item {
    padding: 18px 0;
    border-top: 1px solid var(--line-dark);
}

.service-summary-item span {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.service-summary-item strong {
    display: block;
    margin-top: 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
}

/* Wspólne sekcje */

.service-section {
    padding: 112px 0;
}

.service-section-title {
    max-width: 800px;
    margin: 25px 0 0;
    color: var(--forest-950);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 4.8vw, 65px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 1.05;
    text-wrap: balance;
}

.service-section-lead {
    max-width: 720px;
    margin: 29px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.service-section-intro {
    margin-bottom: 76px;
}

/* Problem */

.service-problem-section {
    background: var(--paper);
}

.service-problem-copy p {
    margin: 0 0 25px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.service-problem-copy p:first-child {
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.5;
}

.service-problem-list {
    margin-top: 43px;
    border-top: 1px solid var(--ink);
}

.service-problem-row {
    display: grid;
    padding: 20px 0;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}

.service-problem-row span {
    padding-top: 2px;
    color: var(--forest-700);
    font-size: 10px;
    font-weight: 800;
}

.service-problem-row p {
    margin: 0;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.6;
}

/* Zakres rozwiązania */

.service-capabilities-section {
    background: var(--cream);
}

.service-capability-list {
    border-top: 1px solid var(--ink);
}

.service-capability-row {
    display: grid;
    padding: 30px 0;
    grid-template-columns: 68px minmax(240px, 0.9fr) minmax(300px, 1fr);
    align-items: start;
    gap: 28px;
    border-bottom: 1px solid var(--line);
}

.service-capability-index {
    padding-top: 6px;
    color: var(--forest-700);
    font-size: 10px;
    font-weight: 800;
}

.service-capability-row h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 2.7vw, 35px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.16;
}

.service-capability-row p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Proces */

.service-process-section {
    padding: 112px 0;
    background: var(--sage);
}

.service-process {
    display: grid;
    margin: 76px 0 0;
    padding: 0;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid rgba(11, 45, 34, 0.48);
    border-bottom: 1px solid rgba(11, 45, 34, 0.48);
    list-style: none;
}

.service-page-implementations .service-process {
    grid-template-columns: repeat(3, 1fr);
}

.service-process li {
    min-height: 245px;
    padding: 27px 23px;
    border-left: 1px solid rgba(11, 45, 34, 0.25);
}

.service-process li:last-child,
.service-page-implementations .service-process li:nth-child(3),
.service-page-implementations .service-process li:nth-child(6) {
    border-right: 1px solid rgba(11, 45, 34, 0.25);
}

.service-page-implementations .service-process li:nth-child(n + 4) {
    border-top: 1px solid rgba(11, 45, 34, 0.25);
}

.service-process span {
    color: var(--forest-700);
    font-size: 10px;
    font-weight: 800;
}

.service-process strong {
    display: block;
    margin-top: 43px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.25;
}

.service-process p {
    margin: 11px 0 0;
    color: #526158;
    font-size: 13px;
    line-height: 1.58;
}

/* Zastosowania */

.service-uses-section {
    background: var(--paper);
}

.service-uses-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--ink);
}

.service-use-row {
    display: grid;
    min-height: 185px;
    padding: 28px 25px;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    border-bottom: 1px solid var(--line);
}

.service-use-row:nth-child(odd) {
    border-left: 1px solid var(--line);
}

.service-use-row:nth-child(even) {
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service-use-row > span {
    padding-top: 4px;
    color: var(--forest-700);
    font-size: 10px;
    font-weight: 800;
}

.service-use-row h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
}

.service-use-row p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Ograniczenia i kontrola */

.service-caveat-section {
    padding: 105px 0;
    background: var(--forest-900);
    color: var(--white);
}

.service-caveat-label {
    color: var(--green-300);
}

.service-caveat-section h2 {
    max-width: 850px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5.3vw, 72px);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 1.02;
    text-wrap: balance;
}

.service-caveat-copy {
    max-width: 780px;
    margin-top: 37px;
    padding-left: 23px;
    border-left: 1px solid var(--green-500);
}

.service-caveat-copy p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.75;
}

/* FAQ */

.service-faq-section {
    padding: 112px 0;
    background: var(--paper);
}

.service-accordion {
    margin-top: 60px;
    border-top: 1px solid var(--ink);
}

.service-accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}

.service-accordion .accordion-button {
    padding: 25px 0;
    border-radius: 0 !important;
    background: transparent;
    color: var(--ink);
    box-shadow: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
}

.service-accordion .accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--forest-700);
}

.service-accordion .accordion-button:focus {
    box-shadow: none;
}

.service-accordion .accordion-body {
    max-width: 760px;
    padding: 0 45px 28px 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Końcowe wezwanie */

.service-contact-section {
    padding: 90px 0;
    background: var(--green-300);
    color: var(--forest-950);
}

.service-contact-section h2 {
    max-width: 880px;
    margin: 22px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(43px, 5.4vw, 73px);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 1.02;
    text-wrap: balance;
}

.service-contact-link {
    display: flex;
    padding: 17px 0;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--forest-950);
    border-bottom: 1px solid var(--forest-950);
    color: var(--forest-950);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.service-contact-link:hover {
    padding-right: 12px;
    color: var(--forest-700);
}

/* Tablet */

@media (max-width: 1199.98px) {
    .service-process {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-process li:nth-child(3) {
        border-right: 1px solid rgba(11, 45, 34, 0.25);
    }

    .service-process li:nth-child(n + 4) {
        border-top: 1px solid rgba(11, 45, 34, 0.25);
    }
}

@media (max-width: 991.98px) {
    .service-hero-inner {
        padding-top: 58px;
        padding-bottom: 67px;
    }

    .service-section,
    .service-process-section,
    .service-faq-section {
        padding: 88px 0;
    }

    .service-caveat-section {
        padding: 88px 0;
    }

    .service-section-label,
    .service-caveat-label {
        margin-bottom: 23px;
    }

    .service-section-intro {
        margin-bottom: 57px;
    }

    .service-capability-row {
        grid-template-columns: 45px 1fr;
        gap: 18px;
    }

    .service-capability-row p {
        grid-column: 2;
    }

    .service-process {
        margin-top: 58px;
    }
}

/* Telefon */

@media (max-width: 575.98px) {
    .service-hero-inner {
        padding-top: 43px;
        padding-bottom: 53px;
    }

    .service-title {
        font-size: 47px;
    }

    .service-lead {
        margin-top: 31px;
        font-size: 17px;
    }

    .service-primary-link {
        width: 100%;
        justify-content: space-between;
    }

    .service-summary {
        padding: 25px 22px;
    }

    .service-section,
    .service-process-section,
    .service-faq-section {
        padding: 70px 0;
    }

    .service-caveat-section {
        padding: 70px 0;
    }

    .service-section-title {
        font-size: 38px;
    }

    .service-problem-copy p:first-child {
        font-size: 21px;
    }

    .service-capability-row {
        padding: 26px 0;
        grid-template-columns: 31px 1fr;
        gap: 12px;
    }

    .service-capability-row h3 {
        font-size: 25px;
    }

    .service-capability-row p {
        font-size: 14px;
    }

    .service-process,
    .service-page-implementations .service-process {
        grid-template-columns: 1fr;
    }

    .service-process li,
    .service-process li:nth-child(3),
    .service-process li:nth-child(n + 4),
    .service-page-implementations .service-process li:nth-child(3),
    .service-page-implementations .service-process li:nth-child(6) {
        min-height: auto;
        padding: 24px 0;
        border-top: 1px solid rgba(11, 45, 34, 0.25);
        border-right: 0;
        border-left: 0;
    }

    .service-process li:first-child {
        border-top: 0;
    }

    .service-process strong {
        margin-top: 21px;
    }

    .service-uses-list {
        grid-template-columns: 1fr;
    }

    .service-use-row,
    .service-use-row:nth-child(odd),
    .service-use-row:nth-child(even) {
        min-height: auto;
        padding: 25px 0;
        border-right: 0;
        border-left: 0;
    }

    .service-caveat-section h2 {
        font-size: 41px;
    }

    .service-caveat-copy {
        padding-left: 18px;
    }

    .service-accordion {
        margin-top: 43px;
    }

    .service-accordion .accordion-button {
        padding-right: 7px;
        font-size: 19px;
    }

    .service-contact-section {
        padding: 67px 0;
    }

    .service-contact-section h2 {
        font-size: 41px;
    }

    .service-contact-link {
        margin-top: 13px;
    }
}