/* /style.css */

:root {
    --text: #15191c;
    --muted: #626a70;
    --line: #dfe3e5;
    --background: #ffffff;
    --soft: #f4f6f6;
    --accent: #008f68;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    display: block;
    width: 174px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--text);
}

/* Hero */

.hero {
    position: relative;
    min-height: 620px;
    padding: 104px 0 112px;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(47%, 560px);
    min-width: 0;
}

.eyebrow {
    margin: 0 0 22px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.hero-lead {
    max-width: 660px;
    margin: 38px 0 0;
    color: var(--muted);
    font-size: 21px;
    line-height: 1.55;
}

.hero-visual {
    position: absolute;
    z-index: 0;
    top: calc(50% + 42px);
    right: -5vw;
    width: min(44vw, 650px);
    margin: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, #fff 0, rgba(255, 255, 255, 0.94) 7%, rgba(255, 255, 255, 0) 24%),
        linear-gradient(to left, #fff 0, rgba(255, 255, 255, 0) 10%);
    pointer-events: none;
}

.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.90;
}

/* General sections */

.section {
    padding: 96px 0;
    border-top: 1px solid var(--line);
}

.section-muted {
    background: var(--soft);
}

.three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
}

.three-columns article {
    max-width: 340px;
}

.number {
    margin: 0 0 20px;
    color: var(--accent);
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
}

.three-columns h2 {
    margin: 0 0 18px;
    font-size: 27px;
    font-weight: 650;
    letter-spacing: -0.025em;
}

.three-columns p:last-child {
    margin: 0;
    color: var(--muted);
}

/* Proof */

.proof-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 72px;
    align-items: end;
    margin-bottom: 58px;
}

.proof-heading h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.proof-heading p {
    max-width: 500px;
    margin: 0;
    color: var(--muted);
}

.proof-list {
    border-top: 1px solid var(--line);
}

.proof-item {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
    gap: 28px 64px;
    padding: 38px 0;
    border-bottom: 1px solid var(--line);
}

.proof-label {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.proof-context h3 {
    margin: 0 0 8px;
    font-size: 23px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.proof-context > p:last-child {
    margin: 0;
    color: var(--muted);
}

.proof-metric {
    align-self: center;
}

.proof-metric strong {
    display: block;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 650;
    letter-spacing: -0.04em;
    line-height: 1;
}

.proof-metric span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

.proof-path {
    grid-column: 1 / -1;
    width: fit-content;
    margin: 0;
    padding: 7px 11px 7px 12px;
    border-left: 2px solid var(--accent);
    background: var(--soft);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.proof-note {
    max-width: 760px;
    margin: 30px 0 0;
    color: var(--muted);
    font-size: 14px;
}

/* Scope */

.scope-intro {
    max-width: 780px;
    margin: 0 0 34px;
    color: var(--muted);
    font-size: 17px;
}

.scope-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 42px;
}

.scope-item {
    padding: 18px 0;
    border-top: 1px solid #cfd5d7;
}

.scope-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 650;
}

.scope-item span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

/* Process */

.process h2 {
    max-width: 800px;
    margin: 0 0 46px;
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.2;
}

.process-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 42px;
}

.process-flow span {
    font-weight: 600;
}

.process-flow i {
    color: var(--accent);
    font-style: normal;
}

.process-note {
    max-width: 780px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}


/* Contact */

.contact-section {
    background: var(--soft);
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.contact-detail-card {
    padding: 30px;
    border: 1px solid var(--line);
    background: var(--background);
}

.contact-detail-card h3 {
    margin: 0 0 15px;
    font-size: 19px;
    font-weight: 700;
}

.contact-detail-card p {
    margin: 0;
    color: var(--muted);
}

.contact-detail-card p + p {
    margin-top: 10px;
}

.contact-detail-card .contact-detail-strong,
.contact-detail-card .contact-phone {
    color: var(--text);
    font-weight: 700;
}

.contact-phone {
    text-decoration: none;
}

.contact-phone:hover,
.contact-phone:focus-visible {
    text-decoration: underline;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
    gap: 80px;
    align-items: start;
}

.contact-intro h2 {
    margin: 0;
    font-size: clamp(36px, 4vw, 54px);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.contact-intro > p:last-child {
    max-width: 460px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    font-size: 14px;
    font-weight: 700;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--background);
    color: var(--text);
    font: inherit;
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.form-submit {
    justify-self: start;
    padding: 12px 22px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.form-submit:hover,
.form-submit:focus-visible {
    filter: brightness(0.92);
}

.form-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-success,
.form-errors {
    margin: 0 0 24px;
    padding: 14px 16px;
    border-left: 3px solid var(--accent);
    background: var(--background);
}

.form-errors {
    border-left-color: #a12a2a;
}

.form-errors p {
    margin: 0;
}

.form-errors p + p {
    margin-top: 6px;
}

/* Footer */

.site-footer {
    padding: 22px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Mobile */

@media (max-width: 760px) {
    .scope-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .scope-intro {
        margin-bottom: 24px;
    }

    .container {
        width: min(calc(100% - 32px), var(--max-width));
    }

    .header-inner {
        min-height: 58px;
    }

    .main-nav a:not(:last-child) {
        display: none;
    }

    .brand img {
        width: 136px;
    }

    .hero {
        min-height: 0;
        padding: 64px 0 58px;
        overflow: hidden;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .hero-copy {
        width: 100%;
    }

    .hero-visual {
        position: relative;
        top: auto;
        right: auto;
        width: 68%;
        max-width: 360px;
        margin: 4px auto 0;
        transform: none;
        order: 2;
    }

    .hero-visual::after {
        display: none;
    }

    .hero-visual img {
        width: 100%;
        max-width: none;
        opacity: 1;
    }

    .hero-lead {
        margin-top: 28px;
        font-size: 18px;
    }

    .proof-heading {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 42px;
    }

    .proof-item {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 0;
    }

    .proof-path {
        grid-column: auto;
        max-width: 100%;
        padding: 6px 9px 6px 10px;
        font-size: 12px;
    }

    .section {
        padding: 70px 0;
    }

    .three-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .three-columns article {
        max-width: 560px;
    }

    .three-columns .number {
        margin-bottom: 14px;
    }

    .three-columns h2 {
        margin-bottom: 14px;
    }

    .process-flow {
        display: block;
        margin-bottom: 34px;
    }

    .process-flow span {
        position: relative;
        display: block;
        padding: 0 0 22px 28px;
        line-height: 1.35;
    }

    .process-flow span:last-of-type {
        padding-bottom: 0;
    }

    .process-flow span::before {
        content: "";
        position: absolute;
        left: 2px;
        top: 0.48em;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--accent);
    }

    .process-flow span:not(:last-of-type)::after {
        content: "";
        position: absolute;
        left: 5px;
        top: calc(0.48em + 9px);
        bottom: 0;
        width: 1px;
        background: #b8d8cf;
    }

    .process-flow i {
        display: none;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .footer-inner {
        flex-wrap: wrap;
        gap: 6px 18px;
    }
}


/* Zakres heading */
.scope-heading {
    margin: 0 0 1.5rem;
}
