/* ==========================================================
   MOBILNY-RANKING.PL — UPORZĄDKOWANY CSS
   Wersja desktop + tablet + mobile
   ========================================================== */


/* ==========================================================
   ZMIENNE I RESET
   ========================================================== */

:root {
    --mr-bg: #0f172a;
    --mr-card: #111827;
    --mr-text: #f8fafc;
    --mr-muted: #94a3b8;
    --mr-border: #334155;
    --mr-input: #1e293b;
    --mr-primary: #ef4444;
    --mr-primary-dark: #dc2626;
    --mr-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] {
    --mr-bg: #0f172a;
    --mr-card: #111827;
    --mr-text: #f8fafc;
    --mr-muted: #94a3b8;
    --mr-border: #334155;
    --mr-input: #1e293b;
    --mr-primary: #ef4444;
    --mr-primary-dark: #dc2626;
    --mr-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: "Montserrat", sans-serif;
    color: var(--mr-text);
    background: var(--mr-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

button,
input,
select,
textarea,
option,
label,
a,
span,
strong,
small,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
}

body {
    overflow-x: hidden;
}

html[data-theme="dark"] #map {
    background: #020617;
}

html:not([data-theme="dark"]) .map-search-card {
    background: radial-gradient(circle at top left, rgba(227, 6, 19, 0.13), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 60%, #eef2f7 100%);
    border-color: var(--mr-border);
    box-shadow: var(--mr-shadow);
}

html[data-theme="dark"] .map-search-header h1 {
    color: #ffffff;
}

html[data-theme="dark"] .map-search-header p {
    color: rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"] .premium-search {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(51, 65, 85, 0.95);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .premium-field:not(:last-of-type)::after {
    background: #334155;
}

html:not([data-theme="dark"]) .map-legend {
    background: rgba(255, 255, 255, 0.88);
    color: #101828;
    border: 1px solid rgba(228, 231, 236, 0.95);
}

html[data-theme="light"] .app-logo {
    color: #111827;
}

html[data-theme="light"] .app-logo-copy small {
    color: #64748b;
}

html[data-theme="light"] .app-nav {
    background: rgba(255, 255, 255, .8);
    border-color: rgba(15, 23, 42, .12);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

html[data-theme="light"] .app-nav a {
    color: #64748b;
}

html[data-theme="light"] .app-nav a:hover {
    color: #111827;
    background: rgba(15, 23, 42, .06);
}

html[data-theme="light"] .theme-toggle {
    color: #111827;
    background: rgba(255, 255, 255, .82);
    border-color: rgba(15, 23, 42, .12);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

html[data-theme="light"] .mr-score-card {
    background: #fff;
    border-color: rgba(15,23,42,.08);
}

html[data-theme="light"] .mr-score-card strong {
    color: #111827;
}

html[data-theme="light"] .mr-score-card p {
    color: #64748b;
}

html[data-theme="light"] .mr-hero {
    background: radial-gradient(circle at 10% 10%, rgba(255, 0, 106, .16), transparent 34%),
    radial-gradient(circle at 90% 20%, rgba(37, 99, 235, .13), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 55%, #eef2ff 100%);
}

html[data-theme="light"] .mr-hero h1,
html[data-theme="light"] .mr-section-head h2,
html[data-theme="light"] .mr-score-card strong {
    color: #101322;
}

html[data-theme="light"] .mr-hero p,
html[data-theme="light"] .mr-section-head p,
html[data-theme="light"] .mr-score-card p {
    color: #64748b;
}

html[data-theme="light"] .mr-score-card,
html[data-theme="light"] .mr-tool-card {
    background: #ffffff;
    border-color: rgba(15, 23, 42, .1);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .06);
}

html[data-theme="light"] .mr-tool-card h3 {
    color: #101322;
}

html[data-theme="light"] .mr-tool-card p {
    color: #64748b;
}

html[data-theme="light"] .mr-tool-card strong {
    color: #101322;
}


/* ==========================================================
   NAGŁÓWEK I NAWIGACJA
   ========================================================== */

.app-shell {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
}

.top-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.app-header {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 42px;
    padding: 28px 10px 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.app-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--text, #fff);
    text-decoration: none;
}

.app-logo-dot {
    position: absolute;
    left: 15px;
    bottom: 14px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #fff;
}

.app-logo-signal {
    position: absolute;
    left: 16px;
    bottom: 15px;
    border: 2px solid #fff;
    border-left: 0;
    border-bottom: 0;
    border-radius: 0 999px 0 0;
    transform: rotate(-8deg);
    opacity: .95;
}

.app-logo-signal-1 {
    width: 13px;
    height: 13px;
}

.app-logo-signal-2 {
    width: 21px;
    height: 21px;
    opacity: .75;
}

.app-logo-signal-3 {
    width: 29px;
    height: 29px;
    opacity: .55;
}

.app-logo-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.app-logo-copy strong {
    font-size: 22px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.app-logo-copy small {
    color: var(--text-muted, #aab3c5);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
}

.app-nav {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--border, rgba(148, 163, 184, .22));
    border-radius: 999px;
    background: rgba(255, 255, 255, .035);
    backdrop-filter: blur(14px);

}

.app-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    color: var(--text-muted, #aab3c5);
    text-decoration: none;
    border-radius: 999px;
    font-size: 15px !important;
    font-weight: 800;
    transition: color .2s ease,
    background .2s ease,
    transform .2s ease;
}

.app-nav a:hover {
    color: var(--text, #fff);
    background: rgba(255, 255, 255, .08);
    transform: translateY(-1px);
}

.theme-toggle {
    width: fit-content;
    border: 1px solid var(--border, rgba(148, 163, 184, .24));
    border-radius: 999px;
    padding: 0 18px;
    background: rgba(255, 255, 255, .035);
    color: var(--text, #fff);
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--mr-shadow);
    transition: background .2s ease,
    border-color .2s ease,
    transform .2s ease;
    justify-self: end;
    min-height: 42px;
    font-size: 13px;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .22);
}


/* ==========================================================
   MAPA I WYSZUKIWARKA BTS
   ========================================================== */

.map-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.map-hero {
    background: linear-gradient(135deg, #111827 0%, #1f2937 55%, #e30613 160%);
    color: #ffffff;
    border-radius: var(--mr-radius);
    padding: 28px;
    box-shadow: var(--mr-shadow);
}

.map-hero h1 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.map-hero p {
    margin: 0;
    max-width: 780px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.6;
}

.map-filters {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 14px;
    align-items: end;
    background: var(--mr-card);
    border: 1px solid var(--mr-border);
    border-radius: var(--mr-radius);
    padding: 18px;
    box-shadow: var(--mr-shadow);
}

.map-meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    color: var(--mr-muted);
    font-size: 14px;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: var(--mr-card);
    color: var(--mr-text);
}

.leaflet-popup-content-wrapper {
    border-radius: 14px;
    border: 1px solid var(--mr-border);
}

.leaflet-popup-content {
    font-size: 14px;
    line-height: 1.5;
}

.popup-title {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 800;
}

.popup-label {
    font-weight: 800;
}

.map-search-card {
    background: radial-gradient(circle at top left, rgba(227, 6, 19, 0.22), transparent 34%),
    linear-gradient(135deg, #111827 0%, #172033 60%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.map-search-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.map-search-eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(227, 6, 19, 0.14);
    color: #ff6b74;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.map-search-header h1 {
    margin: 0 0 8px;
    color: var(--mr-text);
    font-size: 34px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.map-search-header p {
    margin: 0;
    color: var(--mr-muted);
    font-size: 16px;
    line-height: 1.5;
}

.premium-search {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) minmax(170px, 0.8fr) minmax(170px, 0.8fr) auto;
    gap: 10px;
    align-items: stretch;
    padding: 8px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(228, 231, 236, 0.9);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.13);
}

.premium-field {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 62px;
    padding: 8px 14px;
    border-radius: 15px;
    background: transparent;
}

.premium-field:not(:last-of-type)::after {
    content: "";
    position: absolute;
    top: 14px;
    right: -5px;
    width: 1px;
    height: calc(100% - 28px);
    background: var(--mr-border);
}

.premium-field label {
    margin-bottom: 3px;
    color: var(--mr-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.premium-input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--mr-text);
    font-size: 16px;
    font-weight: 750;
    appearance: auto;
}

.premium-input::placeholder {
    color: var(--mr-muted);
    font-weight: 600;
}

.premium-input option {
    color: #101828;
}

.premium-search-button {
    align-self: stretch;
    min-width: 132px;
    border: 0;
    border-radius: 16px;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--mr-primary), var(--mr-primary-dark));
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(227, 6, 19, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-search-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(227, 6, 19, 0.42);
}

#map {
    width: 100%;
    height: 680px;
    min-height: 520px;
    display: block;
    background: #020617;
}

.leaflet-container {
    width: 100% !important;
    height: 100% !important;
}

.operator-div-icon {
    background: transparent !important;
    border: 0 !important;
}

.operator-marker {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.operator-default {
    background: #64748b;
}

.operator-orange {
    background: #ff7900;
}

.operator-play {
    background: #6f2cff;
}

.operator-plus {
    background: #00a651;
}

.operator-tmobile {
    background: #e20074;
}

.map-card {
    overflow: hidden;
    background: var(--mr-card);
    border: 1px solid var(--mr-border);
    border-radius: var(--mr-radius);
    box-shadow: var(--mr-shadow);
    position: relative;
}

.map-legend {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 500;
    min-width: 220px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    color: #ffffff;
}

.map-legend-title {
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mr-muted);
}

.map-legend-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
}

.map-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.legend-dot {
    width: 13px;
    height: 13px;
    border-radius: 999px;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
    flex: 0 0 auto;
}

.premium-cluster-wrapper {
    background: transparent !important;
    border: 0 !important;
}

.premium-cluster {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    border: 3px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35),
    0 0 0 7px rgba(255, 255, 255, 0.16);
}

