
:root{
  --bg:#05070c; --bg-soft:#090e19; --card:rgba(255,255,255,.06); --card2:rgba(255,255,255,.09);
  --line:rgba(210,230,255,.14); --text:#f2f7ff; --muted:#9fb0c6; --cyan:#5df4ff; --violet:#9b63ff;
  --green:#7cffb2; --max:1180px; --radius:26px; --shadow:0 24px 80px rgba(0,0,0,.42);
}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;overflow-x:hidden}
body:before{content:"";position:fixed;inset:0;z-index:-3;background:
  radial-gradient(circle at 14% 16%,rgba(93,244,255,.18),transparent 28%),
  radial-gradient(circle at 80% 4%,rgba(155,99,255,.2),transparent 32%),
  linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:auto,auto,44px 44px,44px 44px}
body:after{content:"";position:fixed;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(5,7,12,.05),#05070c 75%);pointer-events:none}
a{color:inherit;text-decoration:none} p{color:var(--muted);line-height:1.75;font-size:1.02rem}.container{width:min(var(--max),calc(100% - 36px));margin-inline:auto}
.site-header{position:sticky;top:12px;z-index:100;width:min(var(--max),calc(100% - 28px));margin:12px auto 0;border:1px solid var(--line);border-radius:24px;background:rgba(6,9,16,.84);backdrop-filter:blur(22px);box-shadow:var(--shadow)}
.nav{height:76px;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:0 16px}.brand{display:flex;align-items:center;gap:12px;min-width:230px}.brand-logo{width:48px;height:48px;display:grid;place-items:center;flex:0 0 48px;border-radius:16px;background:linear-gradient(135deg,var(--cyan),var(--violet));color:#061018;font-weight:950}.brand-text strong{display:block;line-height:1;color:#fff}.brand-text small{display:block;margin-top:4px;color:var(--muted);font-size:.78rem}.nav-links{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex:1}.nav-links a,.lang-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:10px 11px;font-size:.86rem;font-weight:850;color:#dbe7f7;white-space:nowrap}.nav-links a:hover,.nav-links a.active,.lang-btn.active{background:rgba(255,255,255,.09);color:#fff}.lang-switch{display:flex;gap:4px;margin-left:6px;padding-left:10px;border-left:1px solid var(--line)}.lang-btn{border:0;background:transparent;cursor:pointer}.menu-btn{display:none;border:1px solid var(--line);background:rgba(255,255,255,.07);color:var(--text);padding:10px 13px;border-radius:14px;font-weight:900;cursor:pointer}.mobile-actions{display:none;align-items:center;gap:8px}
.hero{min-height:calc(100vh - 90px);display:grid;align-items:center;padding:78px 0 56px}.hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:42px;align-items:center}.eyebrow{letter-spacing:.22em;text-transform:uppercase;color:var(--cyan);font-weight:950;font-size:.8rem}.hero h1{font-size:clamp(3.2rem,7vw,6.7rem);line-height:.88;letter-spacing:-.075em;margin:18px 0 22px}.lead{font-size:1.16rem;max-width:760px;color:#c8d7eb}.gradient-text{background:linear-gradient(90deg,#fff 10%,var(--cyan),var(--violet));-webkit-background-clip:text;background-clip:text;color:transparent}.cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:14px 20px;border:1px solid var(--line);font-weight:950;transition:.2s ease;background:rgba(255,255,255,.04)}.btn.primary{border:0;background:linear-gradient(90deg,var(--cyan),var(--violet));color:#061018}.btn:hover{transform:translateY(-2px);border-color:rgba(93,244,255,.45)}
.hero-visual{position:relative;border:1px solid var(--line);border-radius:34px;min-height:500px;padding:28px;background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.025));box-shadow:var(--shadow);overflow:hidden}.browser{position:relative;border:1px solid var(--line);border-radius:24px;background:rgba(7,11,19,.92);overflow:hidden;transform:rotate(-1.5deg);box-shadow:0 20px 60px rgba(0,0,0,.35)}.browser-bar{height:54px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 18px;gap:8px}.dot{width:12px;height:12px;border-radius:99px;background:#627089}.screen{padding:24px}.fake-line{height:20px;border-radius:99px;background:linear-gradient(90deg,var(--cyan),rgba(93,244,255,.08));margin:16px 0}.fake-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:28px}.fake-grid div{height:86px;border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,.04))}.float-pill{position:absolute;z-index:2;background:rgba(5,7,12,.86);border:1px solid var(--line);padding:12px 16px;border-radius:999px;font-weight:950;box-shadow:0 18px 50px rgba(0,0,0,.32)}.pill-one{right:18px;top:26px}.pill-two{left:16px;bottom:24px}
.ticker{overflow:hidden;border-block:1px solid var(--line);background:rgba(255,255,255,.035);white-space:nowrap}.ticker-track{display:flex;width:max-content;gap:34px;animation:ticker 55s linear infinite;padding:16px 0}.ticker span{color:#ddecff;font-weight:900}.ticker:hover .ticker-track{animation-play-state:paused}@keyframes ticker{to{transform:translateX(-50%)}}
section{padding:86px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}.section-head h2{font-size:clamp(2.15rem,4.2vw,4.1rem);letter-spacing:-.055em;line-height:.95;margin:0}.section-head p{max-width:650px;margin:0}.grid{display:grid;gap:18px}.cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cards-2{grid-template-columns:repeat(2,minmax(0,1fr))}.card{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(145deg,var(--card2),rgba(255,255,255,.025));padding:24px;box-shadow:0 18px 55px rgba(0,0,0,.22);position:relative;overflow:hidden}.card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 0%,rgba(93,244,255,.08),transparent 38%);pointer-events:none}.card>*{position:relative}.card h3{font-size:1.32rem;margin:0 0 10px}.badge{display:inline-flex;margin-bottom:14px;border:1px solid rgba(93,244,255,.3);color:var(--cyan);border-radius:999px;padding:7px 11px;font-weight:900;font-size:.78rem}.preview-img,.post-card img{width:100%;height:210px;object-fit:cover;border-radius:20px;border:1px solid var(--line);background:#111827;margin-bottom:18px}
.preview-img{height:clamp(235px,22vw,310px);object-fit:contain;background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(0,0,0,.22));padding:0}
.portfolio-page{max-width:var(--max)}
.portfolio-page .preview-img{height:clamp(250px,23vw,330px);object-position:center center}.price{font-size:2.45rem;font-weight:950;letter-spacing:-.06em}.price small{font-size:1rem;color:var(--muted)}.list{padding:0;margin:18px 0 0;list-style:none}.list li{padding:10px 0;border-top:1px solid var(--line);color:#c9d8e8;line-height:1.55}.contact-panel{display:grid;grid-template-columns:.9fr 1.1fr;gap:18px;align-items:start}.form{display:grid;gap:12px}.form input,.form select,.form textarea,.chat-input input{width:100%;border:1px solid var(--line);background:rgba(255,255,255,.055);color:var(--text);border-radius:18px;padding:15px 16px;font:inherit}.form textarea{min-height:150px;resize:vertical}.form select option{background:#0b101a;color:#fff}.form-status{font-weight:800;color:var(--green);min-height:24px}.blog-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.post-card{display:flex;flex-direction:column;min-height:100%}.post-card h3{line-height:1.15}.article{max-width:900px;margin:0 auto;padding:70px 0}.article h1{font-size:clamp(2.7rem,6vw,5.2rem);line-height:.9;letter-spacing:-.06em}.article h2{font-size:2rem;margin-top:44px}.article p,.article li{font-size:1.08rem;color:#c6d5e7;line-height:1.85}.article-img{width:100%;border-radius:28px;border:1px solid var(--line);margin:20px 0 30px}.footer{padding:44px 0;border-top:1px solid var(--line);background:#030509}.footer-grid{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.footer a{color:#cfe3ff;display:inline-block;margin:6px 12px 6px 0}
.chat-widget{position:fixed;right:18px;bottom:18px;z-index:120}.chat-toggle{border:0;border-radius:999px;padding:16px 19px;background:linear-gradient(90deg,var(--cyan),var(--violet));color:#061018;font-weight:950;box-shadow:0 18px 60px rgba(93,244,255,.24);cursor:pointer}.chat-box{display:none;width:min(410px,calc(100vw - 28px));height:min(570px,calc(100vh - 115px));border:1px solid var(--line);border-radius:26px;background:rgba(7,10,17,.98);backdrop-filter:blur(18px);overflow:hidden;box-shadow:var(--shadow)}.chat-box.open{display:flex;flex-direction:column}.chat-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--line)}.chat-head strong{display:block}.chat-head span{display:block;color:var(--muted);font-size:.86rem;margin-top:2px}.chat-close{background:rgba(255,255,255,.08);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:7px 10px;cursor:pointer}.chat-messages{flex:1;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px}.msg{max-width:88%;padding:12px 14px;border-radius:18px;line-height:1.55;color:#eaf4ff}.msg.bot{background:rgba(93,244,255,.12);border:1px solid rgba(93,244,255,.25)}.msg.user{align-self:flex-end;background:rgba(155,99,255,.18);border:1px solid rgba(155,99,255,.25)}.quick{display:flex;gap:7px;flex-wrap:wrap;padding:0 16px 12px}.quick button{border:1px solid var(--line);background:#fff;color:#05070c;border-radius:999px;padding:8px 10px;font-weight:900;cursor:pointer}.chat-input{display:flex;gap:8px;padding:12px;border-top:1px solid var(--line)}.chat-input button{border:0;border-radius:16px;padding:0 14px;background:linear-gradient(90deg,var(--cyan),var(--violet));font-weight:950;cursor:pointer}.reveal{opacity:0;transform:translateY(20px);transition:opacity .55s ease,transform .55s ease}.reveal.show{opacity:1;transform:none}
@media(max-width:820px){.nav{height:auto;min-height:72px;align-items:center;flex-wrap:wrap;padding:12px}.mobile-actions{display:flex;margin-left:auto}.menu-btn{display:inline-flex}.nav-links{display:none;flex:0 0 100%;width:100%;padding-top:12px;border-top:1px solid var(--line);justify-content:flex-start;gap:8px}.nav-links.open{display:flex}.lang-switch{border-left:0;margin-left:0;padding-left:0}.hero-grid,.contact-panel,.cards-3,.cards-2,.blog-list{grid-template-columns:1fr}.hero{padding-top:54px}.hero-visual{min-height:360px}.section-head{display:block}.section-head p{margin-top:12px}}
@media(min-width:821px){.nav-links{display:flex!important}.menu-btn{display:none!important}}
@media(max-width:560px){.container{width:min(100% - 24px,var(--max))}.site-header{width:calc(100% - 20px);top:8px}.brand{min-width:0}.brand-logo{width:42px;height:42px;flex-basis:42px}.brand-text strong{font-size:.92rem}.brand-text small{font-size:.7rem}.hero h1{font-size:3.05rem}.hero-visual{display:none}.card{padding:18px}.btn{width:100%}.footer-grid{display:block}.chat-widget{right:10px;bottom:10px}.chat-toggle{padding:14px 16px}.article{padding:35px 0}.article h1{font-size:2.65rem}}


/* Cookie consent */
.cookie-banner{
  position:fixed;
  left:50%;
  bottom:22px;
  transform:translate(-50%,24px);
  width:min(920px,calc(100% - 28px));
  z-index:9999;
  background:linear-gradient(135deg,rgba(12,18,28,.96),rgba(24,16,39,.96));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 24px 90px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.08);
  border-radius:24px;
  padding:18px;
  display:none;
  opacity:0;
  backdrop-filter:blur(22px);
}
.cookie-banner.show{display:block;animation:cookieIn .35s ease forwards;}
@keyframes cookieIn{to{opacity:1;transform:translate(-50%,0)}}
.cookie-inner{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center}
.cookie-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--cyan);font-weight:900;letter-spacing:.12em;text-transform:uppercase;font-size:.76rem;margin-bottom:8px}
.cookie-title{font-size:1.12rem;font-weight:900;color:#fff;margin-bottom:6px}
.cookie-text{color:var(--muted);line-height:1.65;margin:0;max-width:680px}
.cookie-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.cookie-actions .btn{white-space:nowrap;border-radius:999px;padding:13px 18px;font-weight:900;cursor:pointer}
.cookie-actions .btn.ghost{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.18);color:#fff}
.cookie-actions .btn.primary{border:0;color:#06070b;background:linear-gradient(90deg,var(--cyan),var(--violet))}
@media(max-width:760px){.cookie-inner{grid-template-columns:1fr}.cookie-actions{justify-content:stretch}.cookie-actions .btn{flex:1}.cookie-banner{bottom:14px;border-radius:20px}}


/* =========================
   V12: Theme switcher layer
   Fundament strony zostaje ten sam — zmieniamy tylko zmienne, tła i detale UI.
   ========================= */
body[data-theme="tech"]{
  --bg:#05070c; --bg-soft:#090e19; --card:rgba(255,255,255,.06); --card2:rgba(255,255,255,.09);
  --line:rgba(210,230,255,.14); --text:#f2f7ff; --muted:#9fb0c6; --cyan:#5df4ff; --violet:#9b63ff;
  --green:#7cffb2; --radius:26px; --shadow:0 24px 80px rgba(0,0,0,.42);
}
body[data-theme="clean"]{
  --bg:#f7f8fb; --bg-soft:#ffffff; --card:rgba(255,255,255,.86); --card2:#ffffff;
  --line:rgba(15,23,42,.12); --text:#111827; --muted:#5b6472; --cyan:#2563eb; --violet:#0f766e;
  --green:#16a34a; --radius:22px; --shadow:0 22px 70px rgba(15,23,42,.10);
}
body[data-theme="premium"]{
  --bg:#060504; --bg-soft:#100d0a; --card:rgba(255,255,255,.055); --card2:rgba(255,255,255,.082);
  --line:rgba(245,215,152,.18); --text:#fff8ed; --muted:#c9bda9; --cyan:#f7c96b; --violet:#c08b3e;
  --green:#e8c16d; --radius:24px; --shadow:0 24px 90px rgba(0,0,0,.48);
}
body[data-theme="minimal"]{
  --bg:#ffffff; --bg-soft:#f4f6f9; --card:#ffffff; --card2:#ffffff;
  --line:rgba(17,24,39,.105); --text:#0b1220; --muted:#667085; --cyan:#111827; --violet:#64748b;
  --green:#2563eb; --radius:18px; --shadow:0 18px 55px rgba(15,23,42,.08);
}
body[data-theme="creative"]{
  --bg:#10091b; --bg-soft:#170f29; --card:rgba(255,255,255,.075); --card2:rgba(255,255,255,.105);
  --line:rgba(255,255,255,.16); --text:#fff7ff; --muted:#d5c8e8; --cyan:#ff7ac8; --violet:#7c5cff;
  --green:#7cffcb; --radius:30px; --shadow:0 24px 85px rgba(124,92,255,.18);
}
body[data-theme="local"]{
  --bg:#0b1110; --bg-soft:#0e1714; --card:rgba(255,255,255,.055); --card2:rgba(255,255,255,.085);
  --line:rgba(160,206,177,.16); --text:#f1f8f3; --muted:#aebdaf; --cyan:#78d38b; --violet:#3f8f5a;
  --green:#92e6a7; --radius:16px; --shadow:0 22px 70px rgba(0,0,0,.34);
}
body[data-theme="clean"],body[data-theme="minimal"]{color:var(--text)}
body[data-theme="clean"]:before{background:
  radial-gradient(circle at 12% 10%,rgba(37,99,235,.12),transparent 26%),
  radial-gradient(circle at 84% 2%,rgba(15,118,110,.10),transparent 28%),
  linear-gradient(rgba(15,23,42,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(15,23,42,.045) 1px,transparent 1px);background-size:auto,auto,54px 54px,54px 54px}
body[data-theme="clean"]:after{background:linear-gradient(180deg,rgba(247,248,251,.32),#f7f8fb 76%)}
body[data-theme="minimal"]:before{background:linear-gradient(180deg,#fff,#f7f8fb);background-size:auto}
body[data-theme="minimal"]:after{background:radial-gradient(circle at 70% 0%,rgba(17,24,39,.055),transparent 32%)}
body[data-theme="premium"]:before{background:
  radial-gradient(circle at 18% 12%,rgba(247,201,107,.16),transparent 27%),
  radial-gradient(circle at 80% 0%,rgba(192,139,62,.14),transparent 30%),
  linear-gradient(rgba(245,215,152,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(245,215,152,.045) 1px,transparent 1px);background-size:auto,auto,48px 48px,48px 48px}
body[data-theme="premium"]:after{background:linear-gradient(180deg,rgba(6,5,4,.05),#060504 78%)}
body[data-theme="creative"]:before{background:
  radial-gradient(circle at 12% 14%,rgba(255,122,200,.18),transparent 26%),
  radial-gradient(circle at 80% 0%,rgba(124,92,255,.22),transparent 34%),
  radial-gradient(circle at 55% 55%,rgba(124,255,203,.08),transparent 25%),
  linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:auto,auto,auto,46px 46px,46px 46px}
body[data-theme="local"]:before{background:
  radial-gradient(circle at 14% 10%,rgba(120,211,139,.14),transparent 26%),
  radial-gradient(circle at 78% 8%,rgba(63,143,90,.16),transparent 32%),
  linear-gradient(rgba(160,206,177,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(160,206,177,.04) 1px,transparent 1px);background-size:auto,auto,50px 50px,50px 50px}
body[data-theme="local"]:after{background:linear-gradient(180deg,rgba(11,17,16,.04),#0b1110 78%)}

body[data-theme="clean"] .site-header,
body[data-theme="minimal"] .site-header{background:rgba(255,255,255,.86);box-shadow:0 18px 55px rgba(15,23,42,.10)}
body[data-theme="clean"] .brand-text strong,
body[data-theme="minimal"] .brand-text strong,
body[data-theme="clean"] .nav-links a,
body[data-theme="minimal"] .nav-links a,
body[data-theme="clean"] .lang-btn,
body[data-theme="minimal"] .lang-btn{color:#111827}
body[data-theme="clean"] .nav-links a:hover,body[data-theme="clean"] .nav-links a.active,body[data-theme="clean"] .lang-btn.active,
body[data-theme="minimal"] .nav-links a:hover,body[data-theme="minimal"] .nav-links a.active,body[data-theme="minimal"] .lang-btn.active{background:rgba(15,23,42,.07);color:#0b1220}
body[data-theme="clean"] .card,body[data-theme="minimal"] .card{background:var(--card2);box-shadow:var(--shadow)}
body[data-theme="clean"] .form input,body[data-theme="clean"] .form select,body[data-theme="clean"] .form textarea,body[data-theme="clean"] .chat-input input,
body[data-theme="minimal"] .form input,body[data-theme="minimal"] .form select,body[data-theme="minimal"] .form textarea,body[data-theme="minimal"] .chat-input input{background:#fff;color:#111827}
body[data-theme="clean"] .form select option,body[data-theme="minimal"] .form select option{background:#fff;color:#111827}
body[data-theme="minimal"] .hero-visual{background:#fff}.hero-visual,.browser,.card,.site-header,.btn,.chat-box,.cookie-banner,.preview-img{transition:background .25s ease,border-color .25s ease,box-shadow .25s ease,color .25s ease,transform .2s ease}
body[data-theme="clean"] .float-pill,body[data-theme="minimal"] .float-pill{background:#fff;color:#111827}
body[data-theme="clean"] .screen,body[data-theme="minimal"] .screen{color:#111827}.screen strong{color:inherit}
body[data-theme="minimal"] .ticker{background:#fff} body[data-theme="minimal"] .ticker span,body[data-theme="clean"] .ticker span{color:#111827}
body[data-theme="clean"] .gradient-text,body[data-theme="minimal"] .gradient-text{background:linear-gradient(90deg,#111827,var(--cyan));-webkit-background-clip:text;background-clip:text;color:transparent}
body[data-theme="premium"] .btn.primary,body[data-theme="premium"] .chat-toggle,body[data-theme="premium"] .chat-input button,body[data-theme="premium"] .cookie-actions .btn.primary{color:#171008;background:linear-gradient(90deg,#f8d88b,#b98231)}
body[data-theme="creative"] .btn.primary,body[data-theme="creative"] .chat-toggle,body[data-theme="creative"] .chat-input button,body[data-theme="creative"] .cookie-actions .btn.primary{color:#16091d;background:linear-gradient(90deg,#ff7ac8,#7c5cff)}
body[data-theme="local"] .btn.primary,body[data-theme="local"] .chat-toggle,body[data-theme="local"] .chat-input button,body[data-theme="local"] .cookie-actions .btn.primary{color:#06110a;background:linear-gradient(90deg,#92e6a7,#3f8f5a)}
body[data-theme="minimal"] .btn.primary,body[data-theme="minimal"] .chat-toggle,body[data-theme="minimal"] .chat-input button,body[data-theme="minimal"] .cookie-actions .btn.primary{color:#fff;background:#111827}
body[data-theme="minimal"] .hero-visual .browser{transform:none} body[data-theme="minimal"] .float-pill{display:none} body[data-theme="minimal"] .fake-line{background:#111827}
body[data-theme="local"] .card,body[data-theme="local"] .preview-img{border-radius:16px} body[data-theme="creative"] .brand-logo{border-radius:18px}

.theme-switch{position:relative;display:inline-flex;align-items:center;z-index:5}
.theme-current{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:#dbe7f7;border-radius:999px;padding:10px 11px;font-size:.86rem;font-weight:850;cursor:pointer;white-space:nowrap}
.theme-current:after{content:"▾";font-size:.78em;opacity:.72}.theme-current:hover,.theme-switch.open .theme-current{background:rgba(255,255,255,.09);color:#fff}
.theme-menu{position:absolute;top:calc(100% + 12px);right:0;min-width:245px;padding:10px;border:1px solid var(--line);border-radius:20px;background:rgba(7,10,17,.98);box-shadow:0 24px 80px rgba(0,0,0,.46);backdrop-filter:blur(20px);display:none}
.theme-switch.open .theme-menu{display:grid;gap:6px;animation:themeDrop .16s ease both}@keyframes themeDrop{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.theme-menu button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:0;border-radius:14px;background:transparent;color:var(--text);padding:11px 12px;font-weight:850;text-align:left;cursor:pointer}.theme-menu button:hover,.theme-menu button.active{background:rgba(255,255,255,.09)}.theme-menu button.active:after{content:"✓";color:var(--cyan);font-weight:950}.theme-hint{display:block;color:var(--muted);font-size:.72rem;font-weight:700;margin-top:2px}
body[data-theme="clean"] .theme-current,body[data-theme="minimal"] .theme-current{color:#111827} body[data-theme="clean"] .theme-current:hover,body[data-theme="minimal"] .theme-current:hover,body[data-theme="clean"] .theme-switch.open .theme-current,body[data-theme="minimal"] .theme-switch.open .theme-current{background:rgba(15,23,42,.07);color:#0b1220}
body[data-theme="clean"] .theme-menu,body[data-theme="minimal"] .theme-menu{background:#fff;box-shadow:0 22px 70px rgba(15,23,42,.12)} body[data-theme="clean"] .theme-menu button,body[data-theme="minimal"] .theme-menu button{color:#111827} body[data-theme="clean"] .theme-menu button:hover,body[data-theme="clean"] .theme-menu button.active,body[data-theme="minimal"] .theme-menu button:hover,body[data-theme="minimal"] .theme-menu button.active{background:rgba(15,23,42,.07)}
@media(max-width:1040px){.nav-links a,.lang-btn,.theme-current{font-size:.81rem;padding:9px 8px}.brand{min-width:205px}.nav{gap:12px}}
@media(max-width:820px){.theme-switch{width:100%;display:block}.theme-current{width:100%;justify-content:space-between;background:rgba(255,255,255,.055)}.theme-menu{position:static;min-width:0;width:100%;margin-top:8px;box-shadow:none}.theme-switch.open .theme-menu{display:grid}.lang-switch{width:100%;padding-top:4px}}

/* =========================
   V13: layout switcher layer
   To nie jest tylko zmiana kolorów. Stelaż HTML zostaje, ale CSS przestawia układ sekcji,
   karty, portfolio, blog, header i charakter strony.
   ========================= */
body[data-layout="tech"]{
  --bg:#05070c; --bg-soft:#090e19; --card:rgba(255,255,255,.06); --card2:rgba(255,255,255,.09);
  --line:rgba(210,230,255,.14); --text:#f2f7ff; --muted:#9fb0c6; --cyan:#5df4ff; --violet:#9b63ff;
  --green:#7cffb2; --radius:26px; --shadow:0 24px 80px rgba(0,0,0,.42);
}
body[data-layout="clean"]{
  --bg:#f6f7fb; --bg-soft:#ffffff; --card:#ffffff; --card2:#ffffff;
  --line:rgba(17,24,39,.11); --text:#111827; --muted:#566172; --cyan:#2563eb; --violet:#0f766e;
  --green:#16a34a; --radius:20px; --shadow:0 20px 60px rgba(17,24,39,.09);
}
body[data-layout="minimal"]{
  --bg:#ffffff; --bg-soft:#f5f5f7; --card:#f5f5f7; --card2:#ffffff;
  --line:rgba(0,0,0,.09); --text:#111111; --muted:#66666d; --cyan:#0066cc; --violet:#111111;
  --green:#1d7f45; --radius:28px; --shadow:0 22px 70px rgba(0,0,0,.08);
}
body[data-layout="clean"],body[data-layout="minimal"]{background:var(--bg);color:var(--text)}
body[data-layout="clean"]:before{background:
  radial-gradient(circle at 12% 8%,rgba(37,99,235,.10),transparent 25%),
  radial-gradient(circle at 88% 0%,rgba(15,118,110,.08),transparent 30%),
  linear-gradient(rgba(17,24,39,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(17,24,39,.035) 1px,transparent 1px);background-size:auto,auto,58px 58px,58px 58px}
body[data-layout="clean"]:after{background:linear-gradient(180deg,rgba(246,247,251,.15),#f6f7fb 78%)}
body[data-layout="minimal"]:before{background:linear-gradient(180deg,#fff 0%,#f5f5f7 100%)}
body[data-layout="minimal"]:after{background:none}

/* wspólne jasne poprawki */
body[data-layout="clean"] p,body[data-layout="minimal"] p{color:var(--muted)}
body[data-layout="clean"] .site-header,body[data-layout="minimal"] .site-header{background:rgba(255,255,255,.82);border-color:var(--line);box-shadow:0 14px 50px rgba(17,24,39,.08)}
body[data-layout="clean"] .brand-text strong,body[data-layout="minimal"] .brand-text strong,
body[data-layout="clean"] .nav-links a,body[data-layout="minimal"] .nav-links a,
body[data-layout="clean"] .lang-btn,body[data-layout="minimal"] .lang-btn,
body[data-layout="clean"] .theme-current,body[data-layout="minimal"] .theme-current{color:#111827}
body[data-layout="clean"] .nav-links a:hover,body[data-layout="clean"] .nav-links a.active,body[data-layout="clean"] .lang-btn.active,body[data-layout="clean"] .theme-current:hover,body[data-layout="clean"] .theme-switch.open .theme-current,
body[data-layout="minimal"] .nav-links a:hover,body[data-layout="minimal"] .nav-links a.active,body[data-layout="minimal"] .lang-btn.active,body[data-layout="minimal"] .theme-current:hover,body[data-layout="minimal"] .theme-switch.open .theme-current{background:rgba(17,24,39,.07);color:#0b1220}
body[data-layout="clean"] .theme-menu,body[data-layout="minimal"] .theme-menu{background:rgba(255,255,255,.98);box-shadow:0 22px 70px rgba(17,24,39,.12)}
body[data-layout="clean"] .theme-menu button,body[data-layout="minimal"] .theme-menu button{color:#111827}
body[data-layout="clean"] .theme-menu button:hover,body[data-layout="clean"] .theme-menu button.active,
body[data-layout="minimal"] .theme-menu button:hover,body[data-layout="minimal"] .theme-menu button.active{background:rgba(17,24,39,.07)}
body[data-layout="clean"] .card,body[data-layout="minimal"] .card{background:var(--card2);border-color:var(--line);box-shadow:var(--shadow);color:var(--text)}
body[data-layout="clean"] .card:before,body[data-layout="minimal"] .card:before{display:none}
body[data-layout="clean"] .list li,body[data-layout="minimal"] .list li,
body[data-layout="clean"] .article p,body[data-layout="clean"] .article li,
body[data-layout="minimal"] .article p,body[data-layout="minimal"] .article li{color:var(--muted)}
body[data-layout="clean"] .form input,body[data-layout="clean"] .form select,body[data-layout="clean"] .form textarea,body[data-layout="clean"] .chat-input input,
body[data-layout="minimal"] .form input,body[data-layout="minimal"] .form select,body[data-layout="minimal"] .form textarea,body[data-layout="minimal"] .chat-input input{background:#fff;color:#111827;border-color:var(--line)}
body[data-layout="clean"] .form select option,body[data-layout="minimal"] .form select option{background:#fff;color:#111827}
body[data-layout="clean"] .btn.primary,body[data-layout="clean"] .chat-toggle,body[data-layout="clean"] .chat-input button,body[data-layout="clean"] .cookie-actions .btn.primary{background:#2563eb;color:#fff}
body[data-layout="minimal"] .btn.primary,body[data-layout="minimal"] .chat-toggle,body[data-layout="minimal"] .chat-input button,body[data-layout="minimal"] .cookie-actions .btn.primary{background:#111;color:#fff}
body[data-layout="clean"] .btn,body[data-layout="minimal"] .btn{background:#fff;border-color:var(--line);color:var(--text)}
body[data-layout="clean"] .chat-box,body[data-layout="minimal"] .chat-box{background:rgba(255,255,255,.98);color:#111827}.chat-head span{color:var(--muted)}
body[data-layout="clean"] .msg.bot,body[data-layout="minimal"] .msg.bot{background:#eef4ff;color:#111827;border-color:#d8e6ff}
body[data-layout="clean"] .msg.user,body[data-layout="minimal"] .msg.user{background:#111827;color:#fff;border-color:#111827}
body[data-layout="clean"] .quick button,body[data-layout="minimal"] .quick button{background:#f3f4f6;color:#111827}

/* CLEAN BUSINESS: wygląd jak zupełnie inna spokojna strona firmowa */
body[data-layout="clean"] .site-header{top:0;margin-top:0;width:100%;border-radius:0;border-left:0;border-right:0;border-top:0}
body[data-layout="clean"] .nav{height:84px;width:min(var(--max),calc(100% - 36px));margin:auto;padding-inline:0}
body[data-layout="clean"] .brand-logo{border-radius:50%;background:#111827;color:#fff}
body[data-layout="clean"] .hero{min-height:auto;padding:96px 0 56px;background:linear-gradient(180deg,#fff,#f6f7fb)}
body[data-layout="clean"] .hero-grid{grid-template-columns:.92fr 1.08fr;gap:56px}
body[data-layout="clean"] .eyebrow{color:#2563eb;letter-spacing:.14em}
body[data-layout="clean"] .hero h1{font-size:clamp(2.8rem,5.3vw,5.1rem);line-height:1.02;letter-spacing:-.055em;margin-top:12px}
body[data-layout="clean"] .lead{color:#4b5563;font-size:1.1rem;max-width:690px}
body[data-layout="clean"] .hero-visual{min-height:420px;background:#fff;border-radius:26px;padding:22px;box-shadow:0 22px 80px rgba(17,24,39,.1)}
body[data-layout="clean"] .hero-visual:before{content:"Plan współpracy";display:block;font-weight:950;font-size:1.05rem;margin-bottom:16px;color:#111827}
body[data-layout="clean"] .browser{transform:none;background:#fff;border-radius:22px;box-shadow:none}
body[data-layout="clean"] .browser-bar{background:#f9fafb}.screen{color:inherit}
body[data-layout="clean"] .fake-line{background:#dbeafe}.fake-grid div{background:#f1f5f9}
body[data-layout="clean"] .float-pill{background:#fff;color:#111827;border-color:#dbeafe;box-shadow:0 14px 40px rgba(37,99,235,.12)}
body[data-layout="clean"] .ticker{background:#111827;border:0}.ticker span{color:inherit}body[data-layout="clean"] .ticker span{color:#fff}
body[data-layout="clean"] section{padding:72px 0}
body[data-layout="clean"] .section-head{align-items:start;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:26px}
body[data-layout="clean"] .section-head h2{font-size:clamp(2rem,3.7vw,3.45rem);line-height:1.04;letter-spacing:-.045em}
body[data-layout="clean"] .services-section .cards-3{grid-template-columns:1fr;gap:14px}
body[data-layout="clean"] .services-section .card{display:grid;grid-template-columns:70px 180px 1fr;align-items:center;gap:18px;padding:22px 26px;border-radius:22px}
body[data-layout="clean"] .layout-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;background:#eef4ff;color:#2563eb;font-size:1.35rem;font-weight:950}
body[data-layout="clean"] .badge{margin:0;justify-content:center;border-color:#dbeafe;color:#2563eb;background:#eff6ff}
body[data-layout="clean"] .portfolio-section .cards-2{grid-template-columns:1fr;gap:16px}
body[data-layout="clean"] .project-card{display:grid;grid-template-columns:360px 1fr;align-items:center;gap:24px;padding:18px}
body[data-layout="clean"] .project-card .preview-img{height:230px;margin:0;border-radius:18px;background:#f3f4f6}
body[data-layout="clean"] .contact-panel{grid-template-columns:1fr 420px;background:#fff;border:1px solid var(--line);border-radius:28px;padding:32px;box-shadow:var(--shadow)}
body[data-layout="clean"] .contact-panel>.card{box-shadow:none;background:#f9fafb}
body[data-layout="clean"] .blog-list{grid-template-columns:1fr;gap:14px}
body[data-layout="clean"] .post-card{display:grid;grid-template-columns:220px 1fr;gap:22px;align-items:center;padding:16px}
body[data-layout="clean"] .post-card img{height:150px;margin:0;background:#f3f4f6}
body[data-layout="clean"] .footer{background:#fff;color:#111827}
body[data-layout="clean"] .footer a{color:#2563eb}
body[data-layout="clean"] .cookie-banner{background:#fff;color:#111827;border-color:var(--line)}
body[data-layout="clean"] .cookie-title{color:#111827}body[data-layout="clean"] .cookie-actions .btn.ghost{color:#111827;border-color:var(--line);background:#f9fafb}

/* MINIMALISTYKA: duże przestrzenie, gładkie panele, inspiracja apple-like bez kopiowania */
body[data-layout="minimal"] .site-header{top:0;margin-top:0;width:100%;border-radius:0;border:0;background:rgba(250,250,252,.78);box-shadow:none}
body[data-layout="minimal"] .nav{height:54px;width:min(1120px,calc(100% - 36px));margin:auto;padding:0}.brand-logo{transition:.2s ease}
body[data-layout="minimal"] .brand-logo{width:32px;height:32px;flex-basis:32px;border-radius:10px;background:#111;color:#fff;font-size:.82rem}
body[data-layout="minimal"] .brand-text small{display:none}body[data-layout="minimal"] .brand-text strong{font-size:.92rem}
body[data-layout="minimal"] .nav-links a,body[data-layout="minimal"] .lang-btn,body[data-layout="minimal"] .theme-current{font-size:.78rem;padding:7px 9px;font-weight:760}
body[data-layout="minimal"] .hero{min-height:auto;padding:84px 0 28px;text-align:center;background:#fff}
body[data-layout="minimal"] .hero-grid{display:flex;flex-direction:column;gap:32px;max-width:1120px}
body[data-layout="minimal"] .eyebrow{letter-spacing:.08em;color:#6e6e73;text-transform:none;font-size:.95rem}
body[data-layout="minimal"] .hero h1{font-size:clamp(3.6rem,8.6vw,7.6rem);line-height:.92;letter-spacing:-.075em;max-width:1060px;margin:14px auto 18px}
body[data-layout="minimal"] .lead{max-width:780px;margin-inline:auto;color:#55555c;font-size:1.25rem;line-height:1.55}
body[data-layout="minimal"] .cta{justify-content:center}.btn{transition:.2s ease}
body[data-layout="minimal"] .btn{border-radius:999px;padding:12px 18px;background:#f5f5f7}body[data-layout="minimal"] .btn.primary{background:#111;color:#fff}
body[data-layout="minimal"] .hero-visual{width:min(980px,100%);min-height:360px;border:0;background:#f5f5f7;border-radius:42px;box-shadow:none;padding:28px;margin:0 auto}
body[data-layout="minimal"] .browser{transform:none;border:0;background:#fff;border-radius:32px;box-shadow:0 24px 80px rgba(0,0,0,.08)}
body[data-layout="minimal"] .browser-bar{height:42px;background:#fff;border-color:#ededf0}.fake-line{transition:.2s ease}
body[data-layout="minimal"] .fake-line{background:#e5e5ea}.fake-grid div{background:#f5f5f7}
body[data-layout="minimal"] .float-pill{display:none}
body[data-layout="minimal"] .ticker{display:none}
body[data-layout="minimal"] section{padding:12px 0;background:#fff}
body[data-layout="minimal"] main>section:not(.hero){background:#f5f5f7;margin:12px auto;border-radius:0;padding:72px 0}
body[data-layout="minimal"] .section-head{display:block;text-align:center;max-width:820px;margin:0 auto 32px}
body[data-layout="minimal"] .section-head h2{font-size:clamp(2.4rem,5.4vw,5rem);line-height:.96;letter-spacing:-.065em}
body[data-layout="minimal"] .section-head p{margin:14px auto 0;max-width:720px;font-size:1.12rem}
body[data-layout="minimal"] .cards-3{grid-template-columns:repeat(3,1fr)}
body[data-layout="minimal"] .card{border:0;border-radius:34px;background:#fff;box-shadow:none;padding:30px}
body[data-layout="minimal"] .layout-icon{display:block;font-size:2.2rem;margin-bottom:14px;color:#111}
body[data-layout="minimal"] .badge{background:#f5f5f7;border:0;color:#111;padding:8px 12px}
body[data-layout="minimal"] .portfolio-section .cards-2{grid-template-columns:1fr 1fr;gap:14px}
body[data-layout="minimal"] .project-card{padding:0;overflow:hidden;background:#fff;text-align:center}
body[data-layout="minimal"] .project-card .preview-img{height:310px;border:0;border-radius:0;margin:0;background:#f5f5f7;padding:0 10px}
body[data-layout="minimal"] .project-card h3{font-size:1.6rem;margin:22px 24px 6px}.project-card p{margin-inline:24px;margin-bottom:26px}
body[data-layout="minimal"] .contact-panel{display:flex;flex-direction:column;text-align:center;align-items:center;background:#fff;border-radius:40px;padding:52px;box-shadow:none}.contact-panel .cta{justify-content:center}
body[data-layout="minimal"] .contact-panel>.card{width:min(680px,100%);text-align:left;background:#f5f5f7}
body[data-layout="minimal"] .blog-list{grid-template-columns:repeat(3,1fr)}
body[data-layout="minimal"] .post-card{background:#fff;border:0;padding:0;overflow:hidden}.post-card img{transition:.2s ease}
body[data-layout="minimal"] .post-card img{height:205px;border:0;border-radius:0;margin:0;background:#f5f5f7}
body[data-layout="minimal"] .post-card h3,body[data-layout="minimal"] .post-card p{padding-inline:22px}body[data-layout="minimal"] .post-card p{padding-bottom:22px}
body[data-layout="minimal"] .footer{background:#f5f5f7;border-color:#e5e5ea;color:#111}body[data-layout="minimal"] .footer a{color:#0066cc}
body[data-layout="minimal"] .cookie-banner{background:#fff;color:#111;border-color:var(--line);box-shadow:0 24px 80px rgba(0,0,0,.16)}
body[data-layout="minimal"] .cookie-title{color:#111}body[data-layout="minimal"] .cookie-actions .btn.ghost{color:#111;border-color:var(--line);background:#f5f5f7}

@media(max-width:980px){
  body[data-layout="clean"] .hero-grid,body[data-layout="clean"] .contact-panel{grid-template-columns:1fr}
  body[data-layout="clean"] .services-section .card{grid-template-columns:60px 1fr;align-items:start}body[data-layout="clean"] .services-section .card p{grid-column:2}
  body[data-layout="clean"] .project-card,body[data-layout="clean"] .post-card{grid-template-columns:1fr}
  body[data-layout="clean"] .project-card .preview-img,body[data-layout="clean"] .post-card img{width:100%;height:230px}
  body[data-layout="minimal"] .cards-3,body[data-layout="minimal"] .portfolio-section .cards-2,body[data-layout="minimal"] .blog-list{grid-template-columns:1fr}
}
@media(max-width:820px){
  body[data-layout="clean"] .site-header,body[data-layout="minimal"] .site-header{width:calc(100% - 20px);top:8px;margin-top:8px;border:1px solid var(--line);border-radius:22px}
  body[data-layout="clean"] .nav,body[data-layout="minimal"] .nav{height:auto;width:100%;padding:12px}
  body[data-layout="clean"] .nav-links,body[data-layout="minimal"] .nav-links{background:transparent}
  body[data-layout="clean"] .theme-switch,body[data-layout="minimal"] .theme-switch{width:100%}
  body[data-layout="clean"] .hero,body[data-layout="minimal"] .hero{padding-top:54px}
}
@media(max-width:560px){
  body[data-layout="clean"] .services-section .card{grid-template-columns:1fr}.services-section .card p{grid-column:auto}
  body[data-layout="minimal"] .hero h1{font-size:3.25rem}body[data-layout="minimal"] .hero-visual{display:none}body[data-layout="minimal"] main>section:not(.hero){padding:48px 0}
}
/* final safety overrides */
body[data-layout="tech"] .btn.primary,body[data-layout="tech"] .chat-toggle,body[data-layout="tech"] .chat-input button,body[data-layout="tech"] .cookie-actions .btn.primary{background:linear-gradient(90deg,var(--cyan),var(--violet));color:#061018}
body[data-layout="clean"] .btn.primary,body[data-layout="clean"] .chat-toggle,body[data-layout="clean"] .chat-input button,body[data-layout="clean"] .cookie-actions .btn.primary{background:#2563eb;color:#fff;border:0}
body[data-layout="minimal"] .btn.primary,body[data-layout="minimal"] .chat-toggle,body[data-layout="minimal"] .chat-input button,body[data-layout="minimal"] .cookie-actions .btn.primary{background:#111;color:#fff;border:0}


/* =========================================================
   V14 LAYOUT SWITCHER — nie tylko kolory, ale inne układy.
   AI Tech zostaje bazą. Clean i Minimalistyka przebudowują
   hero, sekcje, karty, portfolio, blog, CTA i odstępy.
   ========================================================= */

body[data-layout="clean"],
body[data-layout="minimal"]{
  --max:1200px;
  --radius:22px;
  transition:background .35s ease,color .35s ease;
}

body[data-layout="clean"]{
  --bg:#f4f2ed;
  --bg-soft:#fffaf1;
  --card:#ffffff;
  --card2:#ffffff;
  --line:rgba(30,41,59,.12);
  --text:#171717;
  --muted:#5e6470;
  --cyan:#f59e0b;
  --violet:#111827;
  --green:#15803d;
  --shadow:0 18px 50px rgba(15,23,42,.10);
  background:var(--bg);
  color:var(--text);
}
body[data-layout="clean"]:before{
  background:
    radial-gradient(circle at 0% 10%,rgba(245,158,11,.18),transparent 28%),
    radial-gradient(circle at 88% 0%,rgba(17,24,39,.08),transparent 28%),
    linear-gradient(135deg,rgba(255,255,255,.85),rgba(244,242,237,.92));
  background-size:auto;
}
body[data-layout="clean"]:after{background:linear-gradient(180deg,rgba(244,242,237,.15),rgba(244,242,237,.96) 68%)}
body[data-layout="clean"] p,
body[data-layout="clean"] .article p,
body[data-layout="clean"] .article li{color:var(--muted)}
body[data-layout="clean"] .site-header{
  top:0;width:100%;margin:0;border-width:0 0 1px 0;border-radius:0;background:rgba(255,255,255,.92);box-shadow:0 8px 30px rgba(15,23,42,.06)
}
body[data-layout="clean"] .nav{height:82px;width:min(var(--max),calc(100% - 36px));margin-inline:auto;padding:0}
body[data-layout="clean"] .brand-logo{border-radius:12px;background:#111827;color:#fff;box-shadow:inset 0 -8px 18px rgba(255,255,255,.08)}
body[data-layout="clean"] .brand-text strong{color:#111827}.brand-text small{transition:color .25s ease}
body[data-layout="clean"] .brand-text small{color:#737b89}
body[data-layout="clean"] .nav-links a,
body[data-layout="clean"] .lang-btn,
body[data-layout="clean"] .theme-current{color:#1f2937;background:transparent}
body[data-layout="clean"] .nav-links a:hover,
body[data-layout="clean"] .nav-links a.active,
body[data-layout="clean"] .lang-btn.active,
body[data-layout="clean"] .theme-current:hover{background:#f1f5f9;color:#0f172a}
body[data-layout="clean"] .theme-menu{background:#fff;color:#111827;border-color:rgba(15,23,42,.12);box-shadow:0 25px 70px rgba(15,23,42,.15)}
body[data-layout="clean"] .theme-menu button{color:#111827}.theme-menu button.active{font-weight:950}
body[data-layout="clean"] main{display:flex;flex-direction:column}
body[data-layout="clean"] .hero-section{order:1}
body[data-layout="clean"] .services-section{order:2}
body[data-layout="clean"] .process-section{order:3}
body[data-layout="clean"] .portfolio-section{order:4}
body[data-layout="clean"] .blog-section{order:5}
body[data-layout="clean"] .ticker{order:6}
body[data-layout="clean"] .hero{min-height:auto;padding:88px 0 54px;background:linear-gradient(180deg,#fffdf8 0%,#f4f2ed 100%)}
body[data-layout="clean"] .hero-grid{
  grid-template-columns:minmax(0,.9fr) minmax(360px,.72fr);
  gap:58px;
  align-items:center;
}
body[data-layout="clean"] .eyebrow{
  color:#b45309;background:#fff7ed;border:1px solid #fed7aa;display:inline-flex;padding:9px 12px;border-radius:999px;letter-spacing:.12em;font-size:.72rem
}
body[data-layout="clean"] .hero h1{
  color:#111827;font-size:clamp(2.7rem,5.7vw,5.6rem);letter-spacing:-.065em;line-height:.94;margin-top:22px;max-width:920px
}
body[data-layout="clean"] .gradient-text{background:none;color:#111827;-webkit-text-fill-color:initial}
body[data-layout="clean"] .lead{font-size:1.13rem;color:#4b5563;max-width:710px}
body[data-layout="clean"] .btn{background:#fff;color:#111827;border:1px solid rgba(15,23,42,.14);box-shadow:0 12px 30px rgba(15,23,42,.08)}
body[data-layout="clean"] .btn.primary{background:#111827;color:#fff;border:1px solid #111827}
body[data-layout="clean"] .btn:hover{transform:translateY(-2px);border-color:#f59e0b;box-shadow:0 18px 38px rgba(245,158,11,.18)}
body[data-layout="clean"] .hero-visual{
  min-height:0;border-radius:30px;background:#fff;border:1px solid rgba(15,23,42,.10);padding:24px;box-shadow:0 24px 70px rgba(15,23,42,.13);overflow:visible
}
body[data-layout="clean"] .hero-visual:before{
  content:"Plan działania";display:block;font-weight:950;font-size:1.15rem;color:#111827;margin-bottom:14px
}
body[data-layout="clean"] .browser{transform:none;background:#fff;border-radius:24px;border-color:rgba(15,23,42,.11);box-shadow:none}
body[data-layout="clean"] .browser-bar{display:none}
body[data-layout="clean"] .screen{padding:10px;display:grid;gap:12px}
body[data-layout="clean"] .screen strong{font-size:1.35rem;color:#111827}
body[data-layout="clean"] .fake-line{height:auto;margin:0;padding:18px 18px 18px 54px;border-radius:18px;background:#f8fafc;border:1px solid rgba(15,23,42,.08);position:relative;color:#111827}
body[data-layout="clean"] .fake-line:before{content:"✓";position:absolute;left:18px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:24px;height:24px;border-radius:99px;background:#f59e0b;color:#111827;font-weight:950}
body[data-layout="clean"] .fake-line:nth-of-type(1):after{content:"Rozmowa, zakres i wycena"}
body[data-layout="clean"] .fake-line:nth-of-type(2):after{content:"Projekt, SEO i publikacja"}
body[data-layout="clean"] .fake-grid{grid-template-columns:1fr;gap:12px;margin-top:0}
body[data-layout="clean"] .fake-grid div{height:auto;min-height:58px;border-radius:18px;background:#fff;border:1px solid rgba(15,23,42,.10);box-shadow:0 10px 28px rgba(15,23,42,.06);position:relative;padding:18px 18px 18px 54px}
body[data-layout="clean"] .fake-grid div:before{content:"";position:absolute;left:18px;top:20px;width:20px;height:20px;border-radius:7px;background:#111827}
body[data-layout="clean"] .fake-grid:first-of-type div:nth-child(1):after{content:"Strona firmowa";color:#111827;font-weight:900}
body[data-layout="clean"] .fake-grid:first-of-type div:nth-child(2):after{content:"SEO lokalne";color:#111827;font-weight:900}
body[data-layout="clean"] .fake-grid:first-of-type div:nth-child(3):after{content:"Wizytówki Google/Apple";color:#111827;font-weight:900}
body[data-layout="clean"] .fake-grid:nth-of-type(2) div:nth-child(1):after{content:"Formularz i kontakt";color:#111827;font-weight:900}
body[data-layout="clean"] .fake-grid:nth-of-type(2) div:nth-child(2):after{content:"Blog pod pozycjonowanie";color:#111827;font-weight:900}
body[data-layout="clean"] .fake-grid:nth-of-type(2) div:nth-child(3):after{content:"Automatyzacje AI";color:#111827;font-weight:900}
body[data-layout="clean"] .float-pill{background:#111827;color:#fff;border:0;box-shadow:0 12px 30px rgba(15,23,42,.18)}
body[data-layout="clean"] .pill-one{right:-12px;top:-16px}.pill-two{left:-12px;bottom:-15px;background:#f59e0b;color:#111827}
body[data-layout="clean"] section{padding:76px 0}
body[data-layout="clean"] .section-head{align-items:center;border-bottom:1px solid rgba(15,23,42,.10);padding-bottom:22px}
body[data-layout="clean"] .section-head h2{color:#111827;font-size:clamp(2.1rem,4vw,3.6rem);line-height:1.03}
body[data-layout="clean"] .grid.cards-3{grid-template-columns:1fr;gap:14px}
body[data-layout="clean"] .services-section .card{
  display:grid;grid-template-columns:72px 145px 1fr;align-items:center;gap:22px;min-height:128px;padding:22px 26px
}
body[data-layout="clean"] .services-section .card .layout-icon{grid-column:1;grid-row:1 / span 3;width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#111827;color:#fff;font-size:1.5rem}
body[data-layout="clean"] .services-section .card .badge{grid-column:2;grid-row:1;margin:0;width:max-content;color:#b45309;border-color:#fed7aa;background:#fff7ed}
body[data-layout="clean"] .services-section .card h3{grid-column:2;grid-row:2;margin:0;color:#111827}
body[data-layout="clean"] .services-section .card p{grid-column:3;grid-row:1 / span 3;margin:0;color:#5b6472}
body[data-layout="clean"] .card{background:#fff;border-color:rgba(15,23,42,.10);box-shadow:0 18px 45px rgba(15,23,42,.08)}
body[data-layout="clean"] .card:before{display:none}
body[data-layout="clean"] .badge{color:#b45309;border-color:#fed7aa;background:#fff7ed}
body[data-layout="clean"] .grid.cards-2{grid-template-columns:1fr;gap:18px}
body[data-layout="clean"] .project-card{display:grid;grid-template-columns:minmax(260px,420px) 1fr;gap:24px;align-items:center;padding:18px}
body[data-layout="clean"] .project-card .preview-img{height:240px;margin:0;border-radius:18px;background:#f8fafc;padding:8px}
body[data-layout="clean"] .project-card h3{font-size:1.55rem;color:#111827}
body[data-layout="clean"] .contact-panel{grid-template-columns:1fr 1fr;background:#111827;border-radius:34px;padding:38px;color:#fff;box-shadow:0 24px 70px rgba(15,23,42,.16)}
body[data-layout="clean"] .contact-panel p,
body[data-layout="clean"] .contact-panel li{color:#d1d5db}
body[data-layout="clean"] .contact-panel .card{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);box-shadow:none;color:#fff}
body[data-layout="clean"] .contact-panel .btn:not(.primary){background:transparent;color:#fff;border-color:rgba(255,255,255,.25)}
body[data-layout="clean"] .blog-list{display:grid;grid-template-columns:1fr;gap:14px}
body[data-layout="clean"] .post-card{display:grid;grid-template-columns:240px 1fr;gap:22px;align-items:center;padding:16px;min-height:0}
body[data-layout="clean"] .post-card img{height:150px;margin:0;background:#f8fafc;border-color:rgba(15,23,42,.08)}
body[data-layout="clean"] .ticker{background:#111827;border:0}.ticker span{transition:color .25s ease}
body[data-layout="clean"] .ticker span{color:#fff}
body[data-layout="clean"] .footer{background:#fff;border-top:1px solid rgba(15,23,42,.10)}
body[data-layout="clean"] .footer a{color:#111827}
body[data-layout="clean"] .chat-toggle{background:#111827;color:#fff;box-shadow:0 18px 55px rgba(15,23,42,.22)}
body[data-layout="clean"] .chat-box{background:#fff;color:#111827;border-color:rgba(15,23,42,.12)}
body[data-layout="clean"] .chat-head{border-color:rgba(15,23,42,.10)}
body[data-layout="clean"] .chat-head span{color:#6b7280}
body[data-layout="clean"] .msg.bot{background:#fff7ed;color:#111827;border-color:#fed7aa}.msg.user{transition:background .2s ease}
body[data-layout="clean"] .msg.user{background:#111827;color:#fff;border-color:#111827}
body[data-layout="clean"] .chat-input input,
body[data-layout="clean"] .form input,
body[data-layout="clean"] .form select,
body[data-layout="clean"] .form textarea{background:#fff;color:#111827;border-color:rgba(15,23,42,.14)}

body[data-layout="minimal"]{
  --bg:#f5f5f7;
  --bg-soft:#ffffff;
  --card:#ffffff;
  --card2:#ffffff;
  --line:rgba(0,0,0,.08);
  --text:#1d1d1f;
  --muted:#6e6e73;
  --cyan:#0071e3;
  --violet:#111111;
  --green:#2f8f46;
  --shadow:0 30px 90px rgba(0,0,0,.08);
  background:#f5f5f7;color:#1d1d1f;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Inter",Segoe UI,Roboto,Arial,sans-serif;
}
body[data-layout="minimal"]:before{background:linear-gradient(180deg,#fff 0,#f5f5f7 55%,#fff 100%)}
body[data-layout="minimal"]:after{display:none}
body[data-layout="minimal"] p,
body[data-layout="minimal"] .article p,
body[data-layout="minimal"] .article li{color:#6e6e73}
body[data-layout="minimal"] .site-header{
  top:0;width:100%;margin:0;border:0;border-radius:0;background:rgba(251,251,253,.86);box-shadow:none;backdrop-filter:saturate(180%) blur(20px)
}
body[data-layout="minimal"] .nav{height:52px;width:min(1060px,calc(100% - 28px));margin:auto;padding:0}
body[data-layout="minimal"] .brand{min-width:auto;gap:8px}.brand-text{transition:opacity .2s ease}
body[data-layout="minimal"] .brand-logo{width:30px;height:30px;flex-basis:30px;border-radius:9px;background:#1d1d1f;color:#fff;font-size:.78rem}
body[data-layout="minimal"] .brand-text strong{font-size:.86rem;color:#1d1d1f}.brand-text small{display:none}
body[data-layout="minimal"] .nav-links{gap:2px}
body[data-layout="minimal"] .nav-links a,
body[data-layout="minimal"] .lang-btn,
body[data-layout="minimal"] .theme-current{font-size:.76rem;font-weight:600;color:#1d1d1f;padding:8px 9px;background:transparent;border-radius:999px}
body[data-layout="minimal"] .nav-links a:hover,
body[data-layout="minimal"] .nav-links a.active,
body[data-layout="minimal"] .lang-btn.active,
body[data-layout="minimal"] .theme-current:hover{background:rgba(0,0,0,.06)}
body[data-layout="minimal"] .theme-menu{background:rgba(255,255,255,.96);color:#1d1d1f;border-color:rgba(0,0,0,.08);box-shadow:0 24px 70px rgba(0,0,0,.14)}
body[data-layout="minimal"] .theme-menu button{color:#1d1d1f;border-radius:18px}
body[data-layout="minimal"] main{display:flex;flex-direction:column;gap:12px;padding-top:0}
body[data-layout="minimal"] .hero-section{order:1}
body[data-layout="minimal"] .portfolio-section{order:2}
body[data-layout="minimal"] .services-section{order:3}
body[data-layout="minimal"] .process-section{order:4}
body[data-layout="minimal"] .blog-section{order:5}
body[data-layout="minimal"] .ticker{order:6;display:none}
body[data-layout="minimal"] .hero{min-height:calc(100vh - 52px);padding:92px 0 32px;background:#f5f5f7;display:block}
body[data-layout="minimal"] .hero-grid{display:flex;flex-direction:column;text-align:center;gap:26px;max-width:1120px;margin:auto}
body[data-layout="minimal"] .eyebrow{color:#6e6e73;letter-spacing:0;text-transform:none;font-size:1.12rem;font-weight:700}
body[data-layout="minimal"] .hero h1{max-width:980px;margin:10px auto 18px;font-size:clamp(3.2rem,8.4vw,7.8rem);line-height:.93;letter-spacing:-.075em;color:#1d1d1f}
body[data-layout="minimal"] .gradient-text{background:none;color:#1d1d1f;-webkit-text-fill-color:initial}
body[data-layout="minimal"] .lead{margin:auto;max-width:780px;font-size:clamp(1.18rem,2.1vw,1.55rem);line-height:1.42;color:#6e6e73}
body[data-layout="minimal"] .cta{justify-content:center;margin-top:24px}.cta .btn{transition:.2s ease}
body[data-layout="minimal"] .btn{background:transparent;border:0;color:#06c;padding:10px 14px;font-weight:600;font-size:1.05rem;box-shadow:none}
body[data-layout="minimal"] .btn.primary{background:#0071e3;color:#fff;border-radius:999px;padding:12px 21px}
body[data-layout="minimal"] .btn:hover{transform:none;text-decoration:none;color:#004f9f}
body[data-layout="minimal"] .btn.primary:hover{color:#fff;background:#0077ed}
body[data-layout="minimal"] .hero-visual{width:min(960px,100%);min-height:420px;margin:18px auto 0;padding:0;border:0;border-radius:42px;background:linear-gradient(180deg,#1d1d1f,#0a0a0b);box-shadow:0 35px 110px rgba(0,0,0,.18);display:grid;place-items:center;overflow:hidden}
body[data-layout="minimal"] .hero-visual:before{content:"Strona. SEO. AI. W jednym procesie.";position:absolute;z-index:1;top:42px;left:50%;transform:translateX(-50%);width:90%;font-size:clamp(1.8rem,4vw,4rem);line-height:1;letter-spacing:-.05em;font-weight:800;color:#fff;text-align:center}
body[data-layout="minimal"] .browser{width:min(760px,90%);margin-top:86px;transform:none;border:0;border-radius:34px;background:rgba(255,255,255,.10);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 26px 80px rgba(0,0,0,.32)}
body[data-layout="minimal"] .browser-bar{height:42px;border-color:rgba(255,255,255,.13)}
body[data-layout="minimal"] .screen strong{color:#fff;font-size:1.1rem}
body[data-layout="minimal"] .fake-line{height:18px;background:rgba(255,255,255,.22)}
body[data-layout="minimal"] .fake-grid div{background:rgba(255,255,255,.12);height:74px}
body[data-layout="minimal"] .float-pill{display:none}
body[data-layout="minimal"] section:not(.hero){padding:0}
body[data-layout="minimal"] section:not(.hero)>.container{width:min(1400px,calc(100% - 24px));background:#fff;border-radius:34px;padding:clamp(34px,5vw,76px);box-shadow:none;margin-block:6px}
body[data-layout="minimal"] .section-head{display:block;text-align:center;max-width:920px;margin:0 auto 34px}
body[data-layout="minimal"] .section-head h2{font-size:clamp(2.8rem,6.4vw,6rem);line-height:.92;letter-spacing:-.075em;color:#1d1d1f;margin-bottom:16px}
body[data-layout="minimal"] .section-head p{max-width:760px;margin:auto;font-size:1.18rem;line-height:1.48;color:#6e6e73}
body[data-layout="minimal"] .portfolio-section>.container{background:#000;color:#fff}
body[data-layout="minimal"] .portfolio-section .section-head h2{color:#fff}.portfolio-section .section-head p{transition:color .2s ease}
body[data-layout="minimal"] .portfolio-section .section-head p{color:#a1a1a6}
body[data-layout="minimal"] .grid.cards-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body[data-layout="minimal"] .project-card{background:#151516;border:0;border-radius:28px;padding:0;box-shadow:none;overflow:hidden;color:#fff;min-height:520px;display:flex;flex-direction:column;justify-content:space-between}
body[data-layout="minimal"] .project-card .preview-img{order:2;height:360px;width:100%;border:0;border-radius:0;margin:0;background:#0c0c0d;object-fit:contain;padding:10px}
body[data-layout="minimal"] .project-card h3{order:0;font-size:2rem;letter-spacing:-.045em;margin:28px 28px 4px;color:#fff;text-align:center}
body[data-layout="minimal"] .project-card p{order:1;color:#a1a1a6;text-align:center;margin:0 28px 18px}
body[data-layout="minimal"] .services-section .grid.cards-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body[data-layout="minimal"] .services-section .card{border:0;background:#f5f5f7;border-radius:30px;box-shadow:none;text-align:center;padding:34px 24px;min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center}
body[data-layout="minimal"] .services-section .layout-icon{font-size:2.4rem;width:74px;height:74px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#0071e3;margin-bottom:18px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
body[data-layout="minimal"] .card:before{display:none}
body[data-layout="minimal"] .badge{border:0;background:transparent;color:#86868b;margin:0 0 12px;padding:0;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase}
body[data-layout="minimal"] .card h3{color:#1d1d1f;font-size:1.65rem;line-height:1.05;letter-spacing:-.04em}
body[data-layout="minimal"] .card p{color:#6e6e73;line-height:1.55}
body[data-layout="minimal"] .contact-panel{display:flex;flex-direction:column;text-align:center;align-items:center;gap:18px}
body[data-layout="minimal"] .contact-panel>div:first-child{max-width:820px}.contact-panel h2{transition:color .2s ease}
body[data-layout="minimal"] .contact-panel h2{font-size:clamp(2.8rem,6vw,5.4rem);line-height:.94;letter-spacing:-.075em;color:#1d1d1f}
body[data-layout="minimal"] .contact-panel .card{max-width:780px;width:100%;border:0;background:#f5f5f7;box-shadow:none;text-align:left}
body[data-layout="minimal"] .blog-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body[data-layout="minimal"] .post-card{border:0;background:#f5f5f7;border-radius:28px;box-shadow:none;padding:0;overflow:hidden}
body[data-layout="minimal"] .post-card img{height:210px;border:0;border-radius:0;margin:0;background:#fff}.post-card h3{transition:color .2s ease}
body[data-layout="minimal"] .post-card h3{padding:22px 22px 0;margin:0;color:#1d1d1f}
body[data-layout="minimal"] .post-card p{padding:0 22px 24px;margin:8px 0 0;color:#6e6e73}
body[data-layout="minimal"] .footer{background:#f5f5f7;border:0;color:#6e6e73}.footer strong{transition:color .2s ease}
body[data-layout="minimal"] .footer strong{color:#1d1d1f}
body[data-layout="minimal"] .footer a{color:#424245}
body[data-layout="minimal"] .chat-toggle{background:#0071e3;color:#fff;box-shadow:0 18px 50px rgba(0,113,227,.22)}
body[data-layout="minimal"] .chat-box{background:#fff;color:#1d1d1f;border-color:rgba(0,0,0,.08)}
body[data-layout="minimal"] .msg.bot{background:#f5f5f7;color:#1d1d1f;border-color:transparent}
body[data-layout="minimal"] .msg.user{background:#0071e3;color:#fff;border-color:#0071e3}
body[data-layout="minimal"] .chat-input input,
body[data-layout="minimal"] .form input,
body[data-layout="minimal"] .form select,
body[data-layout="minimal"] .form textarea{background:#fff;color:#1d1d1f;border-color:rgba(0,0,0,.12)}
body[data-layout="minimal"] .form select option{background:#fff;color:#1d1d1f}
body[data-layout="minimal"] .cookie-banner .cookie-inner,
body[data-layout="clean"] .cookie-banner .cookie-inner{background:#fff;color:#111827;border-color:rgba(15,23,42,.12)}
body[data-layout="minimal"] .cookie-title,
body[data-layout="clean"] .cookie-title{color:#111827}
body[data-layout="minimal"] .cookie-text,
body[data-layout="clean"] .cookie-text{color:#5f6673}

/* podstrony w layoutach */
body[data-layout="clean"] .article,
body[data-layout="clean"] .portfolio-page,
body[data-layout="clean"] .container > .contact-panel{color:#111827}
body[data-layout="clean"] .article h1,
body[data-layout="clean"] .article h2{color:#111827}
body[data-layout="minimal"] .article{max-width:980px;background:#fff;border-radius:38px;padding:clamp(36px,6vw,74px);margin-top:38px;margin-bottom:38px}
body[data-layout="minimal"] .article h1{color:#1d1d1f;text-align:center;font-size:clamp(3rem,7vw,6.8rem)}
body[data-layout="minimal"] .article h2{color:#1d1d1f}
body[data-layout="clean"] .form-status{color:#15803d}
body[data-layout="minimal"] .form-status{color:#2f8f46}

@media (max-width:980px){
  body[data-layout="clean"] .hero-grid{grid-template-columns:1fr;gap:34px}
  body[data-layout="clean"] .services-section .card{grid-template-columns:58px 1fr;gap:16px}
  body[data-layout="clean"] .services-section .card .layout-icon{grid-column:1;grid-row:1 / span 2;width:52px;height:52px}
  body[data-layout="clean"] .services-section .card .badge{grid-column:2;grid-row:1}
  body[data-layout="clean"] .services-section .card h3{grid-column:2;grid-row:2}
  body[data-layout="clean"] .services-section .card p{grid-column:1 / -1;grid-row:3}
  body[data-layout="clean"] .project-card{grid-template-columns:1fr}
  body[data-layout="clean"] .post-card{grid-template-columns:1fr}
  body[data-layout="clean"] .contact-panel{grid-template-columns:1fr;padding:26px}
  body[data-layout="minimal"] .services-section .grid.cards-3,
  body[data-layout="minimal"] .grid.cards-2,
  body[data-layout="minimal"] .blog-list{grid-template-columns:1fr}
  body[data-layout="minimal"] .project-card{min-height:auto}
  body[data-layout="minimal"] .project-card .preview-img{height:300px}
}
@media (max-width:760px){
  body[data-layout="clean"] .site-header,
  body[data-layout="minimal"] .site-header{top:8px;width:min(var(--max),calc(100% - 18px));margin:8px auto 0;border:1px solid var(--line);border-radius:20px}
  body[data-layout="clean"] .nav,
  body[data-layout="minimal"] .nav{width:100%;height:66px;padding:0 12px}
  body[data-layout="minimal"] .brand-text strong{font-size:.8rem}
  body[data-layout="clean"] .nav-links,
  body[data-layout="minimal"] .nav-links{background:#fff;color:#111827;border-color:rgba(15,23,42,.10)}
  body[data-layout="minimal"] .hero{padding-top:64px}
  body[data-layout="minimal"] .hero h1{font-size:clamp(2.65rem,15vw,4.8rem)}
  body[data-layout="minimal"] section:not(.hero)>.container{width:calc(100% - 14px);border-radius:24px;padding:26px 18px}
  body[data-layout="minimal"] .hero-visual{border-radius:26px;min-height:340px}
  body[data-layout="minimal"] .hero-visual:before{top:28px;font-size:clamp(1.55rem,8vw,2.8rem)}
  body[data-layout="clean"] .project-card .preview-img,
  body[data-layout="minimal"] .project-card .preview-img{height:230px}
}

/* === v15: dopracowane layouty Clean Business i Minimalistyka, bez ruszania AI Tech === */
body[data-layout="clean"],body[data-layout="minimal"]{--soft-panel:#fff;--soft-panel-2:#f6f7f9;--soft-border:#e4e7ec;--soft-text:#111827;--soft-muted:#5f6877}
body[data-layout="clean"] .card,body[data-layout="minimal"] .card{min-height:0}
body[data-layout="clean"] .preview-img,body[data-layout="minimal"] .preview-img,body[data-layout="clean"] .post-card img,body[data-layout="minimal"] .post-card img{object-fit:contain;object-position:center;background:#f4f6f8}

/* CLEAN BUSINESS — mniej pustki, więcej realnych bloków */
body[data-layout="clean"]{background:#f4f6fb;color:#111827}
body[data-layout="clean"]:before{background:radial-gradient(circle at 15% 10%,rgba(37,99,235,.11),transparent 28%),radial-gradient(circle at 85% 18%,rgba(14,165,233,.10),transparent 26%),linear-gradient(180deg,#fff 0%,#f4f6fb 72%,#eef2f7 100%)}
body[data-layout="clean"] .site-header{background:rgba(255,255,255,.92);backdrop-filter:blur(18px);border-bottom:1px solid #e6eaf0}
body[data-layout="clean"] .brand-logo{border-radius:16px;background:#0f172a;color:#fff;box-shadow:0 10px 25px rgba(15,23,42,.14)}
body[data-layout="clean"] .hero{padding:112px 0 70px;background:linear-gradient(180deg,#fff 0%,#f7f9fc 100%)}
body[data-layout="clean"] .hero-grid{grid-template-columns:1fr .92fr;gap:44px;align-items:center}
body[data-layout="clean"] .hero h1{max-width:780px;font-size:clamp(3rem,5.8vw,5.7rem);line-height:.98;letter-spacing:-.065em}
body[data-layout="clean"] .lead{max-width:720px;font-size:1.18rem;line-height:1.75;color:#4b5563}
body[data-layout="clean"] .hero-visual{min-height:0;background:#fff;border:1px solid #e6eaf0;border-radius:30px;padding:28px;box-shadow:0 30px 90px rgba(15,23,42,.10)}
body[data-layout="clean"] .hero-visual:before{content:"Plan współpracy";font-size:1.65rem;letter-spacing:-.04em;margin:0 0 8px;display:block;color:#0f172a;font-weight:950}
body[data-layout="clean"] .hero-visual:after{content:"Rozmowa  →  Projekt  →  SEO  →  Publikacja";display:block;color:#64748b;font-weight:850;margin-bottom:20px}
body[data-layout="clean"] .browser{border:1px solid #e6eaf0;background:#f8fafc;border-radius:24px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.9)}
body[data-layout="clean"] .screen{padding:24px;background:#fff;color:#0f172a;border-radius:0 0 22px 22px}
body[data-layout="clean"] .screen strong{font-size:1.25rem;color:#0f172a}
body[data-layout="clean"] .fake-line{height:14px;border-radius:999px;background:#dbeafe;margin-top:16px}
body[data-layout="clean"] .fake-grid{gap:12px;margin-top:18px}
body[data-layout="clean"] .fake-grid div{height:86px;background:linear-gradient(135deg,#eff6ff,#fff);border:1px solid #dbeafe;border-radius:18px;position:relative}
body[data-layout="clean"] .fake-grid div:nth-child(1)::after{content:"WWW"}body[data-layout="clean"] .fake-grid div:nth-child(2)::after{content:"SEO"}body[data-layout="clean"] .fake-grid div:nth-child(3)::after{content:"AI"}
body[data-layout="clean"] .fake-grid div::after{position:absolute;left:14px;bottom:12px;font-weight:950;color:#2563eb;font-size:.9rem}
body[data-layout="clean"] .services-section .card{grid-template-columns:62px 210px 1fr;box-shadow:0 16px 50px rgba(15,23,42,.07);background:#fff;border:1px solid #e6eaf0}
body[data-layout="clean"] .services-section .card p{color:#5f6877;line-height:1.65;margin:0}
body[data-layout="clean"] .portfolio-section .project-card,body[data-layout="clean"] .portfolio-page .card{display:grid;grid-template-columns:minmax(280px,420px) 1fr;grid-template-rows:auto auto;gap:10px 28px;align-items:center;padding:22px;background:#fff;border:1px solid #e7ebf0;border-radius:30px;box-shadow:0 18px 70px rgba(15,23,42,.075)}
body[data-layout="clean"] .portfolio-section .project-card .preview-img,body[data-layout="clean"] .portfolio-page .preview-img{grid-row:1 / span 2;grid-column:1;height:250px;width:100%;margin:0;border-radius:22px;background:#f3f5f7;border:1px solid #dde3ea;padding:8px}
body[data-layout="clean"] .portfolio-section .project-card h3,body[data-layout="clean"] .portfolio-page .card h3{grid-column:2;margin:0;align-self:end;font-size:clamp(1.55rem,2.4vw,2.25rem);color:#111827}
body[data-layout="clean"] .portfolio-section .project-card p,body[data-layout="clean"] .portfolio-page .card p{grid-column:2;margin:0;align-self:start;color:#5f6877;font-size:1.05rem;line-height:1.6}
body[data-layout="clean"] .blog-list{grid-template-columns:1fr;gap:16px}
body[data-layout="clean"] .post-card{display:grid;grid-template-columns:220px 1fr;grid-template-rows:auto auto;gap:8px 24px;align-items:center;padding:18px;background:#fff;border:1px solid #e7ebf0;border-radius:28px;box-shadow:0 18px 70px rgba(15,23,42,.065);min-height:0}
body[data-layout="clean"] .post-card img{grid-row:1 / span 2;grid-column:1;width:220px;height:136px;margin:0;border-radius:18px;border:1px solid #e0e6ef;background:#f6f8fb;padding:4px}
body[data-layout="clean"] .post-card h3{grid-column:2;grid-row:1;margin:0;align-self:end;font-size:1.6rem;color:#111827}
body[data-layout="clean"] .post-card p{grid-column:2;grid-row:2;margin:0;align-self:start;color:#5f6877;max-width:580px;line-height:1.55}
body[data-layout="clean"] .article{max-width:1080px}body[data-layout="clean"] .article .blog-list{margin-top:26px}

/* MINIMALISTYKA — jasna, gładka, bez czarnych niepasujących bloków */
body[data-layout="minimal"]{background:#f5f5f7;color:#1d1d1f}
body[data-layout="minimal"]:before{background:linear-gradient(180deg,#fbfbfd 0%,#f5f5f7 100%)}
body[data-layout="minimal"] .site-header{background:rgba(251,251,253,.84);backdrop-filter:blur(20px);border-bottom:1px solid rgba(0,0,0,.06)}
body[data-layout="minimal"] .hero{padding:92px 0 46px;background:#fbfbfd;text-align:center;overflow:hidden}
body[data-layout="minimal"] .hero-grid{gap:40px}
body[data-layout="minimal"] .hero h1{font-size:clamp(3rem,7.2vw,6.2rem);line-height:.96;letter-spacing:-.07em;max-width:1120px;margin:14px auto 18px;color:#1d1d1f;position:relative;z-index:2}
body[data-layout="minimal"] .lead{color:#5b5b60;font-size:clamp(1.08rem,1.45vw,1.35rem);max-width:820px;position:relative;z-index:2}
body[data-layout="minimal"] .hero-visual{width:min(1040px,100%);min-height:auto;border-radius:44px;background:linear-gradient(180deg,#fff,#f0f0f2);padding:22px;margin:0 auto;box-shadow:0 35px 100px rgba(0,0,0,.09);border:1px solid rgba(0,0,0,.06);position:relative;z-index:1}
body[data-layout="minimal"] .browser{border:1px solid #d9d9df;background:#fff;border-radius:34px;overflow:hidden;box-shadow:0 18px 60px rgba(0,0,0,.06)}
body[data-layout="minimal"] .browser-bar{background:#fff;border-bottom:1px solid #ececf0}
body[data-layout="minimal"] .screen{background:#f5f5f7;color:#1d1d1f;padding:34px}
body[data-layout="minimal"] .screen strong{display:block;font-size:1.25rem;color:#1d1d1f;margin-bottom:18px}
body[data-layout="minimal"] .fake-line{background:#dedee3;height:13px}
body[data-layout="minimal"] .fake-grid div{height:94px;background:#fff;border:1px solid #e4e4e8;border-radius:22px}
body[data-layout="minimal"] main>section:not(.hero){background:#f5f5f7;margin:0;padding:78px 0}
body[data-layout="minimal"] .section-head{max-width:940px;margin-bottom:38px}
body[data-layout="minimal"] .section-head h2{color:#1d1d1f;font-size:clamp(2.6rem,5.6vw,5.4rem)}
body[data-layout="minimal"] .section-head p{color:#6e6e73;font-size:1.15rem;line-height:1.6}
body[data-layout="minimal"] .cards-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body[data-layout="minimal"] .card{background:#fff;color:#1d1d1f;border:1px solid rgba(0,0,0,.06);border-radius:34px;box-shadow:0 12px 45px rgba(0,0,0,.045);padding:30px}
body[data-layout="minimal"] .card h3{color:#1d1d1f}body[data-layout="minimal"] .card p{color:#6e6e73}
body[data-layout="minimal"] .portfolio-section .cards-2,body[data-layout="minimal"] .portfolio-page .cards-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
body[data-layout="minimal"] .portfolio-section .project-card,body[data-layout="minimal"] .portfolio-page .card{display:flex;flex-direction:column;text-align:left;padding:18px;background:#fff;border:1px solid rgba(0,0,0,.07);border-radius:34px;box-shadow:0 18px 60px rgba(0,0,0,.055);overflow:hidden}
body[data-layout="minimal"] .portfolio-section .project-card .preview-img,body[data-layout="minimal"] .portfolio-page .preview-img{height:280px;width:100%;margin:0 0 22px;border:1px solid #dedee3;border-radius:24px;background:linear-gradient(180deg,#fff,#f2f2f4);padding:10px;object-fit:contain;object-position:center}
body[data-layout="minimal"] .portfolio-section .project-card h3,body[data-layout="minimal"] .portfolio-page .card h3{font-size:clamp(1.65rem,2.3vw,2.25rem);margin:0 8px 10px;color:#1d1d1f;line-height:1.05}
body[data-layout="minimal"] .portfolio-section .project-card p,body[data-layout="minimal"] .portfolio-page .card p{margin:0 8px 14px;color:#6e6e73;font-size:1.05rem;line-height:1.55}
body[data-layout="minimal"] .blog-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body[data-layout="minimal"] .post-card{display:flex;flex-direction:column;background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:34px;padding:26px;min-height:280px;box-shadow:0 16px 55px rgba(0,0,0,.045);overflow:hidden}
body[data-layout="minimal"] .post-card img{display:none}
body[data-layout="minimal"] .post-card:before{content:"";width:54px;height:54px;border-radius:18px;background:linear-gradient(135deg,#111,#606064);margin-bottom:34px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
body[data-layout="minimal"] .post-card:nth-child(2):before{background:linear-gradient(135deg,#0071e3,#7dd3fc)}
body[data-layout="minimal"] .post-card:nth-child(3):before{background:linear-gradient(135deg,#6b5cff,#a855f7)}
body[data-layout="minimal"] .post-card h3{font-size:1.65rem;line-height:1.08;color:#1d1d1f;margin:0 0 14px;padding:0}
body[data-layout="minimal"] .post-card p{color:#6e6e73;margin:0;padding:0;line-height:1.6}
body[data-layout="minimal"] .article{max-width:1120px}
body[data-layout="minimal"] .article h1{color:#1d1d1f;font-size:clamp(2.8rem,6vw,5.6rem);line-height:.98;letter-spacing:-.065em}
body[data-layout="minimal"] .article p,body[data-layout="minimal"] .article li{color:#5f6877}
body[data-layout="minimal"] .contact-panel{background:#fff;border:1px solid rgba(0,0,0,.06);box-shadow:0 18px 70px rgba(0,0,0,.055)}
body[data-layout="minimal"] .chat-toggle{background:#111827;color:#fff}

@media (max-width:980px){
 body[data-layout="clean"] .portfolio-section .project-card,body[data-layout="clean"] .portfolio-page .card,body[data-layout="clean"] .post-card{grid-template-columns:1fr;gap:16px}
 body[data-layout="clean"] .portfolio-section .project-card .preview-img,body[data-layout="clean"] .portfolio-page .preview-img,body[data-layout="clean"] .post-card img{grid-column:auto;grid-row:auto;width:100%;height:220px}
 body[data-layout="clean"] .portfolio-section .project-card h3,body[data-layout="clean"] .portfolio-page .card h3,body[data-layout="clean"] .portfolio-section .project-card p,body[data-layout="clean"] .portfolio-page .card p,body[data-layout="clean"] .post-card h3,body[data-layout="clean"] .post-card p{grid-column:auto;grid-row:auto}
 body[data-layout="minimal"] .cards-3,body[data-layout="minimal"] .portfolio-section .cards-2,body[data-layout="minimal"] .portfolio-page .cards-2,body[data-layout="minimal"] .blog-list{grid-template-columns:1fr}
 body[data-layout="minimal"] .hero h1{font-size:clamp(2.65rem,12vw,4.6rem)}
 body[data-layout="minimal"] .portfolio-section .project-card .preview-img,body[data-layout="minimal"] .portfolio-page .preview-img{height:230px}
}


/* === v16 polish: layout, portfolio, SEO and readability fixes === */
.seo-power-section{padding:76px 0}.seo-power-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:22px;align-items:stretch}.seo-power-grid>div{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(145deg,var(--card2),rgba(255,255,255,.025));padding:28px;box-shadow:0 18px 55px rgba(0,0,0,.18)}.seo-power-section h2{font-size:clamp(2rem,4.8vw,4.4rem);line-height:.95;letter-spacing:-.06em;margin:10px 0 18px}.seo-power-section p{font-size:1.08rem;line-height:1.75}.seo-keyword-box ul{display:grid;gap:10px;margin:14px 0 0;padding:0;list-style:none}.seo-keyword-box li{border:1px solid var(--line);border-radius:16px;padding:12px 14px;background:rgba(255,255,255,.04)}
.card p strong,.seo-power-section strong{color:var(--text);font-weight:950}.service-list strong{font-weight:950}.project-card{min-width:0}.preview-img{object-fit:contain;background:rgba(255,255,255,.04)}
/* Clean Business: fix duplicated fake blocks, align labels and fill empty areas */
body[data-layout="clean"] .hero-visual{padding:28px;overflow:hidden;background:linear-gradient(145deg,#fff,#f8fafc)}
body[data-layout="clean"] .hero-visual:before{content:"Plan działania";display:inline-flex;align-items:center;gap:8px;width:max-content;margin-bottom:18px;padding:9px 14px;border-radius:999px;background:#fff7ed;border:1px solid #fed7aa;color:#111827;box-shadow:0 10px 25px rgba(245,158,11,.15)}
body[data-layout="clean"] .browser{background:transparent;border:0}.screen{min-width:0}
body[data-layout="clean"] .screen strong{display:none}
body[data-layout="clean"] .fake-line{padding:18px 20px 18px 58px;display:flex;align-items:center;font-size:0;min-height:64px;background:#fff;border-color:#dbeafe;box-shadow:0 10px 26px rgba(37,99,235,.06)}
body[data-layout="clean"] .fake-line:before{left:18px;top:50%;transform:translateY(-50%);width:28px;height:28px;background:#f59e0b;color:#111827;font-size:1rem;line-height:1}
body[data-layout="clean"] .fake-line:after{font-size:1rem;line-height:1.25;font-weight:950;color:#111827;display:block;white-space:normal}
body[data-layout="clean"] .fake-line:nth-of-type(1):after{content:"Rozmowa i cel"}
body[data-layout="clean"] .fake-line:nth-of-type(2):after{content:"Projekt, SEO i publikacja"}
body[data-layout="clean"] .fake-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
body[data-layout="clean"] .fake-grid:nth-of-type(2){display:none}
body[data-layout="clean"] .fake-grid div{min-height:82px;display:flex;align-items:center;padding:18px 18px 18px 58px;background:linear-gradient(180deg,#fff,#f8fbff);border-color:#dbeafe;box-shadow:0 10px 26px rgba(37,99,235,.06)}
body[data-layout="clean"] .fake-grid div:before{left:18px;top:50%;transform:translateY(-50%);width:24px;height:24px;border-radius:8px;background:#111827}.fake-grid div:after{transition:color .2s ease}
body[data-layout="clean"] .fake-grid:first-of-type div:nth-child(1):after{content:"Strona WWW";color:#111827;font-weight:950}
body[data-layout="clean"] .fake-grid:first-of-type div:nth-child(2):after{content:"SEO lokalne";color:#111827;font-weight:950}
body[data-layout="clean"] .fake-grid:first-of-type div:nth-child(3):after{content:"Treści i blog";color:#111827;font-weight:950}
body[data-layout="clean"] .fake-grid:first-of-type div:nth-child(4):after{content:"Wizytówki";color:#111827;font-weight:950}
body[data-layout="clean"] .fake-grid:first-of-type div:nth-child(5):after{content:"Automatyzacje";color:#111827;font-weight:950}
body[data-layout="clean"] .fake-grid:first-of-type div:nth-child(6):after{content:"Publikacja";color:#111827;font-weight:950}
body[data-layout="clean"] .services-section .card{grid-template-columns:70px minmax(190px,280px) 1fr;gap:24px;align-items:center;min-height:150px}.services-section .card p{line-height:1.68}
body[data-layout="clean"] .services-section .card p strong{color:#111827}
body[data-layout="clean"] .project-card{grid-template-columns:minmax(300px,500px) 1fr;padding:22px;min-height:280px;background:#fff}
body[data-layout="clean"] .project-card .preview-img{height:260px;object-fit:contain;background:#f3f4f6;padding:12px;border:1px solid #e5e7eb;border-radius:22px}
body[data-layout="clean"] .project-card p{font-size:1.05rem;line-height:1.65;max-width:620px}
body[data-layout="clean"] .post-card{grid-template-columns:260px 1fr;gap:26px;min-height:220px;background:#fff;padding:20px}
body[data-layout="clean"] .post-card img{height:170px;object-fit:cover;background:#f3f4f6}.post-card p{line-height:1.62}
body[data-layout="clean"] .blog-section .section-head p:after{content:" Regularne wpisy pomagają budować widoczność na frazy: strony internetowe Wrocław, SEO lokalne, strony WWW i wizytówki Google.";}
body[data-layout="clean"] .seo-power-grid>div{background:#fff;border-color:rgba(15,23,42,.10);box-shadow:0 18px 45px rgba(15,23,42,.08)}
body[data-layout="clean"] .seo-keyword-box li{background:#f8fafc;border-color:rgba(15,23,42,.10)}
body[data-layout="clean"] .seo-power-section h2,body[data-layout="clean"] .seo-power-section strong{color:#111827}
/* Minimalism: bright panels, no black portfolio cards, better hero visual */
body[data-layout="minimal"] .hero h1{font-size:clamp(3rem,7vw,6.45rem);max-width:1060px;line-height:.96;letter-spacing:-.07em}
body[data-layout="minimal"] .hero-visual{min-height:390px;background:linear-gradient(180deg,#fff,#f5f5f7);border:1px solid rgba(0,0,0,.08);box-shadow:0 28px 80px rgba(0,0,0,.08)}
body[data-layout="minimal"] .hero-visual:before{content:"Strona. SEO. AI.";top:34px;color:#1d1d1f;font-size:clamp(1.65rem,3.6vw,3.4rem);width:92%}
body[data-layout="minimal"] .browser{margin-top:92px;background:#fff;border:1px solid rgba(0,0,0,.09);box-shadow:0 22px 60px rgba(0,0,0,.10)}
body[data-layout="minimal"] .browser-bar{border-color:#e5e5ea;background:#f8f8fb}.browser-bar .dot{transition:background .2s ease}
body[data-layout="minimal"] .browser-bar .dot{background:#9ca3af}
body[data-layout="minimal"] .screen strong{color:#1d1d1f}.screen{transition:color .2s ease}
body[data-layout="minimal"] .fake-line{background:#d7d7dd}.fake-grid div{transition:background .2s ease}
body[data-layout="minimal"] .fake-grid div{background:#ededf2}
body[data-layout="minimal"] .portfolio-section>.container{background:#fff;color:#1d1d1f;border:1px solid rgba(0,0,0,.06)}
body[data-layout="minimal"] .portfolio-section .section-head h2{color:#1d1d1f}body[data-layout="minimal"] .portfolio-section .section-head p{color:#6e6e73}
body[data-layout="minimal"] .project-card{background:#f5f5f7;color:#1d1d1f;min-height:0;border-radius:30px;display:grid;grid-template-rows:auto 1fr auto auto;justify-content:stretch;box-shadow:none;border:1px solid rgba(0,0,0,.06)}
body[data-layout="minimal"] .project-card .preview-img{order:0;height:310px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:24px;margin:18px 18px 8px;width:calc(100% - 36px);padding:8px;object-fit:contain}
body[data-layout="minimal"] .project-card h3{order:1;color:#1d1d1f;text-align:left;margin:22px 24px 6px;font-size:1.75rem}.project-card p{transition:color .2s ease}
body[data-layout="minimal"] .project-card p{order:2;color:#6e6e73;text-align:left;margin:0 24px 26px;line-height:1.55}
body[data-layout="minimal"] .services-section .card{min-height:360px;justify-content:flex-start;text-align:left;align-items:flex-start;padding:34px}.services-section .layout-icon{flex:none}
body[data-layout="minimal"] .services-section .card p strong{color:#1d1d1f}
body[data-layout="minimal"] .blog-list{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
body[data-layout="minimal"] .post-card{background:#f5f5f7;border:1px solid rgba(0,0,0,.06);min-height:100%;display:flex;flex-direction:column}
body[data-layout="minimal"] .post-card img{height:185px;object-fit:cover;background:#fff;border-bottom:1px solid rgba(0,0,0,.06)}
body[data-layout="minimal"] .post-card h3{font-size:1.45rem;line-height:1.1}.post-card p{font-weight:650}
body[data-layout="minimal"] .seo-power-grid>div{background:#fff;border-color:rgba(0,0,0,.06);box-shadow:none}
body[data-layout="minimal"] .seo-keyword-box li{background:#f5f5f7;border-color:rgba(0,0,0,.06)}
body[data-layout="minimal"] .seo-power-section h2,body[data-layout="minimal"] .seo-power-section strong{color:#1d1d1f}
@media(max-width:900px){.seo-power-grid{grid-template-columns:1fr}body[data-layout="clean"] .services-section .card,body[data-layout="clean"] .project-card,body[data-layout="clean"] .post-card{grid-template-columns:1fr}body[data-layout="clean"] .services-section .card .layout-icon,body[data-layout="clean"] .services-section .card .badge,body[data-layout="clean"] .services-section .card h3,body[data-layout="clean"] .services-section .card p{grid-column:auto;grid-row:auto}body[data-layout="clean"] .project-card .preview-img,body[data-layout="clean"] .post-card img{width:100%;height:230px}body[data-layout="minimal"] .grid.cards-2,body[data-layout="minimal"] .services-section .grid.cards-3,body[data-layout="minimal"] .blog-list{grid-template-columns:1fr}}
@media(max-width:560px){body[data-layout="minimal"] .hero h1{font-size:3.05rem}body[data-layout="minimal"] .hero-visual{display:none}.seo-power-section{padding:48px 0}}

/* =========================
   V17 stable layout + SEO polish overrides
   ========================= */
.layout-showcase{display:none}
body[data-layout="clean"] .hero-visual:before,
body[data-layout="minimal"] .hero-visual:before,
body[data-layout="clean"] .hero-visual:after,
body[data-layout="minimal"] .hero-visual:after{content:none!important;display:none!important}
body[data-layout="clean"] .hero-visual .browser,
body[data-layout="minimal"] .hero-visual .browser,
body[data-layout="clean"] .hero-visual .float-pill,
body[data-layout="minimal"] .hero-visual .float-pill{display:none!important}
body[data-layout="clean"] .layout-showcase,
body[data-layout="minimal"] .layout-showcase{display:block;position:relative;z-index:2;width:100%}
body[data-layout="clean"] .hero-visual,
body[data-layout="minimal"] .hero-visual{overflow:hidden;min-height:0!important;height:auto!important;display:flex;align-items:stretch;justify-content:center;padding:28px!important;border-radius:34px!important}
body[data-layout="clean"] .hero-visual{background:linear-gradient(135deg,#fff 0%,#f7fbff 62%,#eef6ff 100%)!important;border:1px solid #dbeafe!important;box-shadow:0 24px 90px rgba(37,99,235,.10)!important}
body[data-layout="minimal"] .hero-visual{background:linear-gradient(180deg,#f5f5f7 0%,#fff 100%)!important;border:1px solid rgba(0,0,0,.08)!important;box-shadow:0 30px 100px rgba(0,0,0,.08)!important}
.showcase-title{font-weight:950;letter-spacing:-.045em;line-height:1.02;color:var(--text);font-size:clamp(2rem,3.6vw,4.6rem);margin-bottom:24px;max-width:760px}
.showcase-steps{display:grid;grid-template-columns:1fr;gap:12px}.showcase-steps div{border:1px solid var(--line);background:rgba(255,255,255,.82);border-radius:22px;padding:18px 18px 18px 82px;position:relative;min-height:96px;box-shadow:0 12px 36px rgba(17,24,39,.06)}
.showcase-steps b{position:absolute;left:18px;top:18px;width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#111827;color:#fff;font-size:.85rem;letter-spacing:.03em}.showcase-steps strong{display:block;font-size:1.08rem;margin-bottom:5px;color:var(--text)}.showcase-steps p{font-size:.95rem;line-height:1.5;margin:0;color:var(--muted)!important}.showcase-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.showcase-tags span{border:1px solid var(--line);background:#fff;color:#2563eb;border-radius:999px;padding:10px 14px;font-size:.88rem;font-weight:900}
body[data-layout="minimal"] .showcase-title{text-align:center;margin-inline:auto;font-size:clamp(2.4rem,5vw,5.4rem)}body[data-layout="minimal"] .showcase-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}body[data-layout="minimal"] .showcase-steps div{padding:20px;text-align:center;border-radius:28px;min-height:190px;background:#fff}body[data-layout="minimal"] .showcase-steps b{position:static;margin:0 auto 16px;border-radius:50%;background:#0071e3}body[data-layout="minimal"] .showcase-tags{justify-content:center}

/* Fix clean/minimal hero spacing */
body[data-layout="clean"] .hero-grid,body[data-layout="minimal"] .hero-grid{align-items:center}body[data-layout="clean"] .cta,body[data-layout="minimal"] .cta{align-items:center}body[data-layout="clean"] .hero h1,body[data-layout="minimal"] .hero h1{word-break:normal;overflow-wrap:normal}

/* Clean Business service blocks: no duplicated empty WWW/SEO/AI tiles */
body[data-layout="clean"] .services-section .cards-3{display:grid!important;grid-template-columns:1fr!important;gap:16px!important}body[data-layout="clean"] .services-section .card{display:grid!important;grid-template-columns:56px minmax(180px,260px) minmax(0,1fr)!important;gap:20px!important;align-items:start!important;min-height:auto!important;padding:24px!important}body[data-layout="clean"] .services-section .card .layout-icon{grid-row:1 / span 2;margin-top:4px}body[data-layout="clean"] .services-section .card .badge{grid-column:2;grid-row:1;align-self:start;width:max-content;text-align:center;padding:8px 13px}body[data-layout="clean"] .services-section .card h3{grid-column:2;grid-row:2;margin:0;font-size:1.25rem;line-height:1.15}body[data-layout="clean"] .services-section .card p{grid-column:3;grid-row:1 / span 2;margin:0;line-height:1.65;font-size:1rem;color:#4b5563!important}body[data-layout="clean"] .services-section .card strong{color:#0f172a;font-weight:950}
body[data-layout="minimal"] .services-section .cards-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}body[data-layout="minimal"] .services-section .card{background:#fff!important;border:1px solid rgba(0,0,0,.08)!important;box-shadow:0 18px 60px rgba(0,0,0,.06)!important;padding:26px!important;min-height:360px}body[data-layout="minimal"] .services-section .card p{line-height:1.65}body[data-layout="minimal"] .services-section .card .badge{background:#f5f5f7;color:#111;border-color:#e5e5e5}

/* Portfolio and image fitting */
.preview-img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;object-position:center;background:#f5f5f7;border-radius:18px}.project-card .preview-img,.portfolio-page .preview-img{height:auto!important;max-height:none!important}
body[data-layout="clean"] .portfolio-section .cards-2,body[data-layout="minimal"] .portfolio-section .cards-2{gap:22px!important}body[data-layout="clean"] .portfolio-section .project-card,body[data-layout="minimal"] .portfolio-section .project-card{background:#fff!important;border:1px solid rgba(17,24,39,.10)!important;box-shadow:0 20px 60px rgba(17,24,39,.08)!important;overflow:hidden!important}body[data-layout="clean"] .portfolio-section .project-card{grid-template-columns:430px 1fr!important;min-height:260px!important}body[data-layout="clean"] .portfolio-section .project-card .preview-img{aspect-ratio:16/10;background:#f3f4f6!important;border:1px solid #e5e7eb}body[data-layout="minimal"] .portfolio-section .project-card{display:block!important;padding:18px!important;border-radius:34px!important}body[data-layout="minimal"] .portfolio-section .project-card .preview-img{aspect-ratio:16/10;background:#f5f5f7!important;border:1px solid #e5e5e5;border-radius:26px!important}body[data-layout="minimal"] .portfolio-section .project-card h3,body[data-layout="minimal"] .portfolio-section .project-card p{padding-inline:8px}
body[data-layout="clean"] .portfolio-page .cards-2,body[data-layout="minimal"] .portfolio-page .cards-2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px!important}body[data-layout="clean"] .portfolio-page .card,body[data-layout="minimal"] .portfolio-page .card{display:block!important;background:#fff!important;border:1px solid rgba(17,24,39,.10)!important;box-shadow:0 20px 70px rgba(17,24,39,.07)!important;padding:18px!important;border-radius:30px!important;min-height:auto!important}body[data-layout="clean"] .portfolio-page .preview-img,body[data-layout="minimal"] .portfolio-page .preview-img{aspect-ratio:16/10;background:#f5f5f7!important;border:1px solid #e5e7eb;border-radius:22px!important;margin-bottom:20px!important}body[data-layout="clean"] .portfolio-page h3,body[data-layout="minimal"] .portfolio-page h3{font-size:1.65rem;margin:10px 8px 8px!important}body[data-layout="clean"] .portfolio-page .card p,body[data-layout="minimal"] .portfolio-page .card p{margin:0 8px 12px!important;line-height:1.55}

/* Blog cards: fill the empty space and stay readable */
body[data-layout="clean"] .post-card,body[data-layout="minimal"] .post-card{display:grid!important;grid-template-columns:260px 1fr!important;gap:24px!important;align-items:center!important;min-height:210px!important;padding:20px!important;border-radius:28px!important;background:#fff!important;border:1px solid rgba(17,24,39,.10)!important;box-shadow:0 18px 56px rgba(17,24,39,.07)!important;color:var(--text)!important;text-decoration:none!important}body[data-layout="clean"] .post-card img,body[data-layout="minimal"] .post-card img{width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:cover!important;border-radius:20px!important;background:#f3f4f6!important;grid-row:1 / span 2}body[data-layout="clean"] .post-card h3,body[data-layout="minimal"] .post-card h3{font-size:1.55rem!important;line-height:1.1!important;margin:0!important;align-self:end}body[data-layout="clean"] .post-card p,body[data-layout="minimal"] .post-card p{font-size:1.02rem!important;line-height:1.6!important;margin:0!important;align-self:start;max-width:620px!important}

/* Stronger keyword sections readability */
.article h1,.section-head h2{letter-spacing:-.045em}.article h2,.article h3{color:var(--text)}strong{font-weight:950}.seo-keywords{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.seo-keywords span{font-weight:900;border:1px solid var(--line);border-radius:999px;padding:8px 12px;color:var(--cyan);background:rgba(255,255,255,.06)}body[data-layout="clean"] .seo-keywords span,body[data-layout="minimal"] .seo-keywords span{background:#fff;color:#2563eb;border-color:#dbeafe}

/* Header safety */
.site-header{z-index:1000}.nav{min-height:72px}.nav-links{align-items:center}.brand-text strong{white-space:nowrap}

@media(max-width:980px){body[data-layout="clean"] .hero-grid,body[data-layout="minimal"] .hero-grid{grid-template-columns:1fr!important}body[data-layout="clean"] .services-section .card{grid-template-columns:54px 1fr!important}body[data-layout="clean"] .services-section .card p{grid-column:1 / -1;grid-row:auto}body[data-layout="clean"] .portfolio-section .project-card{grid-template-columns:1fr!important}.portfolio-page .cards-2,body[data-layout="clean"] .portfolio-page .cards-2,body[data-layout="minimal"] .portfolio-page .cards-2{grid-template-columns:1fr!important}body[data-layout="minimal"] .showcase-steps,body[data-layout="minimal"] .services-section .cards-3{grid-template-columns:1fr!important}body[data-layout="clean"] .post-card,body[data-layout="minimal"] .post-card{grid-template-columns:1fr!important}.post-card img{grid-row:auto!important}}
@media(max-width:620px){body[data-layout="clean"] .hero h1,body[data-layout="minimal"] .hero h1{font-size:clamp(2.2rem,14vw,3.7rem)!important}.showcase-title{font-size:2rem!important}.cta .btn{width:100%;justify-content:center}.hero-visual{padding:18px!important}.showcase-steps div{padding:16px!important}.showcase-steps b{position:static!important;margin-bottom:12px}.services-section .card{display:block!important}.services-section .card .badge{margin:10px 0!important}}


/* v18 — mobile stability, default minimal polish, layout-specific media */
html,body{max-width:100%;overflow-x:hidden}.site-header{z-index:9999}.hero,.portfolio-section,.blog-section,.services-section,.process-section,.seo-power-section{overflow:hidden}.menu-btn{position:relative;z-index:10001}
body[data-layout="minimal"] .hero-visual .browser,body[data-layout="minimal"] .hero-visual .float-pill{display:none!important}
body[data-layout="clean"] .hero-visual .browser,body[data-layout="clean"] .hero-visual .float-pill{display:none!important}
body[data-layout="clean"] .layout-showcase,body[data-layout="minimal"] .layout-showcase{display:block!important;position:relative;inset:auto;transform:none;width:100%;height:auto;min-height:0;padding:0;background:transparent;border:0;box-shadow:none;color:var(--text)}
body[data-layout="clean"] .showcase-title,body[data-layout="minimal"] .showcase-title{font-size:1.35rem;font-weight:950;line-height:1.15;margin-bottom:16px;color:var(--text)}
body[data-layout="clean"] .showcase-title span,body[data-layout="minimal"] .showcase-title span{display:block;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
body[data-layout="clean"] .showcase-steps,body[data-layout="minimal"] .showcase-steps{display:grid;grid-template-columns:1fr;gap:12px}
body[data-layout="clean"] .showcase-steps>div,body[data-layout="minimal"] .showcase-steps>div{min-height:0;padding:18px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 14px 36px rgba(17,24,39,.06)}
body[data-layout="minimal"] .showcase-steps>div{background:#f5f5f7;border-color:#e5e5ea;box-shadow:none}
body[data-layout="clean"] .showcase-steps b,body[data-layout="minimal"] .showcase-steps b{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;margin-right:10px;background:#2563eb;color:#fff;font-size:.85rem}
body[data-layout="minimal"] .showcase-steps b{background:#111;color:#fff}.showcase-steps strong{vertical-align:middle}.showcase-steps p{margin:8px 0 0;font-size:.95rem;line-height:1.5}.showcase-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.showcase-tags span{font-size:.8rem;font-weight:850;border-radius:999px;padding:8px 10px;background:#eef4ff;color:#2563eb}body[data-layout="minimal"] .showcase-tags span{background:#fff;color:#111;border:1px solid #e5e5ea}
body[data-layout="clean"] .hero-visual{display:block;min-height:auto;background:#f8fbff!important;border:1px solid #dbeafe!important;box-shadow:0 24px 70px rgba(37,99,235,.10)!important}
body[data-layout="minimal"] .hero-visual{display:block;min-height:auto;background:#fff!important;border:1px solid #e5e5ea!important;box-shadow:0 20px 70px rgba(0,0,0,.06)!important;border-radius:34px!important;padding:28px!important}
body[data-layout="clean"] .hero-visual:before{content:"Plan strony WWW i SEO";display:block;font-weight:950;color:#111827;margin-bottom:16px;font-size:1.08rem}body[data-layout="minimal"] .hero-visual:before{content:"Minimalny proces. Maksymalna czytelność.";display:block;font-weight:900;color:#111;margin-bottom:16px;font-size:1.08rem}
body[data-layout="clean"] .project-card,body[data-layout="minimal"] .project-card{overflow:hidden}body[data-layout="clean"] .project-card .preview-img,body[data-layout="minimal"] .project-card .preview-img{width:100%;object-fit:contain!important;object-position:center!important;background:linear-gradient(180deg,#f7f8fb,#e9ecf2);padding:8px;border:1px solid rgba(17,24,39,.08)}
body[data-layout="minimal"] .project-card{background:#fff!important;border-color:#e5e5ea!important}body[data-layout="minimal"] .project-card .preview-img{background:#f5f5f7!important;border-color:#dedee4!important}
body[data-layout="clean"] .post-card,body[data-layout="minimal"] .post-card{min-height:0!important}body[data-layout="clean"] .post-card img,body[data-layout="minimal"] .post-card img{object-fit:cover!important;background:#eef4ff}body[data-layout="minimal"] .post-card img{background:#f5f5f7!important}
body[data-layout="clean"] .services-section .card p,body[data-layout="minimal"] .services-section .card p{max-width:70ch}body[data-layout="clean"] .services-section .card strong,body[data-layout="minimal"] .services-section .card strong{color:var(--text)}
body[data-layout="minimal"] .blog-section,body[data-layout="minimal"] .portfolio-section,body[data-layout="minimal"] .services-section{background:#fff}body[data-layout="minimal"] .post-card{background:#fff!important;border:1px solid #e5e5ea!important;box-shadow:0 12px 40px rgba(0,0,0,.045)!important}
/* intro popup */
.style-intro{position:fixed;inset:0;z-index:20000;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(5,8,15,.54);backdrop-filter:blur(10px)}.style-intro.show{display:flex}.style-intro-card{width:min(620px,100%);background:rgba(255,255,255,.98);color:#111827;border-radius:28px;padding:28px;box-shadow:0 40px 120px rgba(0,0,0,.28);position:relative}.style-intro-close{position:absolute;top:14px;right:14px;width:36px;height:36px;border-radius:50%;border:1px solid #e5e7eb;background:#fff;font-size:1.2rem;font-weight:900}.style-intro-badge{display:inline-flex;border-radius:999px;background:#eef4ff;color:#2563eb;font-weight:900;padding:8px 12px;margin-bottom:14px}.style-intro h2{font-size:clamp(1.8rem,5vw,3rem);line-height:1;margin:0 0 12px;letter-spacing:-.05em}.style-intro p{font-size:1.05rem;line-height:1.55;color:#4b5563}.style-intro-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.style-intro-actions button{border:1px solid #dbeafe;border-radius:16px;background:#f8fbff;color:#111827;font-weight:950;padding:14px 12px;cursor:pointer}.style-intro-actions button:first-child{background:#111827;color:#fff;border-color:#111827}.style-intro small{color:#6b7280;font-weight:800}.style-hint-active .theme-current{animation:stylePulse 1s ease-in-out infinite}@keyframes stylePulse{0%,100%{box-shadow:0 0 0 0 rgba(37,99,235,.4)}50%{box-shadow:0 0 0 8px rgba(37,99,235,0)}}
@media(max-width:900px){
  .site-header{top:10px!important;width:calc(100% - 20px)!important;border-radius:24px!important;margin:0 10px!important;left:0!important;right:0!important}.nav{height:auto!important;min-height:68px!important;display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;width:100%!important;padding:12px!important;gap:10px!important}.brand{min-width:0!important}.brand-logo{width:44px!important;height:44px!important;flex-basis:44px!important}.brand-text strong{font-size:1rem!important}.brand-text small{font-size:.72rem!important}.mobile-actions{display:flex!important;justify-content:flex-end!important}.menu-btn{display:inline-flex!important;align-items:center;justify-content:center}.nav-links{display:none!important;grid-column:1/-1!important;width:100%!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:7px!important;padding:12px 0 2px!important;border-top:1px solid var(--line)!important;max-height:calc(100vh - 150px)!important;overflow:auto!important}.nav-links.open{display:flex!important}.nav-links a,.theme-current,.lang-btn{width:100%!important;justify-content:flex-start!important;padding:12px 14px!important;border-radius:14px!important;font-size:.95rem!important}.theme-switch{width:100%!important}.theme-menu{position:static!important;width:100%!important;min-width:0!important;margin-top:8px!important;box-shadow:none!important;border:1px solid var(--line)!important}.lang-switch{width:100%!important;border-left:0!important;padding-left:0!important;margin-left:0!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.lang-btn{justify-content:center!important}.hero{padding-top:132px!important}.hero-grid{grid-template-columns:1fr!important;gap:26px!important}.hero h1{font-size:clamp(2.3rem,13vw,4.2rem)!important;line-height:.98!important;letter-spacing:-.06em!important}.lead{font-size:1.02rem!important}.cta{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.btn{width:100%;justify-content:center}.hero-visual{min-height:0!important}.section-head{display:block!important}.section-head h2{font-size:clamp(2rem,11vw,3rem)!important}.cards-3,.cards-2,.blog-list,.contact-panel,.seo-power-grid{grid-template-columns:1fr!important}.services-section .card,.project-card,.post-card{display:block!important;padding:18px!important}.project-card .preview-img,.post-card img{height:auto!important;max-height:260px!important;object-fit:contain!important;margin-bottom:16px!important}.footer-grid{grid-template-columns:1fr!important}.chat-widget{right:14px!important;bottom:14px!important}.chat-box{width:calc(100vw - 28px)!important;right:0!important}.cookie-banner{left:12px!important;right:12px!important;bottom:12px!important;width:auto!important}.cookie-inner{display:block!important}.cookie-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin-top:14px}.style-intro-actions{grid-template-columns:1fr!important}.style-intro-card{padding:22px!important;border-radius:22px!important}body[data-layout="minimal"] .nav{height:auto!important}body[data-layout="minimal"] .hero{text-align:left!important}body[data-layout="minimal"] .hero h1,body[data-layout="minimal"] .lead{margin-left:0!important;margin-right:0!important}body[data-layout="minimal"] .cta{justify-content:stretch!important}body[data-layout="clean"] .hero-grid{grid-template-columns:1fr!important}body[data-layout="clean"] .project-card,body[data-layout="clean"] .post-card{grid-template-columns:1fr!important}body[data-layout="clean"] .project-card .preview-img,body[data-layout="clean"] .post-card img{width:100%!important}body[data-layout="clean"] .services-section .card{grid-template-columns:1fr!important}body[data-layout="clean"] .badge{justify-content:flex-start!important;width:max-content!important}body[data-layout="tech"] .site-header{background:rgba(8,12,22,.96)!important}body[data-layout="minimal"] .site-header,body[data-layout="clean"] .site-header{background:rgba(255,255,255,.96)!important}
}
@media(max-width:480px){.container{width:min(100% - 28px,var(--max))}.hero h1{font-size:clamp(2.1rem,15vw,3.5rem)!important}.brand-text small{display:none!important}.showcase-steps>div{padding:14px!important}.showcase-tags{display:none}.project-card .preview-img,.post-card img{max-height:220px!important}.footer{padding-bottom:95px!important}}

/* =========================
   V19 final mobile + layout polish
   ========================= */
.back-to-top{
  position:fixed;right:18px;bottom:94px;z-index:118;width:46px;height:46px;border:1px solid var(--line);border-radius:999px;
  display:grid;place-items:center;background:rgba(8,12,22,.82);color:#fff;font-weight:950;font-size:1.25rem;box-shadow:0 18px 55px rgba(0,0,0,.22);
  cursor:pointer;opacity:0;pointer-events:none;transform:translateY(10px);transition:.22s ease;backdrop-filter:blur(16px)
}
.back-to-top.show{opacity:1;pointer-events:auto;transform:none}.back-to-top:hover{transform:translateY(-3px)}
body[data-layout="clean"] .back-to-top{background:#2563eb;border-color:#2563eb;color:#fff}
body[data-layout="minimal"] .back-to-top{background:#111827;border-color:#111827;color:#fff}

/* Proces / „Nie wiesz czego potrzebujesz” — ma wyglądać dobrze w każdym stylu */
.process-section .contact-panel{border:1px solid var(--line);border-radius:34px;padding:34px;background:linear-gradient(145deg,var(--card2),rgba(255,255,255,.025));box-shadow:var(--shadow)}
.process-section h2{font-size:clamp(2.25rem,4.8vw,4.4rem);line-height:.98;letter-spacing:-.06em;margin:0 0 18px}.process-section .card{box-shadow:none}
body[data-layout="tech"] .process-section .contact-panel{background:linear-gradient(145deg,rgba(93,244,255,.08),rgba(155,99,255,.05));border-color:rgba(210,230,255,.16)}
body[data-layout="clean"] .process-section .contact-panel{background:#fff;border-color:#e6eaf0;box-shadow:0 22px 70px rgba(15,23,42,.08);align-items:center}
body[data-layout="clean"] .process-section .card{background:#f8fbff;border-color:#dbeafe}
body[data-layout="minimal"] .process-section .contact-panel{background:#fff;border-color:#e5e5ea;box-shadow:0 24px 70px rgba(0,0,0,.055);text-align:center;display:block;max-width:1080px;margin-inline:auto}
body[data-layout="minimal"] .process-section .contact-panel>div:first-child{max-width:860px;margin-inline:auto}
body[data-layout="minimal"] .process-section .cta{justify-content:center}
body[data-layout="minimal"] .process-section .card{max-width:760px;margin:28px auto 0;text-align:left;background:#f5f5f7;border-color:#e5e5ea;box-shadow:none}

/* Hero showcase — naprawia nakładanie numerków i ucięte napisy */
body[data-layout="clean"] .layout-showcase,
body[data-layout="minimal"] .layout-showcase{width:100%!important;overflow:visible!important}
body[data-layout="clean"] .showcase-title,
body[data-layout="minimal"] .showcase-title{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.1!important;margin-bottom:18px!important}
body[data-layout="clean"] .showcase-steps,
body[data-layout="minimal"] .showcase-steps{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
body[data-layout="clean"] .showcase-steps>div,
body[data-layout="minimal"] .showcase-steps>div{
  display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;column-gap:14px!important;row-gap:4px!important;align-items:start!important;
  padding:18px!important;min-height:0!important;overflow:visible!important
}
body[data-layout="clean"] .showcase-steps b,
body[data-layout="minimal"] .showcase-steps b{
  position:static!important;grid-column:1!important;grid-row:1 / span 2!important;margin:0!important;width:40px!important;height:40px!important;border-radius:999px!important;
  display:grid!important;place-items:center!important;line-height:1!important;flex:0 0 40px!important
}
body[data-layout="clean"] .showcase-steps strong,
body[data-layout="minimal"] .showcase-steps strong{grid-column:2!important;grid-row:1!important;display:block!important;min-width:0!important;line-height:1.18!important;margin:0!important;white-space:normal!important;overflow:visible!important;color:var(--text)!important}
body[data-layout="clean"] .showcase-steps p,
body[data-layout="minimal"] .showcase-steps p{grid-column:2!important;grid-row:2!important;margin:4px 0 0!important;min-width:0!important;line-height:1.5!important;white-space:normal!important;overflow:visible!important}
body[data-layout="minimal"] .showcase-tags,body[data-layout="clean"] .showcase-tags{justify-content:flex-start!important}.showcase-tags span{white-space:normal!important}

/* Minimalistyka — jaśniejsze, dopasowane blogi i portfolio */
body[data-layout="minimal"] .post-card:before{display:none!important}
body[data-layout="minimal"] .post-card img{display:block!important;width:100%;height:170px!important;object-fit:contain!important;border:1px solid #e5e5ea;background:#fbfbfd;border-radius:22px;margin:0 0 18px!important;padding:8px!important}
body[data-layout="minimal"] .blog-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
body[data-layout="minimal"] .post-card{min-height:0!important;padding:22px!important}
body[data-layout="minimal"] .portfolio-section .project-card .preview-img,body[data-layout="minimal"] .portfolio-page .preview-img{height:260px!important;object-fit:contain!important;background:#fbfbfd!important;padding:8px!important}

/* Clean — pełniejsze, mniej puste bloki */
body[data-layout="clean"] .post-card{min-height:0!important;padding:22px!important}
body[data-layout="clean"] .post-card img{width:260px!important;height:150px!important;object-fit:contain!important;background:#f8fbff!important}
body[data-layout="clean"] .portfolio-section .project-card .preview-img,body[data-layout="clean"] .portfolio-page .preview-img{height:250px!important;object-fit:contain!important;background:#f8fbff!important;padding:8px!important}

/* Telefony — blokuje poziomy scroll i rozjechane karty */
@media(max-width:900px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .container{width:calc(100vw - 28px)!important;max-width:var(--max)!important;margin-left:auto!important;margin-right:auto!important}
  .site-header{width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important;overflow:visible!important}
  .nav-links.open{display:flex!important}
  .hero{padding-top:118px!important;min-height:0!important}.hero-grid{width:100%!important;max-width:100%!important}
  .hero h1{max-width:100%!important;overflow-wrap:break-word!important;word-break:normal!important}
  .hero-visual{width:100%!important;max-width:100%!important;padding:18px!important;border-radius:26px!important}
  body[data-layout="minimal"] .hero{text-align:left!important}.lead{max-width:100%!important}
  .grid,.cards-2,.cards-3,.blog-list,.contact-panel,.seo-power-grid{display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-width:100%!important}
  .card,.project-card,.post-card{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important}
  .card p,.project-card p,.post-card p{max-width:100%!important;overflow-wrap:break-word!important}
  body[data-layout="clean"] .services-section .card,
  body[data-layout="minimal"] .services-section .card{display:block!important;text-align:left!important;padding:22px!important;min-height:0!important}
  body[data-layout="clean"] .services-section .card .layout-icon,
  body[data-layout="minimal"] .services-section .card .layout-icon{display:grid!important;margin:0 0 14px!important;width:56px!important;height:56px!important}
  body[data-layout="clean"] .services-section .card .badge,
  body[data-layout="minimal"] .services-section .card .badge{display:inline-flex!important;width:auto!important;max-width:100%!important;margin:0 0 12px!important;white-space:normal!important}
  body[data-layout="clean"] .services-section .card h3,
  body[data-layout="minimal"] .services-section .card h3{font-size:1.45rem!important;line-height:1.12!important;margin:0 0 12px!important}
  body[data-layout="clean"] .services-section .card p,
  body[data-layout="minimal"] .services-section .card p{font-size:1rem!important;line-height:1.6!important;margin:0!important;display:block!important}
  body[data-layout="clean"] .portfolio-section .project-card,body[data-layout="clean"] .portfolio-page .card,
  body[data-layout="minimal"] .portfolio-section .project-card,body[data-layout="minimal"] .portfolio-page .card{display:block!important;padding:18px!important}
  body[data-layout="clean"] .portfolio-section .project-card .preview-img,body[data-layout="clean"] .portfolio-page .preview-img,
  body[data-layout="minimal"] .portfolio-section .project-card .preview-img,body[data-layout="minimal"] .portfolio-page .preview-img{width:100%!important;height:auto!important;max-height:250px!important;margin:0 0 16px!important;object-fit:contain!important}
  body[data-layout="clean"] .post-card,body[data-layout="minimal"] .post-card{display:block!important;padding:18px!important}
  body[data-layout="clean"] .post-card img,body[data-layout="minimal"] .post-card img{width:100%!important;height:auto!important;max-height:220px!important;object-fit:contain!important;margin:0 0 16px!important}
  body[data-layout="clean"] .showcase-steps>div,body[data-layout="minimal"] .showcase-steps>div{grid-template-columns:42px minmax(0,1fr)!important;padding:15px!important}
  body[data-layout="clean"] .showcase-steps b,body[data-layout="minimal"] .showcase-steps b{width:36px!important;height:36px!important;font-size:.78rem!important}
  .process-section .contact-panel{padding:22px!important;border-radius:26px!important}.process-section h2{font-size:clamp(2rem,11vw,3.15rem)!important}
  .back-to-top{display:none!important}
}
@media(max-width:480px){
  .container{width:calc(100vw - 24px)!important}.hero h1{font-size:clamp(2.25rem,12vw,3.35rem)!important;line-height:1!important}.section-head h2{font-size:clamp(2rem,10vw,2.85rem)!important}.hero-visual{padding:16px!important}.showcase-title{font-size:1.45rem!important}.showcase-steps p{font-size:.92rem!important}.chat-toggle{padding:14px 17px!important}
}


/* =========================
   V20 — mobile fixes + SEO layout polish
   ========================= */
html,body{max-width:100%;overflow-x:hidden}
main{overflow:hidden}
img{max-width:100%;height:auto}
.container{max-width:var(--max);margin-inline:auto}

/* Back to top also on phones */
.back-to-top{right:16px;bottom:112px}
@media(max-width:900px){
  .back-to-top{display:grid!important;width:42px!important;height:42px!important;right:14px!important;bottom:88px!important;font-size:1.05rem!important;z-index:125!important}
  .back-to-top.show{opacity:.95!important;pointer-events:auto!important}
}

/* Contact/process block: readable in every layout */
.process-section .contact-panel{
  overflow:hidden;
  gap:24px!important;
}
body[data-layout="clean"] .process-section .contact-panel{
  background:#0f172a!important;
  color:#ffffff!important;
  border-color:rgba(15,23,42,.14)!important;
}
body[data-layout="clean"] .process-section .contact-panel h2,
body[data-layout="clean"] .process-section .contact-panel h3,
body[data-layout="clean"] .process-section .contact-panel strong{color:#ffffff!important}
body[data-layout="clean"] .process-section .contact-panel p,
body[data-layout="clean"] .process-section .contact-panel li{color:#dbeafe!important}
body[data-layout="clean"] .process-section .contact-panel .card{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  color:#ffffff!important;
}
body[data-layout="minimal"] .process-section .contact-panel{
  background:#ffffff!important;
  color:#1d1d1f!important;
  border:1px solid #e5e5ea!important;
  box-shadow:0 22px 70px rgba(0,0,0,.06)!important;
}
body[data-layout="minimal"] .process-section .contact-panel h2,
body[data-layout="minimal"] .process-section .contact-panel h3,
body[data-layout="minimal"] .process-section .contact-panel strong{color:#1d1d1f!important}
body[data-layout="minimal"] .process-section .contact-panel p,
body[data-layout="minimal"] .process-section .contact-panel li{color:#5f6470!important}
body[data-layout="minimal"] .process-section .contact-panel .card{
  background:#f5f5f7!important;border:1px solid #e5e5ea!important;color:#1d1d1f!important;
}

/* Hero/process showcase: stop text overlap */
.layout-showcase{min-width:0!important;overflow:hidden!important}
.showcase-title{line-height:1.05!important;word-break:normal!important}
.showcase-steps{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
.showcase-steps>div{
  position:relative!important;
  display:block!important;
  padding:16px 18px 16px 64px!important;
  min-height:auto!important;
  overflow:hidden!important;
}
.showcase-steps b{
  position:absolute!important;
  left:18px!important;top:18px!important;
  width:34px!important;height:34px!important;
  display:grid!important;place-items:center!important;
  border-radius:50%!important;
  margin:0!important;
  font-size:.82rem!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.showcase-steps strong{display:block!important;line-height:1.15!important;margin:0 0 7px!important;word-break:normal!important}
.showcase-steps p{display:block!important;line-height:1.5!important;margin:0!important;word-break:normal!important}

/* Minimal main page: calmer Apple-like layout without collisions */
body[data-layout="minimal"] .hero-grid{grid-template-columns:minmax(0,1fr) minmax(340px,.72fr)!important;gap:44px!important;align-items:center!important}
body[data-layout="minimal"] .hero h1{
  font-size:clamp(3.2rem,7vw,6.5rem)!important;
  line-height:.94!important;
  letter-spacing:-.075em!important;
  max-width:840px!important;
}
body[data-layout="minimal"] .lead{max-width:720px!important}
body[data-layout="minimal"] .hero-visual{overflow:hidden!important}
body[data-layout="minimal"] .layout-showcase{background:#f5f5f7!important;border:1px solid #e5e5ea!important;color:#1d1d1f!important}
body[data-layout="minimal"] .layout-showcase p{color:#66666d!important}

/* Clean / Minimal service cards on desktop and mobile */
body[data-layout="clean"] .services-section .cards-3,
body[data-layout="minimal"] .services-section .cards-3{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px!important;
}
body[data-layout="clean"] .services-section .card,
body[data-layout="minimal"] .services-section .card{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:12px!important;
  min-width:0!important;
  min-height:0!important;
}
body[data-layout="clean"] .services-section .card h3,
body[data-layout="minimal"] .services-section .card h3{
  font-size:clamp(1.35rem,2vw,1.85rem)!important;
  line-height:1.08!important;
  margin:0!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
body[data-layout="clean"] .services-section .card p,
body[data-layout="minimal"] .services-section .card p{
  font-size:1rem!important;
  line-height:1.65!important;
  margin:0!important;
  max-width:100%!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
body[data-layout="clean"] .layout-icon,
body[data-layout="minimal"] .layout-icon{
  flex:0 0 auto!important;
  width:56px!important;height:56px!important;
  display:grid!important;place-items:center!important;
  margin:0!important;
}
body[data-layout="clean"] .badge,
body[data-layout="minimal"] .badge{
  width:auto!important;max-width:100%!important;display:inline-flex!important;white-space:normal!important;
}

/* Blog cards: desktop */
body[data-layout="minimal"] .blog-section .blog-list,
body[data-layout="clean"] .blog-section .blog-list,
body[data-layout="minimal"] .blog-list,
body[data-layout="clean"] .blog-list{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
}
body[data-layout="minimal"] .post-card,
body[data-layout="clean"] .post-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  min-width:0!important;
  overflow:hidden!important;
  padding:18px!important;
  border-radius:28px!important;
}
body[data-layout="minimal"] .post-card img,
body[data-layout="clean"] .post-card img{
  width:100%!important;
  height:180px!important;
  object-fit:contain!important;
  border-radius:20px!important;
  margin:0 0 18px!important;
  background:#f5f5f7!important;
}
body[data-layout="minimal"] .post-card h3,
body[data-layout="clean"] .post-card h3{
  font-size:1.35rem!important;
  line-height:1.12!important;
  margin:0 0 10px!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
body[data-layout="minimal"] .post-card p,
body[data-layout="clean"] .post-card p{
  font-size:1rem!important;
  line-height:1.55!important;
  margin:0!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}

/* Portfolio cards */
body[data-layout="minimal"] .portfolio-section .cards-2,
body[data-layout="minimal"] .portfolio-page .cards-2,
body[data-layout="clean"] .portfolio-section .cards-2,
body[data-layout="clean"] .portfolio-page .cards-2{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:22px!important;
}
body[data-layout="minimal"] .portfolio-section .project-card,
body[data-layout="minimal"] .portfolio-page .card,
body[data-layout="clean"] .portfolio-section .project-card,
body[data-layout="clean"] .portfolio-page .card{
  min-width:0!important;overflow:hidden!important;
}
body[data-layout="minimal"] .portfolio-section .project-card .preview-img,
body[data-layout="minimal"] .portfolio-page .preview-img,
body[data-layout="clean"] .portfolio-section .project-card .preview-img,
body[data-layout="clean"] .portfolio-page .preview-img{
  width:100%!important;
  height:240px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#f5f5f7!important;
}

/* Mobile: one-column, no vertical text, no overflow */
@media(max-width:820px){
  body{min-width:0!important}
  .site-header{max-width:calc(100% - 20px)!important}
  .nav{max-width:100%!important}
  .nav-links.open{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}
  .nav-links.open a,.nav-links.open .theme-switch,.nav-links.open .lang-switch{width:100%!important}
  .theme-menu{position:static!important;width:100%!important;margin-top:8px!important}
  .hero{padding-top:46px!important}
  .hero-grid{display:grid!important;grid-template-columns:1fr!important;gap:24px!important}
  body[data-layout="minimal"] .hero-grid,body[data-layout="clean"] .hero-grid{grid-template-columns:1fr!important}
  body[data-layout="minimal"] .hero h1,body[data-layout="clean"] .hero h1, .hero h1{
    font-size:clamp(2.35rem,11.6vw,4.1rem)!important;
    line-height:1.02!important;
    letter-spacing:-.065em!important;
    max-width:100%!important;
  }
  .lead{font-size:1.02rem!important;line-height:1.62!important;max-width:100%!important}
  .cta{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important}
  .cta .btn{width:100%!important;justify-content:center!important}
  .hero-visual{display:block!important;min-height:0!important;padding:16px!important}
  .layout-showcase{padding:18px!important;border-radius:24px!important}
  .showcase-title{font-size:1.35rem!important}
  .showcase-tags{display:flex!important;flex-wrap:wrap!important}
  .showcase-tags span{font-size:.75rem!important}
  .browser,.float-pill{display:none!important}

  body[data-layout="clean"] .services-section .cards-3,
  body[data-layout="minimal"] .services-section .cards-3,
  .cards-3,.cards-2,
  body[data-layout="minimal"] .portfolio-section .cards-2,
  body[data-layout="minimal"] .portfolio-page .cards-2,
  body[data-layout="clean"] .portfolio-section .cards-2,
  body[data-layout="clean"] .portfolio-page .cards-2,
  body[data-layout="minimal"] .blog-list,
  body[data-layout="clean"] .blog-list,
  .blog-list{
    grid-template-columns:1fr!important;
  }
  body[data-layout="clean"] .services-section .card,
  body[data-layout="minimal"] .services-section .card,
  .card{
    display:block!important;
    padding:20px!important;
  }
  body[data-layout="clean"] .services-section .card h3,
  body[data-layout="minimal"] .services-section .card h3{
    font-size:1.55rem!important;line-height:1.12!important;margin:0 0 12px!important;
  }
  body[data-layout="clean"] .services-section .card p,
  body[data-layout="minimal"] .services-section .card p{
    font-size:1rem!important;line-height:1.62!important;max-width:100%!important;
  }
  .layout-icon{margin:0 0 14px!important}
  .badge{margin:0 0 12px!important}
  .section-head{display:block!important}
  .section-head h2{
    font-size:clamp(2rem,10vw,3.2rem)!important;
    line-height:1.02!important;
    letter-spacing:-.055em!important;
    max-width:100%!important;
    text-align:left!important;
  }
  body[data-layout="minimal"] .blog-section .section-head h2,
  body[data-layout="clean"] .blog-section .section-head h2{
    text-align:left!important;
  }
  .section-head p{font-size:1rem!important;line-height:1.6!important;max-width:100%!important}
  .post-card{padding:18px!important}
  body[data-layout="minimal"] .post-card,
  body[data-layout="clean"] .post-card{display:block!important}
  body[data-layout="minimal"] .post-card img,
  body[data-layout="clean"] .post-card img,
  .post-card img{
    height:auto!important;
    max-height:220px!important;
    object-fit:contain!important;
  }
  body[data-layout="minimal"] .post-card h3,
  body[data-layout="clean"] .post-card h3,
  .post-card h3{
    font-size:1.55rem!important;
    line-height:1.08!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  body[data-layout="minimal"] .portfolio-section .project-card .preview-img,
  body[data-layout="minimal"] .portfolio-page .preview-img,
  body[data-layout="clean"] .portfolio-section .project-card .preview-img,
  body[data-layout="clean"] .portfolio-page .preview-img,
  .preview-img{
    height:auto!important;
    max-height:250px!important;
    object-fit:contain!important;
  }
  .process-section .contact-panel{
    display:grid!important;
    grid-template-columns:1fr!important;
    padding:22px!important;
    border-radius:28px!important;
  }
  .process-section h2{font-size:clamp(2.05rem,10vw,3.1rem)!important;text-align:left!important}
  .process-section .card{padding:18px!important}
}
@media(max-width:480px){
  .container{width:calc(100vw - 28px)!important}
  .hero-visual{padding:12px!important}
  .layout-showcase{padding:14px!important}
  .showcase-steps>div{padding:14px 14px 14px 58px!important}
  .showcase-steps b{left:14px!important;top:14px!important;width:32px!important;height:32px!important}
  .section-head h2{font-size:clamp(1.9rem,9.5vw,2.8rem)!important}
  .chat-widget{right:10px!important;bottom:10px!important}
  .chat-toggle{padding:13px 16px!important}
  .back-to-top{right:12px!important;bottom:76px!important}
}

/* SEO landing pages */
.landing-hero{padding:92px 0 44px}
.landing-hero .container{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.7fr);gap:30px;align-items:center}
.landing-hero h1{font-size:clamp(2.5rem,5vw,5.4rem);line-height:.95;letter-spacing:-.06em;margin:0 0 18px}
.landing-hero p{font-size:1.12rem;line-height:1.75;max-width:760px}
.seo-box{border:1px solid var(--line);border-radius:var(--radius);padding:26px;background:linear-gradient(145deg,var(--card2),rgba(255,255,255,.025));box-shadow:var(--shadow)}
.seo-box ul{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.seo-box li{padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.035)}
body[data-layout="clean"] .seo-box,body[data-layout="minimal"] .seo-box{background:#fff;color:#111827;border-color:#e5e7eb}
body[data-layout="clean"] .seo-box li,body[data-layout="minimal"] .seo-box li{background:#f8fafc;color:#111827;border-color:#e5e7eb}
@media(max-width:820px){.landing-hero .container{grid-template-columns:1fr}.landing-hero{padding-top:60px}.landing-hero h1{font-size:clamp(2.2rem,11vw,3.6rem)}}


.footer-sitemap{display:flex;gap:10px 16px;flex-wrap:wrap;margin-top:14px;max-width:760px}
.footer-sitemap a{font-size:.92rem}
body[data-layout="clean"] .process-section .contact-panel .btn:not(.primary){color:#fff!important;border-color:rgba(255,255,255,.25)!important;background:rgba(255,255,255,.06)!important}
body[data-layout="minimal"] .process-section .contact-panel .btn:not(.primary){color:#111827!important;border-color:#d1d5db!important;background:#fff!important}
body[data-layout="clean"] .process-section .contact-panel .btn.primary{background:#ffffff!important;color:#0f172a!important}
body[data-layout="minimal"] .process-section .contact-panel .btn.primary{background:#111827!important;color:#ffffff!important}


/* ===== v22 final visual fixes: clean cards, blog, mobile, contrast ===== */
html,body{max-width:100%;overflow-x:hidden!important}
img{max-width:100%;height:auto}

/* Clean Business: portfolio cards must not cut headings/descriptions */
body[data-layout="clean"] .portfolio-section .cards-2,
body[data-layout="clean"] .portfolio-page .cards-2{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:22px!important;
}
body[data-layout="clean"] .portfolio-section .project-card,
body[data-layout="clean"] .portfolio-page .project-card,
body[data-layout="clean"] .portfolio-page .card{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:16px!important;
  padding:20px!important;
  overflow:visible!important;
  min-width:0!important;
  color:#111827!important;
}
body[data-layout="clean"] .portfolio-section .project-card .preview-img,
body[data-layout="clean"] .portfolio-page .project-card .preview-img,
body[data-layout="clean"] .portfolio-page .preview-img{
  width:100%!important;
  height:clamp(210px,18vw,280px)!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#f8fafc!important;
  border:1px solid rgba(15,23,42,.12)!important;
  border-radius:18px!important;
  padding:8px!important;
  margin:0!important;
}
body[data-layout="clean"] .project-card h3,
body[data-layout="clean"] .portfolio-page .card h3{
  color:#111827!important;
  font-size:clamp(1.45rem,2.2vw,2rem)!important;
  line-height:1.08!important;
  margin:4px 0 0!important;
  white-space:normal!important;
  overflow:visible!important;
  word-break:normal!important;
}
body[data-layout="clean"] .project-card p,
body[data-layout="clean"] .portfolio-page .card p{
  color:#5b6472!important;
  line-height:1.55!important;
  margin:0!important;
  white-space:normal!important;
  overflow:visible!important;
  word-break:normal!important;
}

/* Clean Business blog: no empty cards and no cut text */
body[data-layout="clean"] .blog-list{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px!important;
}
body[data-layout="clean"] .post-card{
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
  padding:20px!important;
  min-width:0!important;
  overflow:visible!important;
  color:#111827!important;
}
body[data-layout="clean"] .post-card img{
  width:100%!important;
  height:180px!important;
  object-fit:contain!important;
  background:#f8fafc!important;
  border:1px solid rgba(15,23,42,.10)!important;
  border-radius:18px!important;
  margin:0!important;
}
body[data-layout="clean"] .post-card h3{font-size:1.45rem!important;line-height:1.12!important;color:#111827!important;margin:0!important;white-space:normal!important;word-break:normal!important;overflow:visible!important}
body[data-layout="clean"] .post-card p{font-size:1rem!important;line-height:1.55!important;color:#5b6472!important;margin:0!important;white-space:normal!important;word-break:normal!important;overflow:visible!important}

/* Minimal: blog cards are clean, not narrow columns */
body[data-layout="minimal"] .blog-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}
body[data-layout="minimal"] .post-card{display:flex!important;flex-direction:column!important;min-width:0!important;overflow:hidden!important;border-radius:28px!important}
body[data-layout="minimal"] .post-card img{width:100%!important;height:190px!important;object-fit:contain!important;background:#f5f5f7!important;border-bottom:1px solid #e5e7eb!important}
body[data-layout="minimal"] .post-card h3{font-size:clamp(1.35rem,2.2vw,2rem)!important;line-height:1.08!important;white-space:normal!important;word-break:normal!important;overflow:visible!important}
body[data-layout="minimal"] .post-card p{font-size:1rem!important;line-height:1.55!important;white-space:normal!important;word-break:normal!important;overflow:visible!important}

/* Process / not sure section contrast */
body[data-layout="clean"] .process-section .contact-panel{
  background:#111827!important;
  color:#fff!important;
  border-color:#111827!important;
}
body[data-layout="clean"] .process-section .contact-panel h2,
body[data-layout="clean"] .process-section .contact-panel h3{color:#fff!important}
body[data-layout="clean"] .process-section .contact-panel p,
body[data-layout="clean"] .process-section .contact-panel li{color:#dbe4f0!important}
body[data-layout="clean"] .process-section .contact-panel .card{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.18)!important;color:#fff!important}
body[data-layout="clean"] .process-section .contact-panel .list li{border-color:rgba(255,255,255,.16)!important}
body[data-layout="minimal"] .process-section .contact-panel{
  background:#fff!important;
  color:#1d1d1f!important;
  border:1px solid #e5e7eb!important;
  box-shadow:0 30px 90px rgba(0,0,0,.08)!important;
}
body[data-layout="minimal"] .process-section .contact-panel h2,
body[data-layout="minimal"] .process-section .contact-panel h3{color:#1d1d1f!important}
body[data-layout="minimal"] .process-section .contact-panel p,
body[data-layout="minimal"] .process-section .contact-panel li{color:#5f6673!important}
body[data-layout="minimal"] .process-section .contact-panel .card{background:#f5f5f7!important;border-color:#e5e7eb!important;color:#1d1d1f!important}
body[data-layout="minimal"] .process-section .contact-panel .list li{border-color:#e5e7eb!important}

/* Mobile hard fixes */
@media(max-width:820px){
  .container{width:calc(100vw - 28px)!important;max-width:calc(100vw - 28px)!important}
  .site-header{left:10px!important;right:10px!important;width:auto!important;max-width:none!important}
  .nav-links{max-width:100%!important;overflow:hidden!important}
  .nav-links.open{max-height:78vh!important;overflow:auto!important}
  body[data-layout="clean"] .blog-list,
  body[data-layout="minimal"] .blog-list,
  .blog-list{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}
  body[data-layout="clean"] .post-card,
  body[data-layout="minimal"] .post-card,
  .post-card{display:flex!important;flex-direction:column!important;padding:18px!important;min-width:0!important;width:100%!important;overflow:visible!important}
  body[data-layout="clean"] .post-card img,
  body[data-layout="minimal"] .post-card img,
  .post-card img{height:auto!important;max-height:230px!important;width:100%!important;object-fit:contain!important;margin:0 0 8px!important}
  body[data-layout="clean"] .post-card h3,
  body[data-layout="minimal"] .post-card h3,
  .post-card h3{font-size:clamp(1.45rem,7vw,2.1rem)!important;line-height:1.08!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;max-width:100%!important;padding:0!important;margin:0!important}
  body[data-layout="clean"] .post-card p,
  body[data-layout="minimal"] .post-card p,
  .post-card p{font-size:1rem!important;line-height:1.55!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;padding:0!important;margin:0!important}
  body[data-layout="clean"] .portfolio-section .cards-2,
  body[data-layout="clean"] .portfolio-page .cards-2,
  body[data-layout="minimal"] .portfolio-section .cards-2,
  body[data-layout="minimal"] .portfolio-page .cards-2{grid-template-columns:1fr!important}
  body[data-layout="clean"] .project-card,
  body[data-layout="clean"] .portfolio-page .card,
  body[data-layout="minimal"] .project-card,
  body[data-layout="minimal"] .portfolio-page .card{display:flex!important;flex-direction:column!important;gap:14px!important;overflow:visible!important;width:100%!important;min-width:0!important}
  body[data-layout="clean"] .project-card .preview-img,
  body[data-layout="clean"] .portfolio-page .preview-img,
  body[data-layout="minimal"] .project-card .preview-img,
  body[data-layout="minimal"] .portfolio-page .preview-img{height:auto!important;max-height:260px!important;object-fit:contain!important;width:100%!important}
  body[data-layout="clean"] .project-card h3,
  body[data-layout="minimal"] .project-card h3{font-size:clamp(1.55rem,7vw,2.2rem)!important;line-height:1.08!important;white-space:normal!important;overflow:visible!important}
  .section-head h2, .article h1{font-size:clamp(2rem,9vw,3.25rem)!important;line-height:1.04!important;letter-spacing:-.055em!important;text-align:left!important}
  body[data-layout="minimal"] .blog-section .section-head h2{font-size:clamp(2rem,8.8vw,3.1rem)!important;text-align:left!important}
  .back-to-top{display:grid!important;right:12px!important;bottom:86px!important;width:44px!important;height:44px!important;z-index:89!important}
}
@media(max-width:480px){
  body[data-layout="minimal"] .blog-list,body[data-layout="clean"] .blog-list{grid-template-columns:1fr!important}
  body[data-layout="minimal"] .post-card,body[data-layout="clean"] .post-card{border-radius:24px!important}
  .chat-widget{right:10px!important;bottom:12px!important}
  .back-to-top{right:12px!important;bottom:78px!important}
}

/* v23 — portfolio screenshots fill rounded cards in every layout */
.portfolio-section .project-card,
.portfolio-page .card{
  overflow:hidden!important;
}
.portfolio-section .project-card .preview-img,
.portfolio-page .preview-img,
body[data-layout="tech"] .portfolio-section .project-card .preview-img,
body[data-layout="tech"] .portfolio-page .preview-img,
body[data-layout="clean"] .portfolio-section .project-card .preview-img,
body[data-layout="clean"] .portfolio-page .preview-img,
body[data-layout="minimal"] .portfolio-section .project-card .preview-img,
body[data-layout="minimal"] .portfolio-page .preview-img{
  display:block!important;
  width:100%!important;
  height:clamp(230px,22vw,340px)!important;
  max-height:none!important;
  aspect-ratio:16/9!important;
  object-fit:cover!important;
  object-position:center top!important;
  padding:0!important;
  margin:0 0 18px!important;
  border:0!important;
  background:transparent!important;
  border-radius:24px!important;
  box-shadow:none!important;
}
.portfolio-page .preview-img[src*="adikar"],
.portfolio-section .preview-img[src*="adikar"]{object-position:center 18%!important;}
.portfolio-page .preview-img[src*="riri"],
.portfolio-section .preview-img[src*="riri"]{object-position:center 10%!important;}
.portfolio-page .preview-img[src*="szanowanydom"],
.portfolio-section .preview-img[src*="szanowanydom"]{object-position:center center!important;}
.portfolio-page .preview-img[src*="korea"],
.portfolio-section .preview-img[src*="korea"]{object-position:center center!important;}
body[data-layout="clean"] .portfolio-section .project-card,
body[data-layout="clean"] .portfolio-page .card,
body[data-layout="minimal"] .portfolio-section .project-card,
body[data-layout="minimal"] .portfolio-page .card{
  padding:18px!important;
}
body[data-layout="clean"] .portfolio-section .project-card h3,
body[data-layout="clean"] .portfolio-page .card h3,
body[data-layout="minimal"] .portfolio-section .project-card h3,
body[data-layout="minimal"] .portfolio-page .card h3{
  margin-top:6px!important;
}
@media(max-width:820px){
  .portfolio-section .project-card .preview-img,
  .portfolio-page .preview-img,
  body[data-layout="tech"] .portfolio-section .project-card .preview-img,
  body[data-layout="tech"] .portfolio-page .preview-img,
  body[data-layout="clean"] .portfolio-section .project-card .preview-img,
  body[data-layout="clean"] .portfolio-page .preview-img,
  body[data-layout="minimal"] .portfolio-section .project-card .preview-img,
  body[data-layout="minimal"] .portfolio-page .preview-img{
    height:220px!important;
    max-height:none!important;
    aspect-ratio:16/9!important;
    object-fit:cover!important;
    padding:0!important;
    margin:0 0 14px!important;
    border-radius:20px!important;
  }
}
@media(max-width:480px){
  .portfolio-section .project-card .preview-img,
  .portfolio-page .preview-img,
  body[data-layout="clean"] .portfolio-section .project-card .preview-img,
  body[data-layout="clean"] .portfolio-page .preview-img,
  body[data-layout="minimal"] .portfolio-section .project-card .preview-img,
  body[data-layout="minimal"] .portfolio-page .preview-img{
    height:190px!important;
    border-radius:18px!important;
  }
}

/* === v24 final portfolio fix: real screenshots fill rounded cards, no inner white frame === */
/* Cards with portfolio screenshots should look like a real screenshot placed inside the rounded card, not pasted into a padded mockup. */
.portfolio-section .project-card,
.portfolio-page .card,
body[data-layout="tech"] .portfolio-section .project-card,
body[data-layout="tech"] .portfolio-page .card,
body[data-layout="clean"] .portfolio-section .project-card,
body[data-layout="clean"] .portfolio-page .card,
body[data-layout="minimal"] .portfolio-section .project-card,
body[data-layout="minimal"] .portfolio-page .card{
  overflow:hidden!important;
}
/* Remove all image padding/background/borders created by earlier clean/minimal mockup styles. */
.portfolio-section .project-card .preview-img,
.portfolio-page .preview-img,
body[data-layout="tech"] .portfolio-section .project-card .preview-img,
body[data-layout="tech"] .portfolio-page .preview-img,
body[data-layout="clean"] .portfolio-section .project-card .preview-img,
body[data-layout="clean"] .portfolio-page .preview-img,
body[data-layout="minimal"] .portfolio-section .project-card .preview-img,
body[data-layout="minimal"] .portfolio-page .preview-img{
  display:block!important;
  width:100%!important;
  height:clamp(260px,24vw,390px)!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:cover!important;
  object-position:center top!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:0!important;
}
/* Give text its own inner spacing instead of padding around the image. */
.portfolio-section .project-card h3,
.portfolio-section .project-card p,
.portfolio-page .card h3,
.portfolio-page .card p{
  padding-left:clamp(18px,2vw,28px)!important;
  padding-right:clamp(18px,2vw,28px)!important;
}
.portfolio-section .project-card h3,
.portfolio-page .card h3{
  margin-top:clamp(20px,2vw,28px)!important;
  margin-bottom:10px!important;
}
.portfolio-section .project-card p,
.portfolio-page .card p{
  margin-bottom:clamp(22px,2.2vw,32px)!important;
}
/* Clean and minimal layouts: full top image + text underneath; no text squeezed next to image. */
body[data-layout="clean"] .portfolio-section .project-card,
body[data-layout="clean"] .portfolio-page .card,
body[data-layout="minimal"] .portfolio-section .project-card,
body[data-layout="minimal"] .portfolio-page .card{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  padding:0!important;
  min-height:0!important;
  background:#fff!important;
}
/* AI Tech: keep dark card, but screenshot still fills its rounded area. */
body[data-layout="tech"] .portfolio-section .project-card,
body[data-layout="tech"] .portfolio-page .card{
  padding:0!important;
}
body[data-layout="tech"] .portfolio-section .project-card h3,
body[data-layout="tech"] .portfolio-section .project-card p,
body[data-layout="tech"] .portfolio-page .card h3,
body[data-layout="tech"] .portfolio-page .card p{
  padding-left:clamp(20px,2vw,30px)!important;
  padding-right:clamp(20px,2vw,30px)!important;
}
/* Individual crop tuning for real screenshots. */
.portfolio-section .preview-img[src*="adikar"],
.portfolio-page .preview-img[src*="adikar"]{object-position:center 12%!important;}
.portfolio-section .preview-img[src*="riri"],
.portfolio-page .preview-img[src*="riri"]{object-position:center 8%!important;}
.portfolio-section .preview-img[src*="szanowanydom"],
.portfolio-page .preview-img[src*="szanowanydom"]{object-position:center 18%!important;}
.portfolio-section .preview-img[src*="korea"],
.portfolio-page .preview-img[src*="korea"]{object-position:center center!important;}
@media(max-width:980px){
  .portfolio-section .project-card .preview-img,
  .portfolio-page .preview-img,
  body[data-layout="clean"] .portfolio-section .project-card .preview-img,
  body[data-layout="clean"] .portfolio-page .preview-img,
  body[data-layout="minimal"] .portfolio-section .project-card .preview-img,
  body[data-layout="minimal"] .portfolio-page .preview-img{
    height:clamp(210px,45vw,340px)!important;
  }
}
@media(max-width:520px){
  .portfolio-section .project-card .preview-img,
  .portfolio-page .preview-img,
  body[data-layout="clean"] .portfolio-section .project-card .preview-img,
  body[data-layout="clean"] .portfolio-page .preview-img,
  body[data-layout="minimal"] .portfolio-section .project-card .preview-img,
  body[data-layout="minimal"] .portfolio-page .preview-img{
    height:210px!important;
  }
  .portfolio-section .project-card h3,
  .portfolio-section .project-card p,
  .portfolio-page .card h3,
  .portfolio-page .card p{
    padding-left:18px!important;
    padding-right:18px!important;
  }
}
