/* ------------------------------------------- */
/* BASIC SETUP */
/* ------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    background-color: #ffffff;
    color: #4a4a4a;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 25px;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img {
    -webkit-backface-visibility: hidden;
    /* IE 9 */
    -webkit-transform: translateZ(0);
    /* Chrome, Safari, Opera */
    transform: translateZ(0);
}

.clearfix {
    overflow: auto;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* ------------------------------------------- */
/* REUSABLE COMPONENTS */
/* ------------------------------------------- */
.row {
    max-width: 80vw;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

h1,
h2,
h3 {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #fff;
    font-size: 240%;
    word-spacing: 4px;
}

h2 {
    font-size: 180%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
}

h3 {
    font-size: 110%;
    margin-bottom: 15px;
}

h2:after {
    display: block;
    height: 2px;
    width: 100px;
    background-color: #3498db;
    content: " ";
    margin: 0 auto;
    margin-top: 30px;
}

.box {
    padding: 1%;
}

.box img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* ------ PARAGRAPHS ------ */
.paragraph-section-1 {
    max-width: 80vw;
    margin-left: 15%;
    text-align: center;

}

.box p {
    font-size: 90%;
    text-align: justify;
}

/* ----- ICONS ----- */
.icon-big {
    font-size: 350%;
    display: block;
    color: #3498db;
    text-align: center;
    margin-bottom: 10px;
}

.icon-small {
    display: inline-block;
    width: 30px;
    text-align: center;
    color: #3498db;
    font-size: 120%;
    vertical-align: middle;
    margin-top: -4px;
    margin-right: 5px;
}

/* ----- LINKS ----- */
a:link,
a:visited {
    color: #3498db;
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid #3498db;
    -webkit-transition: color 0.2s, border-bottom 0.2s;
    transition: color 0.2s, border-bottom 0.2s;
}

a:hover,
a:active {
    color: #4a4a4a;
    border-bottom: 1px solid transparent;
}

/* ----- BUTTONS ----- */
.btn:link,
.btn:visited {
    display: inline-block;
    padding: 10px 30px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 200px;
    -webkit-transition: background-color 0.2s, border 0.2s, color 0.2s;
    transition: background-color 0.2s, border 0.2s, color 0.2s;
}

.btn-full:link,
.btn-full:visited {
    border: 1px solid #3d3d3d;
    background-color: #42494e;
    color: #fff;
    margin-right: 15px;

}

.btn-ghost:link,
.btn-ghost:visited {
    border: 1px solid #3498db;
    color: #b7d3e6;
}

.btn:hover,
.btn:active {
    background-color: #a4b6c2;
}

.btn-full:hover,
.btn-full:active {
    border: 1px solid #a9b8c2;
    ;
    background-color: #9faeb9;
    color: #fff;

}

.btn-ghost:hover,
.btn-ghost:active {
    border: 1px solid #b4cad9;
    ;
    color: #fff;
}

/* ------------------------------------------- */
/* HEADER */
/* ------------------------------------------- */
header {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.7)), to(rgba(0, 0, 0, 0.7))), url(img/headerimg.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(img/headerimg.jpg);
    background-size: cover;
    background-position: center;
    height: 100vh;
    background-attachment: fixed;
}

.header-text-box {
    position: absolute;
    max-width: 80vw;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: clamp(12px, .8vw, 20px);
}

.logo {
    height: 100px;
    width: auto;
    float: left;
    margin-top: 20px;
}

.logo-black {
    height: 50px;
    width: auto;
    float: left;
    margin: 5px 0;
    display: none;
}

.header-text-box {
    text-align: center;
}

.header-text-box h1 {
    text-transform: none;
    letter-spacing: 0;
    word-spacing: normal;

    line-height: 1.4;
    max-width: 38ch;
    margin: 0 auto 24px;

    text-wrap: balance;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* main navigation */
.main-nav {
    float: right;
    list-style: none;
    margin-top: 55px;
}

.main-nav li {
    display: inline-block;
    margin-left: 40px;
}

.main-nav li a:link,
.main-nav li a:visited {
    padding: 6px 0;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    -webkit-transition: border-bottom 0.2s;
    transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active {
    border-bottom: 2px solid #3498db;
}

/* mobile navi */
.mobile-nav-icon {
    float: right;
    margin-top: 30px;
    cursor: pointer;
    display: none;
}

.mobile-nav-icon i {
    font-size: 200%;
    color: #fff;
}

/* sticky navigation */
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.99);
    box-shadow: 0 2px 2px #e6e6e6;
    z-index: 9999;
}

.sticky .main-nav {
    margin-top: 18px;
}

