:root {
    --main-color: rgb(0, 152, 95);
    --bright-main: rgb(93, 198, 106);
    --body-back: #f7f7f9;
    --body-back--xx: red;
}

.bnp-main-color {
    color: var(--main-color);
}

.bnp-gray-color-bg {
    background-color: var(--body-back);
}

img.bnp_mz {
    width: 100%;
}

img.bnp_grp {
    width: 100%;
}

@media (min-width: 100px) {
    img.bnp_mz {
        width: 100%;
    }
}

body {
    background-color: var(--body-back);
    font-variant-ligatures: no-common-ligatures;
}

div.main {    
    display: flex;
    flex-direction: column;
    font-family: "BNPPSansCondensed", Arial, sans-serif;
    background-color: var(--body-back);
}

@media (min-width: 1600px) {
    div.main {
        width: 1600px;
        margin: auto;
    }

    footer.footer {
        width: 90%;
        margin: auto;
    }
}

/* div.header {
} */

div.link-navbar {
    display: flex;
    align-items: flex-end;
    gap: 2rem;
    background-color: var(--main-color);
    color: white;
    font-family: 'BNPPSans', sans-serif;
    border-radius: 0;
    padding: 1.5rem 0 1.5rem;
}

div.link-navbar ul {
    list-style: none;
    margin: 0;
}

div.link-navbar li {
    display: inline-block;
    margin-right: 2.16rem;
}

div.left-links {
    flex: 1;
    padding-left: 1.875rem;
}

.link-navbar li a {
    color: #fff;
}

div.right-links {
    display: flex;
    font-weight: bold;
}

button.switch {
    outline: none;
    border: none;
    color: #fff;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M5.37 4.385l.212.212.213-.212 3.88-3.88a.717.717 0 01.997.001.696.696 0 01-.002.984L6.08 6.08a.696.696 0 01-.985 0L.505 1.49A.696.696 0 111.49.505l3.88 3.88z' fill='%23fff' stroke='%2300965E' stroke-width='.6'/%3E%3C/svg%3E") no-repeat 100% 50%;
    padding-right: 1.57rem;
}

div.nav-links {
    position: absolute;
    width: auto;
    height: auto;
    top: 4.33rem;
    left: 0;
    padding: 0 1.25rem;
    z-index: 2;
    background: var(--main-color);
    display: none;
}

div.nav-links ul {
    margin: 0;
    padding: 0;
    height: inherit;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    list-style: none;
}

div.nav-links ul li {
    position: relative;
    padding: 1.4rem 0;
    border-top: 1px solid #fff8;
    font-size: 1.2rem;
}

div.nav-links ul li:first-of-type {
    border-top: none;
}

@media (min-width: 1280px) {
    div.narrow-left-links {
        display: none;
    }
}

@media (max-width: 1280px) {
    div.wide-left-links {
        display: none;
    }
}

div.subbar {
    padding: 1.5rem 3.2rem 1.5rem;
}

