:root {
    --bg: #292264;
    --bg-header: #292264;
    --bg-mobile: #292264;
    --text: #ffffff;
    --text-navy-blue: #292264;
    --text-orange: #FA6400;
    --accent: #FA6400;
    --accent-hover: white;
    --border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Open Sans", Arial, sans-serif;
    background: var(--bg);
}

.site-header {
    position: relative;
    z-index: 1000;
    background: var(--bg-header);
    color: var(--text);
}

.topbar {
    max-width: 1440px;
    margin: 0 auto;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 46px;
}

.wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 46px;
}

.wrapper-fluid {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.logo {
    width: 356px;
    height: 50px;
}

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

.desktop-nav a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    transition: opacity 0.2s ease;
}

.desktop-nav a:hover {
    text-decoration: underline;
}

.desktop-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    transition: transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
    border: 2px solid #FA6400;
}

.desktop-nav .nav-cta:hover {
    background: var(--accent-hover);
    color: var(--text-orange);
    opacity: 1;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1100;
}

.menu-toggle span {
    position: absolute;
    left: 10px;
    width: 26px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.menu-toggle span:nth-child(1) {
    top: 14px;
}

.menu-toggle span:nth-child(2) {
    top: 22px;
}

.menu-toggle span:nth-child(3) {
    top: 30px;
}

.menu-toggle.active span:nth-child(1) {
    top: 22px;
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 22px;
    transform: rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--bg-mobile);
    border-top: 1px solid var(--border);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.mobile-nav.open {
    display: block;
}

.mobile-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px 20px;
}

.mobile-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav .nav-cta {
    margin: 40px 0 20px;
    padding: 14px 16px;
    border-radius: 6px;
    background: var(--accent);
    border-bottom: none;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-nav .nav-cta:hover {
    background: var(--accent-hover);
    color: var(--text-orange);
}

.hero-invest {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-image: url('/inwestycje/img/background-hero.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.hero-invest::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(18, 16, 76, 0.35) 0%,
        rgba(18, 16, 76, 0.55) 45%,
        rgba(18, 16, 76, 0.72) 100%
    );
    pointer-events: none;
}

.hero-invest .wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-invest__content {
    min-height: 640px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 80px 0 88px;
    max-width: 820px;
}

.hero-invest__eyebrow {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 400;
    color: #ffffff;
    opacity: 0.95;
}

.hero-invest__title {
    margin: 0 0 28px;
    font-size: clamp(42px, 7vw, 75px);
    line-height: 1.15;
    font-weight: 700;
    color: #ffffff;
    max-width: 853px;
}

.hero-invest__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 70px;
    max-width: 100%;
    padding: 18px 28px;
    border-radius: 12px;
    background: #FA6400;
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
    border: 2px solid #FA6400;
}

.hero-invest__cta:hover {
    transform: translateY(-1px);
    background: #ffffff;
    color: #FA6400;
}

.hero-invest__cta:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.75);
    outline-offset: 3px;
}

.hero-invest__cta-text {
    display: block;
    white-space: normal;
}

.hero-invest__cta-arrow {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background-color: currentColor;

    -webkit-mask-image: url("../img/arrow-right.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;

    mask-image: url("../img/arrow-right.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.invest-feature {
    padding: 96px 0;
    background: #f3f3f6;
    overflow: hidden;
}

.invest-feature__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 654px);
    align-items: center;
    gap: 56px;
}

.invest-feature__content {
    max-width: 760px;
}

.invest-feature__content p {
    margin: 0;
    color: #292264;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.invest-feature__content strong {
    font-weight: 700;
}

