/* ════════════════════════════════════════
   TOKENS
════════════════════════════════════════ */
:root {
    --w: 1480px;
    --bg: #f9f9fe;
    --bg2: #f5f5f5;
    --surface: #ffffff;
    --border: rgba(15,8,27,0.07);
    --border2: rgba(15,8,27,0.13);
    --text: #0f081b;
    --mid: #35353d;
    --muted: #7a7a86;
    --dim: #b6b6c0;
    --blue: #3300ff;
    --blue2: #21a1ff;
    --blue-bg: rgba(60,0,254,0.05);
    --blue-bd: rgba(60,0,254,0.2);
    --blue-lt: #eaeaea;
    --grad: #3300ff;
    --dark: #0f081b;
    --dark2: #0f081b;
    --sh-sm: 0 1px 4px rgba(15,8,27,.05),0 1px 2px rgba(15,8,27,.04);
    --sh-md: 0 4px 20px rgba(15,8,27,.08),0 2px 6px rgba(15,8,27,.04);
    --sh-lg: 0 16px 52px rgba(15,8,27,.10),0 4px 14px rgba(15,8,27,.05);
    --sh-blue: 0 4px 16px rgba(60,0,254,.10),0 1px 4px rgba(60,0,254,.06);
    --mono: 'DM Mono',monospace;
    --disp: 'Poppins',sans-serif;
    --body: 'DM Sans',sans-serif;
    --r1: 6px;
    --r2: 12px;
    --r3: 18px;
    --r4: 24px;
    --r5: 32px;
}

/* ════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 64px;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* layout */
.wrap {
    max-width: var(--w);
    margin: 0 auto;
    padding: 0 48px;
}

/* shared section spacing */
.sec {
    padding: 112px 0;
}

.sec-w {
    background: var(--surface);
}

.sec-g {
    background: var(--bg2);
}

.sec-b {
    background: var(--bg);
}

/* shared headings */
.stag {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--blue);
    letter-spacing: .2em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.stag::before {
    content: '';
    width: 16px;
    height: 1px;
    background: var(--blue);
}

.stitle {
    font-family: var(--disp);
    font-size: clamp(26px,3vw,44px);
    font-weight: 700;
    line-height: 1.07;
    letter-spacing: -.025em;
    margin-bottom: 14px;
}

.ssub {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.75;
    font-weight: 300;
}

.sec-head {
    margin-bottom: 48px;
}

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: rgba(255,255,255,.84);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-sm);
}

.nav-inner {
    max-width: var(--w);
    margin: 0 auto;
    padding: 0 48px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 31px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .07em;
    transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue);
}

.nav-btn {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    padding: 10px 20px;
    background: var(--grad);
    color: #fff;
    border-radius: var(--r2);
    box-shadow: var(--sh-blue);
    transition: all .2s;
    flex-shrink: 0;
    display: inline-block;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .07em;
    flex-shrink: 0;
}

.lang-switch a {
    color: var(--muted);
    padding: 4px 2px;
    transition: color .2s;
}

.lang-switch a:hover {
    color: var(--blue);
}

.lang-switch a.active {
    color: var(--text);
    font-weight: 500;
}

.lang-switch span {
    color: var(--dim);
}

.nav-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-lg);
    z-index: 299;
    padding: 24px 24px 32px;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.mobile-menu ul a {
    display: block;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text);
    letter-spacing: .07em;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-menu .nav-btn {
    width: 100%;
    text-align: center;
    padding: 14px;
}

.mobile-menu .lang-switch {
    justify-content: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 13px;
}

/* ════════════════════════════════════════
   COMPONENTS — buttons, tags, pills
════════════════════════════════════════ */
.btn-p {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    padding: 14px 28px;
    background: var(--grad);
    color: #fff;
    border-radius: var(--r2);
    box-shadow: var(--sh-blue);
    transition: all .2s;
    display: inline-block;
}

.btn-p:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(60,0,254,.18);
}

.btn-g {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
    padding: 14px 28px;
    background: transparent;
    color: var(--mid);
    border: 1px solid var(--border2);
    border-radius: var(--r2);
    transition: all .2s;
    display: inline-block;
}

.btn-g:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-w {
    background: #fff;
    color: var(--blue2);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    padding: 14px 28px;
    border-radius: var(--r2);
    box-shadow: 0 4px 16px rgba(15,8,27,.15);
    transition: all .2s;
    display: inline-block;
}

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

/* tags */
.tag {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .07em;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid var(--border2);
    color: var(--muted);
}

.tag.b {
    border-color: var(--blue-bd);
    color: var(--blue);
    background: var(--blue-bg);
}

.tag.w {
    border-color: rgba(255,255,255,.3);
    color: rgba(255,255,255,.7);
}

.tag.wb {
    border-color: rgba(255,255,255,.5);
    color: #fff;
    background: rgba(255,255,255,.1);
}

/* pill */
.pill {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .1em;
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 500;
}

.pill.live {
    background: rgba(34,197,94,.12);
    color: #16a34a;
}

.pill.wl {
    background: var(--blue-lt);
    color: var(--blue);
}

.pill.blue {
    background: var(--blue-lt);
    color: var(--blue);
}

/* reveal */
.rev {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease,transform .6s ease;
}

.rev.vis {
    opacity: 1;
    transform: none;
}