.premium-cluster::before {
    content: "";
    position: absolute;
    inset: -9px;
    border-radius: inherit;
    background: currentColor;
    opacity: 0.16;
    z-index: -1;
}

.premium-cluster span {
    position: relative;
    z-index: 2;
    line-height: 1;
}

.premium-cluster.cluster-medium {
    width: 62px;
    height: 62px;
    font-size: 16px;
}

.premium-cluster.cluster-large {
    width: 72px;
    height: 72px;
    font-size: 18px;
}


/* ==========================================================
   STRONA GŁÓWNA — HERO I WYNIK
   ========================================================== */

.mr-home {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px 80px;
}

.mr-hero h1 {
    margin: 26px 0 22px;
    color: #fff;
    font-size: clamp(38px, 4.2vw, 64px);
    line-height: .95;
    font-weight: 900;
    letter-spacing: -2px;
}

.mr-hero p {
    max-width: 820px;
    margin: 0;
    color: #b7bdcb;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 700;
}

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

.mr-hero-panel {
    position: relative;
    z-index: 2;
}

.mr-score-card {
    padding: 34px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 30px;
    background: radial-gradient(circle at top left, rgba(255,0,106,.22), transparent 38%),
    rgba(255,255,255,.05);
    backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 24px;
}

.mr-score-content {
    position: relative;
    z-index: 2;
}

.mr-score-robot {
    flex: 0 0 auto;
    width: 170px;
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(0,0,0,.35))
    drop-shadow(0 0 22px rgba(255,0,106,.20));
    transition: transform .25s ease;
}

.mr-score-card:hover .mr-score-robot {
    transform: translateY(-6px) rotate(-2deg);
}

.mr-score-card span {
    display: block;
    margin-bottom: 8px;
    color: #aeb6c8;
    font-size: 13px;
    font-weight: 800;
}

.mr-score-card strong {
    display: block;
    margin-bottom: 14px;
    color: #fff;
    font-size: 44px;
    line-height: 1;
    font-weight: 900;
    margin-top: 12px;
    letter-spacing: -1.8px;
}

.mr-score-card p {
    margin: 0;
    color: #b7bdcb;
    font-size: 15px;
    line-height: 1.5;
    margin-top: 18px;
}

.mr-hero-compare {
    margin-top: 55px;
    padding-top: 35px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.mr-hero-compare-header h3 {
    color: #fff;
    font-size: 1.7rem;
    margin: 16px 0 12px;
    font-weight: 700;
}

.mr-hero-compare-header p {
    max-width: 700px;
    color: rgba(255,255,255,.72);
    line-height: 1.8;
    margin-bottom: 30px;
}

.mr-hero-compare-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: #ff276d;
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.mr-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.mr-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 42px;
}

.mr-hero-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
}

.mr-hero-result {
    position: relative;
    z-index: 2;
}

.mr-result-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 55%);
    opacity: .55;
    pointer-events: none;
}

.mr-result-top,
.mr-result-score,
.mr-result-list,
.mr-result-note {
    position: relative;
    z-index: 2;
}

.mr-result-top span {
    display: block;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.mr-result-top strong {
    display: block;
    color: #fff;
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1px;
}

.mr-result-list {
    display: grid;
    gap: 14px;
}

.mr-result-list div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,.10);
}

.mr-result-list span {
    color: rgba(255,255,255,.62);
    font-size: 13px;
    font-weight: 700;
}

.mr-result-list strong {
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    text-align: right;
}