a.career-link {
    text-decoration: none;
    color: #333;
    font-family: 'BNPPSans', sans-serif;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

a.career-link img {
    height: 4.1rem;
    object-fit: contain;
}

div.top {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1230px) {
    div.top {
        flex-direction: row;
    }
}

div.bnp-callback-title {
    font-size: 2em;
    font-family: "BNPPSansCondensed", Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: white;
    padding-bottom: 0.5rem;
    margin-bottom: 0px !important;
}

div.bnp-callback-title2 {
    font-size: 1em;
    font-family: "BNPPSansCondensed", Arial, sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    color: white;
    margin: 0 !important;
}

div.bnp-callback-main {
    background-color: var(--main-color);
    flex-grow: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    text-transform: uppercase;
}

div.bnp-callback-main-confirm {
    background-color: var(--main-color);
    flex-grow: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    text-transform: uppercase;
}

div.bnp-callback-main > div {
    margin-bottom: 15px;
}

div.bnp-rodo-main {
    display: flex;
    flex-direction: row;
    font-size: 0.8em;
    font-family: "BNPPSans", Arial, sans-serif;
    font-weight: 300;
    color: white;
    text-transform: none;
}

@media (min-width: 1230px) {
    div.bnp-rodo-main {
        font-size: 0.7em;
    }
}

@media (min-width: 1286px) {
    div.bnp-rodo-main {
        font-size: 0.8em;
    }
}

@media (min-width: 1600px) {
    div.bnp-rodo-main {
        font-size: 0.9em;
    }
}

div.bnp-phone-number-wrap {
    margin-top: 15px;
    flex-direction: column;
    display: flex;
    width: 99%;
}

input.bnp-phone-number {
    border: 1px solid #c7c7c7;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    padding: 15px 14px;
    padding: 15px 14px;
    -ms-border-radius: 0 !important;
    border-radius: 0 !important;
    font-family: "BNPPSans", Arial, sans-serif;
    font-size: 1.6rem;
    font-stretch: 100%;
    font-weight: 700;
}

.bnp-rodo-main > div {
    margin-right: 10px;
}

.bnp-callback-btn-wrap {
    flex-direction: column;
    display: flex;
    width: 80%;
    flex-grow: 2;
    flex-flow: column-reverse;
    align-items: center;
}

.bnp-callback-btn {
    font-family: "BNPPSansCondensed", Arial, sans-serif;
    font-weight: 700;
    font-size: 1em;
    background-color: white !important;
    color: var(--main-color);
    padding-top: 10px !important;
    text-transform: uppercase;
    min-width: 80%;
}

@media (min-width: 1360px) {
    .bnp-callback-btn {
        font-size: 3em;
    }
}

.bnp-callback-wait-img {
    max-height: 31px;
    max-width: 31px;
}

div.middle {
    display: flex;
    flex-direction: column;
    padding-left: 10%;
    padding-right: 10%;
    margin-top: 80px;
    margin-bottom: 80px;
}

@media (max-width: 1550px) {
    div.middle {
        padding-left: 10%;
    }
}

@media (max-width: 1420px) {
    div.middle {
        padding-left: 15%;
        padding-right: 15%;
    }
}

div.middle > div.middle-title {
    font-weight: 700;
    font-size: 3em;
    text-align: center;
    text-transform: uppercase;
}

div.middle > div.middle-text {
    font-weight: 700;
    font-size: 2em;
    display: flex;
    flex-direction: column;
}

div.bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: space-around;
    margin-bottom: 40px;
}

