:root {
    --forest-950: #0b2d22;
    --forest-900: #103a2c;
    --forest-800: #174c3a;
    --forest-700: #1f6249;
    --green-500: #55b982;
    --green-300: #9bd5b4;
    --sage: #dfeae1;
    --sage-light: #edf2ed;
    --cream: #f3f0e8;
    --paper: #faf9f5;
    --white: #ffffff;
    --ink: #17201a;
    --muted: #5d6861;
    --line: #ccd4cd;
    --line-dark: rgba(255, 255, 255, 0.22);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
}

::selection {
    background: var(--green-300);
    color: var(--forest-950);
}

.container-xl {
    --bs-gutter-x: 3rem;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 3000;
    padding: 10px 16px;
    background: var(--white);
    color: var(--forest-950);
    text-decoration: none;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
}

/* Nawigacja */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-navbar {
    min-height: 88px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    background: rgba(250, 249, 245, 0.96);
    backdrop-filter: blur(14px);
}

.site-brand {
    display: inline-flex;
    flex-direction: column;
    color: var(--forest-950);
    line-height: 1.15;
    text-decoration: none;
}

.brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}

.brand-description {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.navbar-nav {
    gap: 7px;
}

.navbar-nav .nav-link {
    padding: 12px 13px !important;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible {
    color: var(--forest-700);
}

.dropdown-toggle::after {
    margin-left: 7px;
    vertical-align: 0.18em;
}

.dropdown-menu {
    min-width: 340px;
    margin-top: 13px !important;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--paper);
    box-shadow: none;
}

.service-menu-link {
    display: flex;
    padding: 13px 15px;
    flex-direction: column;
    white-space: normal;
}

.service-menu-link:hover,
.service-menu-link:focus {
    background: var(--sage);
    color: var(--forest-950);
}

.service-menu-link strong {
    font-size: 13px;
}

.service-menu-link span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}

.nav-contact-item {
    margin-left: 13px;
}

.consultation-link {
    display: inline-flex;
    min-height: 44px;
    padding: 11px 17px;
    align-items: center;
    gap: 18px;
    background: var(--forest-900);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.consultation-link:hover,
.consultation-link:focus-visible {
    background: var(--green-500);
    color: var(--forest-950);
}

.navbar-toggler {
    padding: 8px;
    border: 0;
    border-radius: 0;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    width: 25px;
    height: 25px;
}

/* Hero */

.consulting-hero {
    background: var(--forest-950);
    color: var(--white);
}

.hero-container {
    padding-top: 76px;
    padding-bottom: 76px;
}

.hero-kicker {
    margin: 0 0 28px;
    color: var(--green-300);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 930px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(54px, 6.6vw, 100px);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 0.98;
    text-wrap: balance;
}

.hero-title span {
    color: var(--green-300);
    font-style: italic;
}

.hero-lead {
    max-width: 680px;
    margin: 42px 0 0;
    padding-left: 23px;
    border-left: 1px solid var(--green-500);
    color: rgba(255, 255, 255, 0.76);
    font-size: 19px;
    line-height: 1.72;
}

.hero-buttons {
    display: flex;
    margin-top: 42px;
    flex-wrap: wrap;
    gap: 12px;
}

.primary-link,
.secondary-link {
    display: inline-flex;
    min-height: 52px;
    padding: 14px 20px;
    align-items: center;
    justify-content: center;
    gap: 22px;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.055em;
    text-decoration: none;
    text-transform: uppercase;
}

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

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

.secondary-link {
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: var(--white);
}

.secondary-link:hover {
    border-color: var(--white);
    background: var(--white);
    color: var(--forest-950);
}

.hero-scope {
    border-top: 1px solid var(--line-dark);
}

.hero-scope-heading {
    margin: 0;
    padding: 0 0 19px;
    color: var(--green-300);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-scope-item {
    padding: 20px 0;
    border-top: 1px solid var(--line-dark);
}

.hero-scope-item strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
}

.hero-scope-item span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.5;
}

/* Pasek wiarygodności */

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

.credibility-item {
    min-height: 130px;
    padding: 29px 30px;
    border-left: 1px solid var(--line);
}

.credibility-item:last-child {
    border-right: 1px solid var(--line);
}

.credibility-label {
    display: block;
    margin-bottom: 9px;
    color: var(--forest-700);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.credibility-item strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 400;
}

/* Ustawienia wspólne */

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