.mr-result-note {
    margin-top: 24px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 0, 106, .16);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.mr-result-location {
    position: relative;
    z-index: 2;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.mr-result-location span {
    display: block;
    color: rgba(255,255,255,.62);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 6px;
}

.mr-result-location strong {
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.mr-result-cta {
    position: relative;
    z-index: 2;
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 15px;
    background: linear-gradient(135deg, #ff006a, #ff2d55);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 14px 30px rgba(255,0,106,.28);
}

#bestOperator {
    display: inline-block;
    min-width: 110px;
    color: #fff;
    position: relative;
}

#bestOperator::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 0.9em;
    margin-left: 4px;
    background: currentColor;
    animation: mr-cursor-blink 0.8s infinite;
    vertical-align: middle;
}

.mr-result-score {
    margin: 28px 0;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    position: relative;
    isolation: isolate;
}

.mr-result-score strong {
    color: #ffffff;
    font-size: 64px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -4px;
    position: relative;
    z-index: 2;
    display: inline-block;
    text-shadow: 0 0 12px rgba(255, 27, 104, 0.35),
    0 0 28px rgba(255, 27, 104, 0.18);
}

.mr-result-score span {
    color: #ff1b68;
    font-size: 20px;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.mr-score-pulse::before,
.mr-score-pulse::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 30%;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.7);
}

.mr-score-pulse::before {
    z-index: 0;
    background: rgba(255, 27, 104, 0.12);
    filter: blur(10px);
}

.mr-score-pulse::after {
    z-index: 1;
    border: 1px solid rgba(255, 27, 104, 0.45);
}

.mr-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    align-items: center;
    min-height: 420px;
    padding: 70px 64px;
    border: 1px solid rgba(255, 0, 106, .24);
    border-radius: 34px;
    background: radial-gradient(circle at 10% 10%, rgba(255, 0, 106, .28), transparent 34%),
    radial-gradient(circle at 90% 20%, rgba(37, 99, 235, .20), transparent 34%),
    linear-gradient(135deg, #17111d 0%, #080b12 55%, #0b1020 100%);
    box-shadow: 0 30px 100px rgba(0, 0, 0, .34);
    grid-template-columns: minmax(0, 1fr) 560px;
    gap: 55px;
}

.mr-hero-right {
    position: relative;
    width: 610px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.mr-result-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,.14);
    background: radial-gradient(circle at top right, rgba(255, 0, 106, .28), transparent 38%),
    radial-gradient(circle at bottom left, rgba(37, 99, 235, .22), transparent 42%),
    rgba(255,255,255,.06);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    z-index: 3;
    width: 340px;
    flex-shrink: 0;
}

.mr-robot-wrap {
    position: absolute;
    z-index: 4;
    left: -75px;
    bottom: 60px;
    width: 450px;
    height: 460px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

.mr-hero-robot {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    transform-origin: center bottom;
}

.mr-hero-content h1 {
    font-size: 56px;
}


/* ==========================================================
   KROKI I JAK TO DZIAŁA
   ========================================================== */

.mr-how-section {
    padding: 40px 0;
}

.mr-how-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

.mr-how-card {
    padding: 34px;
    text-align: center;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    transition: .3s;
}

.mr-how-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,40,110,.45);
}

.mr-how-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg,#ff2d6d,#ff2d6d);
}

.mr-how-card h3 {
    color: #fff;
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.mr-how-card p {
    color: rgba(255,255,255,.72);
    line-height: 1.7;
}

.mr-how-arrow {
    font-size: 2rem;
    color: #ff2d6d;
}

.mr-steps-section {
    width: 100%;
    margin: 80px 0;
}

.mr-steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mr-step-card {
    --step-color: #ff176b;
    --step-color-rgb: 255, 23, 107;
    position: relative;
    display: grid;
    grid-template-columns: 72px 190px minmax(0, 1fr) 56px;
    align-items: center;
    min-height: 170px;
    padding: 18px 24px 18px 18px;
    overflow: hidden;
    border: 1px solid rgba(var(--step-color-rgb), 0.32);
    border-radius: 24px;
    background: radial-gradient(
        circle at 18% 50%,
        rgba(var(--step-color-rgb), 0.12) 0%,
        transparent 34%
    ),
    linear-gradient(
        110deg,
        rgba(24, 34, 56, 0.98) 0%,
        rgba(17, 26, 45, 0.98) 48%,
        rgba(13, 21, 38, 0.98) 100%
    );
    color: inherit;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 18px 60px rgba(0, 0, 0, 0.16);
    transition: transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.mr-step-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(var(--step-color-rgb), 0.05),
        transparent 40%,
        rgba(var(--step-color-rgb), 0.025)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mr-step-card::after {
    content: "";
    position: absolute;
    top: -80px;
    left: 110px;
    width: 260px;
    height: 260px;
    pointer-events: none;
    border-radius: 50%;
    background: rgba(var(--step-color-rgb), 0.08);
    filter: blur(60px);
    transition: opacity 0.3s ease,
    transform 0.3s ease;
}

.mr-step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--step-color-rgb), 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 60px rgba(0, 0, 0, 0.25),
    0 0 35px rgba(var(--step-color-rgb), 0.1);
}

.mr-step-card:hover::before {
    opacity: 1;
}

.mr-step-card:hover::after {
    transform: scale(1.12);
}

.mr-step-card--pink {
    --step-color: #ff176b;
    --step-color-rgb: 255, 23, 107;
}

.mr-step-card--purple {
    --step-color: #925dff;
    --step-color-rgb: 146, 93, 255;
}

.mr-step-card--green {
    --step-color: #21d786;
    --step-color-rgb: 33, 215, 134;
}

.mr-step-number {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(
        145deg,
        var(--step-color),
        rgba(var(--step-color-rgb), 0.7)
    );
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(var(--step-color-rgb), 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.mr-step-number span {
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.mr-step-visual {
    position: relative;
    z-index: 2;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.mr-step-visual::before {
    content: "";
    position: absolute;
    bottom: 18px;
    left: 50%;
    width: 130px;
    height: 70px;
    border-radius: 50%;
    background: rgba(var(--step-color-rgb), 0.16);
    filter: blur(28px);
    transform: translateX(-50%);
}

.mr-step-visual img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: 75px;
    max-height: 75px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.35));
    transition: transform 0.35s ease;
}

.mr-step-card:hover .mr-step-visual img {
    transform: translateY(-4px) scale(1.035);
}

.mr-step-content {
    position: relative;
    z-index: 2;
    padding: 10px 22px;
}

.mr-step-content h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.mr-step-content p {
    max-width: 720px;
    margin: 0;
    color: rgba(226, 232, 240, 0.72);
    font-size: 16px;
    line-height: 1.65;
}

.mr-step-arrow {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(var(--step-color-rgb), 0.18);
    border-radius: 14px;
    background: rgba(var(--step-color-rgb), 0.06);
    color: var(--step-color);
    font-size: 22px;
    transition: transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.mr-step-card:hover .mr-step-arrow {
    transform: translateX(5px);
    background: rgba(var(--step-color-rgb), 0.14);
    box-shadow: 0 0 24px rgba(var(--step-color-rgb), 0.16);
}


/* ==========================================================
   NARZĘDZIA
   ========================================================== */

.mr-tool-card {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 28px;
    background: radial-gradient(circle at 85% 15%, rgba(37, 99, 235, .12), transparent 34%),
    #111219;
    color: #fff;
    text-decoration: none;
    transition: transform .22s ease,
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease;
}

.mr-tool-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 106, .44);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
}

