html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,input,textarea,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {border:0;margin:0;padding:0;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}/*IE8*/
audio,canvas,video{display:inline-block;}/*IE8/9*/
address,caption,cite,code,dfn,th,var{font-style:normal;font-weight:400;}
caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400;}
b,strong{font-weight: bold;}
q:before,q:after{content:'';}
table{border-collapse:collapse;border-spacing:0;}
form{display:inline;}
*{outline:none;}
input[type=submit]:hover,input[type=checkbox]:hover,label:hover{cursor:pointer;}
button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}
textarea{overflow:auto;vertical-align:top;}
ol,ul{list-style:none;}
a{text-decoration:none;}
.clear {clear:both;font-size:0px;height:0px;margin:0px;padding:0px;overflow:hidden;}
.cf::after, .clearfix::after {
    content: '';
    display: table;
    clear: both;
}
.clear2{clear:both;}
/***************************************************
wrobelek.eu – layout 2026 (Plus Jakarta Sans)
***************************************************/

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url(/assets/fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url(/assets/fonts/plus-jakarta-sans-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --c-primary: #39216c;
    --c-primary-dark: #1f1240;
    --c-primary-light: #6b4fc2;
    --c-accent: #ef3e4a;
    --c-accent-dark: #d32a36;
    --c-bg: #ffffff;
    --c-bg-soft: #f6f4fb;
    --c-bg-lavender: #ece8f7;
    --c-text: #2b2640;
    --c-muted: #6c6884;
    --c-border: #e4e0f0;
    --radius: 18px;
    --shadow: 0 10px 30px -12px rgba(57, 33, 108, .25);
    --shadow-lg: 0 30px 60px -20px rgba(31, 18, 64, .35);
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--c-primary-dark); font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-soft { background: var(--c-bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--c-muted); font-size: 18px; }
.eyebrow {
    display: inline-block; margin-bottom: 14px; padding: 6px 14px;
    font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--c-primary); background: var(--c-bg-lavender); border-radius: 999px;
}

