* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #173b56;
    background-color: #ffffff;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.section-label,
.eyebrow {
    margin: 0 0 14px;
    color: #2f9178;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}


/* =========================
   HEADER
   ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e5eceb;
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.logo-link {
    flex-shrink: 0;
}

.site-logo {
    width: 132px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.main-nav a {
    position: relative;
    padding: 33px 0 31px;
    color: #173b56;
    font-size: 13px;
    font-weight: 700;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 23px;
    height: 2px;
    background-color: #2f9178;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    transform: scaleX(1);
}

.header-button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 9px;
    background-color: #173f5c;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}


/* =========================
   BUTTONS
   ========================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background-color: #173f5c;
    color: #ffffff;
    border: 1px solid #173f5c;
}

.button-primary:hover {
    background-color: #12364f;
}

.button-secondary {
    background-color: rgba(255, 255, 255, 0.92);
    color: #173f5c;
    border: 1px solid #cad9dd;
}

.button-secondary:hover {
    border-color: #91b5b5;
    background-color: #ffffff;
}


/* =========================
   HOME HERO
   ========================= */

.home-hero {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    background-color: #eef4f3;
}

.home-hero-background {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            90deg,
            rgba(247, 249, 247, 0.99) 0%,
            rgba(247, 249, 247, 0.96) 30%,
            rgba(247, 249, 247, 0.72) 47%,
            rgba(247, 249, 247, 0.18) 66%,
            rgba(247, 249, 247, 0.02) 82%
        ),
        url("../assets/img/hero-mosty.jpg");
    background-size: cover;
    background-position: 58% 46%;
}

.home-hero-inner {
    position: relative;
    z-index: 1;
    min-height: 570px;
    display: flex;
    align-items: center;
}

.home-hero-content {
    max-width: 700px;
    padding: 72px 0;
}

.home-hero h1 {
    margin: 0;
    max-width: 690px;
    color: #173f5c;
    font-size: clamp(42px, 4.55vw, 61px);
    line-height: 1.03;
    letter-spacing: -1.4px;
}

.home-hero h1 span {
    color: #2f9178;
}

.home-hero-lead {
    max-width: 600px;
    margin: 26px 0 0;
    color: #39596d;
    font-size: 18px;
    line-height: 1.75;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}


/* =========================
   DIRECTIONS
   ========================= */

.home-directions {
    padding: 90px 0 42px;
}

.home-section-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.home-section-heading h2 {
    margin: 0;
    color: #173f5c;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.1;
}

.home-section-heading > p:last-child {
    max-width: 660px;
    margin: 18px auto 0;
    color: #607582;
    font-size: 16px;
    line-height: 1.7;
}

.direction-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.direction-card {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    padding: 26px 22px 24px;
    border: 1px solid #dfe7e8;
    border-radius: 18px;
    background-color: #ffffff;
    box-shadow: 0 8px 26px rgba(25, 55, 75, 0.045);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.direction-card:hover {
    transform: translateY(-4px);
    border-color: #bdd7d3;
    box-shadow: 0 16px 34px rgba(25, 55, 75, 0.09);
}

.direction-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 14px;
    background-color: #edf7f4;
    color: #2f9178;
    font-size: 20px;
    font-weight: 800;
}

.direction-card h3 {
    margin: 0;
    color: #173f5c;
    font-size: 20px;
    line-height: 1.3;
}

.direction-card p {
    margin: 15px 0 0;
    color: #647984;
    font-size: 14px;
    line-height: 1.65;
}

.direction-link {
    margin-top: auto;
    padding-top: 24px;
    color: #1d5e79;
    font-size: 13px;
    font-weight: 700;
}


/* =========================
   STRENGTHS
   ========================= */

.strengths {
    padding: 0 0 64px;
}

.strengths-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #dce8e6;
    border-radius: 20px;
    background: linear-gradient(135deg, #f2f8f6 0%, #edf5f5 100%);
}

.strength-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: start;
    padding: 26px 24px;
}

.strength-item + .strength-item {
    border-left: 1px solid #d6e3e1;
}