.invest-feature__media {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.invest-feature__media img {
    display: block;
    width: 100%;
    max-width: 654px;
    height: auto;
}

.revolut-section {
    background: #000000;
    color: #ffffff;
    padding: 96px 0;
}

.revolut-section__grid {
    display: grid;
    grid-template-columns: 412px 1fr;
    align-items: center;
    gap: 80px;
}

.revolut-section__logo img {
    display: block;
    width: 100%;
    max-width: 412px;
    height: auto;
}

.revolut-section__content {
    max-width: 720px;
}

.revolut-section__content p {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.6;
    color: #d1d1d6;
}

.revolut-section__content p:last-child {
    margin-bottom: 0;
}

.revolut-section__content strong {
    color: #ffffff;
    font-weight: 600;
}

.invest-tiles {
    padding: 96px 0;
    background: #F5F5F8;
}

.invest-tiles__title {
    max-width: 900px;
    margin: 0 0 56px;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.2;
    font-weight: 700;
    color: #292264;
}

.invest-tiles__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.invest-tiles__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.invest-tiles__card {
    width: 100%;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.invest-tiles__card img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.invest-tiles__label {
    margin: 16px 0 0;
    font-size: 24px;
    font-weight: 600;
    color: #292264;
}

.invest-tiles__cta {
    margin-top: 8px;
}

.invest-tiles__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.integrated-platforms {
    padding: 96px 0;
    background: white;
    overflow: hidden;
}

.integrated-platforms__title {
    margin: 0 0 72px;
    font-size: clamp(32px, 4vw, 40px);
    font-weight: 700;
    color: #2d2a72;
}

.integrated-platforms__logos,
.integrated-platforms__logos-second {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.integrated-platforms__logos {
    gap: 56px 72px;
    margin-bottom: 40px;
}
.integrated-platforms__logos-second {
    gap: 16px 40px;
}

.integrated-platforms__logo,
.integrated-platforms__logo-second {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
}
.integrated-platforms__logo img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 64px;
    width: auto;
    object-fit: contain;
}
.integrated-platforms__logo-second img {
    width: 180px;
    height: 105px;
}

.steps-tax-items {
    padding: 96px 0;
    background: #F6F6F9;
}

.steps-tax-items__title {
    margin: 0 0 80px;
    max-width: 900px;
    font-size: 40px;
    line-height: 1.12;
    font-weight: 700;
    color: #2d2a72;
}

.steps-tax-items__lead {
    margin: 0 0 56px;
    max-width: 960px;
    font-size: 24px;
    line-height: 1.45;
    color: #3d3a7d;
}

.steps-tax-items__list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

.steps-tax-items__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: calc(20% - 20px);
    min-height: 320px;
    padding: 28px 24px 20px;
    border: 1px solid rgba(45, 42, 114, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.steps-tax-items__card-icon {
    position: relative;
    height: auto;
    display: block;
    z-index: 1;
    margin-bottom: 32px;
}

.steps-tax-items__card--1 .steps-tax-items__card-icon { width: 38px; }
.steps-tax-items__card--2 .steps-tax-items__card-icon { width: 60px; }
.steps-tax-items__card--3 .steps-tax-items__card-icon { width: 65px; }
.steps-tax-items__card--4 .steps-tax-items__card-icon { width: 65px; }
.steps-tax-items__card--5 .steps-tax-items__card-icon { width: 65px; }

.steps-tax-items__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(228, 228, 235, 0.5) 0%,
        rgba(236, 236, 242, 0.3) 38%,
        rgba(243, 243, 246, 0) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.steps-tax-items__card > * {
    position: relative;
    z-index: 1;
}

.steps-tax-items__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(45, 42, 114, 0.12);
    background-color: #f7f7fa;
}

.steps-tax-items__card-title {
    margin: auto 0 10px;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 700;
    color: #2d2a72;
}

.steps-tax-items__card-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    color: #3d3a7d;
}

.steps-tax-items__cta {
    margin-top: 8px;
}


.cta-banner {
    padding: 64px 0;
    background: #FF7B23;
    background: linear-gradient(90deg,rgba(255, 123, 35, 1) 25%, rgba(228, 91, 0, 0.96) 100%);
}

.cta-banner__inner {
    display: flex;
    justify-content: center;
    align-items: center;
}
.cta-banner .hero-invest__cta {
    font-size: 24px;
    padding: 20px 36px;
    min-height: 72px;
}

.site-footer {
    position: relative;
    padding: 80px 0 40px;
    color: #ffffff;
    overflow: hidden;
    background-color: var(--bg);
    background-image: url('/inwestycje/img/monogram.png');
    background-repeat: no-repeat;
    background-position: center;
    background-position-x: -240px;
    background-position-y: -600px;
}

.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.site-footer::before {
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.06) 0%,
        transparent 40%
    );
}

.site-footer::after {
    background: linear-gradient(
        240deg,
        rgba(255,255,255,0.05) 0%,
        transparent 50%
    );
}
.site-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 120px;
}
.site-footer__logo img {
    height: 40px;
    width: auto;
}
.site-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: right;
}

.site-footer__nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.2s ease;
}