.d1 {
    transition-delay: .1s;
}

.d2 {
    transition-delay: .2s;
}

.d3 {
    transition-delay: .3s;
}

/* bento cards */
.bento {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    margin-top: 44px;
}

.bc {
    background: var(--surface);
    border-radius: var(--r3);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all .25s;
    overflow: hidden;
}

.bc:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-2px);
    border-color: var(--blue-bd);
}

.bc.w2 {
    grid-column: span 2;
}

.bc.h2 {
    grid-row: span 2;
}

.bc.h2 .bc-img {
    flex: 1;
    height: auto;
    min-height: 220px;
}

.bc-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;

    /* background-color: var(--bg2) */
    background-position: center center;
    background-size: cover;
}

.bc-img.blue-bg {
    background-color: #3c00fe;
}

.bc-img.dark-bg {
    background-color: #0f081b;
}

.bc-img.purple-bg {
    background-color: #3c00fe;
}

.bc-img-inner {
    text-align: center;
}

.bc-img-num {
    font-family: var(--disp);
    font-size: 56px;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
    line-height: 1;
}

.bc-img .bc-img-num {
    color: rgba(15,8,27,.08);
}

.bc-img.blue-bg .bc-img-num,
.bc-img.dark-bg .bc-img-num,
.bc-img.purple-bg .bc-img-num {
    color: rgba(255,255,255,.18);
}

.bc-img-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .1em;
}

.bc-img .bc-img-label {
    color: var(--dim);
}

.bc-img.blue-bg .bc-img-label,
.bc-img.dark-bg .bc-img-label,
.bc-img.purple-bg .bc-img-label {
    color: rgba(255,255,255,.4);
}

.bc-content {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bc-cat {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dim);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 9px;
}

.bc-title {
    font-family: var(--disp);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
    flex: 1;
}

.bc-rows {
    display: flex;
    flex-direction: column;
}

.bc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-top: 1px solid var(--border);
}

.bc-k {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dim);
    letter-spacing: .07em;
}

.bc-v {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    text-align: right;
}

.bc-v.acc {
    color: var(--blue);
    font-weight: 500;
}

.bc-arrow {
    margin-top: 14px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--blue);
    align-self: flex-end;
}

/* comparison tables */
.comp-wrap {
    overflow-x: auto;
    margin-top: 44px;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 44px;
}

.comp-table th {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 2px solid var(--border);
}

.comp-table th:not(:first-child) {
    text-align: center;
}

.comp-table th.hl {
    background: #f5f5f5;
    color: var(--blue);
    border-bottom-color: var(--blue-bd);
}

.comp-table td {
    font-size: 13px;
    color: var(--mid);
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    font-weight: 300;
}

.comp-table td:not(:first-child) {
    text-align: center;
    font-family: var(--mono);
    font-size: 12px;
}

.comp-table td.hl {
    background: #f5f5f5;
    color: var(--blue);
}

.comp-table tr:last-child td {
    border-bottom: none;
}

.comp-check {
    color: var(--blue2);
}

.comp-dash {
    color: var(--dim);
}

.comp-table2 {
    width: 100%;
    border-collapse: collapse;
}

.comp-table2 th {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 14px 20px;
    text-align: left;
    border-bottom: 2px solid var(--border);
}

.comp-table2 th.nexgraf {
    background: #f5f5f5;
    color: var(--blue);
    border-bottom-color: var(--blue-bd);
    text-align: center;
}

.comp-table2 th.other {
    color: var(--dim);
    text-align: center;
}

.comp-table2 td {
    font-size: 13px;
    color: var(--mid);
    padding: 13px 20px;
    border-bottom: 1px solid var(--border);
    font-weight: 300;
    line-height: 1.4;
}

.comp-table2 td:not(:first-child) {
    text-align: center;
    font-family: var(--mono);
    font-size: 12px;
}

.comp-table2 td.nexgraf {
    background: #f5f5f5;
    color: var(--blue);
}

.comp-table2 tr:last-child td {
    border-bottom: none;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 44px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r2);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--disp);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    transition: background .2s;
}

.faq-q:hover {
    background: var(--bg);
}

.faq-icon {
    font-family: var(--mono);
    font-size: 18px;
    color: var(--blue);
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform .3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-a {
    display: none;
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
    font-weight: 300;
}

.faq-item.open .faq-a {
    display: block;
}

/* FAQ mini (kontakt) */
.faq-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 44px;
}

.faq-mini {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r2);
    padding: 20px;
    box-shadow: var(--sh-sm);
}

.faq-mini-q {
    font-family: var(--disp);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.faq-mini-a {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    font-weight: 300;
}

/* form */
.form-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r3);
    padding: 32px;
    box-shadow: var(--sh-sm);
}

.form-title {
    font-family: var(--disp);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: .1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border2);
    border-radius: var(--r2);
    font-family: var(--body);
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    transition: border-color .2s;
    outline: none;
    font-weight: 300;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--blue);
    background: var(--surface);
}

.form-textarea {
    height: 110px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
}

.form-note {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dim);
    letter-spacing: .05em;
    margin-top: 12px;
    line-height: 1.5;
}

/* footer */
footer {
    background: #eaeaea;
    border-top: 1px solid var(--border);
    padding: 72px 0 0;
}