.mr-tool-card.mr-featured {
    background: radial-gradient(circle at 20% 15%, rgba(255, 0, 106, .26), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(37, 99, 235, .18), transparent 34%),
    #111219;
    border-color: rgba(255, 0, 106, .36);
}

.mr-tool-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff006a, #ff2d55);
    box-shadow: 0 14px 34px rgba(255, 0, 106, .26);
    font-size: 24px;
}

.mr-tool-card span {
    display: inline-flex;
    margin-bottom: 13px;
    color: #ff4f8b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.mr-tool-card h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 25px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -1px;
}

.mr-tool-card p {
    margin: 0 0 24px;
    color: #aeb6c8;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;
}

.mr-tool-card strong {
    position: absolute;
    left: 30px;
    bottom: 28px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.mr-tools-section {
    margin-top: 46px;
    max-width: 1400px;
    margin: 48px auto 90px;
}

.mr-badge,
.mr-tool-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff006a, #ff2d55);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.mr-tools-section h2 {
    margin: 20px 0 8px;
    color: #fff;
    font-size: 44px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
}

.mr-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.mr-tool-box {
    position: relative;
    overflow: hidden;
    min-height: 350px;
    padding: 30px;
    border: 1px solid rgba(255, 0, 106, .25);
    border-radius: 28px;
    background: radial-gradient(circle at 82% 20%, rgba(255, 0, 106, .26), transparent 35%),
    radial-gradient(circle at 15% 100%, rgba(37, 99, 235, .18), transparent 40%),
    linear-gradient(135deg, #151722 0%, #090b12 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .26);
    transition: transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.mr-tool-box:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 106, .55);
    box-shadow: 0 34px 90px rgba(255, 0, 106, .12);
}

.mr-tool-box h3 {
    position: relative;
    z-index: 3;
    max-width: 55%;
    margin: 22px 0 12px;
    color: #fff;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -1px;
}

.mr-tool-box p {
    position: relative;
    z-index: 3;
    max-width: 52%;
    margin: 0;
    color: #b5bdcc;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 700;
}

.mr-tool-box strong {
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.mr-tool-robot {
    position: absolute;
    right: -10px;
    bottom: -8px;
    z-index: 2;
    width: 210px;
    max-width: 58%;
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .42))
    drop-shadow(0 0 22px rgba(255, 0, 106, .18));
    transition: transform .24s ease,
    filter .24s ease;
}

.mr-tool-box:hover .mr-tool-robot {
    transform: translateY(-8px) scale(1.05);
}

.mr-tool-robot-speed {
    width: 245px;
    right: -18px;
}

.mr-tool-robot-map {
    width: 220px;
    right: -24px;
    bottom: -26px;
}

.mr-tool-robot-ranking {
    width: 230px;
    right: -18px;
    bottom: -8px;
}

.mr-tool-speed {
    background: radial-gradient(circle at 82% 20%, rgba(255, 0, 106, .30), transparent 35%),
    radial-gradient(circle at 15% 100%, rgba(37, 99, 235, .16), transparent 40%),
    linear-gradient(135deg, #18131d 0%, #090b12 100%);
}

.mr-tool-map {
    border-color: rgba(37, 99, 235, .34);
    background: radial-gradient(circle at 82% 20%, rgba(37, 99, 235, .34), transparent 35%),
    radial-gradient(circle at 15% 100%, rgba(255, 0, 106, .12), transparent 40%),
    linear-gradient(135deg, #101827 0%, #080b12 100%);
}

.mr-tool-ranking {
    border-color: rgba(139, 92, 246, .38);
    background: radial-gradient(circle at 82% 20%, rgba(139, 92, 246, .34), transparent 35%),
    radial-gradient(circle at 15% 100%, rgba(255, 0, 106, .13), transparent 40%),
    linear-gradient(135deg, #171323 0%, #090b12 100%);
}


/* ==========================================================
   SEKCJA DLACZEGO WARTO
   ========================================================== */

.mr-why-section {
    margin: 70px 0 90px;
}

.mr-why-section h2 {
    margin: 18px 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    font-weight: 800;
    color: #fff;
}

.mr-why-section .mr-section-desc {
    max-width: 760px;
    color: rgba(255,255,255,.72);
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 42px;
}

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

.mr-why-box {
    position: relative;
    overflow: hidden;
    padding: 34px;
    min-height: 230px;
    border-radius: 26px;
    border: 1px solid rgba(255, 32, 105, .18);
    background: radial-gradient(circle at top right,
    rgba(87, 112, 255, .18),
    transparent 55%),
    radial-gradient(circle at bottom left,
        rgba(255, 0, 98, .15),
        transparent 55%),
    linear-gradient(180deg,
        rgba(24,31,52,.95),
        rgba(13,17,31,.98));
    transition: .35s ease;
}

.mr-why-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,.04),
        transparent 55%
    );
    opacity: 0;
    transition: .35s;
}

.mr-why-box:hover {
    transform: translateY(-8px);
    border-color: rgba(255,40,110,.55);
    box-shadow: 0 18px 45px rgba(0,0,0,.35),
    0 0 35px rgba(255,40,110,.18);
}

.mr-why-box:hover::before {
    opacity: 1;
}

.mr-why-box span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg,#ff276e,#ff4d91);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: 22px;
    box-shadow: 0 10px 24px rgba(255,45,109,.35);
}

.mr-why-box h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 700;
}

.mr-why-box p {
    margin: 0;
    color: rgba(255,255,255,.72);
    line-height: 1.75;
    font-size: .98rem;
}


/* ==========================================================
   CECHY I STATYSTYKI
   ========================================================== */

.mr-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    transition: .3s;
}

.mr-feature:hover {
    border-color: #ff276d;
    transform: translateY(-3px);
}

.mr-feature i {
    color: #ff276d;
    font-size: 1.5rem;
}

.mr-feature span {
    color: #fff;
    font-weight: 600;
}

.mr-stat {
    min-width: 170px;
    padding: 18px 22px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    backdrop-filter: blur(12px);
    transition: .3s ease;
}

.mr-stat:hover {
    transform: translateY(-4px);
    border-color: rgba(255,40,110,.45);
    box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

.mr-stat strong {
    display: block;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.mr-stat span {
    color: rgba(255,255,255,.68);
    font-size: .95rem;
}

.mr-features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 40px 0;
}

.mr-feature-item {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    transition: .25s ease;
}

.mr-feature-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255,43,110,.45);
    background: linear-gradient(
        135deg,
        rgba(255,43,110,.10),
        rgba(255,255,255,.04)
    );
    box-shadow: 0 18px 40px rgba(0,0,0,.25),
    0 0 30px rgba(255,43,110,.12);
}

