/* =========================================================
   Kraina Wilka - CTA aplikacji mobilnej
   ========================================================= */

.kw-app-section {
    position: relative;
    padding: 58px 20px;
    overflow: hidden;
}

.kw-app-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 22%, rgba(247, 174, 0, 0.10), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.97), rgba(246,248,250,0.95));
    pointer-events: none;
}

.kw-app-section__inner {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 42px;
    align-items: center;
}

.kw-app-section__content {
    max-width: 680px;
}

.kw-app-section__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #f0a800;
    font-weight: 700;
}

.kw-app-section__title {
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.05;
    color: #2d2f35;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.kw-app-section__text {
    max-width: 620px;
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 1.75;
    color: #4f5b69;
}

.kw-app-section__note {
    max-width: 560px;
    margin: 0 0 28px;
    font-size: 14px;
    line-height: 1.7;
    color: #7a8594;
}

.kw-app-section__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 32px;
    border-radius: 999px;
    background: #f7b500;
    color: #183a78;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.kw-app-section__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.kw-app-section__button--secondary {
    background: #ffffff;
    color: #142234;
    border: 2px solid rgba(20, 34, 52, 0.18);
    box-shadow: 0 8px 22px rgba(20, 34, 52, 0.06);
}

.kw-app-section__button--secondary:hover,
.kw-app-section__button--secondary:focus {
    background: #142234;
    color: #ffffff;
    border-color: #142234;
    box-shadow: 0 12px 28px rgba(20, 34, 52, 0.18);
    text-decoration: none;
}

.kw-app-section__button:hover,
.kw-app-section__button:focus {
    background: #ffc629;
    color: #183a78;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(247, 181, 0, 0.24);
    text-decoration: none;
}

/* =========================================================
   Mockup telefonu
   ========================================================= */

.kw-app-section__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.kw-phone-mockup {
    position: relative;
    width: 100%;
    max-width: 270px;
    padding: 10px;
    border-radius: 34px;
    background: linear-gradient(180deg, #0d1118, #222a35);
    box-shadow:
        0 24px 50px rgba(16, 24, 40, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.15);
    transform: rotate(3deg);
}

.kw-phone-mockup::before {
    content: "";
    position: absolute;
    inset: -10px;
    z-index: -1;
    border-radius: 44px;
    background: radial-gradient(circle at center, rgba(247,181,0,0.10), transparent 65%);
}

.kw-phone-mockup__notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 82px;
    height: 14px;
    border-radius: 999px;
    background: #0a0d12;
    z-index: 3;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
}

.kw-phone-mockup__screen {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #d7dde5;
    aspect-ratio: 9 / 19.5;
}

.kw-phone-mockup__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* delikatne przyciemnienie, żeby mockup wyglądał bardziej premium */
.kw-phone-mockup__screen::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.00) 18%, rgba(0,0,0,0.04) 100%);
}

/* =========================================================
   Mobile sticky banner
   ========================================================= */

.kw-app-mobile-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 18px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 12px 36px rgba(18, 32, 52, 0.24);
    backdrop-filter: blur(10px);
}

.kw-app-mobile-banner.is-visible {
    display: flex;
}

.kw-app-mobile-banner__icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f7d73f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kw-app-mobile-banner__icon span {
    width: 24px;
    height: 18px;
    display: block;
    background: #fff;
    clip-path: polygon(12% 72%, 28% 32%, 48% 52%, 62% 18%, 88% 64%, 100% 100%, 0 100%);
}

.kw-app-mobile-banner__content {
    min-width: 0;
    flex: 1 1 auto;
}

.kw-app-mobile-banner__content strong {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    line-height: 1.2;
    color: #142234;
}

.kw-app-mobile-banner__content p {
    margin: 0;
    font-size: 11px;
    line-height: 1.35;
    color: #596574;
}

.kw-app-mobile-banner__button {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f7b500;
    color: #142234;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.kw-app-mobile-banner__button:hover,
.kw-app-mobile-banner__button:focus {
    background: #ffc629;
    color: #142234;
    text-decoration: none;
}

.kw-app-mobile-banner__close {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #6c7682;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

/* =========================================================
   Responsywność
   ========================================================= */

@media (max-width: 991px) {
    .kw-app-section__inner {
        grid-template-columns: 1fr 280px;
        gap: 30px;
    }

    .kw-phone-mockup {
        max-width: 240px;
    }

    .kw-app-section__text {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .kw-app-section {
        padding: 48px 18px;
    }

    .kw-app-section__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .kw-app-section__content {
        max-width: none;
    }

    .kw-app-section__title {
        font-size: 30px;
    }

    .kw-app-section__text {
        max-width: none;
        font-size: 15px;
    }

    .kw-app-section__note {
        max-width: none;
        margin-bottom: 24px;
    }

    .kw-app-section__visual {
        display: flex;
    }

    .kw-phone-mockup {
        max-width: 210px;
        transform: rotate(0deg);
    }
}

@media (max-width: 420px) {
    .kw-app-section {
        padding: 42px 16px;
    }

    .kw-app-section__title {
        font-size: 27px;
    }

    .kw-app-section__button {
        width: 100%;
        max-width: 290px;
    }

    .kw-phone-mockup {
        max-width: 190px;
    }

    .kw-app-mobile-banner {
        left: 8px;
        right: 8px;
        bottom: 8px;
        gap: 8px;
        padding: 10px;
        border-radius: 16px;
    }

    .kw-app-mobile-banner__icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .kw-app-mobile-banner__content strong {
        font-size: 12px;
    }

    .kw-app-mobile-banner__content p {
        font-size: 10px;
    }

    .kw-app-mobile-banner__button {
        padding: 7px 10px;
        font-size: 10px;
    }

    .kw-app-mobile-banner__close {
        width: 22px;
        height: 22px;
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .kw-app-mobile-banner {
        display: none !important;
    }
}