/* ==========================================================================
   SEKCJA O MODUŁACH — SYRENA
   ========================================================================== */

/* ==========================================================================
   ABOUT OCEAN — SEKCJA NA CAŁĄ SZEROKOŚĆ
   ========================================================================== */

.about-ocean {
    position: relative;

    width: 100vw;
    max-width: 100vw;

    margin:
        60px
        0
        60px
        calc(50% - 50vw);

    padding: 0;

    color: #222;
    background: #fff;

    overflow: hidden;
    box-sizing: border-box;
    isolation: isolate;
}

.about-ocean,
.about-ocean *,
.about-ocean *::before,
.about-ocean *::after {
    box-sizing: border-box;
}


/* ==========================================================================
   WEWNĘTRZNY KONTENER
   ========================================================================== */

.about-ocean__inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, .95fr);

    grid-template-areas:
        "header mermaid"
        "left   mermaid"
        "shells right";

    grid-template-rows:
        auto
        auto
        245px;

    column-gap: clamp(70px, 7vw, 120px);
    row-gap: 24px;

    width: 100%;
    max-width: 1440px;
    min-height: 0;

    margin: 0 auto;
    padding:
        38px
        clamp(32px, 4vw, 64px)
        42px;

    box-sizing: border-box;
}


/* ==========================================================================
   NAGŁÓWEK
   ========================================================================== */

.about-ocean__header {
    grid-area: header;

    align-self: end;

    width: 100%;
    max-width: 610px;

    margin: 100px 0 0;
}

.about-ocean__eyebrow {
    margin: 0 0 10px;
    padding: 0;

    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;

    color: #006cff;

    text-transform: uppercase;
}

.about-ocean__title {
    display: flex;
    flex-direction: column;

    width: 100%;
    max-width: 610px;

    margin: 0;
    padding: 0;

    font-family: 'Syne', sans-serif !important;
    font-size: 40px;
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.04em;

    color: #171717;
}

.about-ocean__title > span {
    display: block;

    font-family: 'Syne', sans-serif !important;
}

.about-ocean__title strong {
    font-family: 'Syne', sans-serif !important;
    font-weight: inherit;

    color: #006cff;
}


/* ==========================================================================
   SYRENA
   ========================================================================== */

.about-ocean__mermaid {
    grid-area: mermaid;

    position: relative;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    min-width: 0;
    min-height: 0;
}

.about-ocean__mermaid img {
    display: block;

    width: auto;
    max-width: 400px;

    height: auto;
    max-height: 500px;

    margin: 0 auto;

    object-fit: contain;
    object-position: center top;
}


/* ==========================================================================
   TEKST
   ========================================================================== */

.about-ocean__copy {
    width: 100%;

    margin: 0;
    padding: 0;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.36;

    color: #222;
}

.about-ocean__copy--left {
    grid-area: left;

    max-width: 535px;
}

.about-ocean__copy--right {
    grid-area: right;

    align-self: center;
    justify-self: end;

    width: 100%;
    max-width: 490px;
}

.about-ocean__copy p {
    margin: 0 0 18px;
    padding: 0;
}

.about-ocean__copy p:last-child {
    margin-bottom: 0;
}

.about-ocean__copy strong {
    font-weight: 700;

    color: #161616;
}


/* ==========================================================================
   MUSZELKI
   ========================================================================== */

.about-ocean__shells {
    grid-area: shells;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 245px;
}

.about-ocean__shells img {
    display: block;

    width: 100%;
    max-width: 580px;

    height: 225px;
    max-height: 225px;

    margin: 0;

    object-fit: contain;
    object-position: left center;
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1199px) {

    .about-ocean {
        width: 100vw;
        max-width: 100vw;

        margin:
            55px
            0
            55px
            calc(50% - 50vw);

        padding: 0;
    }

    .about-ocean__inner {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, .9fr);

        grid-template-areas:
            "header mermaid"
            "left   mermaid"
            "shells right";

        grid-template-rows:
            auto
            auto
            220px;

        column-gap: 48px;
        row-gap: 24px;

        padding: 36px 28px 40px;
    }

    .about-ocean__header {
        margin-top: 55px;
    }

    .about-ocean__eyebrow {
        font-size: 14px;
    }

    .about-ocean__title {
        font-size: clamp(38px, 4.7vw, 48px);
    }

    .about-ocean__mermaid img {
        max-width: 330px;
        max-height: 430px;
    }

    .about-ocean__copy {
        font-size: 14px;
        line-height: 1.4;
    }

    .about-ocean__copy--left,
    .about-ocean__copy--right {
        max-width: 100%;
    }

    .about-ocean__shells {
        height: 220px;
    }

    .about-ocean__shells img {
        max-width: 470px;

        height: 200px;
        max-height: 200px;
    }
}