.foot-main {
    max-width: var(--w);
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
}

.foot-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.foot-brand .f-logo {
    display: flex;
    align-items: center;
}

.foot-brand .f-logo img {
    height: 22px;
    width: auto;
    display: block;
}

.foot-brand-desc {
    font-size: 13px;
    line-height: 1.7;
    font-weight: 300;
    color: var(--muted);
    max-width: 300px;
}

.foot-col-title {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 18px;
}

.foot-col ul {
    list-style: none;
}

.foot-col li {
    margin-bottom: 10px;
}

.foot-col a {
    font-size: 13px;
    color: var(--muted);
    font-weight: 300;
    transition: color .2s;
}

.foot-col a:hover {
    color: var(--blue);
}

.foot-contact-row {
    font-size: 13px;
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 10px;
    display: flex;
    gap: 8px;
}

.foot-contact-row .foot-label {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dim);
    letter-spacing: .1em;
    text-transform: uppercase;
    min-width: 60px;
    flex-shrink: 0;
    padding-top: 2px;
}

.foot-contact-row a {
    color: var(--muted);
    transition: color .2s;
}

.foot-contact-row a:hover {
    color: var(--blue);
}

.foot-bottom {
    max-width: var(--w);
    margin: 0 auto;
    padding: 28px 48px 32px;
    margin-top: 48px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.foot-copy {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dim);
    letter-spacing: .06em;
}

.foot-legal {
    display: flex;
    gap: 20px;
    list-style: none;
}

.foot-legal a {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dim);
    letter-spacing: .06em;
    transition: color .2s;
}

.foot-legal a:hover {
    color: var(--blue);
}

/* ════════════════════════════════════════
   LEGAL PAGES (regulamin, polityka prywatności)
════════════════════════════════════════ */
.legal-page {
    padding: 160px 0 80px;
}

.legal-header {
    margin-bottom: 48px;
}

.legal-header .stitle {
    margin-bottom: 8px;
}

.legal-updated {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .04em;
    margin-top: 12px;
}

.legal-content {
    max-width: 780px;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.75;
    color: var(--mid);
}

.legal-content h2 {
    font-family: var(--head);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin: 48px 0 16px;
    letter-spacing: -0.015em;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-family: var(--head);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin: 32px 0 12px;
    letter-spacing: -0.01em;
}

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

.legal-content ul {
    margin: 0 0 16px;
    padding-left: 24px;
    list-style: disc;
}

.legal-content ul li {
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--blue);
    text-decoration: none;
    transition: color .2s;
}

.legal-content a:hover {
    color: var(--blue2);
    text-decoration: underline;
}

.legal-content strong {
    font-weight: 500;
    color: var(--text);
}

@media (max-width: 1024px) {
    .legal-page {
        padding: 140px 0 64px;
    }
}

@media (max-width: 640px) {
    .legal-page {
        padding: 120px 0 48px;
    }

    .legal-content {
        font-size: 14px;
    }

    .legal-content h2 {
        font-size: 19px;
        margin: 36px 0 12px;
    }

    .legal-content h3 {
        font-size: 15px;
        margin: 24px 0 10px;
    }
}

/* ════════════════════════════════════════
   SECTIONS — Hero (homepage)
════════════════════════════════════════ */
.hero {
    min-height: calc(95vh - 64px);
    background: var(--surface);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle,rgba(60,0,254,.08) 1px,transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}

.hero::after {
    display: none;
}

.hero-inner {
    max-width: var(--w);
    margin: 0 auto;
    padding: 60px 48px 72px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 72px;
    align-items: center;
}

.hero-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--blue);
    letter-spacing: .22em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--blue);
}

.hero h1 {
    font-family: var(--disp);
    font-weight: 700;
    font-size: clamp(48px,5.8vw,92px);
    line-height: .98;
    letter-spacing: -.035em;
    margin-bottom: 28px;
}

.hero h1 .h-blue {
    color: var(--blue);
}

.hero-sub {
    font-size: 17px;
    color: var(--muted);
    max-width: 480px;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: 28px;
}

.hstat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 40px;
    border-right: 1px solid var(--border);
    margin-right: 40px;
}

.hstat:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}

.hstat-n {
    font-family: var(--disp);
    font-size: 28px;
    font-weight: 700;
    background: var(--blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hstat-l {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dim);
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* hero visual */
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.hv-card {
    background: var(--surface);
    border-radius: var(--r3);
    box-shadow: var(--sh-md);
    padding: 20px 22px;
    position: relative;
    overflow: hidden;
}

.hv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--grad);
}

.hv-accent {
    background: #3c00fe;
    border-color: transparent;
    box-shadow: var(--sh-blue);
}

.hv-accent::before {
    display: none;
}

.hv-label {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dim);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.hv-accent .hv-label {
    color: rgba(255,255,255,.5);
}

.hv-big {
    font-family: var(--disp);
    font-size: 38px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.025em;
    line-height: 1;
}

.hv-accent .hv-big {
    color: #fff;
}

.hv-sub-text {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}

.hv-accent .hv-sub-text {
    color: rgba(255,255,255,.55);
}

.hv-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hv-row+.hv-row {
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid var(--border);
}

.hv-k {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dim);
    letter-spacing: .08em;
}

.hv-v {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--mid);
}