.mr-feature-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        #ff2b6e,
        #ff5a90
    );
    color: #fff;
    font-size: 26px;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(255,43,110,.35);
}

.mr-feature-item strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.mr-feature-item span {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,.65);
    line-height: 1.5;
}


/* ==========================================================
   STOPKA
   ========================================================== */

.mr-footer {
    margin-top: 90px;
    padding: 58px 0 28px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.mr-footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 42px;
}

.mr-footer-brand strong {
    display: block;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.mr-footer-brand p {
    max-width: 360px;
    color: rgba(255,255,255,.62);
    line-height: 1.7;
    margin: 0 0 24px;
}

.mr-footer-socials {
    display: flex;
    gap: 14px;
    margin-top: 28px;
}

.mr-footer-socials a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    transition: .3s;
}

.mr-footer-socials a i {
    font-size: 20px;
    color: #fff;
}

.mr-footer-socials a:hover {
    background: linear-gradient(135deg,#ff276d,#ff5b8d);
    border-color: #ff276d;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255,39,109,.35);
}

.mr-footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 18px;
}

.mr-footer-col a {
    display: block;
    color: rgba(255,255,255,.62);
    text-decoration: none;
    margin-bottom: 12px;
    font-weight: 600;
    transition: .25s ease;
}

.mr-footer-col a:hover {
    color: #ff276d;
    transform: translateX(4px);
}

.mr-footer-bottom {
    margin-top: 46px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255,255,255,.48);
    font-size: .92rem;
}


/* ==========================================================
   POZOSTAŁE
   ========================================================== */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--mr-text);
}

.form-control,
.form-select {
    width: 100%;
    height: 46px;
    border: 1px solid var(--mr-border);
    border-radius: 12px;
    padding: 0 14px;
    background: var(--mr-input);
    color: var(--mr-text);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control::placeholder {
    color: var(--mr-muted);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--mr-primary);
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.12);
}

.btn-primary {
    height: 46px;
    border: 0;
    border-radius: 12px;
    padding: 0 24px;
    background: var(--mr-primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: var(--mr-primary-dark);
    transform: translateY(-1px);
}

.mr-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff006a, #ff2d55);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.mr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 26px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.mr-btn-primary {
    background: linear-gradient(135deg, #ff006a, #ff2d55);
    color: #fff;
    box-shadow: 0 20px 46px rgba(255, 0, 106, .32);
}

.mr-btn-secondary {
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.mr-section-head {
    max-width: 760px;
    margin-bottom: 26px;
}

.mr-section-head h2 {
    margin: 22px 0 12px;
    color: #fff;
    font-size: clamp(34px, 4vw, 56px);
    line-height: .95;
    font-weight: 900;
    letter-spacing: -2px;
}

.mr-section-head p {
    margin: 0;
    color: #aeb6c8;
    font-size: 17px;
    line-height: 1.6;
    font-weight: 700;
}

.mr-section-desc {
    margin: 0 0 34px;
    color: #aeb6c8;
    font-size: 16px;
    font-weight: 700;
}

.mr-operators-ranking {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 8px;
    margin: 0 0 22px;
    margin-left: 60px;
}

.mr-operator-row::before {
    content: "";
    height: 8px;
    grid-column: 2;
    grid-row: 1;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
}

.mr-operator-row::after {
    content: "";
    height: 8px;
    grid-column: 2;
    grid-row: 1;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff006a, #ff2d55);
}

.mr-operator-row:nth-child(1)::after {
    width: 98%;
}

.mr-operator-row:nth-child(2)::after {
    width: 91%;
}

.mr-operator-row:nth-child(3)::after {
    width: 87%;
}

.mr-operator-row:nth-child(4)::after {
    width: 82%;
}

.mr-operator-row span {
    color: rgba(255,255,255,.75);
}

.mr-operator-row strong {
    color: #fff;
    text-align: right;
}

.mr-operator-row.is-best span,
.mr-operator-row.is-best strong {
    color: #fff;
}

.mr-operator-row {
    display: grid;
    grid-template-columns: 82px 1fr 36px;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    transition: transform 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease,
    opacity 0.35s ease;
}

.mr-operator-row.is-best {
    transform: scale(1.02);
}

.mr-section-heading {
    margin-bottom: 36px;
}

.mr-section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin-bottom: 18px;
    padding: 7px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff176b 0%, #ff3d85 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(255, 23, 107, 0.22),
    0 0 25px rgba(255, 23, 107, 0.12);
}

.mr-section-heading h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.mr-section-heading p {
    max-width: 950px;
    margin: 0;
    color: rgba(226, 232, 240, 0.72);
    font-size: 16px;
    line-height: 1.7;
}


@media (max-width: 991px) {
    .app-shell {
        padding: 16px;
    }
    .map-filters {
        grid-template-columns: 1fr 1fr;
    }
    .map-filters .filter-button {
        grid-column: 1 / -1;
    }
    .btn-primary {
        width: 100%;
    }
    #map {
        height: 620px;
    }
    .premium-search {
        grid-template-columns: 1fr 1fr;
    }
    .premium-field-city {
        grid-column: 1 / -1;
    }
    .premium-search-button {
        grid-column: 1 / -1;
        min-height: 54px;
    }
    .premium-field::after {
        display: none;
    }
}


@media (max-width: 575px) {
    .app-shell {
        padding: 10px;
    }
    .map-hero {
        padding: 20px;
    }
    .map-hero h1 {
        font-size: 24px;
    }
    .map-filters {
        grid-template-columns: 1fr;
        padding: 14px;
    }
    .map-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    .theme-toggle {
        width: 100%;
        text-align: center;
    }
    #map {
        height: 560px;
    }
    .map-search-card {
        padding: 20px;
        border-radius: 22px;
    }
    .map-search-header h1 {
        font-size: 26px;
    }
    .premium-search {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }
    .premium-field {
        background: var(--mr-input);
    }
    .map-legend {
        left: 10px;
        right: 10px;
        bottom: 10px;
        min-width: auto;
    }
}


@media (max-width: 1100px) {
    .app-header {
        grid-template-columns: 1fr auto;
        gap: 18px;
    }
    .app-nav {
        grid-column: 1 / -1;
        justify-self: start;
        max-width: 100%;
        overflow-x: auto;
    }
    .mr-tools-grid {
        grid-template-columns: 1fr;
    }
    .mr-tool-box {
        min-height: 280px;
    }
    .mr-tool-box h3,
    .mr-tool-box p {
        max-width: 62%;
    }
    .mr-tool-robot {
        width: 240px;
        max-width: 45%;
    }
    .mr-hero {
        grid-template-columns: 1fr;
        padding: 52px 34px;
    }
    .mr-hero-result {
        max-width: 520px;
    }
}


