/* Skadrowani – wersja 3 (ciemny granat, żółte akcenty) */
:root {
  --bg: #0c1a30;
  --bg2: #11223d;
  --esp: #f5c400;
  --esp2: #13243f;
  --esp3: #1d3254;
  --ink: #f3efe4;
  --text: #aebbd0;
  --line: #253a5c;
  --gold: #f5c400;
  --red: #d52c2c;
  --head: 84px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head); }
body { margin: 0; background: var(--bg); color: var(--text); font: 300 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
b, strong { font-weight: 600; color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: min(1300px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-inline: auto; }
.muted { color: var(--text); }
.hp { position: absolute; left: -9999px; }

.eyebrow { font: 500 12px var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
.eyebrow--light { color: #9fb0c8; }
.mega { font-size: clamp(48px, 7vw, 92px); text-transform: uppercase; letter-spacing: -.01em; font-weight: 700; }
.h2 { font-size: clamp(34px, 4.4vw, 56px); }
.h3 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.2em; }
.bar { display: block; width: 80px; height: 3px; background: var(--esp); margin: -6px 0 30px; }
.lead { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 42px); line-height: 1.25; color: var(--ink); font-weight: 500; max-width: 1050px; }

.sec { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.sec--top0 { padding-top: 0; }
.sec--soft { background: var(--bg2); }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 18px 34px; border: 0; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.btn--dark { background: var(--esp); color: var(--bg); }
.btn--dark:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.btn--light { background: var(--bg); color: var(--esp); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--pill { background: var(--esp); color: var(--bg); border-radius: 40px; text-transform: none; letter-spacing: .02em; font-size: 15px; padding: 15px 30px; margin-top: 28px; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.btn--pill:hover { background: var(--ink); transform: translateY(-2px); }
.btn--full { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.link-arrow { font: 500 14px var(--sans); color: var(--esp); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--ink); }

/* nagłówek */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head); background: rgba(12,26,48,.88); backdrop-filter: blur(10px); transition: box-shadow .3s; }
.top.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.top__in { height: 100%; display: flex; align-items: center; gap: 30px; }
.top__logo img { height: 27px; width: auto; }
.top__nav { display: flex; gap: 40px; margin: 0 auto; }
.top__nav a { font: 400 14px var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--text); text-decoration: none; }
.top__nav a:hover { color: var(--ink); }
.top__cta { padding: 13px 22px; font-size: 12px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--esp); transition: .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* hero */
.hero { position: relative; padding: calc(var(--head) + 50px) 0 90px; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(44px, 6.2vw, 86px); font-weight: 500; line-height: 1.04; letter-spacing: -.01em; }
.hero__sub { font-size: 17px; max-width: 520px; margin: 26px 0 36px; }
.hero .up { text-transform: uppercase; }
.hero .bar { margin: 18px 0 22px; }
.hero__lead { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 27px); line-height: 1.3; color: var(--ink); font-weight: 500; max-width: 620px; }
.hero__lead + .hero__sub { margin-top: 18px; }
.oferta-rolki { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.hero__cta { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero__media { position: relative; justify-self: center; width: min(440px, 100%); }
.arch { border-radius: 999px 999px 18px 18px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 30px 60px rgba(0,0,0,.35); background: var(--bg2); }
.arch video { width: 100%; height: 100%; object-fit: cover; }
.hero__media--poziom { width: 100%; }
.arch--poziom { border-radius: 18px; aspect-ratio: 16 / 9; }
.tilt-wrap--para { width: min(480px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tilt-wrap--para .tilt:nth-child(2) { transform: rotate(-3deg); margin-top: 40px; }
.tilt-wrap--para:hover .tilt:nth-child(2) { transform: rotate(0); }
.ring { position: absolute; border: 1px solid rgba(245,196,0,.35); border-radius: 50%; pointer-events: none; }
.ring--1 { width: 70px; height: 70px; right: -10px; top: -20px; }
.ring--2 { width: 96px; height: 96px; left: -20px; bottom: 20px; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.blob--a { width: 420px; height: 420px; background: #13243f; left: -160px; top: 30%; }
.blob--b { width: 520px; height: 520px; background: #102039; right: -180px; top: 0; }

/* układ dwukolumnowy */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.split--center { align-items: center; margin-top: 50px; }
.split > * { min-width: 0; }
.dash { list-style: none; padding: 0; margin: 0; font-size: 17px; }
.dash li::before { content: "— "; color: var(--gold); }

/* przechylona karta z filmem */
.tilt-wrap { position: relative; justify-self: center; width: min(380px, 100%); padding: 30px 0; }
.tilt-wrap--l { width: min(560px, 100%); }
.tilt-wrap--stack { display: grid; gap: 24px; }
.tilt-wrap--stack .tilt, .tilt-wrap--stack:hover .tilt { transform: none; aspect-ratio: 16 / 9; }
.tilt { transform: rotate(3deg); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); aspect-ratio: 9 / 16; background: var(--bg2); transition: transform .5s; }
.tilt--wide { aspect-ratio: 16 / 10; transform: rotate(-2.5deg); }
.tilt-wrap:hover .tilt { transform: rotate(0); }
.tilt video { width: 100%; height: 100%; object-fit: cover; }
.dot { position: absolute; width: 90px; height: 90px; border-radius: 50%; background: #1d3254; left: -60px; bottom: 0; z-index: -1; }
.dot--l { left: auto; right: -30px; top: -10px; bottom: auto; }

/* ciemne sekcje */
.dark { background: var(--esp); color: #dfe5ef; padding: clamp(70px, 9vw, 120px) 0; }
.dark h2, .dark h3 { color: var(--bg); }
.dark .muted { color: #c3cede; }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px; }
.card { background: var(--esp2); border-radius: 16px; padding: 28px 22px; text-align: center; }
.card h3 { font-size: 24px; margin: 14px 0 6px; }
.card p { font-size: 14px; margin: 0; color: #c3cede; }
.ico { width: 50px; height: 50px; border-radius: 10px; background: var(--esp3); display: inline-grid; place-items: center; }
.ico svg, .sq svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map { width: min(420px, 80%); margin: 60px auto 0; filter: brightness(1.6) saturate(.6); opacity: .9; }

.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; gap: 22px; align-items: baseline; padding: 20px 6px; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 18px; color: var(--bg); font-weight: 400; }
.rows li:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.rows span { font-family: var(--serif); font-size: 22px; color: var(--gold); min-width: 30px; }

/* lista z kwadratami */
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feat li { display: flex; gap: 18px; align-items: center; background: var(--bg); border-radius: 12px; padding: 16px 20px; box-shadow: 0 2px 10px rgba(0,0,0,.35); color: var(--ink); font-weight: 400; font-size: 15px; }
.sq { flex: none; width: 42px; height: 42px; border-radius: 6px; background: var(--esp); color: var(--bg); display: grid; place-items: center; }
.sq svg { width: 20px; height: 20px; }

/* realizacje */
.works__head { font-size: clamp(28px, 2.8vw, 36px); text-align: center; margin: 70px 0 0; }
.works__head + .works { margin-top: 34px; }
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; margin-top: 60px; }
.works--rolki { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 22px; }
.work { text-align: left; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.work__img { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg2); box-shadow: 0 16px 34px rgba(0,0,0,.35); }
.works--rolki .work__img { aspect-ratio: 9 / 16; }
.works--rolki .work h3 { font-size: 22px; margin-top: 16px; }
.works--rolki .work p:empty { display: none; }
.work__img img, .work__img video { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.work__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(249,247,243,.92); display: grid; place-items: center; transform: scale(.85); opacity: 0; transition: .3s; }
.work__play::before { content: ""; border-left: 16px solid var(--esp); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.work:hover .work__img img, .work:focus-visible .work__img img, .work:hover .work__img video, .work:focus-visible .work__img video { transform: scale(1.05); }
.work:hover .work__play, .work:focus-visible .work__play { opacity: 1; transform: scale(1); }
.work h3 { font-size: 28px; margin: 22px 0 6px; }
.work p { font-size: 14px; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.work .tag { font: 500 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--esp); border: 1px solid var(--esp); border-radius: 30px; padding: 7px 14px; display: inline-block; transition: .2s; }
.work:hover .tag { background: var(--esp); color: var(--bg); }
.work:focus-visible { outline: 2px solid var(--esp); outline-offset: 6px; border-radius: 14px; }

/* proces */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; }
.steps li { display: flex; gap: 26px; align-items: flex-start; }
.steps span { flex: none; width: 56px; height: 56px; background: var(--esp); color: var(--bg); display: grid; place-items: center; font: 700 22px var(--serif); }
.steps h3 { font-size: 26px; margin: 2px 0 4px; }
.steps p { margin: 0; }
.proc-photo { position: sticky; top: calc(var(--head) + 30px); }
.proc-photo img { border-radius: 999px 999px 18px 18px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.proc-rolki .tilt-wrap { padding: 0; }

/* zespół */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 60px auto 0; max-width: 1200px; align-items: start; }
.person--down { margin-top: 60px; }
.person__img { overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s; }
.person:hover .person__img img { transform: scale(1.04); }
.person h3 { font-size: 34px; margin: 26px 0 4px; font-weight: 500; }
.role { font: 500 12px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.person p:last-child { font-size: 15px; }

/* kontakt + stopka */
.contact { background: var(--esp); color: #dfe5ef; padding-top: clamp(70px, 9vw, 120px); }
.contact h2 { color: var(--bg); }
.contact .muted { color: #c3cede; }
.contact__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); margin-top: 60px; align-items: start; }
.contact__in > * { min-width: 0; }
.contact__line { display: block; text-decoration: none; color: var(--bg); font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.14); margin: 0; word-break: break-word; }
.contact__line span { display: block; font: 500 11px var(--sans); letter-spacing: .26em; text-transform: uppercase; color: #9fb0c8; margin-bottom: 6px; }
a.contact__line:hover { color: var(--gold); }
.form { background: var(--esp2); padding: clamp(22px, 3vw, 38px); border-radius: 16px; }
.form label { display: block; margin-bottom: 16px; }
.form label span { display: block; font: 500 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #9fb0c8; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: 400 16px var(--sans); color: var(--bg); background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); padding: 10px 2px; border-radius: 0; }
.form select option { color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--gold); }
.form .is-bad { border-bottom-color: #ff8a7a; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__row > * { min-width: 0; }
.form .btn { margin-top: 10px; }
.form__msg { margin: 14px 0 0; min-height: 1.5em; font-weight: 500; }
.form__msg.ok { color: #c9e6b9; }
.form__msg.err { color: #ffb3a8; }

.foot { margin-top: clamp(70px, 9vw, 110px); border-top: 1px solid rgba(255,255,255,.12); padding: 50px 0 30px; font-size: 14px; color: #9fb0c8; }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot img { height: 23px; width: auto; margin-bottom: 14px; }
.foot__h { font: 500 11px var(--sans); letter-spacing: .26em; text-transform: uppercase; margin-bottom: 12px; }
.foot a { color: var(--bg); text-decoration: none; line-height: 2; }
.foot a:hover { color: var(--gold); }
.foot__copy { text-align: center; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

/* okno z filmem */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(4,10,20,.9); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: min(960px, 100%); max-height: 100%; overflow: auto; background: var(--bg); border-radius: 16px; }
.modal__video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.modal__video.is-short { aspect-ratio: 9 / 16; max-height: 76vh; margin-inline: auto; }
.modal__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.modal__txt { padding: 22px 26px 10px; }
.modal__txt h3 { font-size: 30px; }
.modal__txt p:empty { display: none; }
.modal__x { position: absolute; z-index: 3; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg); color: var(--esp); font-size: 28px; line-height: 1; cursor: pointer; }
.modal__x:hover { background: var(--esp); color: var(--bg); }

/* cennik: pakiety miesięczne */
.price-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.price-stats div { background: #fff; border: 1px solid var(--line); padding: 12px 26px; text-align: center; line-height: 1.3; }
.price-stats b { display: block; font: 600 32px/1.1 var(--serif); color: var(--esp); }
.price-stats span { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--text); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 60px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); padding: 38px 32px 32px; display: flex; flex-direction: column; box-shadow: 0 18px 40px rgba(0,0,0,.35); transition: transform .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.plan__top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.plan h3 { font-size: clamp(32px, 3vw, 40px); margin: 0; }
.plan__badge { background: var(--bg); color: var(--esp); font: 500 10px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px; }
.plan__lead { font-family: var(--serif); font-size: 19px; font-style: italic; line-height: 1.4; color: var(--esp3); margin-bottom: 22px; }
.plan__price { font: 600 clamp(48px, 4.6vw, 62px)/1 var(--serif); color: var(--esp); padding-bottom: 24px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan__price small { font: 500 11px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--text); margin-left: 4px; }
.plan__cap { font: 500 11px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: #f5c400; margin: 0 0 8px; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; font-size: 15px; line-height: 1.55; }
.plan li { position: relative; padding: 7px 0 7px 22px; border-top: 1px solid var(--line); }
.plan li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.plan__btn { margin-top: auto; display: block; text-align: center; padding: 17px; border: 1px solid var(--esp); font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--esp); transition: .2s; }
.plan__btn:hover { background: var(--esp); color: var(--bg); }
.plan--hot { background: var(--esp); border-color: var(--esp); color: #dfe5ef; box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.plan--hot h3, .plan--hot .plan__price, .plan--hot li b { color: var(--bg); }
.plan--hot .plan__lead { color: #dfe5ef; }
.plan--hot .plan__cap, .plan--hot .plan__price small { color: #3d3300; }
.plan--hot .plan__price, .plan--hot li { border-color: rgba(249,247,243,.16); }
.plan--hot .plan__btn { background: var(--bg); border-color: var(--bg); color: var(--esp); }
.plan--hot .plan__btn:hover { background: #fff; color: var(--esp); }
.phow-title { font-size: clamp(32px, 3.4vw, 44px); margin: 90px 0 28px; }
.phow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.phow li { border-top: 1px solid var(--esp); padding-top: 20px; }
.phow span { display: block; font: 500 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: #f5c400; margin-bottom: 8px; }
.phow b { display: block; font: 600 24px/1.2 var(--serif); color: var(--ink); margin-bottom: 8px; }
.phow p { font-size: 15px; line-height: 1.6; margin: 0; }
.pinfo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 70px; }
.pbox { background: #fff; border: 1px solid var(--line); padding: 36px clamp(22px, 3vw, 40px) 30px; display: flex; flex-direction: column; }
.pbox h3 { font-size: clamp(28px, 2.6vw, 34px); }
.pbox ul { list-style: none; margin: 0 0 22px; padding: 0; font-size: 15px; line-height: 1.55; }
.pbox--add li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pbox--add li:last-child { border-bottom: 0; }
.pbox--add b { white-space: nowrap; color: var(--esp); font-weight: 600; text-align: right; }
.pbox--terms li { padding: 6px 0; }
.pbox--terms strong { color: var(--esp); white-space: nowrap; }
.pbox__foot { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; font-weight: 500; color: var(--ink); font-size: 15px; }
.pbox__foot a { text-decoration: none; font-weight: 600; }
.pbox__foot a:hover { color: var(--gold); }
@media (max-width: 1080px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 580px; margin-inline: auto; }
  .phow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pinfo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .phow { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 30px 22px 24px; }
  .pbox--add li { flex-direction: column; gap: 0; }
  .pbox--add b { text-align: left; }
}

/* animacje wejścia (tylko gdy działa JS) */
.js .r { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .r.in { opacity: 1; transform: none; }

/* responsywność */
@media (max-width: 1080px) {
  .top__nav { position: fixed; inset: var(--head) 0 auto; flex-direction: column; gap: 0; background: var(--bg); padding: 10px 16px 24px; box-shadow: 0 20px 30px rgba(0,0,0,.35); transform: translateY(-120%); transition: transform .35s; z-index: -1; }
  .top__nav.open { transform: none; }
  .top__nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .burger { display: block; margin-left: auto; }
  .top__cta { display: none; }
  .cards4 { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team .person:nth-child(3) { grid-column: 1 / -1; max-width: calc(50% - 20px); margin-inline: auto; }
  .works { grid-template-columns: 1fr 1fr; }
  .works--rolki { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  :root { --head: 70px; }
  .top__logo img { height: 23px; }
  .hero { padding-bottom: 60px; }
  .hero__in, .split, .contact__in, .team, .foot__in { grid-template-columns: 1fr; }
  .team .person:nth-child(3) { max-width: none; }
  .hero__media { width: min(320px, 85%); }
  .hero__media--poziom { width: 100%; }
  .person--down { margin-top: 0; }
  .proc-photo { position: static; max-width: 380px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .works, .cards4, .form__row { grid-template-columns: 1fr; }
  .works--rolki { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .works--rolki .work h3 { font-size: 19px; }
  .steps li { gap: 18px; }
  .steps span { width: 46px; height: 46px; font-size: 19px; }
  .hero__cta { gap: 20px; }
  .rows li { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .r { opacity: 1; transform: none; transition: none; }
}

/* === wersja 3: granat + żółć, poprawki ról kolorów === */
::selection { background: var(--esp); color: var(--bg); }
.dark, .contact { background: #071224; }
.dark h2, .dark h3, .contact h2 { color: var(--ink); }
.rows li, .contact__line, .form input, .form select, .form textarea, .foot a { color: var(--ink); }
.form select option { color: #0c1a30; }
.btn--dark:hover, .btn--pill:hover { background: #ffd84d; color: var(--bg); }
.btn--light:hover { background: var(--bg2); }
.plan, .pbox, .price-stats div { background: var(--bg2); }
.plan__lead { color: #f1d67a; }
.plan--hot { background: var(--esp); color: #0c1a30; }
.plan--hot .plan__lead { color: #1d2a40; }
.plan--hot .plan__price, .plan--hot li { border-color: rgba(12,26,48,.2); }
.plan--hot li::before { color: #0c1a30; }
.plan--hot .plan__btn:hover { background: #071224; color: var(--esp); }
.plan__badge { background: var(--bg); color: var(--esp); }
.work__play { background: rgba(245,196,0,.95); }
.work__play::before { border-left-color: #0c1a30; }
.work__img, .tilt, .arch { box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.plan--hot li, .plan--hot li b { color: #0c1a30; }