/* ==========================================================================
   TELEFON
   ========================================================================== */

@media (max-width: 767px) {

    .about-ocean {
        width: 100vw;
        max-width: 100vw;

        margin:
            45px
            0
            45px
            calc(50% - 50vw);

        padding: 0;
    }

    .about-ocean__inner {
        grid-template-columns: minmax(0, 1fr);

        grid-template-areas:
            "header"
            "mermaid"
            "left"
            "right"
            "shells";

        grid-template-rows: auto;

        column-gap: 0;
        row-gap: 30px;

        width: 100%;
        max-width: none;

        padding: 38px 20px 42px;
    }

    .about-ocean__header {
        width: 100%;
        max-width: 100%;

        margin-top: 0;
    }

    .about-ocean__eyebrow {
        margin-bottom: 8px;

        font-size: 13px;
        line-height: 1.3;
    }

    .about-ocean__title {
        width: 100%;
        max-width: 100%;

        font-size: clamp(36px, 10vw, 48px);
        line-height: 1;
    }

    .about-ocean__mermaid {
        width: 100%;

        justify-content: center;
    }

    .about-ocean__mermaid img {
        width: auto;
        max-width: min(280px, 90%);

        height: auto;
        max-height: 370px;
    }

    .about-ocean__copy,
    .about-ocean__copy--left,
    .about-ocean__copy--right {
        justify-self: start;

        width: 100%;
        max-width: 100%;

        font-size: 15px;
        line-height: 1.5;
    }

    .about-ocean__copy p {
        margin-bottom: 20px;
    }

    .about-ocean__shells {
        width: 100%;
        height: auto;
        min-height: 0;

        justify-content: center;
    }

    .about-ocean__shells img {
        width: 100%;
        max-width: 350px;

        height: auto;
        max-height: none;

        margin: 0 auto;

        object-position: center;
    }
}


/* ==========================================================================
   MAŁE TELEFONY
   ========================================================================== */

@media (max-width: 440px) {

    .about-ocean__inner {
        padding:
            34px
            16px
            38px;
    }

    .about-ocean__title {
        font-size: clamp(34px, 10vw, 42px);
    }

    .about-ocean__mermaid img {
        max-width: 250px;
    }

    .about-ocean__shells img {
        max-width: 300px;
    }
}


/* ==========================================================================
   CTA — PIRAT I KOŁO STEROWE — PEŁNA SZEROKOŚĆ
   ========================================================================== */

.pirate-cta {
    position: relative;

    width: 100vw;
    max-width: none;

    margin: 80px 0 80px calc(50% - 50vw);
    padding: 0;

    background: #fff !important;

    box-sizing: border-box;
    overflow: hidden;
}

.pirate-cta__inner {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(280px, .85fr)
        minmax(420px, 1fr)
        minmax(240px, .75fr);

    align-items: center;

    width: 100%;
    max-width: none;
    min-height: 520px;

    margin: 0;
    padding:
        55px
        clamp(40px, 6vw, 110px);

    background: #fff !important;

    box-sizing: border-box;
    overflow: hidden;
}


/* ==========================================================================
   PIRAT
   ========================================================================== */

.pirate-cta__pirate {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: flex-end;
    justify-content: flex-end;

    height: 100%;
    min-width: 0;
}

.pirate-cta__pirate img {
    display: block;

    width: 100%;
    max-width: 330px;
    height: auto;
    max-height: 450px;

    margin: 0;

    object-fit: contain;
    object-position: left bottom;
}


/* ==========================================================================
   TREŚĆ
   ========================================================================== */

.pirate-cta__content {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 510px;

    margin: 0 auto;
    padding: 15px 25px;
}

.pirate-cta__eyebrow {
    margin: 0 0 12px;

    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;

    color: #006cff;
    text-transform: uppercase;
}

.pirate-cta__title {
    margin: 0 0 22px;
    padding: 0;

    font-family: 'Syne', sans-serif !important;
    font-size: clamp(42px, 3.7vw, 58px);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.04em;

    color: #111;
}

.pirate-cta__title span {
    font-family: 'Syne', sans-serif !important;
    color: #006cff;
}