@media (max-width: 640px) {
    .app-header {
        padding-top: 18px;
        margin-bottom: 24px;
    }
    .app-logo-icon {
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }
    .app-logo-copy strong {
        font-size: 18px;
    }
    .app-logo-copy small {
        font-size: 11px;
    }
    .theme-toggle {
        min-height: 38px;
        padding: 0 13px;
        font-size: 12px;
    }
    .app-nav {
        width: 100%;
        justify-self: stretch;
    }
    .app-nav a {
        min-height: 36px;
        padding: 0 13px;
        font-size: 12px;
        white-space: nowrap;
    }
    .mr-tools-section h2 {
        font-size: 38px;
    }
    .mr-tool-box {
        min-height: 390px;
        padding: 26px;
    }
    .mr-tool-box h3,
    .mr-tool-box p {
        max-width: 100%;
    }
    .mr-tool-robot {
        width: 190px;
        max-width: 70%;
        right: -18px;
        bottom: -12px;
    }
    .mr-tool-box strong {
        left: 26px;
        bottom: 26px;
    }
    .mr-footer {
        margin-top: 70px;
        padding-top: 42px;
    }
    .mr-footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .mr-footer-bottom {
        flex-direction: column;
    }
    .mr-result-card {
        padding: 26px;
    }
    .mr-result-score strong {
        font-size: 68px;
    }
    .mr-result-top strong {
        font-size: 34px;
    }
    .mr-steps-section {
        margin: 56px 0;
    }
    .mr-section-heading {
        margin-bottom: 24px;
    }
    .mr-section-heading h2 {
        font-size: 25px;
    }
    .mr-section-heading p {
        font-size: 14px;
        line-height: 1.6;
    }
    .mr-steps-list {
        gap: 12px;
    }
    .mr-step-card {
        grid-template-columns: 42px 105px minmax(0, 1fr) 26px;
        min-height: 125px;
        padding: 12px 10px;
        border-radius: 19px;
    }
    .mr-step-number {
        width: 38px;
        height: 38px;
        align-self: start;
        margin-top: 5px;
    }
    .mr-step-number span {
        font-size: 18px;
    }
    .mr-step-visual img {
        max-width: 110px;
        max-height: 108px;
    }
    .mr-step-content {
        padding: 4px 8px;
    }
    .mr-step-content h3 {
        margin-bottom: 6px;
        font-size: 15px;
        line-height: 1.3;
    }
    .mr-step-content p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.5;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }
    .mr-step-arrow {
        width: 26px;
        height: 38px;
        border: 0;
        background: transparent;
        font-size: 19px;
    }
    .mr-step-card:hover .mr-step-arrow {
        background: transparent;
        box-shadow: none;
    }
}


@media (max-width:1100px) {
    .mr-score-card {
        flex-direction: column;
        text-align: center;
    }
    .mr-score-robot {
        width: 150px;
    }
}


@media (max-width: 720px) {
    .mr-home {
        padding-bottom: 50px;
    }
    .mr-hero {
        padding: 36px 22px;
        border-radius: 26px;
    }
    .mr-hero h1 {
        letter-spacing: -2px;
    }
    .mr-hero p {
        font-size: 15px;
    }
    .mr-hero-actions {
        flex-direction: column;
    }
    .mr-btn {
        width: 100%;
    }
    .mr-tools-grid {
        grid-template-columns: 1fr;
    }
    .mr-tool-card {
        min-height: 280px;
        padding: 26px;
    }
    .mr-tool-card strong {
        left: 26px;
    }
}