.hv-v.acc {
    color: var(--blue);
    font-weight: 500;
}

.hv-v.ok {
    color: #22c55e;
}

.hv-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hv-mini {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r2);
    padding: 12px 14px;
}

.hv-mini-n {
    font-family: var(--disp);
    font-size: 22px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 2px;
}

.hv-mini-l {
    font-family: var(--mono);
    font-size: 9px;
    color: var(--dim);
    letter-spacing: .1em;
}

.hv-card:nth-child(1) {
    animation: flt1 6s ease-in-out infinite;
}

.hv-card:nth-child(2) {
    animation: flt2 7.5s ease-in-out infinite;
}

.hv-card:nth-child(3) {
    animation: flt3 5.5s ease-in-out infinite;
}

@keyframes flt1{
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes flt2{
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes flt3{
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* ════════════════════════════════════════
   SECTIONS — Problem
════════════════════════════════════════ */
.prob-head {
    margin-bottom: 48px;
    max-width: 640px;
}

.prob-head .ssub strong {
    color: var(--text);
    font-weight: 700;
}

.prob-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.prob-col {
    padding: 36px 32px;
    border-radius: var(--r4);
    position: relative;
    overflow: hidden;
}

.prob-col.bad {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--sh-md);
}

.prob-col.good {
    background: #f8f8ff;
    border: 1px solid var(--blue-bd);
    box-shadow: 0 4px 18px rgba(60,0,254,.06);
}

.prob-deco {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    pointer-events: none;
}

.prob-deco::before,
.prob-deco::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(15,8,27,.08);
}

.prob-deco::before {
    width: 80px;
    height: 80px;
    top: 30px;
    left: 30px;
}

.prob-deco::after {
    width: 50px;
    height: 50px;
    top: 45px;
    left: 45px;
}

.prob-head-tag {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prob-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.prob-dot.bad {
    background: rgba(200,50,50,.35);
}

.prob-dot.good {
    background: var(--blue);
}

.prob-col.bad .prob-head-tag {
    color: var(--muted);
}

.prob-col.good .prob-head-tag {
    color: var(--blue);
}

.prob-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.prob-item:last-child {
    margin-bottom: 0;
}

.pico {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    margin-top: 1px;
}

.pico.bad {
    background: rgba(200,50,50,.08);
    color: rgba(200,50,50,.5);
    border: 1px solid rgba(200,50,50,.12);
}

.pico.good {
    background: rgba(10,158,253,.1);
    color: var(--blue);
    border: 1px solid var(--blue-bd);
}

.prob-txt {
    font-size: 14px;
    line-height: 1.65;
    font-weight: 400;
}

.prob-col.bad .prob-txt {
    color: var(--mid);
}

.prob-col.good .prob-txt {
    color: var(--mid);
}

.prob-bonus {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--blue-bd);
}

.prob-bonus-ico {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(10,158,253,.1);
    border: 1px solid var(--blue-bd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 14px;
    flex-shrink: 0;
}

.prob-bonus-title {
    font-family: var(--disp);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.prob-bonus-desc {
    font-size: 13px;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.5;
}

.prob-bonus.bad {
    border-top-color: var(--border);
}

.prob-bonus-ico.bad {
    background: rgba(200,50,50,.06);
    border-color: rgba(200,50,50,.15);
    color: rgba(200,50,50,.45);
}

.prob-col.bad .prob-bonus-title {
    color: var(--text);
}

.prob-col.bad .prob-bonus-desc {
    color: var(--muted);
}

/* ════════════════════════════════════════
   SECTIONS — Services blue
════════════════════════════════════════ */
.svc-blue {
    background: var(--blue);
    padding: 112px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(15,8,27,.08);
    position: relative;
    overflow: hidden;
}

.svc-blue::before {
    display: none;
}

.svc-blue::after {
    display: none;
}

.svc-blue .stag {
    color: rgba(255,255,255,.45);
}

.svc-blue .stag::before {
    background: rgba(255,255,255,.35);
}

.svc-blue .stitle {
    color: #fff;
}

.svc-blue .ssub {
    color: rgba(255,255,255,.7);
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-top: 48px;
    position: relative;
    z-index: 1;
}

.svc-card {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(12px);
    padding: 36px 30px;
    border-radius: var(--r4);
    border: 1px solid rgba(255,255,255,.1);
    transition: all .3s;
    display: flex;
    flex-direction: column;
}

.svc-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(15,8,27,.18);
}

.svc-num {
    font-family: var(--mono);
    font-size: 10px;
    color: rgba(255,255,255,.25);
    letter-spacing: .1em;
    margin-bottom: 20px;
}

.svc-ico {
    width: 48px;
    height: 48px;
    border-radius: var(--r2);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.svc-name {
    font-family: var(--disp);
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -.01em;
}

.svc-desc {
    font-size: 14px;
    color: rgba(255,255,255,.7);
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 300;
    flex: 1;
}

.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

/* ════════════════════════════════════════
   SECTIONS — Models
════════════════════════════════════════ */
.model-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 48px;
}

.model-card {
    padding: 36px 34px;
    border-radius: var(--r4);
    border: 1px solid var(--border);
    box-shadow: var(--sh-md);
    transition: all .3s;
    background: var(--surface);
    display: flex;
    flex-direction: column;
}

.model-card:hover {
    box-shadow: var(--sh-lg);
    transform: translateY(-3px);
}

.model-card.feat {
    background: #f8f8ff;
    border-color: var(--blue-bd);
    box-shadow: 0 4px 18px rgba(60,0,254,.06);
}

.model-card.feat:hover {
    box-shadow: 0 6px 22px rgba(60,0,254,.10);
    transform: translateY(-3px);
}

.mbadge {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;

    /* color: var(--blue2) */
    background: var(--blue-lt);
    padding: 5px 13px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 20px;
}

.model-card.feat .mbadge {
    background: rgba(10,158,253,.1);
    color: var(--blue2);
    border: 1px solid var(--blue-bd);
}

.mname {
    font-family: var(--disp);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 6px;
}

.model-card.feat .mname {
    color: var(--text);
}

.mtag {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 16px;
}

.model-card.feat .mtag {
    color: var(--muted);
}

.mdesc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 22px;
    font-weight: 300;
}

.model-card.feat .mdesc {
    color: var(--mid);
}

.mlist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.model-card.feat .mlist {
    border-top-color: var(--blue-bd);
}

.mlist li {
    font-size: 14px;
    color: var(--mid);
    font-weight: 400;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.55;
}

.model-card.feat .mlist li {
    color: var(--mid);
}

.mlist li::before {
    content: '\2192';
    color: var(--blue);
    flex-shrink: 0;
    font-family: var(--mono);
    font-size: 12px;
    margin-top: 2px;
}

/* ════════════════════════════════════════
   SECTIONS — Process
════════════════════════════════════════ */
.proc-wrap {
    margin-top: 44px;
    position: relative;
}

.proc-lbar {
    height: 1px;
    background: var(--blue-bd);
    position: relative;
    top: 24px;
    z-index: 0;
}

.proc-steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    position: relative;
    z-index: 1;
}