.strength-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #2f9178;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}

.strength-item h3 {
    margin: 2px 0 7px;
    color: #173f5c;
    font-size: 15px;
}

.strength-item p {
    margin: 0;
    color: #617684;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================
   TRUST + ISO
   ========================= */

.home-trust {
    padding: 72px 0 82px;
    background-color: #fbfcfc;
}

.home-trust-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(440px, 1.28fr);
    gap: 64px;
    align-items: center;
}

.home-trust-content h2 {
    margin: 0;
    color: #173f5c;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.1;
    letter-spacing: -0.8px;
}

.home-trust-content h2 span {
    display: block;
    color: #2f9178;
}

.home-trust-content > p:not(.section-label) {
    max-width: 500px;
    margin: 22px 0 28px;
    color: #5e7380;
    font-size: 16px;
    line-height: 1.75;
}

.iso-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 34px;
    border: 1px solid #dce7e6;
    border-radius: 22px;
    background-color: #ffffff;
    box-shadow: 0 12px 34px rgba(25, 55, 75, 0.05);
}

.iso-mark {
    width: 104px;
    height: 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background-color: #173f5c;
    color: #ffffff;
}

.iso-mark span {
    font-size: 15px;
    font-weight: 700;
}

.iso-mark strong {
    margin-top: 4px;
    font-size: 28px;
}

.iso-label {
    margin: 0 0 8px;
    color: #2f9178;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.iso-content h3 {
    margin: 0;
    color: #173f5c;
    font-size: 23px;
    line-height: 1.3;
}

.iso-content > p:not(.iso-label) {
    margin: 14px 0 0;
    color: #627782;
    font-size: 14px;
    line-height: 1.7;
}

.iso-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 18px;
    color: #6b7e87;
    font-size: 11px;
}


/* =========================
   NEWS CTA
   ========================= */

.news-cta {
    padding: 0 0 88px;
    background-color: #fbfcfc;
}

.news-panel {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 28px 30px;
    border: 1px solid #d9e6e4;
    border-radius: 20px;
    background:
        linear-gradient(90deg, rgba(238, 247, 244, 0.96), rgba(247, 250, 249, 0.98));
}

.news-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #2f9178;
    color: #ffffff;
    font-size: 23px;
}

.news-copy h2 {
    margin: 0;
    color: #173f5c;
    font-size: 24px;
}

.news-copy p {
    margin: 7px 0 0;
    color: #607582;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================
   FOOTER
   ========================= */

.site-footer {
    padding: 66px 0 0;
    background-color: #173f5c;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) 1fr 0.9fr 0.8fr;
    gap: 52px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    background-color: #ffffff;
}

.footer-logo {
    display: block;
    width: 150px;
    height: auto;
}

.footer-description {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.7;
}

.footer-support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 24px;
    padding: 0 18px;
    border-radius: 8px;
    background-color: #ffffff;
    color: #173f5c;
    font-size: 13px;
    font-weight: 700;
}

.footer-heading {
    margin: 4px 0 20px;
    color: #a9ded0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-contact {
    margin: 0;
    font-style: normal;
}

.footer-contact p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.6;
}

.footer-contact p:first-child {
    color: #ffffff;
    font-weight: 700;
}

.footer-contact a {
    display: block;
    width: fit-content;
    margin-top: 10px;
    color: #ffffff;
    font-size: 13px;
}

.footer-nav {
    display: grid;
    gap: 12px;
}

.footer-nav a {
    width: fit-content;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-legal a:hover {
    color: #a9ded0;
}

.footer-register {
    display: grid;
    gap: 15px;
}

.footer-register p {
    margin: 0;
}

.footer-register span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-register strong {
    font-size: 13px;
}

.footer-divider {
    height: 1px;
    margin-top: 52px;
    background-color: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 11px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1180px) {

    .main-nav {
        display: none;
    }

    .header-button {
        margin-left: auto;
    }

    .direction-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .direction-card {
        min-height: 285px;
    }

    .strengths-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .strength-item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid #d6e3e1;
    }

    .strength-item:nth-child(4) {
        border-top: 1px solid #d6e3e1;
    }

    .home-trust-grid {
        grid-template-columns: 1fr;
    }

    .home-trust-content {
        max-width: 760px;
    }

    .iso-card {
        max-width: 820px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 44px 60px;
    }

}


