/* =========================================================
   MOBILNY-RANKING.PL
   STRONY STATYCZNE
   - O nas
   - Regulamin
   - Polityka prywatności
   ========================================================= */

:root {
    --mr-static-bg: #0b1426;
    --mr-static-bg-deep: #08101f;

    --mr-static-surface: #111b30;
    --mr-static-surface-2: #16233c;
    --mr-static-surface-3: #1a2947;

    --mr-static-text: #ffffff;
    --mr-static-text-muted: #aeb7ca;
    --mr-static-text-soft: #7f8aa3;

    --mr-static-border: rgba(126, 148, 197, 0.17);
    --mr-static-border-strong: rgba(126, 148, 197, 0.28);

    --mr-static-accent: #ff1268;
    --mr-static-accent-hover: #ff3c82;
    --mr-static-accent-light: #ff68a1;
    --mr-static-accent-soft: rgba(255, 18, 104, 0.11);
    --mr-static-accent-border: rgba(255, 18, 104, 0.34);

    --mr-static-danger: #ff536f;
    --mr-static-success: #2ecc71;

    --mr-static-radius-sm: 12px;
    --mr-static-radius: 18px;
    --mr-static-radius-lg: 26px;

    --mr-static-container: 1180px;

    --mr-static-shadow:
        0 24px 60px rgba(0, 0, 0, 0.28);
}


/* =========================================================
   RESET LOKALNY
   ========================================================= */

.mr-static-page,
.mr-static-page *,
.mr-static-page *::before,
.mr-static-page *::after {
    box-sizing: border-box;
}

.mr-static-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 44px 20px 100px;

    background:
        radial-gradient(
            circle at 5% 8%,
            rgba(255, 18, 104, 0.17),
            transparent 27%
        ),
        radial-gradient(
            circle at 95% 10%,
            rgba(58, 83, 153, 0.17),
            transparent 31%
        ),
        linear-gradient(
            180deg,
            var(--mr-static-bg) 0%,
            var(--mr-static-bg-deep) 100%
        );

    color: var(--mr-static-text);
    font-family: "Montserrat", Arial, sans-serif;
    overflow: hidden;
}

.mr-static-page::before {
    content: "";
    position: absolute;
    top: 140px;
    right: -180px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(255, 18, 104, 0.07);
    filter: blur(60px);
    pointer-events: none;
}

.mr-static-page::after {
    content: "";
    position: absolute;
    bottom: 120px;
    left: -220px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(48, 75, 143, 0.08);
    filter: blur(70px);
    pointer-events: none;
}

.mr-static-page__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--mr-static-container);
    margin: 0 auto;
}


/* =========================================================
   BREADCRUMBS
   ========================================================= */

.mr-breadcrumbs {
    margin-bottom: 40px;
}

.mr-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mr-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 0;
    color: var(--mr-static-text-soft);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.mr-breadcrumbs li:not(:last-child)::after {
    content: "/";
    color: rgba(255, 255, 255, 0.24);
}

.mr-breadcrumbs a {
    color: var(--mr-static-text-muted);
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.mr-breadcrumbs a:hover {
    color: var(--mr-static-accent-light);
}

.mr-breadcrumbs [aria-current="page"] {
    color: #ffffff;
}


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

.mr-static-page__header {
    position: relative;
    max-width: 900px;
    margin-bottom: 56px;
    padding: 52px 56px;

    border: 1px solid var(--mr-static-border);
    border-radius: var(--mr-static-radius-lg);

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255, 18, 104, 0.14),
            transparent 34%
        ),
        radial-gradient(
            circle at 0 100%,
            rgba(52, 78, 147, 0.16),
            transparent 37%
        ),
        linear-gradient(
            135deg,
            #121d33 0%,
            #101827 100%
        );

    box-shadow:
        var(--mr-static-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);

    overflow: hidden;
}

.mr-static-page__header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 56px;
    width: 100px;
    height: 3px;
    border-radius: 0 0 8px 8px;

    background:
        linear-gradient(
            90deg,
            var(--mr-static-accent),
            var(--mr-static-accent-hover)
        );

    box-shadow:
        0 0 18px rgba(255, 18, 104, 0.45);
}