.proc-step {
    background: var(--surface);
    padding: 26px 20px 20px;
    border: 1px solid var(--border);
    border-radius: var(--r3);
    box-shadow: var(--sh-sm);
    text-align: center;
    transition: all .25s;
}

.proc-step:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-2px);
}

.proc-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad);
    box-shadow: var(--sh-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-family: var(--mono);
    font-size: 11px;
    color: #fff;
    font-weight: 500;
    border: 3px solid var(--surface);
}

.proc-n {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--blue);
    letter-spacing: .12em;
    margin-bottom: 7px;
}

.proc-title {
    font-family: var(--disp);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.proc-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 300;
}

.proc-sla {
    margin-top: 9px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dim);
    letter-spacing: .06em;
}

/* ════════════════════════════════════════
   SECTIONS — Agency dark (homepage teaser)
════════════════════════════════════════ */
.ag-outer {
    padding: 112px 0;
    background: var(--bg);
}

.ag-box {
    background: #0f081b;
    border-radius: var(--r5);
    padding: 64px 56px;
    position: relative;
    overflow: hidden;
}

.ag-box::before {
    display: none;
}

.ag-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.ag-box .stag {
    color: #0a9efd;
}

.ag-box .stag::before {
    background: #0a9efd;
}

.ag-box .stitle {
    color: #fff;
}

.ag-box .ssub {
    color: rgba(255,255,255,.4);
    margin-top: 12px;
}

.ag-cta {
    margin-top: 24px;
    display: inline-block;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    padding: 13px 26px;
    background: #fff;
    color: var(--blue);
    border-radius: var(--r2);
    box-shadow: 0 4px 20px rgba(15,8,27,.25);
    transition: all .2s;
}

.ag-cta:hover {
    transform: translateY(-2px);
}

.ag-guar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guar {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--r2);
    padding: 16px 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: all .2s;
}

.guar:hover {
    background: rgba(255,255,255,.09);
    border-color: rgba(60,0,254,.4);
}

.g-ico {
    font-size: 16px;
    flex-shrink: 0;
}

.g-title {
    font-family: var(--disp);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.g-desc {
    font-size: 12px;
    color: rgba(255,255,255,.36);
    line-height: 1.5;
    font-weight: 300;
}

/* ════════════════════════════════════════
   SECTIONS — CTA band
════════════════════════════════════════ */
.cta-outer {
    padding: 112px 0;
    background: var(--bg2);
}

.cta-box {
    background: var(--grad);
    border-radius: var(--r5);
    padding: 64px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(60,0,254,.12);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    pointer-events: none;
}

.cta-box h2 {
    font-family: var(--disp);
    font-size: clamp(20px,2.6vw,36px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -.025em;
    max-width: 520px;
    line-height: 1.15;
    position: relative;
    z-index: 1;
}

/* ════════════════════════════════════════
   SECTIONS — Usługi page
════════════════════════════════════════ */
.uslugi-hero {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 120px 0 100px;
}

.uslugi-hero-inner {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 64px;
    align-items: center;
}

.uslugi-hero h1 {
    font-family: var(--disp);
    font-weight: 700;
    font-size: clamp(40px,4.5vw,72px);
    line-height: 1;
    letter-spacing: -.03em;
    margin-bottom: 20px;
}

.uslugi-hero p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.75;
    font-weight: 300;
    max-width: 480px;
}

.quickstart {
    background: #f5f5f5;
    border: 1px solid var(--blue-bd);
    border-radius: var(--r3);
    padding: 28px;
    box-shadow: 0 4px 18px rgba(60,0,254,.06);
}

.qs-label {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--blue);
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.qs-title {
    font-family: var(--disp);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.qs-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 18px;
    font-weight: 300;
}

/* accordion */
.acc-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 48px;
}