@media (max-width: 992px) {
    .mr-why-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .mr-footer-main {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 768px) {
    .mr-why-section {
        margin: 55px 0 70px;
    }
    .mr-why-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .mr-why-box {
        min-height: auto;
        padding: 26px;
    }
    .mr-why-box h3 {
        font-size: 1.2rem;
    }
    .mr-why-section .mr-section-desc {
        margin-bottom: 28px;
        font-size: 1rem;
    }
}


@media (max-width:768px) {
    .mr-hero-features {
        flex-direction: column;
    }
    .mr-feature {
        width: 100%;
    }
    .mr-hero-stats {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 14px;
    }
    .mr-stat {
        min-width: 0;
        text-align: center;
    }
}


@media (max-width:991px) {
    .mr-how-grid {
        grid-template-columns: 1fr;
    }
    .mr-how-arrow {
        transform: rotate(90deg);
        margin: -10px auto;
    }
    .mr-feature-item {
        min-width: calc(50% - 9px);
    }
}


@media (prefers-reduced-motion: reduce) {
    .mr-result-score strong,
    .mr-result-score span,
    .mr-score-pulse::before,
    .mr-score-pulse::after {
        animation: none;
    }
    .mr-step-card,
    .mr-step-card::before,
    .mr-step-card::after,
    .mr-step-visual img,
    .mr-step-arrow {
        transition: none;
    }
}


@media (max-width:640px) {
    .mr-feature-item {
        min-width: 100%;
    }
}


@media (max-width: 900px) {
    .mr-step-card {
        grid-template-columns: 60px 145px minmax(0, 1fr) 44px;
        min-height: 150px;
        padding: 16px;
    }
    .mr-step-number {
        width: 46px;
        height: 46px;
    }
    .mr-step-number span {
        font-size: 21px;
    }
    .mr-step-visual img {
        max-width: 145px;
        max-height: 130px;
    }
    .mr-step-content {
        padding: 8px 14px;
    }
    .mr-step-content p {
        font-size: 14px;
    }
    .mr-step-arrow {
        width: 40px;
        height: 40px;
    }
}


@media (max-width: 420px) {
    .mr-step-card {
        grid-template-columns: 36px 86px minmax(0, 1fr) 20px;
        padding: 10px 7px;
    }
    .mr-step-number {
        width: 34px;
        height: 34px;
    }
    .mr-step-number span {
        font-size: 16px;
    }
    .mr-step-visual img {
        max-width: 92px;
        max-height: 96px;
    }
    .mr-step-content h3 {
        font-size: 14px;
    }
    .mr-step-content p {
        font-size: 11px;
    }
}


@keyframes blink {
    50% {
        opacity: 0;
    }
}


@keyframes mr-cursor-blink {
    50% {
        opacity: 0;
    }
}


/* ==========================================================
   FINALNA WARSTWA RESPONSYWNA
   Nadpisuje sztywne szerokości i zabezpiecza układ mobilny.
   ========================================================== */

img {
    max-width: 100%;
}

.mr-home,
.app-header,
.app-shell {
    width: min(100%, 1400px);
}

@media (max-width: 1180px) {
    .app-header,
    .mr-home {
        padding-left: 24px;
        padding-right: 24px;
    }

    .mr-hero {
        grid-template-columns: minmax(0, 1fr) 440px;
        gap: 32px;
        padding: 56px 40px;
    }

    .mr-hero-right {
        width: 440px;
        min-height: 460px;
    }

    .mr-robot-wrap {
        left: -90px;
        width: 390px;
        height: 410px;
    }

    .mr-result-card {
        width: 320px;
    }
}

@media (max-width: 1024px) {
    .app-header {
        grid-template-columns: minmax(0, 1fr) auto;
        margin-bottom: 28px;
    }

    .app-nav {
        grid-column: 1 / -1;
        width: 100%;
        justify-self: stretch;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .app-nav::-webkit-scrollbar {
        display: none;
    }

    .mr-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 42px;
    }

    .mr-hero-content {
        max-width: 760px;
    }

    .mr-hero-right {
        width: 100%;
        min-height: 470px;
        justify-content: center;
    }

    .mr-result-card {
        width: min(100%, 360px);
        margin-left: 220px;
    }

    .mr-robot-wrap {
        left: calc(50% - 350px);
        bottom: 38px;
        width: 390px;
        height: 400px;
    }

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

    .mr-features-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mr-feature-item {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .app-header,
    .mr-home,
    .app-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .app-header {
        padding-top: 16px;
        gap: 14px;
    }

    .app-logo-copy strong {
        font-size: 17px;
    }

    .app-logo-copy small {
        max-width: 170px;
        font-size: 9px;
    }

    .theme-toggle {
        min-height: 38px;
        padding: 0 12px;
        white-space: nowrap;
    }

    .mr-hero {
        padding: 34px 22px 28px;
        border-radius: 24px;
        gap: 28px;
    }

    .mr-badge,
    .mr-section-badge,
    .mr-tool-label {
        min-height: 28px;
        padding: 0 12px;
        font-size: 9px;
    }

    .mr-hero-content h1,
    .mr-hero h1 {
        margin: 20px 0 16px;
        font-size: clamp(34px, 10vw, 48px);
        line-height: 0.98;
        letter-spacing: -1.6px;
    }

    .mr-hero p {
        font-size: 14px;
        line-height: 1.65;
    }

    .mr-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 26px;
    }

    .mr-btn {
        width: 100%;
        min-height: 50px;
        padding: 0 16px;
        border-radius: 14px;
        font-size: 11px;
        text-align: center;
    }

    .mr-hero-right {
        flex-direction: column;
        min-height: auto;
        align-items: center;
        justify-content: flex-start;
    }

    .mr-robot-wrap {
        position: relative;
        left: auto;
        bottom: auto;
        width: min(78vw, 300px);
        height: 260px;
        margin: 0 auto -44px;
    }

    .mr-result-card {
        width: min(100%, 360px);
        margin: 0 auto;
        padding: 24px;
        border-radius: 22px;
    }

    .mr-result-top strong {
        font-size: 30px;
    }

    .mr-result-score {
        margin: 20px 0;
    }

    .mr-result-score strong {
        font-size: 58px;
        letter-spacing: -2px;
    }

    .mr-result-score span {
        font-size: 18px;
    }

    .mr-operators-ranking {
        margin-left: 0;
    }

    .mr-operator-row {
        grid-template-columns: 72px minmax(0, 1fr) 28px;
        gap: 8px;
        font-size: 11px;
    }

    .mr-steps-section,
    .mr-why-section,
    .mr-tools-section {
        margin-top: 56px;
        margin-bottom: 56px;
    }

    .mr-section-heading h2,
    .mr-why-section h2,
    .mr-tools-section h2 {
        font-size: clamp(28px, 8vw, 38px);
        line-height: 1.08;
        letter-spacing: -1px;
    }

    .mr-step-card {
        grid-template-columns: 42px 92px minmax(0, 1fr);
        min-height: 122px;
        padding: 12px;
    }

    .mr-step-arrow {
        position: absolute;
        right: 10px;
        top: 50%;
        width: 28px;
        transform: translateY(-50%);
    }

    .mr-step-card:hover .mr-step-arrow {
        transform: translate(3px, -50%);
    }

    .mr-step-content {
        padding: 4px 28px 4px 8px;
    }

    .mr-step-content p {
        -webkit-line-clamp: 4;
    }

    .mr-why-grid,
    .mr-tools-grid,
    .mr-features-row {
        grid-template-columns: 1fr;
    }

    .mr-why-box,
    .mr-tool-box {
        padding: 24px;
        border-radius: 22px;
    }

    .mr-feature-item {
        width: 100%;
        min-width: 0;
    }

    .mr-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }
}

@media (max-width: 520px) {
    .app-logo-copy small {
        display: none;
    }

    .theme-toggle {
        font-size: 0;
    }

    .theme-toggle::first-letter {
        font-size: 12px;
    }

    .app-nav a {
        min-height: 34px;
        padding: 0 11px;
        font-size: 10px;
    }

    .mr-hero {
        padding: 28px 18px 22px;
    }

    .mr-hero-content h1,
    .mr-hero h1 {
        font-size: clamp(31px, 10.5vw, 41px);
    }

    .mr-robot-wrap {
        width: 250px;
        height: 220px;
        margin-bottom: -34px;
    }

    .mr-result-card {
        padding: 20px;
    }

    .mr-result-list div {
        padding: 12px 0;
    }

    .mr-step-card {
        grid-template-columns: 36px 76px minmax(0, 1fr);
        padding: 10px 8px;
    }

    .mr-step-visual img {
        max-width: 82px;
        max-height: 90px;
    }

    .mr-step-content h3 {
        font-size: 13px;
    }

    .mr-step-content p {
        font-size: 10.5px;
    }

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

    .mr-footer-bottom {
        align-items: flex-start;
    }

    .map-search-card,
    .map-filters,
    .map-hero {
        padding: 16px;
        border-radius: 18px;
    }

    #map {
        height: 500px;
        min-height: 430px;
    }
}

@media (hover: none) {
    .mr-step-card:hover,
    .mr-why-box:hover,
    .mr-tool-box:hover,
    .mr-feature-item:hover,
    .mr-stat:hover {
        transform: none;
    }
}

.mr-mobile-toggle{
    display:none;
    position:relative;
    z-index:2001;
    width:46px;
    height:46px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.05);
    color:#fff;
    cursor:pointer;
    font-size:20px;
}

@media (max-width:768px){

    .app-header{
        grid-template-columns:1fr auto;
    }

    .mr-mobile-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .app-nav{

        position:fixed;

        top:0;
        right:-100%;

        width:290px;
        height:100vh;

        display:flex;
        flex-direction:column;
        align-items:stretch;
        justify-content:flex-start;

        gap:8px;

        padding:90px 20px 30px;

        background:#111827;

        transition:right .35s ease;

        z-index:2000;
        border-left:1px solid rgba(255,255,255,.08);
    }

    .app-nav.open{
        right:0;
    }

    .app-nav a{
        width:100%;
        justify-content:flex-start;
        min-height:50px;
    }

    .theme-toggle{
        width:100%;
        margin-top:20px;
    }

}

