body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background-color: #f5f5f5;
    color: #222222;
}

@font-face {
    font-family: "Inter";
    src: url("fonts/Inter.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

main {
    padding: 0;
}
main > section:not(.hero) {
    padding: 80px 60px;
}

.menu-button {
    display: none;
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
}

h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

h2 {
    font-size: 28px;
}

p {
    font-size: 18px;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 22px 60px;

    background-color: white;
    border-bottom: 1px solid #e5e5e5;
}

.site-name {
    font-size: 22px;
    margin: 0;
    font-weight: 600;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    position: relative;

    text-decoration: none;
    color: #555555;

    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;

    transition: color 0.2s;
}

nav a::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -6px;

    width: 100%;
    height: 1px;

    background-color: #222222;

    transform: scaleX(0);
    transition: transform 0.25s ease;
}

nav a:hover {
    color: #222222;
}
nav a:hover::after {
    transform: scaleX(1);
}

nav a.active {
    color: #222222;
    font-weight: 600;
}
nav a.active::after {
    transform: scaleX(1);
}


.hero {
    min-height: 600px;

    display: flex;
    align-items: center;

    padding: 80px 60px;

    background-color: white;
}
.hero-content {
    max-width: 750px;
}
.hero-label {
    font-size: 12px;
    letter-spacing: 2.5px;
    color: #777777;
    margin-bottom: 25px;
    font-weight: 500;
}

.hero h2 {
    font-size: 64px;
    line-height: 1.05;
    margin: 0 0 30px 0;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.hero-description {
    max-width: 650px;

    font-size: 19px;
    line-height: 1.7;

    color: #555555;

    margin-bottom: 35px;
}
.hero-button {
    display: inline-block;

    padding: 15px 28px;

    background-color: #222222;
    color: white;

    text-decoration: none;

    font-size: 15px;

    transition: 0.2s;
}

.hero-button:hover {
    background-color: #555555;
}


.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    display: block;
    background-color: white;
    padding: 40px;
    min-height: 220px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    text-decoration: none;
    color: #222222;
    transition: 0.2s;
}
.service-card h3 {
    font-size: 26px;
    font-weight: 500;
    margin: 0 0 20px 0;
}
.service-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
}
.service-card span {
    display: block;
    margin-bottom: 35px;
    font-size: 13px;
    letter-spacing: 2px;
    color: #888888;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: #bbbbbb;
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
}

.about-intro h2 {
    max-width: 550px;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 500;
    margin: 0;
}

.about-content {
    max-width: 650px;
}

.about-content p {
    margin: 0 0 25px 0;
    font-size: 18px;
    line-height: 1.7;
    color: #555555;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
}

.about-details > div {
    padding: 35px;
    background-color: white;
    border-top: 2px solid #222222;
}

.about-details span {
    font-size: 13px;
    letter-spacing: 2px;
    color: #888888;
}

.about-details h3 {
    margin: 25px 0 15px 0;
    font-size: 24px;
    font-weight: 500;
}

.about-details p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1000px;
}

.experience-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 50px;
    padding: 45px 0;
    border-top: 1px solid #dddddd;
}

.experience-item:last-child {
    border-bottom: 1px solid #dddddd;
}

.experience-year {
    font-size: 13px;
    letter-spacing: 2px;
    color: #888888;
    padding-top: 5px;
}

.experience-content h2 {
    margin: 0 0 20px 0;
    font-size: 28px;
    font-weight: 500;
}

.experience-content p {
    max-width: 700px;
    margin: 0 0 15px 0;
    font-size: 17px;
    line-height: 1.7;
    color: #555555;
}

.principles {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}

.principles-intro {
    max-width: 650px;
    margin-bottom: 60px;
}

.principles-intro h2 {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 500;
    margin: 0;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.principle {
    padding: 35px;
    background-color: white;
    border-top: 2px solid #222222;
}

.principle span {
    font-size: 13px;
    letter-spacing: 2px;
    color: #888888;
}

.principle h3 {
    font-size: 25px;
    font-weight: 500;
    margin: 25px 0 15px 0;
}

.principle p {
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
    margin: 0;
}

.reference-image {
    max-width: 100%;
    height: auto;
}

.section-intro {
    max-width: 650px;

    font-size: 18px;
    line-height: 1.6;

    color: #555555;

    margin-bottom: 40px;
}

.references {
    max-width: 1400px;
    margin: 0 auto;
}

.references-intro {
    max-width: 700px;
    margin-bottom: 60px;
}

.references-intro h2 {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 500;
    margin: 0 0 25px 0;
}

.references-intro > p:last-child {
    font-size: 18px;
    line-height: 1.7;
    color: #555555;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.reference-document {
    background-color: white;
    padding: 20px;
    border: 1px solid #dddddd;
}

.reference-document img {
    display: block;
    width: 100%;
    height: auto;
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
}

.contact-intro h2 {
    max-width: 550px;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 500;
    margin: 0 0 25px 0;
}

.contact-intro > p:last-child {
    max-width: 600px;
    font-size: 18px;
    line-height: 1.7;
    color: #555555;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-item {
    padding-bottom: 30px;
    border-bottom: 1px solid #dddddd;
}

.contact-item span {
    font-size: 13px;
    letter-spacing: 2px;
    color: #888888;
}

.contact-item p {
    margin: 15px 0 0 0;
    font-size: 18px;
}


.contact-form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
}