.acc-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r4);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    transition: border-color .25s,box-shadow .25s;
}

.acc-item:hover {
    border-color: var(--blue-bd);
    box-shadow: var(--sh-md);
}

.acc-item.open {
    border-color: var(--blue-bd);
    box-shadow: var(--sh-md);
}

.acc-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 32px;
    cursor: pointer;
    transition: none;
    background: transparent;
}

.acc-trigger:hover {
    background: transparent;
}

.acc-trigger-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.acc-num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--blue2);
    letter-spacing: .1em;
}

.acc-name {
    font-family: var(--disp);
    font-size: 18px;
    font-weight: 700;
}

.acc-icon {
    font-family: var(--mono);
    font-size: 16px;
    color: var(--blue2);
    font-weight: 500;
    transition: transform .3s;
}

.acc-item.open .acc-icon {
    transform: rotate(45deg);
}

.acc-body {
    display: none;
    padding: 0 32px 32px;
}

.acc-item.open .acc-body {
    display: block;
}

.acc-body-inner {
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.acc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-top: 0;
}

.acc-col-title {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dim);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.acc-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acc-items li {
    font-size: 14px;
    color: var(--mid);
    font-weight: 300;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.6;
}

.acc-items li::before {
    content: '\2192';
    color: var(--blue);
    flex-shrink: 0;
    font-family: var(--mono);
    font-size: 12px;
    margin-top: 2px;
}

.acc-sla {
    margin-top: 28px;
    background: var(--blue-bg);
    border: 1px solid var(--blue-bd);
    border-radius: var(--r2);
    padding: 16px 20px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.sla-item {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--blue2);
}

.sla-item span {
    color: var(--muted);
}

/* ════════════════════════════════════════
   SECTIONS — Realizacje page
════════════════════════════════════════ */
.real-hero {
    background: var(--surface);
    padding: 120px 0 100px;
    border-bottom: 1px solid var(--border);
}

.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.filter_button {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .08em;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid var(--border2);
    color: var(--muted);
    cursor: pointer;
    transition: all .2s;
    background: transparent;
}

.filter_button:hover,
.filter_button.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.real-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 48px;
}

.real-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r4);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    cursor: pointer;
    transition: all .25s;
    display: flex;
    flex-direction: column;
}

.real-card:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-3px);
    border-color: var(--blue-bd);
}

.real-img {
    height: 220px;
    background-color: var(--bg2);
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.real-img-inner {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dim);
    letter-spacing: .1em;
    text-align: center;
}

.real-img-num {
    font-family: var(--disp);
    font-size: 52px;
    font-weight: 700;
    color: var(--border2);
    display: block;
    margin-bottom: 4px;
}

.real-img.blue-bg {
    background-color: #3c00fe;
}

.real-img.blue-bg .real-img-num {
    color: rgba(255,255,255,.2);
}

.real-img.blue-bg .real-img-inner {
    color: rgba(255,255,255,.4);
}

.real-body {
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 230px;
}

.real-cat {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dim);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.real-title {
    font-family: var(--disp);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.real-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 18px;
    font-weight: 300;
    flex: 1;
}

.real-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.real-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.real-link {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--blue);
    white-space: nowrap;
}

/* ════════════════════════════════════════
   SECTIONS — Case Study page
════════════════════════════════════════ */
.cs-hero {
    background: var(--surface);
    padding: 120px 0 100px;
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .07em;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb span {
    color: var(--text);
}

.breadcrumb a {
    color: var(--blue);
}

.cs-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cs-h1 {
    font-family: var(--disp);
    font-weight: 700;
    font-size: clamp(32px,4vw,60px);
    line-height: 1.05;
    letter-spacing: -.025em;
    max-width: 780px;
    margin-bottom: 20px;
}

.cs-lead {
    font-size: 17px;
    color: var(--muted);
    max-width: 640px;
    line-height: 1.75;
    font-weight: 300;
}

.specs-bar {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
    background: #f5f5f5;
    border: 1px solid var(--blue-bd);
    border-radius: var(--r4);
    overflow: hidden;

    /* border: 1px solid var(--blue-bd) */
    margin-top: 48px;
}

.spec {
    padding: 24px 28px;
    border-right: 1px solid var(--blue-bd);
}

.spec:last-child {
    border-right: none;
}

.spec-k {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--blue);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.spec-v {
    font-family: var(--disp);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
}

.spec-v.big {
    color: var(--blue);
    font-size: 26px;
}

.cs-body {
    padding: 96px 0;
    background: var(--surface);
}

.cs-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    align-items: start;
}

.cs-main-img {
    width: 100%;
    height: 500px;

    /* background: #3c00fe */
    border-radius: var(--r3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    background-position: center center;
    background-size: cover;
}

.cs-main-img-inner {
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255,255,255,.4);
    letter-spacing: .1em;
}

.cs-section {
    margin-bottom: 0;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.cs-section.last {
    border-bottom: none;
    padding-bottom: 0;
}

.cs-section-num {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--blue);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.cs-section h3 {
    font-family: var(--disp);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -.01em;
}

.cs-section p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.85;
    font-weight: 300;
}