@media (max-width: 768px) {
    .app-header {
        grid-template-columns: 1fr auto;
    }

    .mr-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .app-nav {
        position: fixed;
        top: 0;
        right: -100%;

        width: min(320px, 88vw);
        height: 100dvh;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;

        gap: 8px;
        padding: 90px 20px 30px;

        border: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0;

        background: #111827;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);

        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.35s ease;

        z-index:2000;
    }

    .app-nav.open {
        right: 0;
        transform: translateX(0);
    }

    .app-nav a {
        width: 100%;
        min-height: 50px;
        padding: 0 16px;

        justify-content: flex-start;

        border-radius: 12px;
        white-space: normal;
    }

    .theme-toggle {
        width: 100%;
        margin-top: 16px;
        border-radius: 12px;
    }
}


/* ==========================================
   GLOBALNY PRZYCISK - POWRÓT DO STRONY GŁÓWNEJ
========================================== */

.mr-back-home{
    margin:40px 0 15px;
}

.mr-back-home-btn{
    display:flex;
    align-items:center;
    gap:18px;

    width:100%;
    padding:22px 24px;

    text-decoration:none;

    border-radius:18px;

    border:1px solid rgba(255,255,255,.08);

    background:linear-gradient(135deg,#111c32 0%,#17132d 50%,#1f1636 100%);

    transition:.3s ease;

    box-shadow:0 10px 35px rgba(0,0,0,.35);
}

.mr-back-home-btn:hover{
    transform:translateY(-3px);

    border-color:#ff1f8f;

    box-shadow:0 16px 45px rgba(255,31,143,.18);
}

.mr-back-home-icon{
    width:58px;
    height:58px;

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

    border-radius:16px;

    color:#fff;
    font-size:22px;

    background:linear-gradient(135deg,#ff0f7b,#8b5cf6,#2196f3);

    flex-shrink:0;
}

.mr-back-home-content{
    flex:1;
    display:flex;
    flex-direction:column;
}

.mr-back-home-content strong{
    color:#fff;
    font-size:20px;
    font-weight:800;
    margin-bottom:4px;
}

.mr-back-home-content small{
    color:#9ea9c2;
    font-size:14px;
    line-height:1.5;
}

.mr-back-home-arrow{
    width:46px;
    height:46px;

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

    border-radius:50%;

    background:rgba(255,255,255,.06);

    color:#fff;

    transition:.3s;
}

.mr-back-home-btn:hover .mr-back-home-arrow{
    background:#ff1f8f;
    transform:translateX(6px);
}

@media (max-width:768px){

    .mr-back-home-btn{
        padding:18px;
        gap:14px;
    }

    .mr-back-home-icon{
        width:50px;
        height:50px;
        font-size:20px;
    }

    .mr-back-home-content strong{
        font-size:17px;
    }

    .mr-back-home-content small{
        font-size:13px;
    }

    .mr-back-home-arrow{
        width:40px;
        height:40px;
    }

}

.app-header {
    position: relative;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

    width: 100%;
    min-height: 82px;
    padding: 14px 28px;

    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* LOGO */

.app-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
    color: #ffffff;
    text-decoration: none;
}

.app-logo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    border-radius: 14px;
    overflow: hidden;
}

.app-logo-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-logo-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.app-logo-copy strong {
    display: block;

    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.4px;
    white-space: nowrap;
}

.app-logo-copy small {
    display: block;

    color: #b7b7b7;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

/* NAWIGACJA */

.app-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.app-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 10px 13px;

    color: #d7d7d7;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;

    border-radius: 10px;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.app-nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.app-nav-portal {
    margin-left: 6px;
    color: #111111 !important;
    background: #c89b3c;
}

.app-nav-portal:hover {
    color: #111111 !important;
    background: #d8aa48 !important;
    transform: translateY(-1px);
}

/* PRZYCISK MOBILNY */

.mr-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    padding: 0;

    color: #ffffff;
    font-size: 20px;

    background: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
}

/* TABLET */

@media (max-width: 1180px) {
    .app-header {
        padding-inline: 20px;
    }

    .app-nav a {
        padding-inline: 9px;
        font-size: 12px;
    }

    .app-logo-copy small {
        display: block;
    }
}

/* MOBILE */

@media (max-width: 920px) {
    .app-header {
        min-height: 72px;
        padding: 10px 16px;
    }

    .app-logo-image {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .app-logo-copy strong {
        font-size: 16px;
    }

    .mr-mobile-toggle {
        display: inline-flex;
        flex: 0 0 44px;
    }

    .app-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;

        padding: 12px 16px 18px;

        background: transparent;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35);
    }

    .app-nav.is-open {
        display: flex;
    }

    .app-nav a {
        justify-content: flex-start;
        width: 100%;
        min-height: 46px;
        padding: 12px 14px;

        font-size: 14px;
        border-radius: 9px;
    }

    .app-nav-portal {
        justify-content: center !important;
        margin: 6px 0 0;
    }
}

@media (max-width: 390px) {
    .app-logo {
        gap: 9px;
    }

    .app-logo-image {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .app-logo-copy strong {
        max-width: 210px;
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ==========================================================
   POPRAWKA MENU MOBILNEGO
   ========================================================== */

@media (max-width: 920px) {

    .app-header {
        position: relative;
        z-index: 5000;

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

        overflow: visible;
    }

    .mr-mobile-toggle {
        position: relative;
        z-index: 5002;

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

        flex: 0 0 44px;

        width: 44px;
        height: 44px;
        padding: 0;

        color: #ffffff;
        font-size: 20px;

        background: #1b263b;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 12px;

        cursor: pointer;
    }

    .app-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;

        z-index: 5001;

        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;

        width: 100%;
        max-width: none;
        height: auto;

        gap: 6px;
        padding: 14px 16px 20px;

        overflow: visible;

        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;

        background: #0f192d;
        box-shadow: 0 22px 40px rgba(0, 0, 0, 0.45);

        transform: none;
        transition: none;
    }

    .app-nav.is-open,
    .app-nav.open {
        display: flex;
        right: 0;
        transform: none;
    }

    .app-nav a {
        display: flex;
        align-items: center;
        justify-content: flex-start;

        width: 100%;
        min-height: 48px;
        padding: 12px 15px;

        color: #ffffff;
        font-size: 14px !important;
        font-weight: 700;
        line-height: 1.3;
        white-space: normal;

        border-radius: 10px;
        background: rgba(255, 255, 255, 0.035);
    }

    .app-nav a:hover,
    .app-nav a:focus {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.09);
    }

    .app-nav-portal {
        justify-content: center !important;

        margin: 6px 0 0;

        color: #111111 !important;
        background: #c89b3c !important;
    }
}

.hide-desktop {display:none !important;}

@media (max-width: 590px) {
    .hide-desktop {display:block !important;}
}