.section-title {
    max-width: 850px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(41px, 5vw, 68px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 1.04;
    text-wrap: balance;
}

.section-lead {
    max-width: 710px;
    margin: 31px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

/* Zakres współpracy */

.capabilities-section {
    padding: 118px 0;
    background: var(--paper);
}

.section-introduction {
    margin-bottom: 90px;
}

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

.capability-row {
    display: grid;
    padding: 34px 0;
    grid-template-columns: 70px minmax(230px, 0.9fr) minmax(320px, 1fr) 35px;
    align-items: start;
    gap: 28px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition:
        padding-left 180ms ease,
        background 180ms ease;
}

.capability-row:hover {
    padding-left: 18px;
    background: var(--sage-light);
    color: var(--ink);
}

.capability-index {
    padding-top: 6px;
    color: var(--forest-700);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

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

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

.capability-arrow {
    color: var(--forest-700);
    font-size: 21px;
}

/* Sposób pracy */

.approach-section {
    padding: 118px 0;
    background: var(--sage);
}

.approach-statement {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(41px, 5vw, 68px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 1.04;
    text-wrap: balance;
}

.approach-description {
    max-width: 690px;
    margin: 32px 0 0;
    color: #4e5e54;
    font-size: 18px;
    line-height: 1.75;
}

.approach-process {
    margin-top: 86px;
    border-top: 1px solid rgba(11, 45, 34, 0.45);
    border-bottom: 1px solid rgba(11, 45, 34, 0.45);
}

.process-stage {
    min-height: 220px;
    padding: 27px 25px;
    border-left: 1px solid rgba(11, 45, 34, 0.25);
}

.process-stage:last-child {
    border-right: 1px solid rgba(11, 45, 34, 0.25);
}

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

.process-stage strong {
    display: block;
    margin-top: 42px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 400;
}

.process-stage p {
    margin: 10px 0 0;
    color: #526158;
    font-size: 14px;
    line-height: 1.6;
}

/* Sylwetka */

.profile-section {
    padding: 118px 0;
    background: var(--paper);
}

.profile-title {
    max-width: 780px;
    margin: 25px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(41px, 5vw, 68px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 1.04;
    text-wrap: balance;
}

.profile-copy {
    max-width: 680px;
    margin-top: 38px;
}

.profile-copy p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.editorial-link,
.case-link {
    display: inline-flex;
    margin-top: 22px;
    padding-bottom: 7px;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid currentColor;
    color: var(--forest-800);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-decoration: none;
    text-transform: uppercase;
}

.editorial-link:hover {
    color: var(--green-500);
}

.profile-name {
    padding-bottom: 25px;
    border-bottom: 1px solid var(--ink);
}

.profile-name span {
    display: block;
    color: var(--forest-700);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.profile-name strong {
    display: block;
    margin-top: 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 400;
}

.profile-facts > div {
    display: grid;
    padding: 21px 0;
    grid-template-columns: 36px 1fr;
    gap: 13px;
    border-bottom: 1px solid var(--line);
}

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

.profile-facts p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

/* Realizacja */

.case-feature {
    padding: 118px 0 84px;
    background: var(--forest-900);
    color: var(--white);
}

.case-label {
    margin: 0 0 24px;
    color: var(--green-300);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.case-title {
    max-width: 800px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(45px, 5.8vw, 78px);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 1;
    text-wrap: balance;
}

.case-description {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.75;
}

.case-link {
    color: var(--green-300);
}

.case-link:hover {
    color: var(--white);
}

.case-flow {
    display: grid;
    margin-top: 86px;
    padding: 27px 0;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 26px;
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.025em;
    text-align: center;
}

.case-flow span[aria-hidden="true"] {
    color: var(--green-300);
}

/* Kontakt */

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

.contact-kicker {
    margin: 0 0 21px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

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

.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: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
}

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

/* Podstrony tymczasowe */

.page-intro {
    min-height: 67vh;
    background: var(--paper);
}

.page-intro-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 100px 24px 130px;
}

.page-intro .eyebrow {
    margin: 0 0 22px;
    color: var(--forest-700);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-intro h1 {
    margin: 0;
    color: var(--forest-950);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(50px, 7vw, 88px);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 1;
}

.page-intro p:not(.eyebrow) {
    max-width: 720px;
    margin: 30px 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.7;
}

.placeholder-note {
    max-width: 720px;
    margin: 36px 0;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--forest-800);
}

/* Stopka */

.site-footer {
    padding: 76px 0 27px;
    background: var(--forest-950);
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    text-decoration: none;
}

.footer-brand:hover {
    color: var(--green-300);
}

.footer-description {
    max-width: 330px;
    margin: 17px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
}

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

.footer-navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-navigation a {
    margin: 4px 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    text-decoration: none;
}

.footer-navigation a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    margin-top: 68px;
    padding-top: 21px;
    justify-content: space-between;
    gap: 25px;
    border-top: 1px solid var(--line-dark);
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Tablet */

@media (max-width: 991.98px) {
    .container-xl {
        --bs-gutter-x: 2.5rem;
    }

    .site-navbar {
        min-height: 76px;
    }

    .navbar-collapse {
        margin-top: 14px;
        padding: 18px 0 8px;
        border-top: 1px solid var(--line);
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .navbar-nav .nav-link {
        padding: 11px 0 !important;
    }

    .nav-contact-item {
        margin: 10px 0 0;
    }

    .consultation-link {
        justify-content: space-between;
    }

    .dropdown-menu {
        min-width: 100%;
        margin: 0 !important;
        border-right: 0;
        border-left: 0;
    }

    .hero-container {
        padding-top: 60px;
        padding-bottom: 64px;
    }

    .hero-scope {
        margin-top: 15px;
    }

    .capabilities-section,
    .approach-section,
    .profile-section {
        padding: 90px 0;
    }

    .section-introduction {
        margin-bottom: 65px;
    }

    .section-label {
        margin-bottom: 24px;
    }

    .capability-row {
        grid-template-columns: 45px 1fr 30px;
    }

    .capability-row p {
        grid-column: 2;
        margin-top: 12px;
    }

    .capability-arrow {
        grid-column: 3;
        grid-row: 1;
    }

    .approach-process {
        margin-top: 64px;
    }

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

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

    .case-feature {
        padding-top: 90px;
    }

    .case-flow {
        margin-top: 65px;
    }

    .contact-section {
        padding: 76px 0;
    }
}

/* Telefon */

@media (max-width: 575.98px) {
    .container-xl {
        --bs-gutter-x: 2rem;
    }

    .brand-name {
        font-size: 20px;
    }

    .hero-container {
        padding-top: 44px;
        padding-bottom: 52px;
    }

    .hero-kicker {
        margin-bottom: 22px;
    }

    .hero-title {
        font-size: 48px;
        letter-spacing: -0.045em;
    }

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

    .hero-buttons {
        margin-top: 32px;
        flex-direction: column;
    }

    .primary-link,
    .secondary-link {
        width: 100%;
    }

    .hero-scope {
        margin-top: 0;
    }

    .credibility-item {
        min-height: auto;
        padding: 23px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        border-left: 0;
    }

    .credibility-item:last-child {
        border-right: 0;
        border-bottom: 0;
    }

    .capabilities-section,
    .approach-section,
    .profile-section {
        padding: 72px 0;
    }

    .section-title,
    .approach-statement,
    .profile-title {
        font-size: 39px;
    }

    .section-lead,
    .approach-description {
        font-size: 16px;
    }

    .section-introduction {
        margin-bottom: 49px;
    }

    .capability-row {
        padding: 27px 0;
        grid-template-columns: 34px 1fr 23px;
        gap: 13px;
    }

    .capability-row:hover {
        padding-left: 0;
        background: transparent;
    }

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

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

    .approach-process {
        margin-top: 50px;
    }

    .process-stage {
        min-height: auto;
        padding: 25px 0;
        border-right: 0 !important;
        border-left: 0;
    }

    .process-stage + .process-stage {
        border-top: 1px solid rgba(11, 45, 34, 0.25);
    }

    .process-stage strong {
        margin-top: 22px;
    }

    .profile-name {
        margin-top: 15px;
    }

    .case-feature {
        padding: 72px 0 62px;
    }

    .case-title {
        font-size: 43px;
    }

    .case-flow {
        display: flex;
        margin-top: 52px;
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        border-bottom: 0;
        text-align: left;
    }

    .case-flow span:not([aria-hidden="true"]) {
        width: 100%;
        padding: 18px 0;
        border-bottom: 1px solid var(--line-dark);
    }

    .case-flow span[aria-hidden="true"] {
        display: none;
    }

    .contact-section {
        padding: 66px 0;
    }

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

    .contact-link {
        margin-top: 15px;
    }

    .footer-bottom {
        margin-top: 50px;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}