.cs-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 80px;
}

.cs-img-sm {
    height: 300px;
    background: var(--bg2);
    border-radius: var(--r3);

    /* border: 1px solid var(--border) */
    cursor: pointer;
    transition: all .25s;
    background-position: center center;
    background-size: cover;
}

.cs-img-sm:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-2px);
    border-color: var(--blue-bd);
}

/* lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(15,8,27,.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.open {
    display: flex;
}

.lightbox-inner {
    width: 90vw;
    height: 85vh;
    max-width: 1200px;
    border-radius: var(--r4);
    position: relative;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 501;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
    font-size: 20px;
    color: #fff;
    font-family: var(--mono);
}

.lightbox-close:hover {
    background: rgba(255,255,255,.25);
}

.cs-sidebar {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cs-side-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r3);
    padding: 22px;
    box-shadow: var(--sh-sm);
}

.cs-side-title {
    font-family: var(--disp);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.cs-side-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cs-side-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px solid var(--border);
    gap: 18px;
}

.cs-side-row:first-child {
    border-top: none;
    padding-top: 0;
}

.cs-sk {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dim);
    letter-spacing: .08em;
}

.cs-sv {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--mid);
}

.cs-sv.acc {
    color: var(--blue);
}

.cs-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.cs-cta-card {
    background: var(--grad);
    border-radius: var(--r3);
    padding: 22px;
    box-shadow: var(--sh-blue);
}

.cs-cta-card p {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    margin-bottom: 16px;
    line-height: 1.6;
    font-weight: 300;
}

.cs-cta-card .cta-title {
    font-family: var(--disp);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

/* ════════════════════════════════════════
   SECTIONS — Dla agencji page
════════════════════════════════════════ */
.ag-page-hero {
    background: #0f081b;
    padding: 120px 0 100px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    position: relative;
    overflow: hidden;
}

.ag-page-hero::before {
    display: none;
}

.ag-page-hero .stag {
    color: #0a9efd;
}

.ag-page-hero .stag::before {
    background: #0a9efd;
}

.ag-page-hero .stitle {
    color: #fff;
}

.ag-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ag-hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,.45);
    line-height: 1.75;
    font-weight: 300;
    max-width: 480px;
    margin-bottom: 32px;
}

.ag-feat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ag-feat-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r2);
    padding: 10px 16px;
}

.ag-feat-pill span {
    font-size: 14px;
}

.ag-feat-pill p {
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255,255,255,.6);
    letter-spacing: .05em;
}

/* ════════════════════════════════════════
   SECTIONS — Kontakt page
════════════════════════════════════════ */
/* contact hero */
.contact-hero {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 120px 0 100px;
}

.ch-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* hero contact info strip */
.ch-info-strip {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 36px;
}

.ch-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}

.ch-info-k {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--dim);
    letter-spacing: .1em;
    text-transform: uppercase;
    width: 90px;
    flex-shrink: 0;
}

.ch-info-v {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--mid);
}

.ch-info-v.acc {
    color: var(--blue);
}

/* unified contact form */
.cf-form {
    max-width: 960px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r4);
    padding: 40px 44px;
    box-shadow: var(--sh-md);
}

.cf-step {
    margin-bottom: 36px;
}

.cf-step:last-of-type {
    margin-bottom: 0;
}

.cf-step-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cf-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* path selector cards */
.cf-paths {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.cf-path {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--r3);
    cursor: pointer;
    transition: all .25s;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--bg);
}

.cf-path:hover {
    border-color: var(--blue-bd);
    background: var(--blue-bg);
}

.cf-path.active {
    border-color: var(--blue);
    background: var(--blue-bg);
    box-shadow: 0 0 0 1px var(--blue);
}

.cf-path-ico {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cf-path-text {
    flex: 1;
}

.cf-path-title {
    font-family: var(--disp);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cf-path-desc {
    font-size: 12px;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.5;
}

/* model tile selector */
.cf-models {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 12px;
}

.cf-model {
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: var(--r2);
    cursor: pointer;
    transition: all .25s;
    background: var(--bg);
    text-align: center;
}

.cf-model:hover {
    border-color: var(--blue-bd);
    background: var(--blue-bg);
}

.cf-model.active {
    border-color: var(--blue);
    background: var(--blue-bg);
    box-shadow: 0 0 0 1px var(--blue);
}

.cf-model-title {
    font-family: var(--disp);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}

.cf-model-desc {
    font-size: 11px;
    color: var(--muted);
    font-weight: 300;
}

/* taller textarea */
.cf-textarea {
    height: 180px;
}

/* FAQ cards (kontakt page) */
.faq-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 44px;
}

.faq-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r3);
    padding: 28px 28px 24px;
    box-shadow: var(--sh-sm);
    transition: all .25s;
}

.faq-card:hover {
    border-color: var(--blue-bd);
    box-shadow: var(--sh-md);
}

.faq-card-num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--blue);
    font-weight: 500;
    margin-bottom: 12px;
}