.site-footer__nav a:hover {
    color: #ffffff;
}
.site-footer__bottom {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
}

.site-footer__bottom a {
    color: #ffffff;
    text-decoration: underline;
}

.read-more-link,
.read-more-link.white {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.15;
    margin: 35px 0 0;
}

.read-more-link {
    color: var(--bg);
}

.read-more-link.white {
    color: #fff;
}

.read-more-link__text {
    display: block;
}

.read-more-link:hover {
    text-decoration: underline;
}

.read-more-link__arrow {
    flex: 0 0 auto;
    width: 26px;
    height: 20px;
    background-color: currentColor;

    -webkit-mask: url("../img/arrow-right.svg") no-repeat center / contain;
    mask: url("../img/arrow-right.svg") no-repeat center / contain;
}

@media (max-width: 1455px) {
    .invest-feature__media {
        margin-right: -200px;
    }
    .invest-feature__grid {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
    }
}

@media (min-width: 1201px) {
    .mobile-nav {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .topbar {
        height: 100px;
        padding: 0 46px;
    }

    .mobile-nav {
        top: 100px;
    }

    .mobile-nav-inner {
        padding: 12px 16px 18px;
    }

    .integrated-platforms {
        padding: 80px 0;
    }

    .integrated-platforms__title {
        margin-bottom: 56px;
    }

    .integrated-platforms__logos {
        gap: 44px 56px;
    }

    .integrated-platforms__logo img,
    .integrated-platforms__logo-second img {
        width: 135px;
        height: auto;
    }

    .steps-tax-items {
        padding: 80px 0;
    }

    .steps-tax-items__lead {
        margin-bottom: 44px;
        font-size: 20px;
    }

    .steps-tax-items__card {
        width: calc(50% - 12px);
        min-height: 240px;
    }

    .steps-tax-items__card--1 .steps-tax-items__card-icon { width: 30px; }
    .steps-tax-items__card--2 .steps-tax-items__card-icon { width: 50px; }
    .steps-tax-items__card--3 .steps-tax-items__card-icon { width: 55px; }
    .steps-tax-items__card--4 .steps-tax-items__card-icon { width: 55px; }
    .steps-tax-items__card--5 .steps-tax-items__card-icon { width: 55px; }

    .steps-tax-items__card-title {
        font-size: 22px;
    }
}

@media (max-width: 991px) {
    .topbar {
        height: 100px;
        padding: 0 24px;
    }

    .wrapper {
        padding: 0 24px;
    }

    .hero-invest {
        min-height: 620px;
    }

    .hero-invest__content {
        min-height: 620px;
        padding: 64px 0 72px;
        max-width: 680px;
    }

    .hero-invest__eyebrow {
        margin-bottom: 22px;
        font-size: 17px;
    }

    .hero-invest__title {
        margin-bottom: 24px;
        line-height: 1;
    }

    .hero-invest__cta {
        font-size: 20px;
        min-height: 64px;
        padding: 16px 24px;
    }

    .invest-feature {
        padding: 64px 0;
    }

    .invest-feature__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .invest-feature__content {
        max-width: 100%;
    }

    .invest-feature__media {
        justify-content: center;
        margin-right: 0;
    }

    .invest-feature__media img {
        max-width: min(100%, 654px);
    }

    .invest-feature__content p {
        font-size: 20px;
        line-height: 1.5;
    }

    .revolut-section {
        padding: 72px 0;
    }

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

    .revolut-section__logo {
        display: flex;
        justify-content: center;
    }

    .revolut-section__logo img {
        max-width: 320px;
    }

    .revolut-section__content {
        max-width: 100%;
    }

    .invest-tiles {
        padding: 72px 0;
    }

    .invest-tiles__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .invest-tiles__title {
        margin-bottom: 40px;
    }

    .invest-tiles__card img {
        width: 100%;
    }

    .integrated-platforms {
        padding: 64px 0;
    }

    .integrated-platforms__title {
        margin-bottom: 44px;
    }

    .integrated-platforms__logos,
    .integrated-platforms__logos-second {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 5px;
    }
}

@media (max-width: 767px) {
    .hero-invest {
        min-height: 560px;
    }

    .hero-invest__content {
        min-height: 560px;
        padding: 40px 0 40px;
        max-width: 100%;
    }

    .hero-invest__eyebrow {
        margin-bottom: 18px;
        font-size: 15px;
        line-height: 1.5;
    }

    .hero-invest__title {
        margin-bottom: 20px;
        font-size: clamp(36px, 11vw, 56px);
        line-height: 1.2;
        max-width: 100%;
    }

    .hero-invest__cta {
        width: min(100%, 430px);
        min-height: 60px;
        padding: 14px 18px;
        font-size: 18px;
        line-height: 1.25;
        white-space: normal;
        align-items: center;
    }

    .hero-invest__cta-text {
        min-width: 0;
    }

    .hero-invest__cta-arrow {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
    }

    .invest-feature {
        padding: 48px 0;
    }

    .invest-feature__grid {
        gap: 28px;
    }

    .invest-feature__content p {
        font-size: 18px;
        line-height: 1.6;
    }

    .revolut-section {
        padding: 56px 0;
    }

    .revolut-section__content p {
        font-size: 16px;
        line-height: 1.65;
    }

    .revolut-section__logo img {
        max-width: 260px;
    }

    .invest-tiles {
        padding: 56px 0;
    }

    .invest-tiles__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .invest-tiles__label {
        font-size: 16px;
    }

    .invest-tiles__title {
        font-size: 26px;
    }

    .integrated-platforms {
        padding: 56px 0;
    }

    .integrated-platforms__title {
        margin-bottom: 32px;
        font-size: 30px;
    }

    .steps-tax-items {
        padding: 56px 0;
    }

    .steps-tax-items__title {
        margin-bottom: 50px;
        font-size: 30px;
    }

    .steps-tax-items__lead {
        margin-bottom: 32px;
        font-size: 18px;
        line-height: 1.55;
    }

    .steps-tax-items__list {
        gap: 16px;
        margin-bottom: 32px;
    }

    .steps-tax-items__card {
        width: 100%;
        min-height: 180px;
        padding: 24px 20px 18px;
    }

    .steps-tax-items__card-icon {
        margin-bottom: 24px;
    }

    .steps-tax-items__card--1 .steps-tax-items__card-icon { width: 25px; }
    .steps-tax-items__card--2 .steps-tax-items__card-icon { width: 50px; }
    .steps-tax-items__card--3 .steps-tax-items__card-icon { width: 55px; }
    .steps-tax-items__card--4 .steps-tax-items__card-icon { width: 55px; }
    .steps-tax-items__card--5 .steps-tax-items__card-icon { width: 55px; }

    .steps-tax-items__card-title {
        font-size: 24px;
        line-height: 30px;
    }

    .steps-tax-items__card-text {
        font-size: 16px;
    }

    .integrated-platforms__logos,
    .integrated-platforms__logos-second {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 5px 25px;
    }


    .site-footer {
        padding: 56px 0 32px;
    }

    .site-footer__top {
        flex-direction: column;
        gap: 60px;
        margin-bottom: 64px;
        align-items: center;
    }

    .site-footer__nav {
        text-align: center;
    }

    .site-footer__logo img {
        height: 48px;
    }

    .site-footer__bottom {
        text-align: center;
    }

    .read-more-link {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        text-align: left;
        font-size: 18px;
        line-height: 26px;
    }

    .read-more-link__arrow {
        width: 44px;
        height: 44px;
    }

    .site-footer {
        background-image: none;
    }
}

@media (max-width: 480px) {
    .hero-invest {
        min-height: 520px;
    }

    .hero-invest__content {
        min-height: 520px;
        padding: 32px 0 32px;
    }

    .hero-invest__eyebrow {
        font-size: 16px;
    }

    .hero-invest__title {
        font-size: clamp(32px, 10.5vw, 44px);
    }

    .hero-invest__cta {
        width: 100%;
        font-size: 17px;
        padding: 14px 16px;
    }

    .invest-feature {
        padding: 40px 0;
    }

    .invest-feature__content p {
        font-size: 17px;
    }

    .steps-tax-items__card {
        min-height: 168px;
    }

    .steps-tax-items__card--1 .steps-tax-items__card-icon { width: 22px; }
    .steps-tax-items__card--2 .steps-tax-items__card-icon { width: 40px; }
    .steps-tax-items__card--3 .steps-tax-items__card-icon { width: 45px; }
    .steps-tax-items__card--4 .steps-tax-items__card-icon { width: 45px; }
    .steps-tax-items__card--5 .steps-tax-items__card-icon { width: 45px; }

    .integrated-platforms__logos {
        gap: 40px 25px;
    }
}