@media (max-width: 700px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        min-height: 76px;
    }

    .site-logo {
        width: 112px;
    }

    .header-button {
        padding: 0 14px;
        min-height: 42px;
        font-size: 12px;
    }

    .home-hero {
        min-height: auto;
    }

    .home-hero-background {
        background-image:
            linear-gradient(
                180deg,
                rgba(247, 249, 247, 0.68) 0%,
                rgba(247, 249, 247, 0.88) 48%,
                rgba(247, 249, 247, 0.98) 100%
            ),
            url("../assets/img/hero-mosty.jpg");
        background-position: 62% center;
    }

    .home-hero-inner {
        min-height: 650px;
        align-items: flex-end;
    }

    .home-hero-content {
        padding: 230px 0 54px;
    }

    .home-hero h1 {
        font-size: 39px;
    }

    .home-hero-lead {
        font-size: 16px;
    }

    .home-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-directions {
        padding: 68px 0 34px;
    }

    .direction-grid {
        grid-template-columns: 1fr;
    }

    .direction-card {
        min-height: auto;
    }

    .strengths {
        padding-bottom: 54px;
    }

    .strengths-panel {
        grid-template-columns: 1fr;
    }

    .strength-item + .strength-item {
        border-left: 0;
        border-top: 1px solid #d6e3e1;
    }

    .home-trust {
        padding: 58px 0 66px;
    }

    .home-trust-content h2 {
        font-size: 38px;
    }

    .iso-card {
        grid-template-columns: 1fr;
        padding: 26px 22px;
    }

    .iso-mark {
        width: 88px;
        height: 88px;
    }

    .news-cta {
        padding-bottom: 68px;
    }

    .news-panel {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px;
    }

    .news-panel .button {
        width: 100%;
    }

    .site-footer {
        padding-top: 54px;
    }

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

    .footer-brand {
        max-width: 100%;
    }

    .footer-divider {
        margin-top: 42px;
    }

    .footer-bottom {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 0 26px;
    }

}


/* ==========================================================
   WSPÓLNE ELEMENTY PODSTRON
   ========================================================== */