.faq-card-q {
    font-family: var(--disp);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.faq-card-a {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 300;
}

/* ════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
════════════════════════════════════════ */
@media (max-width:1024px){
    :root {
        --w: 100%;
    }

    .wrap {
        padding: 0 32px;
    }

    .nav-inner {
        padding: 0 32px;
    }

    .nav-links {
        display: none;
    }

    .nav-btn.desktop-only {
        display: none;
    }

    nav .lang-switch.desktop-only {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 56px 32px 64px;
    }

    .hero-visual {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hero-visual .hv-card:nth-child(3) {
        grid-column: span 2;
    }

    .hero h1 {
        font-size: clamp(44px,7vw,72px);
    }

    .hero-stats .hstat {
        padding-right: 28px;
        margin-right: 28px;
    }

    .prob-head {
        margin-bottom: 36px;
    }

    .prob-cards {
        grid-template-columns: 1fr 1fr;
    }

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

    .svc-grid .svc-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

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

    .proc-steps {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .proc-lbar {
        display: none;
    }

    .ag-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ag-outer .ag-inner {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

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

    .bc.h2 {
        grid-row: span 2;
    }

    .bc.w2 {
        grid-column: span 2;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 48px 40px;
    }

    .uslugi-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .specs-bar {
        grid-template-columns: 1fr 1fr;
    }

    .spec:nth-child(2) {
        border-right: none;
    }

    .spec:nth-child(1),
    .spec:nth-child(2) {
        border-bottom: 1px solid var(--blue-bd);
    }

    .cs-layout {
        grid-template-columns: 1fr;
    }

    .cs-sidebar {
        position: static;
    }

    .ag-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-hero {
        padding: 100px 0 80px;
    }

    .ch-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cf-form {
        padding: 32px 28px;
    }

    .cf-models {
        grid-template-columns: 1fr 1fr;
    }

    .faq-2col {
        grid-template-columns: 1fr 1fr;
    }

    .foot-main {
        padding: 0 32px;
        grid-template-columns: 1fr 1fr;
    }

    .foot-bottom {
        padding: 28px 32px 32px;
    }
}

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE (≤640px)
════════════════════════════════════════ */
@media (max-width:640px){
    .sec {
        padding: 72px 0;
    }

    .svc-blue {
        padding: 72px 0;
    }

    .ag-outer {
        padding: 72px 0;
    }

    .cta-outer {
        padding: 72px 0;
    }

    .wrap {
        padding: 0 20px;
    }

    .nav-inner {
        padding: 0 20px;
    }

    .hero-inner {
        padding: 48px 20px 56px;
    }

    .hero h1 {
        font-size: clamp(36px,11vw,56px);
    }

    .hero-visual {
        grid-template-columns: 1fr;
    }

    .hero-visual .hv-card:nth-child(3) {
        grid-column: auto;
    }

    .hero-stats {
        gap: 12px;
    }

    .hstat {
        padding-right: 20px;
        margin-right: 20px;
    }

    .hstat-n {
        font-size: 22px;
    }

    .prob-cards {
        grid-template-columns: 1fr;
    }

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

    .svc-grid .svc-card:last-child {
        grid-column: auto;
        max-width: none;
    }

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

    .proc-steps {
        grid-template-columns: 1fr;
    }

    .ag-box {
        padding: 40px 28px;
    }

    .ag-inner {
        grid-template-columns: 1fr;
    }

    .ag-outer .ag-inner {
        grid-template-columns: 1fr;
    }

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

    .bc.w2 {
        grid-column: auto;
    }

    .bc.h2 {
        grid-row: auto;
    }

    .bc.h2 .bc-img {
        min-height: 180px;
    }

    .cta-box {
        padding: 40px 28px;
    }

    .cta-box h2 {
        font-size: 22px;
    }

    .uslugi-hero-inner {
        grid-template-columns: 1fr;
    }

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

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

    .specs-bar {
        grid-template-columns: 1fr 1fr;
    }

    .cs-layout {
        grid-template-columns: 1fr;
    }

    .cs-imgs {
        grid-template-columns: 1fr;
    }

    .ag-hero-inner {
        grid-template-columns: 1fr;
    }

    .cf-paths {
        grid-template-columns: 1fr;
    }

    .cf-models {
        grid-template-columns: 1fr 1fr;
    }

    .contact-hero {
        padding: 88px 0 64px;
    }

    .cf-form {
        padding: 24px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .faq-2col {
        grid-template-columns: 1fr;
    }

    .faq-cards {
        grid-template-columns: 1fr;
    }

    .foot-main {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 0 20px;
    }

    .foot-bottom {
        padding: 24px 20px 28px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .foot-legal {
        flex-wrap: wrap;
        gap: 12px;
    }

    .comp-wrap {
        overflow-x: auto;
    }

    .comp-table,
    .comp-table2 {
        min-width: 560px;
    }

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

    .btn-p,
    .btn-g {
        text-align: center;
    }
}

.mix {
}

.success_wrap {
    background: rgba(10,158,253,.1);
    color: var(--blue);
    border: 1px solid var(--blue-bd);
    padding: 24px 48px;
    text-align: center;
    margin-top: 18px;
    margin-bottom: 18px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    display: none;
}

.error_wrap {
    background: rgba(200,50,50,.06);
    border-color: rgba(200,50,50,.15);
    color: rgba(200,50,50,.45);
    border-style: solid;
    padding: 24px 48px;
    text-align: center;
    margin-top: 18px;
    margin-bottom: 18px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    display: none;
}