.pirate-cta__description {
    width: 100%;
    max-width: 475px;

    margin: 0 0 24px;

    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.38;

    color: #222;
}


/* ==========================================================================
   PRZYCISK
   ========================================================================== */

.pirate-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    min-width: 250px;
    height: 56px;

    padding: 0 8px 0 28px;

    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;

    color: #fff;
    text-decoration: none;

    background: #006cff;
    border-radius: 999px;

    box-shadow: 0 10px 22px rgba(0, 108, 255, .22);

    transition:
        background-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.pirate-cta__button-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    margin-left: 24px;

   
    color: #fff;

  background-color: rgb(255 255 255 / .22);
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12H19' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M14 7L19 12L14 17' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
    border-radius: 50%;

    transition: transform .2s ease;
}

.pirate-cta__button:hover,
.pirate-cta__button:focus-visible {
    color: #fff;
    background: #0056cb;
}

.pirate-cta__button:hover .pirate-cta__button-icon,
.pirate-cta__button:focus-visible .pirate-cta__button-icon {
    transform: translateX(3px);
}


/* ==========================================================================
   KOŁO STEROWE
   ========================================================================== */

.pirate-cta__wheel {
    position: absolute;
    z-index: 1;

    top: 50%;
    right: -135px;

    width: 430px;
    height: 430px;

    transform: translateY(-50%);

    pointer-events: none;
}

.pirate-cta__wheel img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1199px) {

    .pirate-cta {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .pirate-cta__inner {
        grid-template-columns:
            minmax(220px, .8fr)
            minmax(390px, 1.2fr);

        min-height: 470px;

        padding:
            45px
            clamp(28px, 5vw, 60px);
    }

    .pirate-cta__pirate img {
        max-width: 275px;
        max-height: 380px;
    }

    .pirate-cta__content {
        max-width: 530px;
        padding: 10px 25px;
    }

    .pirate-cta__title {
        font-size: clamp(40px, 5vw, 52px);
    }

    .pirate-cta__wheel {
        right: -190px;

        width: 360px;
        height: 360px;

        opacity: .8;
    }
}


/* ==========================================================================
   TELEFON
   ========================================================================== */

@media (max-width: 767px) {

    .pirate-cta {
        margin-top: 45px;
        margin-bottom: 45px;
    }

    .pirate-cta__inner {
        grid-template-columns: 1fr;

        min-height: 0;

        padding: 42px 20px 36px;
    }

    .pirate-cta__content {
        order: 1;

        max-width: 100%;

        margin: 0;
        padding: 0;

        text-align: center;
    }

    .pirate-cta__eyebrow {
        font-size: 13px;
    }

    .pirate-cta__title {
        font-size: clamp(38px, 11vw, 50px);
        line-height: 1;
    }

    .pirate-cta__description {
        max-width: 500px;

        margin-right: auto;
        margin-left: auto;

        font-size: 15px;
        line-height: 1.5;
    }

    .pirate-cta__button {
        width: 100%;
        max-width: 340px;

        margin: 0 auto;
    }

    .pirate-cta__pirate {
        order: 2;

        justify-content: center;

        margin-top: 35px;
    }

    .pirate-cta__pirate img {
        max-width: 245px;
        max-height: 330px;

        margin: 0 auto;
    }

    .pirate-cta__wheel {
        top: auto;
        right: -100px;
        bottom: -90px;

        width: 250px;
        height: 250px;

        opacity: .16;

        transform: none;
    }
}



/* ==========================================================================
   FOOTER BEFORE — BIAŁA SEKCJA NAD STOPKĄ
   ========================================================================== */

#footer .footer.footer__before,
.footer.footer__before {
    position: relative;

    width: 100%;
    margin: 0 !important;
    padding: 0 !important;

    color: #222;
    background: #fff !important;
    background-image: none !important;

    border: 0 !important;
    box-shadow: none !important;
}

/* Usunięcie ewentualnych dekoracji odziedziczonych po .footer */
#footer .footer.footer__before::before,
#footer .footer.footer__before::after,
.footer.footer__before::before,
.footer.footer__before::after {
    display: none !important;
    content: none !important;
}

/* Banner bez dodatkowego niebieskiego obszaru */
.footer__before .pirate-cta {
    margin-top: 0;
    margin-bottom: 0;

    background: #fff !important;
}

.footer__before .pirate-cta__inner {
    background: #fff !important;
}