.sticky .main-nav li a:link,
.sticky .main-nav li a:visited {
    padding: 16px 0;
    color: #4a4a4a;
}

.sticky .logo {
    display: none
}

.sticky .logo-black {
    display: block;
}

/* --- Dropdown in navigation --- */
.has-dropdown {
    position: relative;
}

.has-dropdown>a {
    white-space: nowrap;
}

.dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    display: none;
    list-style: none;
    background: #fff;
    min-width: 220px;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    padding: 8px 0;
    z-index: 10000;
}

.dropdown li a:link,
.dropdown li a:visited {
    display: block;
    padding: 10px 14px;
    color: #4a4a4a;
    border: 0;
}

.dropdown li a:hover {
    background: #f6f6f6;
}

.has-dropdown.open .dropdown {
    display: block;
}

@media (min-width: 1024px) {
    .has-dropdown:hover .dropdown {
        display: block;
    }
}

/* ------------------------------------------- */
/* SECTION 1 */
/* ------------------------------------------- */
.section-1 .paragraph-section-1 {
    margin-bottom: 30px;
}

/* ------------------------------------------- */
/* SECTION 2 */
/* ------------------------------------------- */
.section-2 {
    padding: 0;
}

.showcase {
    list-style: none;
    width: 100%;
}

.showcase li {
    display: inline-block;
    float: left;
    width: 25%;
}

.showcase-photo {
    width: 100%;
    margin: 0;
    overflow: hidden;
    background-color: black;
}

.showcase-photo img {
    opacity: 0.7;
    width: 100%;
    height: auto;
    -webkit-transform: scale(1.20);
    transform: scale(1.20);
    -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s, -webkit-transform 0.5s;
}

.showcase-photo img:hover {
    -webkit-transform: scale(1.06);
    transform: scale(1.06);
    opacity: 1;
}

.showcase.vertical li {
    width: 100%;
    float: none;
    display: block;
}

.showcase.vertical li+li {
    margin-top: 18px;
}

.section-2 .showcase-photo {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.reps-grid {
    max-width: 180vw;
    margin: 0 auto;
    padding: 0 2%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.rep-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    overflow: hidden;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
    padding: 20px;
}

.rep-card a {
    display: block;
    border: 0;
    color: inherit;
}

.rep-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.rep-logo-wrap {
    background: #111;
    padding: 16px;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rep-logo-wrap img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

/* Tytuł karty */
.rep-card h3 {
    margin: 12px 12px 16px;
    font-size: 105%;
    text-transform: none;
    /* logotyp + nazwa bez uppercase wygląda czyściej */
}

/* Responsywność */
@media (max-width: 1023px) {
    .reps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .reps-grid {
        grid-template-columns: 1fr;
    }
}


/* ------------------------------------------- */
/* SECTION 3 */
/* ------------------------------------------- */
.section-3 {
    background: #f4f4f4;
}

.steps-box {
    margin-top: 30px;
}

.steps-box:first-child {
    text-align: right;
    padding-right: 3%;

}

.steps-box:last-child {
    padding-left: 3%;
    margin-top: 50px;
}

.section-3-image {
    width: 100%;
}

.works-step {
    margin-bottom: 50px;
}

.works-step div {
    color: #3498db;
    border: 2px solid #3498db;
    display: inline-block;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    text-align: center;
    padding: 7px;
    float: left;
    font-size: 150%;
    margin-right: 25px;
}

/* ------------------------------------------- */
/* SECTION 4 */
/* ------------------------------------------- */
.section-4-feature {
    margin-bottom: 5px;
}

/* SECTION 5 */
.section-5 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.78)), url(img/section5.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    background-attachment: fixed;
    padding: 100px 0;
}

.section-5 a:link,
.section-5 a:visited {
    color: #e9f1f7;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.section-5 a:hover,
.section-5 a:active {
    color: #ffffff;
    border-bottom-color: transparent;
}

.about-wrap {
    justify-content: center;
    margin: 0 auto;
}

.about-media {
    display: flex;
    align-items: start;
    justify-content: center;
}

.about-logo {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, .45));
    opacity: .95;
}

.about-card {
    background: rgba(0, 0, 0, .34);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .28);
    max-width: 560px;
    margin-top: 5%;
    justify-self: center;
}

.about-text {
    line-height: 1.4;
    margin-bottom: 18px;
    color: #eef3f7;
}

.about-contact {
    list-style: none;
    margin: 12px 0 6px;
}

.about-contact li {
    margin: 16px 0;
}

.about-meta {
    display: grid;
    grid-template-columns: repeat(1, minmax(220px, 1fr));
    gap: 12px 16px;
    margin-top: 16px;
    list-style: none;
}