.mr-static-page__header::after {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 250px;
    height: 250px;
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 18, 104, 0.16),
            rgba(255, 18, 104, 0.025) 66%,
            transparent 72%
        );

    pointer-events: none;
}

.mr-static-page__eyebrow {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 20px;
    padding: 9px 14px;

    border: 1px solid var(--mr-static-accent-border);
    border-radius: 999px;

    background: var(--mr-static-accent-soft);
    color: var(--mr-static-accent-light);

    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mr-static-page__eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;

    background: var(--mr-static-accent);

    box-shadow:
        0 0 12px rgba(255, 18, 104, 0.8);
}

.mr-static-page__header h1 {
    position: relative;
    z-index: 2;

    margin: 0 0 20px;

    color: #ffffff;

    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.045em;

    text-shadow:
        0 8px 35px rgba(0, 0, 0, 0.28);
}

.mr-static-page__lead {
    position: relative;
    z-index: 2;

    max-width: 760px;
    margin: 0;

    color: var(--mr-static-text-muted);

    font-size: clamp(17px, 2vw, 21px);
    font-weight: 400;
    line-height: 1.75;
}


/* =========================================================
   GŁÓWNA TREŚĆ
   ========================================================= */

.mr-static-page__content,
.mr-legal-content {
    width: 100%;
    max-width: 980px;
}

.mr-static-page__content > section,
.mr-legal-content > section {
    margin-bottom: 28px;
    padding: 38px 40px;

    border: 1px solid var(--mr-static-border);
    border-radius: var(--mr-static-radius);

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255, 18, 104, 0.035),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #111b30 0%,
            #0f1829 100%
        );

    box-shadow:
        0 16px 44px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.022);

    transition:
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.mr-static-page__content > section:hover,
.mr-legal-content > section:hover {
    border-color: rgba(255, 18, 104, 0.22);

    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.026);
}

.mr-static-page__content > section:last-child,
.mr-legal-content > section:last-child {
    margin-bottom: 0;
}

.mr-static-page__content h2,
.mr-legal-content h2 {
    position: relative;

    margin: 0 0 22px;
    padding-left: 20px;

    color: #ffffff;

    font-size: clamp(23px, 3vw, 32px);
    font-weight: 750;
    line-height: 1.28;
    letter-spacing: -0.025em;
}

.mr-static-page__content h2::before,
.mr-legal-content h2::before {
    content: "";
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 4px;
    border-radius: 8px;

    background:
        linear-gradient(
            180deg,
            var(--mr-static-accent),
            var(--mr-static-accent-hover)
        );

    box-shadow:
        0 0 14px rgba(255, 18, 104, 0.28);
}

.mr-static-page__content h3,
.mr-legal-content h3 {
    margin: 28px 0 13px;

    color: #ffffff;

    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.mr-static-page__content p,
.mr-legal-content p {
    margin: 0 0 18px;

    color: var(--mr-static-text-muted);

    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
}

.mr-static-page__content p:last-child,
.mr-legal-content p:last-child {
    margin-bottom: 0;
}

.mr-static-page__content strong,
.mr-legal-content strong {
    color: #ffffff;
    font-weight: 700;
}

.mr-static-page__content a,
.mr-legal-content a {
    color: var(--mr-static-accent-light);
    font-weight: 600;

    text-decoration: underline;
    text-decoration-color: rgba(255, 18, 104, 0.34);
    text-underline-offset: 4px;

    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}

.mr-static-page__content a:hover,
.mr-legal-content a:hover {
    color: #ff8ab8;
    text-decoration-color: #ff8ab8;
}


/* =========================================================
   LISTY
   ========================================================= */

.mr-static-page__content ul,
.mr-static-page__content ol,
.mr-legal-content ul,
.mr-legal-content ol {
    margin: 18px 0 22px;
    padding-left: 0;
}

.mr-static-page__content ul,
.mr-legal-content ul {
    list-style: none;
}

.mr-static-page__content ul > li,
.mr-legal-content ul > li {
    position: relative;

    margin-bottom: 13px;
    padding-left: 29px;

    color: var(--mr-static-text-muted);

    font-size: 15.5px;
    line-height: 1.75;
}

.mr-static-page__content ul > li::before,
.mr-legal-content ul > li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 3px;

    width: 8px;
    height: 8px;

    border: 2px solid var(--mr-static-accent);
    border-radius: 50%;

    background: rgba(255, 18, 104, 0.1);

    box-shadow:
        0 0 8px rgba(255, 18, 104, 0.25);
}