div.bnp-product {
    background-color: white;
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

@media (max-width: 1460px) {
    div.bnp-product {
        margin-bottom: 10px;
    }
}

div.bnp-product > div {
    width: 320px;
    margin-bottom: 10px;
}

/* prod image */
div.bnp-product > div:nth-child(1) {
    height: 150px;
    display: flex;
    object-fit: contain;
}

/* prod title */
div.bnp-product > div:nth-child(2) {
    font-weight: bolder;
    font-size: 2em;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* prod text */
div.bnp-product > div:nth-child(3) {
    font-size: 1.5em;
}

/* png img */
div.bnp-product > div.png-container {
    display: flex;
    justify-content: center;
}

div.bnp-product > div.png-container > img {
    width: 150px;
}

div.main div.links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

div.links a:active {
    color: black;
}
div.links a {
    color: black;
}

div.footnote {
    align-items: center;
    text-align: left;
    margin-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

footer.footer {
    font: 1.5rem 'BNPPSans', sans-serif;
    color: white;
}

.footer .footer-top {
    background-color: #212121;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 6rem;
    border-bottom: 1px solid hsla(0, 0%, 100%, .2);
}

.footer-top-links ul {
    margin: 0;
    list-style: none;
    padding-inline-start: 0;
}

.footer-top-links ul li {
    margin-right: 1.25em;
    display: inline-block;
}

.footer-top-links ul li a {
    color: inherit;
    font: inherit;
}

.footer-top-navigation .scroll-up {
    color: inherit;
    background-color: inherit;
    border: none;
    outline: none;
    font-size: 1.33rem;
    display: flex;
    align-items: center;
}

.footer-top-navigation .scroll-up:hover > .scroll-up-icon {
    background: hsla(0, 0%, 100%, 0.1);
}

.footer-top-navigation .scroll-up-icon {
    display: block;
    margin-left: 2rem;
    width: 4.5rem;
    height: 4.5rem;
    border: 0.17rem solid hsla(0, 0%, 100%, .1);
    border-radius: 50%;
    transition: background .2s ease-in-out;
    will-change: background;
    position: relative;
}

.footer-top-navigation .scroll-up-icon::after,
.footer-top-navigation .scroll-up-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 2px;
}

.footer-top-navigation .scroll-up-icon::after {
    width: 25%;
    height: 25%;
    border-top: 0.25rem solid var(--bright-main);
    border-left: 0.25rem solid var(--bright-main);
    transform: translate(-50%, -80%) rotate(45deg);
}

.footer-top-navigation .scroll-up-icon::before {
    transform: translate(-50%, -50%);
    width: 0.25rem;
    height: 35%;
    background: var(--bright-main);
}

.footer .footer-middle {
    background-color: #212121;
    padding: 2rem 6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-middle .navigation {
    display: flex;
    flex: 0 0 75%;
    flex-wrap: wrap;
    padding: 2rem;
}

.navigation .element {
    flex: 0 0 33.33%;
    margin-bottom: 2rem;
}

.navigation .element ul {
    margin: 0;
    list-style: none;
    padding-left: 0;
}

.navigation .element ul li {
    margin-bottom: 1rem;
}

.navigation .element ul li a {
    color: inherit;
}

.element-header {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--bright-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.element-header .header-button {
    position: relative;
    background: transparent;
    border: 1px solid var(--bright-main);
    border-radius: 50%;
    padding: 1rem 1rem;
    margin-right: 0.9rem;
    display: none;
}

.element-header .header-button::after,
.element-header .header-button::before {
    content: "";
    position: absolute;
    width: 50%;
    height: 2px;
    background: var(--bright-main);
    left: 0.5rem;
    top: 0.87rem;
}

.element-header .header-button::before {
    rotate: 90deg;
}

.element-header .header-button.inactive::before {
    rotate: 0deg;
}

.navigation .element-header a {
    text-decoration: underline;
    color: inherit;
}

.contact {
    flex: 0 0 25%;
    padding: 1rem;
}

.contact a {
    color: inherit;
}

.info .phones {
    border: 1px solid #404040;
    padding: 1rem;
    margin-bottom: 3rem;
}

.phones .main-phone {
    display: inline-block;
    font-size: 3rem;
    margin: 2rem;
    color: var(--bright-main);
    font-weight: 700;
}

.phones .main-phone svg {
    width: 3rem;
    height: 3rem;
    vertical-align: middle;
    margin-right: 1.5rem;
}

.phones .other-phone {
    margin-top: 0.6rem;
}

.phones .other-phone .phone {
    font-size: 1.5rem;
    padding: 0.8rem 0;
    font-weight: 700;
}

.other-phone-description {
    font-size: 1.2rem;
}

.other-phone-description:last-of-type {
    margin-top: 0.6rem;
    margin-bottom: 2rem;
}

.info .buttons {
    display: flex;
    flex-wrap: wrap;
}

.info .buttons .button {
    flex: 0 0 50%;
    padding: 1rem 0.75rem;
}

.info .buttons .button a {
    color: inherit;
    display: flex;
    align-items: center;
}

.info .buttons .button .icon-wrapper {
    border-radius: 50%;
    background-color: var(--bright-main);
    color: black;
    padding: 1rem;
    margin-right: 0.75rem;
}

.info .buttons .button .icon-wrapper svg {
    vertical-align: middle;
}

.info .buttons .button .button-description {
    line-height: 1.2;
}

.footer-middle .links {
    order: 2;
    display: flex;
    justify-content: space-between;
    flex: 0 0 100%;
    padding: 2rem;
}

.footer-middle .links ul {
    display: block;
    list-style: none;
    margin: 0;
    padding-inline-start: 0;
}

.footer-middle .links ul li {
    display: inline-block;
    margin-right: 1.8rem;
}

.footer-middle .links ul:last-of-type li {
    display: inline-block;
    margin-left: 1.8rem;
    margin-right: 0;
}

.footer-middle .links ul li::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%,-50%);
    width: 1px;
    height: 1.2rem;
    background: hsla(0,0%,100%,.2);
}

.footer-middle .links ul li a {
    color: inherit;
    font-size: 1.2rem;
}

.footer-bottom {
    background-color: white;
    padding: 2rem 6rem;
    color: #5f5f5f;
}

.footer-bottom .navigation {
    display: flex;
    justify-content: space-between;
}

.footer-bottom .navigation > * {
    padding: 2rem;
}

.footer-bottom .navigation .bnp-logo {
    color: #1b1c20
}

.footer-bottom .navigation .bnp-logo img {
    height: 3rem;
    object-fit: contain;
}

.footer-bottom .navigation .links ul {
    margin: 0;
    list-style: none;
    padding-left: 0;
    display: inline-block;
}

.footer-bottom .navigation .links ul li, .footer-bottom .navigation .links .copyright {
    margin-bottom: 1rem;
    margin-left: 1.5rem;
    display: inline-block;
    font-size: 1.2rem;
}

.footer-bottom .navigation .links ul li a {
    color: inherit;
}

.footer-bottom .about {
    display: flex;
    align-items: center;
    padding: 2rem;
    font-size: 1.2rem;
}

.footer-bottom .disclaimer {
    flex: 5;
}

.footer-bottom .developer {
    flex: 1;
}

.footer-bottom .developer img {
    height: 1.8rem;
}

@media (max-width: 1200px) {
    .footer-middle, .footer-top, .footer-bottom {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .footer-middle .navigation {
        order: 1;
        flex: 0 0 100%;
    }

    .footer-middle .navigation .element {
        flex: 0 0 50%;
    }

    .footer-middle .contact {
        order: 0;
        flex: 0 0 100%;
    }
}

@media (max-width: 900px) {
    .footer-middle .navigation .element {
        flex: 0 0 100%;
        justify-content: center;
    }

    .element-header .header-button {
        display: block;
    }

    .element ul {
        display: none;
    }

    .footer-bottom .navigation,
    .footer-bottom .about {
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .footer-middle .links {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
    }

    .footer-middle .links ul {
        text-align: center;
    }

    .footer-middle .links ul li {
        margin: 0 0.9rem;
    }
}

@media (min-width: 1230px) {
    div.top {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    div.top > div:first-child {
        flex: 0 0 auto;
    }

    div.bnp-callback-main {
        flex: 1;
        min-width: 0;
        box-sizing: border-box;
    }

    img.bnp_mz {
        width: 100%;
        max-width: 771px;
        height: auto;
        display: block;
        object-fit: contain;
    }
}

.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 60px; /* miejsce na większą ikonę */
    margin-bottom: 10px; /* zachowuje odstęp między wierszami */
    line-height: 1.4; /* kontroluj wysokość linii */
}

.custom-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;  /* powiększona szerokość */
    height: 48px; /* powiększona wysokość */
    background-size: contain;
    background-repeat: no-repeat;
}

.custom-icon-handshake::before {
    background-image: url('/img/v2/karta/icons/BNP_Ikony_1.png'); /* ścieżka do Twojej ikony */
}

.custom-icon-document::before {
    background-image: url('/img/v2/karta/icons/BNP_Ikony_2.png'); /* ścieżka do Twojej ikony */
}

.custom-icon-money::before {
    background-image: url('/img/v2/karta/icons/BNP_Ikony_3.png'); /* ścieżka do Twojej ikony */
}

.custom-icon-euro::before {
    background-image: url('/img/v2/karta/icons/BNP_Ikony_4.png'); /* ścieżka do Twojej ikony */
}

.custom-icon-exchange::before {
    background-image: url('/img/v2/karta/icons/BNP_Ikony_5.png'); /* ścieżka do Twojej ikony */
}

.custom-icon-world::before {
    background-image: url('/img/v2/karta/icons/BNP_Ikony_6.png'); /* ścieżka do Twojej ikony */
}

.custom-icon-message::before {
    background-image: url('/img/v2/karta/icons/BNP_Ikony_7.png'); /* ścieżka do Twojej ikony */
}

.custom-icon-24-7::before {
    background-image: url('/img/v2/karta/icons/BNP_Ikony_b8.png'); /* ścieżka do Twojej ikony */
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.card {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
    background: white;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.image-container {
    position: relative;
    width: 100%;
    height: 144px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-text {
    position: absolute;
    top: 50px;
    left: 30px;
    color: white;
    font-family: "BNPPSans", serif;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.4;
    text-shadow: 1px 1px 4px black;
}

.card-text {
    padding-left: 40px;
    padding-right: 40px;
    font-family: "BNPPSansCondensed", serif;
}

.card-text h3 {
    font-family: inherit;
    font-weight: 700;
    font-size: 2em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.card-text p {
    font-family: inherit;
    font-weight: 700;
    font-size: 1.6em;
    margin-bottom: 10px;
}

.card-text ul {
    padding-left: 20px;
}

.card-text ul li {
    margin-bottom: 8px;
    list-style-type: square;
    font-size: 1.5em;
    font-weight: 400;
}

.card-text ul li::marker {
    color: var(--main-color);
}

.highlight {
    color: #00a651;
}

@media (max-width: 1199px) {
    .card {
        flex: 1 1 100%;
    }
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 30px;
    row-gap: 40px;
    padding: 20px;
    max-width: 920px;      /* <- ważne */
    width: 100%;
    margin: 0 auto;        /* <- centrowanie */
    text-align: center;
}

.features-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features-grid img {
    width: 123px;
    height: 123px;
    margin-bottom: 12px;
}

.features-grid p {
    font-weight: bold;
    font-family: "BNPPSansCondensed", sans-serif;
    font-size: 1.9rem;
    line-height: 1.3;
    margin: 0;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
        row-gap: 30px;
        padding: 10px;
    }
}