/* Przyciski */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: 16px; cursor: pointer; transition: .2s ease; font-family: inherit;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-accent { background: var(--c-accent); color: #fff; box-shadow: 0 10px 24px -8px rgba(239, 62, 74, .6); }
.btn-accent:hover { background: var(--c-accent-dark); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); }
.btn-ghost { border-color: var(--c-border); color: var(--c-primary); background: #fff; }
.btn-ghost:hover { border-color: var(--c-primary); }
.btn-white { background: #fff; color: var(--c-primary); }
.btn-white:hover { background: var(--c-bg-lavender); }

/* Pasek górny */
.topbar { background: var(--c-primary-dark); color: rgba(255,255,255,.75); font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar-items { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-items span { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; opacity: .7; }

/* Nagłówek */
.header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent; transition: .2s;
}
.header.is-scrolled { border-bottom-color: var(--c-border); box-shadow: 0 6px 20px -16px rgba(31,18,64,.4); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav ul a { font-weight: 600; color: var(--c-text); position: relative; padding: 6px 0; white-space: nowrap; }
.nav .btn { white-space: nowrap; }
.nav ul a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--c-accent); transform: scaleX(0); transition: transform .2s; transform-origin: left;
}
.nav ul a:hover::after, .nav ul a.current::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--c-bg-lavender); border-radius: 12px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 20px; height: 2px; background: var(--c-primary); margin: 0 auto; position: relative; content: '';
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* Hero */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(107, 79, 194, .18), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(239, 62, 74, .10), transparent 40%),
        linear-gradient(180deg, #fbfaff 0%, var(--c-bg-soft) 100%);
    padding: 80px 0 120px;
}
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--c-accent); }
.hero-lead { font-size: 19px; color: var(--c-muted); max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-checks { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; font-weight: 600; font-size: 15px; }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks svg { width: 20px; height: 20px; color: #22a06b; }

/* Ilustracja hero – przeglądarka + telefon (CSS) */
.hero-visual { position: relative; min-height: 440px; }
.mock-browser {
    position: absolute; top: 20px; right: 0; width: 92%;
    background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden;
    transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #f2f0f8; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d4ea; }
.mock-bar i:nth-child(1) { background: #ff6159; }
.mock-bar i:nth-child(2) { background: #ffbd2e; }
.mock-bar i:nth-child(3) { background: #28c941; }
.mock-bar b { flex: 1; margin-left: 12px; height: 22px; border-radius: 6px; background: #fff; font-size: 11px; line-height: 22px; color: var(--c-muted); padding-left: 10px; }
.mock-body { padding: 18px; }
.mock-hero { height: 120px; border-radius: 10px; background: linear-gradient(120deg, var(--c-primary) 0%, var(--c-primary-light) 100%); position: relative; overflow: hidden; }
.mock-hero::before { content: ''; position: absolute; left: 18px; top: 28px; width: 46%; height: 14px; border-radius: 4px; background: rgba(255,255,255,.9); box-shadow: 0 24px 0 -2px rgba(255,255,255,.5); }
.mock-hero::after { content: ''; position: absolute; left: 18px; bottom: 20px; width: 90px; height: 24px; border-radius: 999px; background: var(--c-accent); }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.mock-grid div { height: 70px; border-radius: 8px; background: var(--c-bg-soft); }
.mock-lines { margin-top: 14px; }
.mock-lines span { display: block; height: 8px; border-radius: 4px; background: #eeebf6; margin-bottom: 8px; }
.mock-lines span:nth-child(2) { width: 80%; }
.mock-lines span:nth-child(3) { width: 60%; }
.mock-phone {
    position: absolute; left: 0; bottom: 0; width: 170px; height: 330px; z-index: 2;
    border-radius: 30px; background: var(--c-primary-dark); padding: 10px; box-shadow: var(--shadow-lg);
}
.mock-phone > div { height: 100%; border-radius: 22px; background: #fff; overflow: hidden; padding: 12px; }
.mock-phone .mock-hero { height: 90px; }
.mock-phone .mock-hero::before { width: 70%; height: 10px; top: 20px; }
.mock-phone .mock-hero::after { width: 60px; height: 18px; bottom: 14px; }
.mock-phone .mock-grid { grid-template-columns: 1fr; }
.mock-phone .mock-grid div { height: 44px; }
.price-badge {
    position: absolute; right: -6px; bottom: 20px; z-index: 3;
    background: #fff; border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 14px;
}
.price-badge .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(239,62,74,.12); color: var(--c-accent); display: grid; place-items: center; }
.price-badge .ico svg { width: 24px; height: 24px; }
.price-badge small { display: block; color: var(--c-muted); font-size: 13px; font-weight: 600; }
.price-badge strong { font-size: 24px; color: var(--c-primary-dark); font-weight: 800; }
.cms-badge {
    position: absolute; left: 40px; top: 0; z-index: 3;
    background: #fff; border-radius: 999px; padding: 10px 18px 10px 10px; box-shadow: var(--shadow);
    display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px;
}
.cms-badge .dot { width: 32px; height: 32px; border-radius: 50%; background: #e3f6ee; color: #22a06b; display: grid; place-items: center; }
.cms-badge svg { width: 18px; height: 18px; }

/* Pasek atutów */
.stats { margin-top: -56px; position: relative; z-index: 5; }
.stats-box {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 28px 30px; display: flex; gap: 16px; align-items: center; }
.stat + .stat { border-left: 1px solid var(--c-border); }
.stat .ico { flex: 0 0 48px; height: 48px; border-radius: 14px; background: var(--c-bg-lavender); color: var(--c-primary); display: grid; place-items: center; }
.stat .ico svg { width: 24px; height: 24px; }
.stat strong { display: block; font-size: 20px; color: var(--c-primary-dark); line-height: 1.2; }
.stat span { font-size: 14px; color: var(--c-muted); }

/* Jak to działa – kroki */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step {
    position: relative; padding: 36px 32px; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--c-border); transition: .25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.step::before {
    counter-increment: step; content: '0' counter(step);
    display: block; font-size: 48px; font-weight: 800; line-height: 1; margin-bottom: 18px;
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 22px; }
.step p { color: var(--c-muted); margin-bottom: 18px; }
.link-more { font-weight: 700; color: var(--c-primary); display: inline-flex; align-items: center; gap: 8px; }
.link-more svg { width: 16px; height: 16px; transition: transform .2s; }
.link-more:hover svg { transform: translateX(4px); }

/* Funkcje */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 32px; border-radius: var(--radius); background: #fff; transition: .25s; }
.feature:hover { box-shadow: var(--shadow); }
.feature .ico {
    width: 56px; height: 56px; border-radius: 16px; margin-bottom: 22px;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
    box-shadow: 0 10px 20px -8px rgba(57,33,108,.6);
}
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--c-muted); margin: 0; }

/* Cennik */
.pricing { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.plan {
    display: flex; flex-direction: column; padding: 40px 34px; border-radius: 24px;
    background: #fff; border: 1px solid var(--c-border); position: relative;
}
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan .desc { color: var(--c-muted); font-size: 15px; min-height: 48px; }
.plan .price { margin: 18px 0 4px; font-size: 48px; font-weight: 800; color: var(--c-primary-dark); line-height: 1; letter-spacing: -.03em; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--c-muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 15px; }
.plan li svg { flex: 0 0 20px; width: 20px; height: 20px; color: #22a06b; margin-top: 2px; }
.plan .btn { justify-content: center; }
.plan-featured {
    background: linear-gradient(160deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    border-color: transparent; color: #fff; box-shadow: var(--shadow-lg);
}
.plan-featured h3, .plan-featured .price { color: #fff; }
.plan-featured .desc, .plan-featured .price small { color: rgba(255,255,255,.7); }
.plan-featured li svg { color: #6ee7b7; }
.plan-tag {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
    background: var(--c-accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
}
.pricing-note { text-align: center; color: var(--c-muted); margin-top: 32px; font-size: 15px; }
.plan .price del { font-size: 24px; font-weight: 600; color: var(--c-muted); opacity: .7; margin-right: 4px; }
.plan-featured .price del { color: rgba(255,255,255,.6); }
.price-badge del { color: var(--c-accent); }
.plan .addons li { justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--c-border, #e6e3ef); padding: 11px 0; }
.plan .addons li b { white-space: nowrap; color: var(--c-primary-dark); }
.plan-featured ul.cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; flex: 0; }
.subscr { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0 26px; }
.subscr div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 12px 16px; }
.subscr small { display: block; font-size: 13px; color: rgba(255,255,255,.7); }
.subscr strong { font-size: 20px; font-weight: 800; color: #fff; }
.subscr strong span { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); }
.plan-sub { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); margin: 4px 0 8px; }
.promo-note {
    display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 16px 8px 12px;
    border-radius: 999px; background: var(--c-accent); color: #fff; font-size: 14px; font-weight: 600;
    box-shadow: 0 8px 20px rgba(239,62,74,.35);
}
.promo-note svg { width: 18px; height: 18px; flex: 0 0 18px; }
.promo-note b { font-weight: 800; }
.plan-featured .btn, .plan .addons + .desc + .btn { margin-top: auto; }
@media (max-width: 640px) { .plan-featured ul.cols { grid-template-columns: 1fr; } .subscr div { padding: 10px 12px; } }
.pricing-note a { color: var(--c-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Realizacje */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work { display: block; }
.work-overlay {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: rgba(31,18,64,.55); opacity: 0; transition: .3s; color: #fff; font-weight: 700;
}
.work:hover .work-overlay { opacity: 1; }
.work h2, .work h3 { font-size: 20px; margin: 22px 0 4px; }
.work p { color: var(--c-muted); margin: 0; }
.works-more { text-align: center; margin-top: 48px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq-wrap .section-head { text-align: left; margin: 0; }
.faq details { border-bottom: 1px solid var(--c-border); padding: 4px 0; }
.faq summary {
    list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
    font-weight: 700; font-size: 18px; color: var(--c-primary-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; border-radius: 50%; color: var(--c-primary);
    background-color: var(--c-bg-lavender);
    background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
    background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat;
    transition: .2s;
}
.faq details[open] summary::after { background-color: var(--c-primary); color: #fff; background-size: 12px 2px, 0 0; }
.faq details p { color: var(--c-muted); padding-right: 44px; }

/* CTA */
.cta {
    border-radius: 28px; padding: 64px; color: #fff; position: relative; overflow: hidden;
    background: linear-gradient(120deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta::before, .cta::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); }
.cta::before { width: 380px; height: 380px; right: -100px; top: -160px; }
.cta::after { width: 240px; height: 240px; right: 180px; bottom: -150px; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); }
.cta p { color: rgba(255,255,255,.8); font-size: 18px; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-contact { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: rgba(255,255,255,.85); }
.cta-contact a { color: #fff; font-weight: 700; font-size: 20px; }

/* Stopka */
.footer { background: var(--c-primary-dark); color: rgba(255,255,255,.7); padding: 80px 0 0; margin-top: 96px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: inline-block; background: #fff; padding: 10px 16px; border-radius: 12px; margin-bottom: 20px; }
.footer-logo img { height: 30px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; color: var(--c-accent); }
.footer-bottom {
    margin-top: 64px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1);
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px;
}


/***************************************************
Siatka (g-row / g-col) – używana przez helper formularzy
(form.php: g-col-4/6/8/12, g-col-right; init.php: g-col-s-4/8)
***************************************************/

.g-row { margin-left: -20px; display: flex; flex-flow: row wrap; }
[class*="g-col-"] { min-height: 1px; padding-left: 20px; flex: 1 1 100%; max-width: 100%; }
.g-col-right { margin-right: 0; margin-left: auto; }
.g-col-4 { flex-basis: 33.33333%; max-width: 33.33333%; }
.g-col-6 { flex-basis: 50%; max-width: 50%; }
.g-col-8 { flex-basis: 66.66667%; max-width: 66.66667%; }
.g-col-12 { flex-basis: 100%; max-width: 100%; }
@media (min-width: 535px) {
    .g-col-s-4 { flex-basis: 33.33333%; max-width: 33.33333%; }
    .g-col-s-8 { flex-basis: 66.66667%; max-width: 66.66667%; }
}


/* RWD */
@media (max-width: 1240px) {
    .logo img { height: 34px; }
    .nav { gap: 24px; }
    .nav ul { gap: 22px; }
    .nav .btn { padding: 12px 20px; }
}
@media (max-width: 1080px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
    .stats-box { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--c-border); }
    .features, .pricing, .works { grid-template-columns: repeat(2, 1fr); }
    .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
    .cta { grid-template-columns: 1fr; padding: 48px 36px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    .nav-toggle { display: block; }
    .nav {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px;
        background: #fff; padding: 24px; box-shadow: var(--shadow-lg); display: none;
        max-height: calc(100vh - 84px); overflow-y: auto;
    }
    .nav.is-open { display: flex; }
    .nav ul { flex-direction: column; gap: 4px; }
    .nav ul a { display: block; padding: 12px 0; font-size: 18px; }
    .nav .btn { justify-content: center; padding: 14px 26px; }
}
@media (max-width: 860px) {
    .topbar .container { justify-content: center; }
    .topbar .container > span { display: none; }
    .steps { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
    .topbar { font-size: 13px; }
    .topbar-items { gap: 14px; justify-content: center; }
    .topbar svg { display: none; }
}
@media (max-width: 640px) {
    .section { padding: 72px 0; }
    .logo img { height: 30px; }
    .hero { padding: 48px 0 96px; }
    .hero-visual { min-height: 360px; }
    .mock-phone { width: 130px; height: 260px; }
    .cms-badge { left: 10px; }
    .stats-box, .features, .pricing, .works, .footer-grid { grid-template-columns: 1fr; }
    .stat + .stat { border-left: 0; border-top: 1px solid var(--c-border); }
    .header .container { height: 72px; }
    .nav { max-height: calc(100vh - 72px); }
}
@media (max-width: 400px) {
    .logo { min-width: 0; margin-right: 12px; }
    .logo img { height: 26px; }
}

/***************************************************
Podstrony
***************************************************/

.page-hero {
    position: relative; overflow: hidden; text-align: center;
    padding: 72px 0 64px;
    background:
        radial-gradient(circle at 85% 10%, rgba(107, 79, 194, .18), transparent 45%),
        radial-gradient(circle at 10% 100%, rgba(239, 62, 74, .08), transparent 40%),
        linear-gradient(180deg, #fbfaff 0%, var(--c-bg-soft) 100%);
}
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); margin: 0 auto; max-width: 860px; }
.page-hero p { color: var(--c-muted); font-size: 18px; max-width: 680px; margin: 14px auto 0; }
.breadcrumbs { font-size: 14px; color: var(--c-muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--c-primary); font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }

.page { padding: 72px 0 0; }
.page-narrow { max-width: 860px; }
.page-plain { padding-top: 56px; padding-bottom: 0; }
.page-plain > h1 { font-size: clamp(30px, 4vw, 42px); }

.subnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.subnav a {
    padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--c-border);
    font-weight: 600; font-size: 15px; color: var(--c-primary); transition: .2s;
}
.subnav a:hover { border-color: var(--c-primary); }
.subnav a.current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* Treść z CMS */
.prose { font-size: 17px; }
.prose h2 { font-size: 30px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 22px; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 18px; margin: 1.4em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose ul li, .prose ol li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.prose ul li::before {
    content: ''; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 50%;
    background: var(--c-accent); box-shadow: 0 0 0 4px rgba(239, 62, 74, .15);
}
.prose ol { counter-reset: li; }
.prose ol li::before {
    counter-increment: li; content: counter(li); position: absolute; left: 0; top: .15em;
    width: 22px; height: 22px; border-radius: 50%; background: var(--c-bg-lavender); color: var(--c-primary);
    font-size: 12px; font-weight: 800; display: grid; place-items: center;
}
.prose a { color: var(--c-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--c-accent); }
.prose strong { color: var(--c-primary-dark); }
.prose img { height: auto; border-radius: 12px; }
.prose blockquote {
    margin: 0 0 1.2em; padding: 18px 24px; border-left: 4px solid var(--c-accent);
    background: var(--c-bg-soft); border-radius: 0 12px 12px 0;
}
.prose table {
    width: 100% !important; border-collapse: separate; border-spacing: 0; margin: 0 0 1.6em;
    border: 1px solid var(--c-border); border-radius: 14px; overflow: hidden; font-size: 15px;
}
.prose th, .prose td { padding: 14px 18px; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.prose th { background: var(--c-primary); color: #fff; font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) td { background: var(--c-bg-soft); }
.prose em { color: var(--c-muted); }
.prose .label { display: inline-block; min-width: 70px; color: var(--c-muted); }
.table-scroll { overflow-x: auto; }

/* Lista stron powiązanych */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.related a {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 22px 26px; border-radius: var(--radius); background: var(--c-bg-soft);
    font-weight: 700; color: var(--c-primary-dark); transition: .2s;
}
.related a svg { width: 18px; height: 18px; color: var(--c-accent); transition: transform .2s; }
.related a:hover { background: var(--c-bg-lavender); }
.related a:hover svg { transform: translateX(4px); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: stretch; }
.contact-card {
    padding: 40px 36px; border-radius: 24px; color: rgba(255,255,255,.8);
    background: linear-gradient(160deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    box-shadow: var(--shadow-lg);
}
.contact-card h2 { color: #fff; font-size: 26px; }
.contact-card .prose { font-size: 16px; }
.contact-card .prose strong, .contact-card .prose a { color: #fff; }
.contact-card .prose .label { color: rgba(255,255,255,.6); }
.contact-list { list-style: none; margin: 28px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,.15); }
.contact-list li { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.contact-list .ico { flex: 0 0 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: #fff; }
.contact-list svg { width: 20px; height: 20px; }
.contact-list a { color: #fff; font-weight: 700; font-size: 18px; }
.contact-list small { display: block; font-size: 13px; color: rgba(255,255,255,.6); }
.contact-map { border-radius: 24px; overflow: hidden; background: var(--c-bg-soft); min-height: 420px; box-shadow: var(--shadow); }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* Realizacje – galeria */
.works-img { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--c-bg-lavender); box-shadow: var(--shadow); }
.works-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.work:hover .works-img img { transform: scale(1.04); }
.works-img .work-overlay { z-index: 2; }
.works-img .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c-primary-light); }
.works-img .ph svg { width: 48px; height: 48px; opacity: .5; }
.works-img img + .ph { display: none; }
.works-img.no-img img { display: none; }
.works-img.no-img .ph { display: grid; }

.work-show { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.work-show-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--c-bg-soft); }
.work-show-img img { width: 100%; height: auto; }
.work-show .btn { margin-top: 12px; }

/* Aktualności */
.news-list { display: grid; gap: 28px; }
.news-item {
    display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start;
    padding: 28px; border-radius: var(--radius); border: 1px solid var(--c-border); background: #fff; transition: .25s;
}
.news-item.no-img { grid-template-columns: 1fr; }
.news-item:hover { box-shadow: var(--shadow); border-color: transparent; }
.news-item figure { margin: 0; border-radius: 12px; overflow: hidden; }
.news-item figure img { width: 100%; height: auto; }
.news-item h2 { font-size: 22px; margin-bottom: 6px; }
.news-item h2 a:hover { color: var(--c-primary-light); }
.news-item time, .news-show time { display: inline-block; font-size: 14px; font-weight: 600; color: var(--c-muted); margin-bottom: 12px; }
.news-item p { color: var(--c-muted); }
.news-show figure { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.news-show figure img { width: 100%; height: auto; }
.empty { text-align: center; color: var(--c-muted); padding: 40px 0; }

/* Panel klienta */
.auth-card { max-width: 520px; margin: 0 auto; padding: 40px 36px; border-radius: 24px; background: #fff; border: 1px solid var(--c-border); box-shadow: var(--shadow); }
.auth-card .form-label, .auth-card .form-control-group { float: none; width: 100%; max-width: none; flex: 0 0 100%; }
.auth-links { margin-top: 20px; font-size: 15px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.auth-links a { color: var(--c-primary); font-weight: 600; }
.auth-links a:hover { text-decoration: underline; }


/***************************************************
Specifics
***************************************************/

.right { float: right !important; }
.left { float: left !important; }
.center { float: none !important; margin-left: auto !important; margin-right: auto !important; }
.color1 { color: var(--c-accent); font-weight: 700; }
.clear { clear: both; }
.clearfix::after { content: ''; display: table; clear: both; }
hr { background: var(--c-border); height: 1px; border: 0; margin: 32px 0; }
.label { display: inline-block; width: 100px; color: var(--c-muted); }
.h3 { font-size: 20px; font-weight: 800; color: var(--c-primary-dark); }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pagination .btn { min-width: 44px; justify-content: center; }

.loader { background: url(/assets/img/loader.gif) no-repeat center; position: absolute; z-index: 9999; height: 100%; padding: 10px; margin: -10px; }

#cookies {
    position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 760px;
    padding: 14px 20px; border-radius: 16px; background: var(--c-primary-dark); color: rgba(255,255,255,.8);
    font-size: 14px; text-align: center; box-shadow: var(--shadow-lg);
}
#cookies a { color: #fff; font-weight: 700; text-decoration: underline; }
#cookies .ok { display: inline-block; text-decoration: none; background: var(--c-accent); color: #fff; padding: 4px 14px; border-radius: 999px; margin: 0 8px; }


/***************************************************
Formularze
***************************************************/

fieldset.form { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-group { clear: both; margin-bottom: 16px; }
.form-label { display: block; float: left; text-align: left; padding: 10px 0 6px; font-weight: 600; font-size: 15px; color: var(--c-primary-dark); position: relative; }
.form-req { color: var(--c-accent); margin-left: 3px; }
.form-control-group { max-width: 600px; margin: 0; float: left; }
.form-error { color: var(--c-accent); font-size: 14px; margin-bottom: 4px; }
.form-control {
    width: 100%; margin: 0; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--c-text);
    background: #fff; border: 1px solid var(--c-border); border-radius: 12px; transition: .2s;
}
.form-control:hover { border-color: #cbc4e2; }
.form-control:focus { outline: 0; border-color: var(--c-primary-light); box-shadow: 0 0 0 4px rgba(107, 79, 194, .15); }
textarea.form-control { height: 140px; resize: vertical; }
.form-control-sm { width: 100px; }
.form-btns { padding-top: 8px; }
.form-btns .link { margin-right: 16px; color: var(--c-primary); font-weight: 600; }


/***************************************************
Komunikaty
***************************************************/

.msg { padding: 16px 20px; margin-bottom: 20px; border-radius: 12px; text-align: center; font-weight: 600; color: #8a6116; background: #fff7e0; border: 1px solid #f5e1a4; }
.msg.msg-info { color: #1f5f86; background: #e6f3fb; border-color: #b5dbef; }
.msg.msg-danger { color: #a3262f; background: #fdecee; border-color: #f5c2c7; }
.msg.msg-success { color: #1d7a4f; background: #e5f6ee; border-color: #b4e2cb; }


/***************************************************
Przyciski – warianty dodatkowe
***************************************************/

.btn:not(.btn-accent):not(.btn-ghost):not(.btn-white):not(.btn-current) { background: var(--c-primary); color: #fff; }
.btn:not(.btn-accent):not(.btn-ghost):not(.btn-white):not(.btn-current):hover { background: var(--c-primary-dark); }
.btn.btn-ghost { background: #fff; color: var(--c-primary); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.pagination .btn:not(.btn-current) { background: #fff; color: var(--c-primary); border-color: var(--c-border); }
.pagination .btn:not(.btn-current):hover { background: #fff; border-color: var(--c-primary); }
.pagination .btn-current { background: var(--c-primary); color: #fff; }


/***************************************************
RWD – podstrony
***************************************************/

@media (max-width: 1080px) {
    .contact-grid, .work-show { grid-template-columns: 1fr; }
    .related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .form-label, .form-control-group { float: none; width: 100%; max-width: none; flex: 0 0 100%; }
}
@media (max-width: 640px) {
    .page-hero { padding: 48px 0 44px; }
    .page { padding-top: 48px; }
    .prose { font-size: 16px; }
    .prose th, .prose td { padding: 10px 12px; }
    .related { grid-template-columns: 1fr; }
    .news-item { grid-template-columns: 1fr; padding: 20px; }
    .contact-card, .auth-card { padding: 28px 22px; }
    .footer { margin-top: 72px; }
}