.mr-static-page__content ol,
.mr-legal-content ol {
    counter-reset: mr-static-counter;
    list-style: none;
}

.mr-static-page__content ol > li,
.mr-legal-content ol > li {
    position: relative;

    margin-bottom: 18px;
    padding-left: 47px;

    color: var(--mr-static-text-muted);

    font-size: 15.5px;
    line-height: 1.8;

    counter-increment: mr-static-counter;
}

.mr-static-page__content ol > li::before,
.mr-legal-content ol > li::before {
    content: counter(mr-static-counter);

    position: absolute;
    top: 1px;
    left: 0;

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

    width: 30px;
    height: 30px;

    border: 1px solid var(--mr-static-accent-border);
    border-radius: 9px;

    background: var(--mr-static-accent-soft);
    color: var(--mr-static-accent-light);

    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.mr-static-page__content li:last-child,
.mr-legal-content li:last-child {
    margin-bottom: 0;
}

.mr-static-page__content li ul,
.mr-static-page__content li ol,
.mr-legal-content li ul,
.mr-legal-content li ol {
    margin-top: 14px;
    margin-bottom: 0;
}


/* =========================================================
   CYTAT
   ========================================================= */

.mr-static-page blockquote {
    position: relative;

    margin: 30px 0 5px;
    padding: 29px 34px 29px 72px;

    border: 1px solid var(--mr-static-accent-border);
    border-radius: var(--mr-static-radius);

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(57, 84, 155, 0.2),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            rgba(255, 18, 104, 0.13),
            rgba(24, 38, 67, 0.78)
        );

    color: #ffffff;

    font-size: clamp(18px, 2vw, 23px);
    font-weight: 650;
    line-height: 1.65;

    box-shadow:
        inset 4px 0 0 var(--mr-static-accent),
        0 15px 36px rgba(0, 0, 0, 0.2);
}

.mr-static-page blockquote::before {
    content: "\201C";

    position: absolute;
    top: 13px;
    left: 25px;

    color: var(--mr-static-accent);

    font-family: Georgia, serif;
    font-size: 58px;
    font-weight: 700;
    line-height: 1;
}


/* =========================================================
   KARTY NA STRONIE O NAS
   ========================================================= */