body.menu-open {
    overflow: hidden;
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: 6px;
    border: 1px solid #dce6e6;
    border-radius: 9px;
    background: #ffffff;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #173f5c;
    transition: transform .2s ease, opacity .2s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.page-hero {
    padding: 86px 0 78px;
    background: linear-gradient(135deg, #f4f8f7 0%, #edf5f5 100%);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 66px;
    align-items: center;
}

.page-hero-copy {
    max-width: 650px;
}

.page-hero h1 {
    margin: 0;
    color: #173f5c;
    font-size: clamp(44px, 5vw, 66px);
    line-height: 1.04;
    letter-spacing: -1.2px;
}

.page-hero h1 span {
    color: #2f9178;
}

.page-hero-lead {
    margin: 24px 0 0;
    max-width: 650px;
    color: #536d7b;
    font-size: 18px;
    line-height: 1.75;
}

.page-hero-visual img {
    width: 100%;
    max-height: 470px;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 24px 54px rgba(23, 63, 92, 0.14);
}

.page-hero-card {
    padding: 34px;
    border: 1px solid #dbe7e5;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(23, 63, 92, 0.08);
}

.page-hero-card h2 {
    margin: 0 0 14px;
    color: #173f5c;
    font-size: 27px;
}

.page-hero-card p {
    margin: 0;
    color: #607582;
    font-size: 15px;
    line-height: 1.7;
}

.page-section {
    padding: 90px 0;
}

.page-section-alt {
    background: #f7faf9;
}

.page-section-heading {
    max-width: 760px;
    margin-bottom: 44px;
}

.page-section-heading h1,
.page-section-heading h2 {
    margin: 0;
    color: #173f5c;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.1;
    letter-spacing: -.7px;
}

.page-section-heading h1 span,
.page-section-heading h2 span {
    color: #2f9178;
}

.page-section-heading > p:last-child {
    margin: 20px 0 0;
    color: #607582;
    font-size: 17px;
    line-height: 1.72;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.three-column {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.info-card {
    padding: 30px;
    border: 1px solid #dfe8e7;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(23, 63, 92, .045);
}

.info-card-number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #eaf5f1;
    color: #2f9178;
    font-size: 12px;
    font-weight: 800;
}

.info-card h3 {
    margin: 0 0 13px;
    color: #173f5c;
    font-size: 21px;
    line-height: 1.3;
}

.info-card p,
.info-card li {
    color: #607582;
    font-size: 15px;
    line-height: 1.7;
}

.info-card p {
    margin: 0;
}

.info-card ul {
    margin: 14px 0 0;
    padding-left: 20px;
}

.card-action {
    margin-top: 20px;
}

.card-action a {
    color: #1c5d78;
    font-size: 14px;
    font-weight: 700;
}

.feature-list {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.feature-row {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
}

.feature-row-number {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #eaf5f1;
    color: #2f9178;
    font-size: 12px;
    font-weight: 800;
}

.feature-row h3 {
    margin: 2px 0 6px;
    color: #173f5c;
    font-size: 17px;
}

.feature-row p {
    margin: 0;
    color: #607582;
    font-size: 14px;
    line-height: 1.65;
}

.content-panel {
    padding: 38px;
    border: 1px solid #dce7e6;
    border-radius: 24px;
    background: #ffffff;
}

.content-panel h2,
.content-panel h3 {
    color: #173f5c;
}

.content-panel h2 {
    margin: 0 0 20px;
    font-size: 31px;
}

.content-panel h3 {
    margin: 28px 0 10px;
    font-size: 20px;
}

.content-panel p,
.content-panel li {
    color: #5f7481;
    font-size: 15px;
    line-height: 1.75;
}

.content-panel p {
    margin: 0 0 16px;
}

.content-panel ul,
.content-panel ol {
    padding-left: 22px;
}

.note-box {
    margin-top: 28px;
    padding: 20px 22px;
    border: 1px solid #d9e7e3;
    border-radius: 16px;
    background: #f1f7f5;
    color: #526e78;
    font-size: 14px;
    line-height: 1.7;
}

.cta-strip {
    padding: 34px;
    border-radius: 22px;
    background: linear-gradient(135deg, #173f5c 0%, #205b6b 100%);
    color: #ffffff;
}

.cta-strip-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.cta-strip h2 {
    margin: 0;
    font-size: 29px;
}

.cta-strip p {
    margin: 10px 0 0;
    max-width: 700px;
    color: rgba(255,255,255,.76);
    font-size: 15px;
    line-height: 1.65;
}

.cta-strip .button {
    background: #ffffff;
    color: #173f5c;
    border-color: #ffffff;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 60px;
    align-items: center;
}

.product-title {
    margin: 0;
    color: #173f5c;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.12;
}

.product-copy {
    margin: 20px 0 0;
    color: #607582;
    font-size: 17px;
    line-height: 1.72;
}

.product-mockup {
    padding: 24px;
    border: 1px solid #dbe7e5;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(23,63,92,.08);
}

.product-screen {
    min-height: 330px;
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #e9f4f0, #dcebec);
}

.product-screen-top {
    display: flex;
    gap: 7px;
    margin-bottom: 26px;
}

.product-screen-top span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8facaa;
}

.product-screen-body {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 20px;
}

.product-screen-photo {
    min-height: 220px;
    border-radius: 14px;
    background: linear-gradient(135deg, #9ccdc4, #bad8dc);
}

.product-screen-lines {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.product-screen-lines span {
    height: 13px;
    border-radius: 999px;
    background: #bfd3d3;
}

.product-screen-lines span:nth-child(1) {
    height: 20px;
    width: 80%;
    background: #8fbcb2;
}

.product-screen-lines span:nth-child(2) { width: 100%; }
.product-screen-lines span:nth-child(3) { width: 92%; }
.product-screen-lines span:nth-child(4) { width: 68%; }

.donation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.donation-card {
    min-height: 330px;
    padding: 34px;
    border: 1px solid #dfe8e7;
    border-radius: 22px;
    background: #ffffff;
}

.donation-card.primary {
    background: linear-gradient(135deg, #173f5c 0%, #225f70 100%);
    color: #ffffff;
}

.donation-card h3 {
    margin: 0 0 14px;
    font-size: 27px;
}

.donation-card:not(.primary) h3 {
    color: #173f5c;
}

.donation-card p {
    color: #607582;
    font-size: 15px;
    line-height: 1.72;
}

.donation-card.primary p {
    color: rgba(255,255,255,.77);
}

.donation-card.primary .button {
    background: #ffffff;
    color: #173f5c;
    border-color: #ffffff;
}

.light-label {
    color: #a9ded0 !important;
}

.bank-box {
    display: grid;
    gap: 6px;
    margin: 24px 0;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    background: rgba(255,255,255,.08);
}

.bank-box span {
    color: rgba(255,255,255,.66);
    font-size: 12px;
}

.bank-box strong {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.law-panel {
    padding: 50px;
    border-radius: 28px;
    background: linear-gradient(135deg, #173f5c 0%, #215b6b 100%);
    color: #ffffff;
}

.law-panel .page-section-heading h1,
.law-panel .page-section-heading h2,
.law-panel .info-card h3 {
    color: #ffffff;
}

.law-panel .page-section-heading > p:last-child,
.law-panel .info-card p,
.law-panel .info-card li {
    color: rgba(255,255,255,.72);
}

.law-panel .info-card {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.12);
    box-shadow: none;
}

.law-panel .info-card-number {
    background: rgba(169,222,208,.12);
    color: #bce8dd;
}

.lawyers-white-button {
    background: #ffffff !important;
    color: #173f5c !important;
    border-color: #ffffff !important;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.news-list {
    display: grid;
    gap: 20px;
}

.news-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 28px;
    padding: 26px;
    border: 1px solid #dfe8e7;
    border-radius: 18px;
    background: #ffffff;
}

.news-date {
    color: #2f9178;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}

.news-item h3 {
    margin: 0 0 10px;
    color: #173f5c;
    font-size: 22px;
}

.news-item p {
    margin: 0;
    color: #607582;
    font-size: 15px;
    line-height: 1.68;
}

.legal-page {
    padding: 80px 0 100px;
}

.legal-intro {
    max-width: 780px;
    margin-bottom: 34px;
}

.legal-intro h1 {
    margin: 0;
    color: #173f5c;
    font-size: clamp(38px, 4.6vw, 58px);
}

.legal-intro p {
    color: #607582;
    font-size: 16px;
    line-height: 1.7;
}

.draft-warning {
    margin-bottom: 28px;
    padding: 18px 20px;
    border: 1px solid #eadcbd;
    border-radius: 14px;
    background: #fff9ed;
    color: #705a2d;
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 1180px) {

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 77px;
        left: 0;
        right: 0;
        z-index: 60;
        display: none;
        max-height: calc(100vh - 77px);
        overflow-y: auto;
        margin: 0;
        padding: 18px 20px 28px;
        border-top: 1px solid #e4eceb;
        background: #ffffff;
        box-shadow: 0 20px 35px rgba(23,63,92,.09);
    }

    .main-nav.is-open {
        display: grid;
    }

    .main-nav a {
        padding: 15px 4px;
        border-bottom: 1px solid #edf1f1;
    }

    .main-nav a::after {
        display: none;
    }

    .page-hero-grid,
    .product-detail {
        grid-template-columns: 1fr;
    }

    .page-hero-visual {
        max-width: 760px;
    }

    .three-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {

    .header-button {
        display: none;
    }

    .page-hero {
        padding: 62px 0 58px;
    }

    .page-hero h1 {
        font-size: 40px;
    }

    .page-hero-lead {
        font-size: 16px;
    }

    .page-section {
        padding: 68px 0;
    }

    .two-column,
    .three-column,
    .donation-grid {
        grid-template-columns: 1fr;
    }

    .content-panel,
    .info-card,
    .donation-card,
    .law-panel {
        padding: 24px;
    }

    .cta-strip-grid {
        grid-template-columns: 1fr;
    }

    .cta-strip .button {
        width: 100%;
    }

    .product-screen-body {
        grid-template-columns: 1fr;
    }

    .product-screen-photo {
        min-height: 150px;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .button {
        width: 100%;
    }
}


/* ==========================================================
   KOREKTA WERSJI 1.2
   ========================================================== */

.logo-link {
    display: inline-flex;
    align-items: center;
}

.site-logo {
    width: 138px;
}

.footer-logo-box {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background-color: #ffffff;
}

.footer-logo {
    width: 150px;
    height: auto;
}

.hero-card-label {
    margin: 0 0 18px;
    color: #2f9178;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.hero-highlights-card {
    padding: 34px;
    border: 1px solid #dce7e6;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
    box-shadow: 0 20px 46px rgba(23, 63, 92, 0.08);
}

.hero-highlight-list {
    display: grid;
    gap: 14px;
}

.hero-highlight-item {
    padding: 18px 18px 16px;
    border: 1px solid #e2ecea;
    border-radius: 18px;
    background: #ffffff;
}

.hero-highlight-item h2 {
    margin: 0 0 8px;
    color: #173f5c;
    font-size: 20px;
}

.hero-highlight-item p {
    margin: 0;
    color: #607582;
    font-size: 14px;
    line-height: 1.65;
}

.hero-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.hero-mini-stats div {
    padding: 14px 12px;
    border-radius: 14px;
    background: #edf7f4;
}

.hero-mini-stats strong,
.inline-metrics strong,
.support-method-list strong {
    display: block;
    color: #173f5c;
    font-size: 14px;
}

.hero-mini-stats span,
.inline-metrics span,
.support-method-list span {
    display: block;
    margin-top: 4px;
    color: #607582;
    font-size: 12px;
    line-height: 1.5;
}

.iso-detail-panel .note-box {
    margin-top: 22px;
}

.inline-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.inline-metrics > div {
    padding: 16px;
    border-radius: 16px;
    background: #f4f8f7;
}

.product-hero-card h2 {
    margin-bottom: 12px;
}

.hero-check-list {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.hero-check-list span {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f4f8f7;
    color: #173f5c;
    font-size: 14px;
    font-weight: 700;
}

.mini-product-preview {
    margin-top: 22px;
}

.mini-product-screen {
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eaf5f1 0%, #dcebec 100%);
}

.mini-product-top {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}

.mini-product-top span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8aacaa;
}

.mini-product-columns {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 14px;
}

.mini-product-columns > div:first-child {
    min-height: 110px;
    border-radius: 12px;
    background: linear-gradient(135deg, #a6d0c8, #cde0e1);
}

.mini-lines {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.mini-lines span {
    height: 12px;
    border-radius: 999px;
    background: #bdd2d2;
}

.mini-lines span:nth-child(1) { width: 80%; height: 18px; background: #8db8ad; }
.mini-lines span:nth-child(2) { width: 100%; }
.mini-lines span:nth-child(3) { width: 72%; }

.hero-panel-dark {
    padding: 34px;
    border-radius: 26px;
    background: linear-gradient(135deg, #173f5c 0%, #225f70 100%);
    box-shadow: 0 22px 48px rgba(23,63,92,.16);
    color: #ffffff;
}

.hero-panel-dark .hero-card-label {
    color: #a9ded0;
}

.support-method-list {
    display: grid;
    gap: 14px;
}

.support-method-list > div {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
}

.support-method-list strong {
    color: #ffffff;
}

.support-method-list span {
    color: rgba(255,255,255,.7);
}

.button-light {
    background: #ffffff;
    color: #173f5c;
    border-color: #ffffff;
}

.button-light-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,.35);
}

.support-actions .button {
    min-width: 210px;
}

.support-note-inline {
    margin-top: 18px;
    color: #607582;
    font-size: 14px;
    line-height: 1.65;
}

.contact-form-card {
    padding: 34px;
    border: 1px solid #dbe7e5;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(23,63,92,.08);
}

.contact-form-card h2 {
    margin: 0 0 10px;
    color: #173f5c;
    font-size: 28px;
}

.contact-form-card > p {
    margin: 0 0 20px;
    color: #607582;
    font-size: 15px;
    line-height: 1.7;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    color: #173f5c;
    font-size: 13px;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d9e5e4;
    border-radius: 12px;
    background: #fbfdfd;
    color: #173f5c;
    font: inherit;
}

.form-field textarea {
    resize: vertical;
    min-height: 150px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: 2px solid rgba(47,145,120,.18);
    border-color: #2f9178;
    background: #ffffff;
}

.honeypot-field {
    display: none;
}

.consent-row {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    color: #607582;
    font-size: 13px;
    line-height: 1.6;
}

.consent-row input {
    margin-top: 3px;
}

.form-submit {
    width: fit-content;
}

.form-alt-contact {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e6efee;
    color: #607582;
    font-size: 14px;
}

.form-alt-contact a {
    color: #1c5d78;
    font-weight: 700;
}

.thank-you-page {
    background: linear-gradient(135deg, #f7fbfa 0%, #eef6f5 100%);
}

.thank-you-panel {
    max-width: 720px;
    padding: 42px;
    border: 1px solid #dbe7e5;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(23,63,92,.08);
}

.thank-you-panel h1 {
    margin: 0;
    color: #173f5c;
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.05;
}

.thank-you-panel p {
    margin: 20px 0 0;
    color: #607582;
    font-size: 17px;
    line-height: 1.75;
}

@media (max-width: 700px) {
    .site-logo {
        width: 120px;
    }

    .hero-mini-stats,
    .inline-metrics,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .support-actions .button,
    .form-submit {
        width: 100%;
    }

    .contact-form-card,
    .hero-highlights-card,
    .hero-panel-dark,
    .thank-you-panel {
        padding: 24px;
    }
}


/* ==========================================================
   WERSJA 1.5 — FORMULARZ WYŁĄCZNIE W OKNIE POPUP
   ========================================================== */

.contact-card-classic .section-label {
    margin-bottom: 10px;
}

.contact-card-mail {
    margin-top: 16px !important;
    color: #173f5c !important;
    font-weight: 700;
}

.contact-modal-open {
    overflow: hidden;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.contact-modal.is-open {
    display: block;
}

.contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 28, 42, 0.74);
    backdrop-filter: blur(5px);
}

.contact-modal__dialog {
    position: relative;
    width: min(1080px, calc(100vw - 36px));
    max-height: calc(100vh - 36px);
    margin: 18px auto;
    overflow: auto;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(0, 20, 35, .35);
}

.contact-modal__grid {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    min-height: 680px;
}

.contact-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #173f5c;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.contact-modal__visual {
    position: relative;
    padding: 42px 36px;
    overflow: hidden;
    background: linear-gradient(150deg, #173f5c 0%, #1d5b70 55%, #2f9178 100%);
    color: #ffffff;
}

.contact-modal__visual::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -120px;
    bottom: -120px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 0 0 45px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.025);
}

.contact-modal__logo-box {
    display: inline-flex;
    padding: 9px 14px;
    border-radius: 16px;
    background: #ffffff;
}

.contact-modal__logo-box img {
    width: 120px;
}

.contact-modal__label,
.contact-modal__form-label {
    margin: 28px 0 10px;
    color: #a9ded0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-modal__visual h2 {
    margin: 0;
    max-width: 420px;
    color: #ffffff;
    font-size: clamp(36px, 3.4vw, 52px);
    line-height: 1.05;
}

.contact-modal__visual > p:not(.contact-modal__label):not(.contact-modal__privacy) {
    margin: 20px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.75;
}

.contact-modal__steps {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.contact-modal__steps > div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
}

.contact-modal__steps span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.13);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.contact-modal__steps p {
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 14px;
    line-height: 1.55;
}

.contact-modal__privacy {
    position: relative;
    z-index: 1;
    margin: 24px 0 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.75);
    font-size: 12px;
    line-height: 1.65;
}

.contact-modal__form-side {
    padding: 42px 40px;
    background: #ffffff;
}

.contact-modal__form-side .contact-modal__form-label {
    margin-top: 0;
    color: #2f9178;
}

.contact-modal__form-side h2 {
    margin: 0;
    color: #173f5c;
    font-size: 36px;
    line-height: 1.1;
}

.contact-modal__intro {
    margin: 12px 0 24px;
    color: #607582;
    font-size: 14px;
    line-height: 1.65;
}

.contact-form--popup {
    display: grid;
    gap: 17px;
}

.contact-form--popup .form-field label span {
    color: #82949d;
    font-weight: 400;
}

.contact-form__submit {
    width: 100%;
}

.receipt-page {
    background: linear-gradient(180deg, #f5fbfa 0%, #eef6f4 100%);
}

.receipt-panel {
    padding: 34px;
    border: 1px solid #dce7e6;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(23,63,92,.08);
}

.receipt-panel__header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.receipt-panel__header h1 {
    margin: 0;
    color: #173f5c;
    font-size: clamp(38px, 4vw, 56px);
}

.receipt-panel__lead {
    margin: 15px 0 0;
    color: #607582;
    font-size: 16px;
    line-height: 1.7;
}

.receipt-brand-box {
    padding: 18px 22px;
    border-radius: 18px;
    background: #f4f8f7;
    text-align: center;
}

.receipt-brand-box img {
    width: 126px;
}

.receipt-brand-box p {
    margin: 8px 0 0;
    color: #173f5c;
    font-size: 13px;
    font-weight: 700;
}

.receipt-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.receipt-meta-grid > div,
.receipt-card {
    padding: 18px;
    border: 1px solid #e1ebe9;
    border-radius: 18px;
    background: #fafdfc;
}

.receipt-meta-grid span,
.receipt-list span {
    display: block;
    color: #728791;
    font-size: 11px;
}

.receipt-meta-grid strong,
.receipt-list strong {
    display: block;
    margin-top: 5px;
    color: #173f5c;
    font-size: 14px;
    line-height: 1.5;
}

.receipt-content-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 14px;
    margin-top: 14px;
}

.receipt-card h2 {
    margin: 0 0 14px;
    color: #173f5c;
    font-size: 22px;
}

.receipt-list {
    display: grid;
    gap: 10px;
}

.receipt-list p {
    margin: 0;
    padding: 12px 14px;
    border-radius: 13px;
    background: #f2f7f6;
}

.receipt-message-box {
    min-height: 220px;
    padding: 16px;
    border-radius: 14px;
    background: #f2f7f6;
    color: #173f5c;
    font-size: 14px;
    line-height: 1.75;
}

.receipt-privacy-note {
    margin-top: 16px;
    padding: 15px 17px;
    border-radius: 14px;
    background: #edf7f4;
    color: #536d78;
    font-size: 13px;
    line-height: 1.65;
}

.receipt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

@media print {
    .no-print,
    .site-header,
    .site-footer,
    .contact-modal {
        display: none !important;
    }

    .receipt-page {
        padding: 0;
        background: #ffffff;
    }

    .receipt-panel {
        border: 0;
        box-shadow: none;
    }
}

@media (max-width: 900px) {
    .contact-modal__grid {
        grid-template-columns: 1fr;
    }

    .contact-modal__visual {
        display: none;
    }

    .receipt-panel__header,
    .receipt-meta-grid,
    .receipt-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .contact-modal__dialog {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
        margin: 8px auto;
        border-radius: 20px;
    }

    .contact-modal__form-side {
        padding: 54px 22px 24px;
    }

    .contact-modal__form-side h2 {
        font-size: 31px;
    }

    .receipt-panel {
        padding: 22px;
    }

    .receipt-actions {
        display: grid;
    }

    .receipt-actions .button {
        width: 100%;
    }
}