.contact-form-section h2 {
    font-size: 36px;
    font-weight: 500;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555555;
}

.contact-form input,
.contact-form textarea {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #cccccc;
    background-color: white;
    font-family: inherit;
    font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #222222;
}

.contact-form button {
    align-self: flex-start;
    padding: 15px 30px;
    border: none;
    background-color: #222222;
    color: white;
    font-size: 15px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #555555;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);

    align-items: center;
    justify-content: center;

    padding: 30px;
    box-sizing: border-box;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;

    border: none;
    background: none;
    color: white;

    font-size: 45px;
    line-height: 1;

    cursor: pointer;
}

h1,
h2,
h3 {
    letter-spacing: -0.02em;
}

p {
    font-weight: 400;
}

main > section:not(.hero) {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.service-detail {
    max-width: 900px;
    padding: 70px 0;
    border-top: 1px solid #dddddd;
}

.service-detail h2 {
    font-size: 42px;
    font-weight: 500;
    margin: 0 0 25px 0;
}

.service-detail p {
    max-width: 750px;
    font-size: 18px;
    line-height: 1.7;
    color: #555555;
}
.about-photo {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin-bottom: 35px;
}

.experience-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}

.experience-home-intro h2 {
    max-width: 550px;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 500;
    margin: 0;
}

.experience-home-content {
    max-width: 650px;
}

.experience-home-content p {
    font-size: 18px;
    line-height: 1.7;
    color: #555555;
    margin: 0 0 25px 0;
}

.home-contact {
    background-color: #222222;
    color: white;
    padding: 100px 60px;
}

.home-contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.home-contact .hero-label {
    color: #aaaaaa;
}

.home-contact h2 {
    max-width: 750px;
    font-size: 56px;
    line-height: 1.1;
    font-weight: 500;
    margin: 0 0 30px 0;
}

.home-contact p:not(.hero-label) {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.7;
    color: #cccccc;
    margin-bottom: 35px;
}

.home-contact .hero-button {
    background-color: white;
    color: #222222;
}

.home-contact .hero-button:hover {
    background-color: #dddddd;
}

footer {
    padding: 30px 60px;
    background-color: #222222;
    color: white;
}
/* =========================
   TELEFON
   ========================= */

@media (max-width: 768px) {

    /* =========================
       HEADER
       ========================= */

    header {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 20px;
    }

    .menu-button {
        display: block;
        position: absolute;
        top: 16px;
        right: 20px;
    }

    nav {
        display: none;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 20px;
    }

    nav.active {
        display: flex;
    }


    /* =========================
       MAIN
       ========================= */

    main {
        padding: 0;
    }

    main > section:not(.hero) {
        padding: 60px 20px;
    }


    /* =========================
       HERO
       ========================= */

    .hero {
        min-height: auto;
        padding: 60px 20px;
    }

    .hero h2 {
        font-size: 40px;
    }

    .hero-description {
        font-size: 17px;
    }


    /* =========================
       SERVICES
       ========================= */

    .services {
        grid-template-columns: 1fr;
    }


    /* =========================
       ABOUT
       ========================= */

    .about {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-intro h2 {
        font-size: 36px;
    }

    .about-details {
        grid-template-columns: 1fr;
    }

    .about-photo {
        max-width: 100%;
    }


    /* =========================
       EXPERIENCE
       ========================= */

    .experience-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .experience-content h2 {
        font-size: 24px;
    }

    .experience-home {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 20px;
    }

    .experience-home-intro h2 {
        font-size: 36px;
    }


    /* =========================
       PRINCIPLES
       ========================= */

    .principles {
        padding: 60px 20px;
    }

    .principles-intro h2 {
        font-size: 36px;
    }

    .principles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    /* =========================
       REFERENCES
       ========================= */

    .references {
        max-width: 100%;
    }

    .references-intro {
        margin-bottom: 40px;
    }

    .references-intro h2 {
        font-size: 36px;
    }

    .references-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .reference-document {
        padding: 15px;
    }


    /* =========================
       CONTACT
       ========================= */

    .contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-intro h2 {
        font-size: 38px;
    }

    .contact-form-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    /* =========================
       HOME CONTACT
       ========================= */

    .home-contact {
        padding: 70px 20px;
    }

    .home-contact h2 {
        font-size: 40px;
    }


    /* =========================
       FOOTER
       ========================= */

    footer {
        padding: 25px 20px;
    }
}

.form-trap {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Style strony polityki prywatności */
.privacy-page {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 24px;
}

.privacy-page h1 {
    margin: 0 0 12px;
}

.privacy-page .privacy-date {
    margin: 0 0 24px;
}

.privacy-page section {
    margin: 0 0 10px;
    padding: 0;
}

.privacy-page h2 {
    margin: 0 0 4px;
    line-height: 1.3;
}

.privacy-page p {
    margin-top: 0;
    margin-bottom: 10px;
}

.home-contact {
    margin-bottom: 80px;
}