.mr-static-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.mr-static-card {
    position: relative;

    min-width: 0;
    padding: 28px;

    border: 1px solid var(--mr-static-border);
    border-radius: 17px;

    background:
        radial-gradient(
            circle at 100% 100%,
            rgba(255, 18, 104, 0.07),
            transparent 41%
        ),
        linear-gradient(
            145deg,
            #17243e 0%,
            #121d32 100%
        );

    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.mr-static-card::after {
    content: "";

    position: absolute;
    right: -45px;
    bottom: -45px;

    width: 110px;
    height: 110px;

    border-radius: 50%;

    background: rgba(255, 18, 104, 0.07);

    transition: transform 0.3s ease;
}

.mr-static-card:hover {
    transform: translateY(-4px);

    border-color: rgba(255, 18, 104, 0.36);

    background:
        radial-gradient(
            circle at 100% 100%,
            rgba(255, 18, 104, 0.12),
            transparent 43%
        ),
        linear-gradient(
            145deg,
            #1a2947 0%,
            #15223a 100%
        );

    box-shadow:
        0 19px 42px rgba(0, 0, 0, 0.28),
        0 0 28px rgba(255, 18, 104, 0.05);
}

.mr-static-card:hover::after {
    transform: scale(1.3);
}

.mr-static-card__icon {
    position: relative;
    z-index: 2;

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

    width: 54px;
    height: 54px;
    margin-bottom: 21px;

    border: 1px solid var(--mr-static-accent-border);
    border-radius: 15px;

    background: var(--mr-static-accent-soft);
    color: var(--mr-static-accent-light);

    font-size: 21px;

    box-shadow:
        0 11px 25px rgba(255, 18, 104, 0.09);
}

.mr-static-card h3 {
    position: relative;
    z-index: 2;

    margin: 0 0 11px;

    color: #ffffff;

    font-size: 18px;
    font-weight: 750;
    line-height: 1.4;
}

.mr-static-card p {
    position: relative;
    z-index: 2;

    margin: 0;

    color: var(--mr-static-text-muted);

    font-size: 14.5px;
    line-height: 1.75;
}


/* =========================================================
   KOMUNIKAT O DANYCH DO UZUPEŁNIENIA
   ========================================================= */

.mr-legal-notice {
    position: relative;

    margin: 26px 0 0;
    padding: 25px 28px 25px 68px;

    border: 1px solid rgba(255, 83, 111, 0.32);
    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 83, 111, 0.12),
            rgba(255, 18, 104, 0.05)
        );

    color: #b8c1d3;
}

.mr-legal-notice::before {
    content: "\f071";

    position: absolute;
    top: 25px;
    left: 27px;

    color: var(--mr-static-danger);

    font-family: "Font Awesome 6 Free";
    font-size: 21px;
    font-weight: 900;
}

.mr-legal-notice strong {
    display: block;

    margin-bottom: 12px;

    color: #ff8ba0;
    font-size: 15px;
}

.mr-legal-notice ul {
    margin-bottom: 0;
}

.mr-legal-notice ul > li::before {
    border-color: var(--mr-static-danger);
}


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

.mr-legal-content__footer {
    margin-top: 34px;
    padding: 22px 27px;

    border: 1px solid var(--mr-static-border);
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(24, 37, 63, 0.92),
            rgba(16, 25, 43, 0.92)
        );
}

.mr-legal-content__footer p {
    margin: 0;

    color: var(--mr-static-text-soft);

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

.mr-legal-content__footer strong {
    color: var(--mr-static-text-muted);
}


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

.mr-static-page__content > .mr-static-page__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;

    padding: 42px;

    border-color: var(--mr-static-accent-border);

    background:
        radial-gradient(
            circle at 100% 20%,
            rgba(255, 18, 104, 0.22),
            transparent 38%
        ),
        radial-gradient(
            circle at 0 100%,
            rgba(48, 74, 140, 0.23),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #17233c,
            #10192b
        );

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.27),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.mr-static-page__cta span {
    display: block;

    margin-bottom: 9px;

    color: var(--mr-static-accent-light);

    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mr-static-page__cta h2 {
    max-width: 620px;
    margin-bottom: 0;
    padding-left: 0;

    font-size: clamp(23px, 3vw, 34px);
}

.mr-static-page__cta h2::before {
    display: none;
}


/* =========================================================
   PRZYCISKI
   ========================================================= */

.mr-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;
    padding: 14px 24px;

    border: 1px solid transparent;
    border-radius: 13px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.mr-btn:hover {
    transform: translateY(-2px);
}

.mr-btn--primary {
    border-color: var(--mr-static-accent);

    background:
        linear-gradient(
            135deg,
            var(--mr-static-accent) 0%,
            #ff2f7c 100%
        );

    color: #ffffff !important;

    box-shadow:
        0 13px 30px rgba(255, 18, 104, 0.28);
}

.mr-btn--primary:hover {
    border-color: var(--mr-static-accent-hover);

    background:
        linear-gradient(
            135deg,
            #ff357f 0%,
            var(--mr-static-accent) 100%
        );

    color: #ffffff !important;

    box-shadow:
        0 17px 40px rgba(255, 18, 104, 0.38);
}


/* =========================================================
   LINKI W FOOTERZE
   ========================================================= */

.mr-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 24px;
}