.about-meta li {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    padding: 10px 12px;
}

.about-meta span {
    opacity: .85;
    margin-right: 6px;
}

.btn-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 5%;
}

.section-5 .btn {
    display: block;
    width: 100%;
    text-align: center;
}

.section-5 .btn-full:link,
.section-5 .btn-full:visited {
    border: 1px solid #ffffff;
    background-color: #ffffff;
    color: #111;
}

.section-5 .btn-full:hover,
.section-5 .btn-full:active {
    border-color: #e6e6e6;
    background-color: #e6e6e6;
    color: #111;
}

.section-5 .btn-ghost:link,
.section-5 .btn-ghost:visited {
    border-color: rgba(255, 255, 255, .7);
    color: #ffffff;
}

.section-5 .btn-ghost:hover,
.section-5 .btn-ghost:active {
    border-color: #ffffff;
    background: #ffffff;
    color: #111;
}

@media (min-width: 1200px) {
    .about-wrap {
        grid-template-columns: 520px 520px;
        justify-content: center;
    }
}

@media only screen and (max-width: 1023px) {
    .section-5 {
        padding: 80px 0;
    }

    .about-wrap {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .about-card {
        max-width: 680px;
    }

    .about-meta {
        grid-template-columns: 1fr;
    }

    .btn-row {
        justify-content: center;
    }
}


/* ------------------------------------------- */
/* SECTION 6 */
/* ------------------------------------------- */
.section-6 {
    background: #f4f4f4;
}

.btn-section-6:link,
.btn-section-6:visited {
    margin-right: 0;
}

.section-6-box {
    background-color: #fff;
    border-radius: 5px;
    width: 90%;
    margin-left: 5%;
    -webkit-box-shadow: 0 2px 2px #d0d0d0;
    box-shadow: 0 2px 2px #d0d0d0;
}

.section-6-box div {
    padding: 15px;
    border-bottom: 1px solid #f4f4f4;
}

.section-6-box div:first-child {
    background-color: #fcfcfc;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.section-6-box div:last-child {
    text-align: center;
}

.section-6-number {
    font-size: 200%;
    margin-bottom: 10px;
    font-weight: 200;
    color: #3498db;
}

.section-6-box ul {
    list-style: none;
}

.section-6-box ul li {
    padding: 5px 0;
}

/* ------------------------------------------- */
/* SECTION 8 */
/* ------------------------------------------- */

.wide-2 li {
    width: 50%;
}

/* ------------------------------------------- */
/* Footer*/
/* ------------------------------------------- */

footer {
    background-color: #333;
    padding: 40px;
    padding-bottom: 10px;
    font-size: 80%;
}

.footer-nav {
    list-style: none;
    float: left;
}

.social-links {
    list-style: none;
    float: right;
}

.footer-nav li,
.social-links li {
    display: inline-block;
    margin-right: 20px;
}

.footer-nav li:last-child,
.social-links li:last-child {
    margin-right: 0;
}

.footer-nav li a:link,
.footer-nav li a:visited,
.social-links li a:link,
.social-links li a:visited {
    text-decoration: none;
    border: 0;
    color: #888;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:active,
.social-links li a:hover,
.social-links li a:active {
    color: #ddd;
}

.social-links li a:link,
.social-links li a:visited {
    font-size: 150%;
}

footer p {
    color: #888;
    text-align: center;
    font-size: 90%;
    margin-top: 20px;
}

/* ------------------------------------------- */
/* animations*/
/* ------------------------------------------- */

.js--wp-1,
.js--wp-2,
.js--wp-3 {
    opacity: 0;
}

.js--wp-1.animated,
.js--wp-2.animated,
.js--wp-3.animated {
    opacity: 1;
}

@media (max-width: 768px) {

    .logo {
        height: 70px;
        margin-top: 10px;
    }

    .mobile-nav-icon {
        display: block;
        margin-top: 18px;
        z-index: 9999;
    }

    .main-nav {
        float: none;
        position: absolute;
        top: 100px;
        right: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.92);
        text-align: center;
        flex-direction: column;
        padding: 20px 0;
        z-index: 9998;
        display: none;
    }

    .main-nav li {
        display: block;
        margin: 18px 0;
    }

    .main-nav li a {
        font-size: 22px;
        border: none !important;
        padding: 12px 0;
        display: inline-block;
    }

    .header-text-box {
        max-width: 90%;
        font-size: 18px;
        top: 56%;
    }

    .header-text-box h1 {
        font-size: 22px;
        line-height: 1.35;
        max-width: 28ch;
    }

    header.menu-open .header-text-box {
        top: 75%;
    }
}