.mr-footer-links a {
    position: relative;

    color: #8f9ab0;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;

    transition: color 0.2s ease;
}

.mr-footer-links a::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -4px;
    left: 0;

    height: 1px;

    background: var(--mr-static-accent);

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.2s ease;
}

.mr-footer-links a:hover {
    color: #ffffff;
}

.mr-footer-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* =========================================================
   TABELE
   ========================================================= */

.mr-static-page__content table,
.mr-legal-content table {
    width: 100%;
    margin: 28px 0;

    border: 1px solid var(--mr-static-border);
    border-radius: 14px;
    border-collapse: separate;
    border-spacing: 0;

    background: #141f35;

    overflow: hidden;
}

.mr-static-page__content th,
.mr-static-page__content td,
.mr-legal-content th,
.mr-legal-content td {
    padding: 16px 18px;

    border-right: 1px solid var(--mr-static-border);
    border-bottom: 1px solid var(--mr-static-border);

    color: var(--mr-static-text-muted);

    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    vertical-align: top;
}

.mr-static-page__content th,
.mr-legal-content th {
    background: rgba(255, 18, 104, 0.11);
    color: #ffffff;
    font-weight: 700;
}

.mr-static-page__content tr:last-child td,
.mr-legal-content tr:last-child td {
    border-bottom: 0;
}

.mr-static-page__content th:last-child,
.mr-static-page__content td:last-child,
.mr-legal-content th:last-child,
.mr-legal-content td:last-child {
    border-right: 0;
}


/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */

@media (max-width: 991px) {
    .mr-static-page {
        padding-top: 34px;
        padding-bottom: 80px;
    }

    .mr-static-page__header {
        margin-bottom: 40px;
        padding: 44px 40px;
    }

    .mr-static-page__header::before {
        left: 40px;
    }

    .mr-static-page__content,
    .mr-legal-content {
        max-width: 100%;
    }

    .mr-static-page__content > section,
    .mr-legal-content > section {
        padding: 34px;
    }

    .mr-static-page__content > .mr-static-page__cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .mr-static-page {
        padding: 24px 14px 64px;
    }

    .mr-breadcrumbs {
        margin-bottom: 25px;
    }

    .mr-breadcrumbs ol {
        gap: 6px;
    }

    .mr-breadcrumbs li {
        gap: 6px;
        font-size: 12px;
    }

    .mr-static-page__header {
        margin-bottom: 28px;
        padding: 36px 25px 32px;
        border-radius: 20px;
    }

    .mr-static-page__header::before {
        left: 25px;
        width: 72px;
    }

    .mr-static-page__header h1 {
        margin-bottom: 15px;
        font-size: 38px;
    }

    .mr-static-page__lead {
        font-size: 16px;
        line-height: 1.7;
    }

    .mr-static-page__content > section,
    .mr-legal-content > section {
        margin-bottom: 18px;
        padding: 27px 22px;
        border-radius: 16px;
    }

    .mr-static-page__content h2,
    .mr-legal-content h2 {
        margin-bottom: 19px;
        padding-left: 16px;
        font-size: 23px;
    }

    .mr-static-page__content p,
    .mr-legal-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .mr-static-page__content ul > li,
    .mr-legal-content ul > li,
    .mr-static-page__content ol > li,
    .mr-legal-content ol > li {
        font-size: 14.5px;
    }

    .mr-static-page__content ol > li,
    .mr-legal-content ol > li {
        padding-left: 41px;
    }

    .mr-static-grid {
        grid-template-columns: 1fr;
    }

    .mr-static-card {
        padding: 24px;
    }

    .mr-static-page blockquote {
        padding: 26px 22px 26px 58px;
        font-size: 17px;
    }

    .mr-static-page blockquote::before {
        left: 18px;
        font-size: 46px;
    }

    .mr-legal-notice {
        padding: 61px 22px 23px;
    }

    .mr-legal-notice::before {
        top: 22px;
        left: 22px;
    }

    .mr-static-page__content > .mr-static-page__cta {
        padding: 30px 24px;
    }

    .mr-btn {
        width: 100%;
    }

    .mr-footer-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .mr-static-page__content table,
    .mr-legal-content table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    .mr-static-page__header h1 {
        font-size: 33px;
    }

    .mr-static-page__eyebrow {
        font-size: 10px;
    }

    .mr-static-page__content > section,
    .mr-legal-content > section {
        padding: 24px 18px;
    }

    .mr-static-page__content h2,
    .mr-legal-content h2 {
        font-size: 21px;
    }

    .mr-static-card {
        padding: 21px;
    }
}


/* =========================================================
   DOSTĘPNOŚĆ
   ========================================================= */

.mr-static-page a:focus-visible,
.mr-static-page button:focus-visible {
    outline: 3px solid rgba(255, 18, 104, 0.62);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .mr-static-page *,
    .mr-static-page *::before,
    .mr-static-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =========================================================
   TRYB JASNY
   body.theme-light
   ========================================================= */

body.theme-light .mr-static-page {
    --mr-static-bg: #f4f6fb;
    --mr-static-bg-deep: #edf1f8;

    --mr-static-surface: #ffffff;
    --mr-static-surface-2: #f7f8fc;
    --mr-static-surface-3: #ffffff;

    --mr-static-text: #10182b;
    --mr-static-text-muted: #59647a;
    --mr-static-text-soft: #7b8497;

    --mr-static-border: rgba(32, 49, 84, 0.1);
    --mr-static-border-strong: rgba(32, 49, 84, 0.18);

    background:
        radial-gradient(
            circle at 4% 10%,
            rgba(255, 18, 104, 0.09),
            transparent 27%
        ),
        radial-gradient(
            circle at 95% 5%,
            rgba(49, 77, 145, 0.08),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #f4f6fb 0%,
            #edf1f8 100%
        );
}

body.theme-light .mr-breadcrumbs li {
    color: #7b8497;
}

body.theme-light .mr-breadcrumbs a {
    color: #59647a;
}

body.theme-light .mr-breadcrumbs [aria-current="page"] {
    color: #10182b;
}

body.theme-light .mr-breadcrumbs li:not(:last-child)::after {
    color: rgba(16, 24, 43, 0.25);
}

body.theme-light .mr-static-page__header {
    border-color: rgba(34, 55, 94, 0.12);

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255, 18, 104, 0.08),
            transparent 33%
        ),
        #ffffff;

    box-shadow:
        0 20px 50px rgba(23, 38, 69, 0.09);
}

body.theme-light .mr-static-page__header h1,
body.theme-light .mr-static-page__content h2,
body.theme-light .mr-legal-content h2,
body.theme-light .mr-static-page__content h3,
body.theme-light .mr-legal-content h3,
body.theme-light .mr-static-card h3 {
    color: #10182b;
}

body.theme-light .mr-static-page__lead,
body.theme-light .mr-static-page__content p,
body.theme-light .mr-legal-content p,
body.theme-light .mr-static-card p,
body.theme-light .mr-static-page__content li,
body.theme-light .mr-legal-content li {
    color: #59647a;
}

body.theme-light .mr-static-page__content strong,
body.theme-light .mr-legal-content strong {
    color: #10182b;
}

body.theme-light .mr-static-page__content > section,
body.theme-light .mr-legal-content > section {
    border-color: rgba(34, 55, 94, 0.1);

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255, 18, 104, 0.025),
            transparent 30%
        ),
        #ffffff;

    box-shadow:
        0 14px 38px rgba(23, 38, 69, 0.07);
}

body.theme-light .mr-static-page__content > section:hover,
body.theme-light .mr-legal-content > section:hover {
    border-color: rgba(255, 18, 104, 0.24);
}

body.theme-light .mr-static-card {
    border-color: rgba(34, 55, 94, 0.1);
    background: #f7f8fc;
}

body.theme-light .mr-static-card:hover {
    border-color: rgba(255, 18, 104, 0.28);
    background: #ffffff;
}

body.theme-light .mr-static-card__icon {
    background: rgba(255, 18, 104, 0.08);
}

body.theme-light .mr-static-page blockquote {
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(49, 77, 145, 0.1),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            rgba(255, 18, 104, 0.08),
            rgba(255, 255, 255, 0.96)
        );

    color: #10182b;
}

body.theme-light .mr-legal-content__footer {
    background: #f7f8fc;
}

body.theme-light .mr-legal-content__footer p {
    color: #7b8497;
}

body.theme-light .mr-legal-content__footer strong {
    color: #59647a;
}

body.theme-light .mr-static-page__content table,
body.theme-light .mr-legal-content table {
    background: #ffffff;
}

body.theme-light .mr-static-page__content th,
body.theme-light .mr-static-page__content td,
body.theme-light .mr-legal-content th,
body.theme-light .mr-legal-content td {
    color: #59647a;
}

body.theme-light .mr-static-page__content th,
body.theme-light .mr-legal-content th {
    background: rgba(255, 18, 104, 0.08);
    color: #10182b;
}

/* =========================================================
   KONTAKT
   ========================================================= */

.mr-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.mr-contact-main,
.mr-contact-sidebar {
    min-width: 0;
}

.mr-contact-form-card {
    padding: 40px;
    border: 1px solid var(--mr-static-border);
    border-radius: var(--mr-static-radius);
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255, 18, 104, 0.05),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #111b30,
            #0f1829
        );
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.24);
}

.mr-contact-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 34px;
}

.mr-contact-section-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid var(--mr-static-accent-border);
    border-radius: 15px;
    background: var(--mr-static-accent-soft);
    color: var(--mr-static-accent-light);
    font-size: 21px;
}

.mr-contact-section-label {
    display: block;
    margin-bottom: 7px;
    color: var(--mr-static-accent-light);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mr-contact-section-heading h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.mr-contact-section-heading p {
    margin: 0;
    color: var(--mr-static-text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.mr-contact-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mr-contact-field {
    margin-bottom: 22px;
}

.mr-contact-field .input {
    margin: 0;
}

.mr-contact-field label {
    display: block;
    margin-bottom: 9px;
    color: #dfe5f0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.mr-contact-field input,
.mr-contact-field select,
.mr-contact-field textarea {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid rgba(126, 148, 197, 0.2);
    border-radius: 12px;
    outline: none;
    background: #0b1527;
    color: #ffffff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.mr-contact-field textarea {
    min-height: 170px;
    resize: vertical;
}

.mr-contact-field input::placeholder,
.mr-contact-field textarea::placeholder {
    color: #65718a;
}

.mr-contact-field input:hover,
.mr-contact-field select:hover,
.mr-contact-field textarea:hover {
    border-color: rgba(126, 148, 197, 0.34);
}

.mr-contact-field input:focus,
.mr-contact-field select:focus,
.mr-contact-field textarea:focus {
    border-color: var(--mr-static-accent);
    background: #0d182b;
    box-shadow:
        0 0 0 4px rgba(255, 18, 104, 0.1);
}

.mr-contact-field select {
    cursor: pointer;
}

.mr-contact-field select option {
    background: #111b30;
    color: #ffffff;
}

.mr-contact-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 2px 0 26px;
}

.mr-contact-form__consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--mr-static-accent);
    cursor: pointer;
}

.mr-contact-form__consent label {
    margin: 0;
    color: var(--mr-static-text-muted);
    font-size: 12.5px;
    line-height: 1.7;
    cursor: pointer;
}

.mr-contact-form__consent a {
    color: var(--mr-static-accent-light);
    font-weight: 700;
    text-decoration: none;
}

.mr-contact-form__consent a:hover {
    color: #ff8ab8;
}

.mr-contact-form__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.mr-contact-form__security {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mr-static-text-soft);
    font-size: 12px;
    font-weight: 600;
}

.mr-contact-form__security i {
    color: var(--mr-static-success);
}

.mr-contact-sidebar {
    display: grid;
    gap: 18px;
}

.mr-contact-info-card {
    position: relative;
    padding: 27px;
    border: 1px solid var(--mr-static-border);
    border-radius: 17px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255, 18, 104, 0.06),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #16233c,
            #111b30
        );
    overflow: hidden;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.mr-contact-info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 18, 104, 0.32);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.24);
}

.mr-contact-info-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border: 1px solid var(--mr-static-accent-border);
    border-radius: 13px;
    background: var(--mr-static-accent-soft);
    color: var(--mr-static-accent-light);
    font-size: 18px;
}

.mr-contact-info-card__label {
    display: block;
    margin-bottom: 7px;
    color: var(--mr-static-text-soft);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.mr-contact-info-card h3 {
    margin: 0 0 11px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.mr-contact-info-card p {
    margin: 0 0 17px;
    color: var(--mr-static-text-muted);
    font-size: 13px;
    line-height: 1.7;
}

.mr-contact-info-card > a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--mr-static-accent-light);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.mr-contact-info-card > a i {
    transition: transform 0.2s ease;
}

.mr-contact-info-card > a:hover i {
    transform: translateX(4px);
}

.mr-contact-response-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 21px;
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 15px;
    background: rgba(46, 204, 113, 0.06);
}

.mr-contact-response-card > i {
    margin-top: 2px;
    color: var(--mr-static-success);
    font-size: 19px;
}

.mr-contact-response-card strong,
.mr-contact-response-card span {
    display: block;
}

.mr-contact-response-card strong {
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 13px;
}

.mr-contact-response-card span {
    color: var(--mr-static-text-muted);
    font-size: 12px;
    line-height: 1.6;
}

.mr-contact-help {
    margin-top: 58px;
}

.mr-contact-help__header {
    max-width: 700px;
    margin-bottom: 26px;
}

.mr-contact-help__header > span {
    display: block;
    margin-bottom: 8px;
    color: var(--mr-static-accent-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mr-contact-help__header h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.mr-contact-help__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mr-contact-help-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--mr-static-border);
    border-radius: 17px;
    background:
        linear-gradient(
            145deg,
            #16233c,
            #111b30
        );
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.mr-contact-help-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 18, 104, 0.34);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.22);
}

.mr-contact-help-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--mr-static-accent-border);
    border-radius: 13px;
    background: var(--mr-static-accent-soft);
    color: var(--mr-static-accent-light);
    font-size: 17px;
}

.mr-contact-help-card h3 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.mr-contact-help-card p {
    margin: 0;
    color: var(--mr-static-text-muted);
    font-size: 12px;
    line-height: 1.65;
}

.mr-contact-help-card > i {
    color: var(--mr-static-accent-light);
    font-size: 13px;
    transition: transform 0.2s ease;
}

.mr-contact-help-card:hover > i {
    transform: translateX(4px);
}


/* =========================================================
   KONTAKT — RESPONSYWNOŚĆ
   ========================================================= */

@media (max-width: 991px) {
    .mr-contact-layout {
        grid-template-columns: 1fr;
    }

    .mr-contact-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mr-contact-response-card {
        grid-column: 1 / -1;
    }

    .mr-contact-help__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .mr-contact-form-card {
        padding: 27px 22px;
    }

    .mr-contact-section-heading {
        gap: 14px;
        margin-bottom: 28px;
    }

    .mr-contact-section-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .mr-contact-section-heading h2 {
        font-size: 24px;
    }

    .mr-contact-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mr-contact-form__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .mr-contact-form__security {
        justify-content: center;
    }

    .mr-contact-sidebar {
        grid-template-columns: 1fr;
    }

    .mr-contact-response-card {
        grid-column: auto;
    }

    .mr-contact-help {
        margin-top: 42px;
    }

    .mr-contact-help-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .mr-contact-help-card > i {
        display: none;
    }
}
