/* ===== DarSki Studio – strona publiczna ===== */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 480px at 88% 6%, rgba(130, 175, 255, .28), transparent 65%),
    radial-gradient(520px 520px at -4% 38%, rgba(20, 184, 255, .13), transparent 65%),
    radial-gradient(600px 400px at 70% 78%, rgba(130, 175, 255, .14), transparent 65%),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 55%, #f7faff 100%);
}

/* ===== Typografia ===== */
.eyebrow { font-size: .8rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--blue); margin-bottom: var(--sp-4); }
.eyebrow--sm { font-size: .68rem; letter-spacing: .24em; margin-bottom: var(--sp-2); }
.eyebrow--center { text-align: center; }
.h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.1; letter-spacing: -.005em; }
.h2--md { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.h2--xl { font-size: clamp(2.2rem, 5.2vw, 3.6rem); text-align: center; }
.link-caps { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--blue); text-decoration: none; white-space: nowrap; }
.link-caps:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 60; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(180, 205, 245, .6), 0 10px 30px -20px rgba(20, 60, 140, .35); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--sp-4); height: var(--header-h); }
.header-cta { justify-self: end; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; justify-self: start; }
.brand__mark { width: 40px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-serif); font-size: 1.75rem; letter-spacing: -.01em; white-space: nowrap; }
.brand__name span:first-child { color: var(--navy); }
.brand__name span:last-child { color: var(--blue); }
.brand__sub { margin-top: .3rem; font-size: .6rem; letter-spacing: .3em; color: var(--muted); padding-left: 2px; }
.nav-toggle { display: none; justify-self: end; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--pill-bg); color: var(--navy); place-items: center; box-shadow: inset 0 2px 3px #fff, 0 8px 16px -10px rgba(30, 70, 140, .5); }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: inline-block; }
.nav-cta-mobile { display: none; }

@media (max-width: 959px) {
  :root { --header-h: 72px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .site-header .pill-nav {
    position: absolute; left: 1rem; right: 1rem; top: calc(var(--header-h) - 4px); flex-direction: column; align-items: stretch;
    padding: 12px; border-radius: 26px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .site-header .pill-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-header .pill-nav__thumb { display: none; }
  .site-header .pill-nav__item { flex-direction: row; justify-content: flex-start; padding: .85rem 1.1rem; font-size: 1.1rem; }
  .site-header .pill-nav__item::after { display: none; }
  .site-header .pill-nav__item[aria-current] { background: var(--pill-bg); color: var(--navy); font-weight: 600; }
  .nav-cta-mobile { display: inline-flex; margin-top: .5rem; }
  .site-header.is-scrolled, .site-header.nav-open { background: rgba(255, 255, 255, .92); }
}

/* ===== Hero ===== */
.hero { position: relative; padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr; gap: var(--sp-6); align-items: center; }
.hero__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.04; letter-spacing: -.012em; margin-bottom: var(--sp-5); }
.hero__title--md { font-size: clamp(2.5rem, 6vw, 4.4rem); margin-bottom: var(--sp-4); }
.hero__lead { max-width: 34rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--navy); font-weight: 300; line-height: 1.55; opacity: .92; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }
.hero .btn-outline { color: var(--navy); }
.hero__visual { position: relative; aspect-ratio: 1 / .92; max-width: 640px; width: 100%; margin-inline: auto; }
.hero__anim { position: absolute; inset: -4% 0 auto 0; margin: auto; width: min(100%, 540px); aspect-ratio: 1;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 38%, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000 38%, transparent 70%); }
.hero__video, .hero__static { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__static { display: none; position: absolute; inset: 0; }
.hero__card {
  position: absolute; right: 12%; top: 18%; width: clamp(96px, 20%, 140px); aspect-ratio: 1; border-radius: 30px; display: grid; place-items: center;
  color: var(--blue); transform: rotate(-12deg);
  background: linear-gradient(145deg, rgba(255, 255, 255, .85), rgba(220, 235, 255, .5)); border: 1px solid rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 40px -18px rgba(40, 90, 200, .35), inset 0 1px 0 #fff;
  animation: floaty 7s ease-in-out infinite;
}
.hero__card svg { width: 52%; height: auto; stroke-width: 1.3; }
.hero__wave { position: absolute; left: -6%; right: -6%; bottom: 16%; width: 112%; height: auto; pointer-events: none; }
.hero__dot { position: absolute; border-radius: 50%; background: #7fb2ff; box-shadow: 0 0 14px rgba(10, 108, 255, .35); }
.hero__dot--1 { width: 12px; height: 12px; left: 22%; top: 12%; }
.hero__dot--2 { width: 12px; height: 12px; left: 46%; bottom: 20%; background: #8cbcff; }
.hero__grid { position: absolute; right: 2%; bottom: 24%; width: 120px; height: 90px; opacity: .8;
  background: radial-gradient(circle, #8dbaff 1.6px, transparent 2px) 0 0 / 24px 24px; }
@keyframes floaty { 0%, 100% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(-9deg) translateY(-10px); } }
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.25fr .85fr; gap: var(--sp-4); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .hero__static { display: block; }
  .hero__card { animation: none; }
}

/* ===== Pasek zalet ===== */
.strip { border-block: 1px solid rgba(190, 212, 245, .55); background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .3)); }
.strip__inner { display: grid; grid-template-columns: 1fr; }
.strip__item { display: flex; align-items: center; gap: var(--sp-4); padding: 1.4rem 0; }
.strip__item + .strip__item { border-top: 1px solid var(--line); }
.strip__title { font-size: 1.28rem; font-weight: 500; line-height: 1.2; }
.strip__item p { color: var(--muted); font-size: .98rem; }
@media (min-width: 820px) {
  .strip__inner { grid-template-columns: repeat(3, 1fr); }
  .strip__item { padding: 1.5rem 1.5rem; }
  .strip__item:first-child { padding-left: 0; }
  .strip__item + .strip__item { border-top: 0; border-left: 1px solid var(--line); }
}

/* ===== Sekcje ===== */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding-top: var(--sp-5); }
.section--projects { padding-bottom: clamp(2rem, 4vw, 3rem); }
.section--how { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.section-head { display: flex; align-items: center; gap: var(--sp-5); margin-bottom: var(--sp-6); }
.section-head__line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); min-width: 20px; }
.section-head--spaced { margin-top: clamp(3rem, 6vw, 5rem); }
@media (max-width: 639px) { .section-head { flex-wrap: wrap; gap: .5rem 1rem; } .section-head__line { display: none; } }

/* ===== Laptop ===== */
.laptop { position: relative; width: 100%; max-width: 680px; margin-inline: auto; padding-inline: 5%; filter: drop-shadow(0 26px 24px rgba(20, 40, 90, .24)); }
.laptop__lid { background: #0b0d12; border-radius: 14px 14px 3px 3px; padding: 2.4% 2.4% 3%; border: 2px solid #9aa1ad; box-shadow: inset 0 0 0 1px #2b3039, inset 0 2px 6px rgba(255, 255, 255, .08); }
.laptop__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; border-radius: 3px; }
.laptop__screen img { display: block; width: 100%; min-height: 100%; object-fit: cover; object-position: top; transform: translateY(0); transition: transform var(--scroll-dur, 4s) cubic-bezier(.45, .05, .35, 1); will-change: transform; }
.laptop:hover .laptop__screen img, .laptop:focus-within .laptop__screen img { transform: translateY(calc(-1 * var(--scroll, 0px))); }
.laptop__base { position: relative; width: 114%; margin: 0 0 0 -7%; height: 0; padding-bottom: 2.1%; border-radius: 0 0 40% 40% / 0 0 100% 100%; background: linear-gradient(180deg, #eceff4 0%, #c3c9d3 55%, #9ea5b1 100%); box-shadow: 0 1px 0 #fff inset, 0 2px 3px rgba(0, 0, 0, .25); }
.laptop__notch { position: absolute; left: 50%; top: 0; width: 17%; height: 38%; transform: translateX(-50%); background: linear-gradient(#aab1bd, #d4d9e1); border-radius: 0 0 10px 10px; }
.shot-placeholder { width: 100%; height: 100%; min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; padding: 1rem; font-size: .85rem; color: #8aa0c5; background: repeating-linear-gradient(135deg, #f4f8ff 0 12px, #edf3ff 12px 24px); }
.laptop__screen .shot-placeholder { position: absolute; inset: 0; }
@media (prefers-reduced-motion: reduce) { .laptop__screen img { transition: none; transform: none !important; } }

/* ===== Wybrana realizacja ===== */
.featured { display: grid; gap: var(--sp-6); align-items: center; }
.featured__name { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 3.2rem); line-height: 1.05; margin-bottom: var(--sp-3); }
.featured__desc { color: var(--muted); font-size: 1.18rem; font-weight: 300; max-width: 30rem; margin-bottom: var(--sp-5); }
.featured__text .tags { margin-bottom: var(--sp-5); }
.featured__visual { display: grid; gap: var(--sp-4); align-items: center; }
.featured__minis { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.tag { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .8); color: var(--navy); font-size: .92rem; box-shadow: 0 4px 12px -8px rgba(20, 60, 140, .3); }
.tag .icon { color: var(--blue); width: 18px; height: 18px; }
.mini-card { border-radius: 14px; background: #fff; border: 1px solid rgba(220, 231, 247, .9); box-shadow: var(--shadow-md); overflow: hidden; }
.mini-card__bar { display: flex; align-items: center; gap: 5px; padding: .55rem .8rem; border-bottom: 1px solid #eef3fb; }
.mini-card__bar i { width: 6px; height: 6px; border-radius: 50%; background: #d3e2f9; }
.mini-card__title { margin-left: .5rem; font-family: var(--font-serif); font-size: 1rem; }
.mini-card__shot { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: #f7faff; }
.mini-card__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mini-card .shot-placeholder { position: absolute; inset: 0; font-size: .75rem; gap: .25rem; }
.mini-card .shot-placeholder .icon { width: 20px; height: 20px; }
@media (min-width: 900px) {
  .featured { grid-template-columns: .8fr 1.35fr; gap: var(--sp-7); }
}
@media (min-width: 1100px) {
  .featured__visual { grid-template-columns: 1fr 230px; }
  .featured__minis { grid-template-columns: 1fr; }
}

/* ===== Karty projektów ===== */
.project-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
.project-card {
  container-type: inline-size; position: relative; display: grid; grid-template-columns: 1fr; gap: var(--sp-4); padding: 1.4rem 1.4rem 1.2rem;
  border-radius: var(--r-lg); background: linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(247, 251, 255, .7)); border: 1px solid rgba(215, 228, 247, .9);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project-card__name { font-family: var(--font-serif); font-weight: 400; font-size: 1.65rem; line-height: 1.1; margin-bottom: .5rem; }
.project-card__desc { color: var(--muted); font-size: .95rem; line-height: 1.5; margin-bottom: var(--sp-4); }
.project-card .tags { gap: .4rem; padding-right: 3.2rem; }
.project-card .tag { font-size: .8rem; padding: .35rem .7rem; border-radius: 10px; }
.project-card .tag .icon { width: 15px; height: 15px; }
.project-card__visual { order: -1; }
.project-card__go { position: absolute; right: 1rem; bottom: 1rem; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--blue); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, background-color .25s, color .25s; }
.project-card__go:hover { background: var(--blue); color: #fff; transform: translateX(3px); }
@container (min-width: 440px) {
  .project-card { grid-template-columns: 1fr 1.15fr; align-items: start; }
  .project-card__visual { order: 0; grid-column: 2; grid-row: 1; margin-right: -1rem; }
  .project-card__body { grid-column: 1; grid-row: 1; }
}
@media (min-width: 700px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }
.project-grid--all .project-card[hidden] { display: none; }
.empty-note { text-align: center; color: var(--muted); padding: 3rem 0; }

/* ===== Jak pracuję ===== */
.steps { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); counter-reset: s; }
.step { position: relative; display: flex; align-items: center; gap: var(--sp-4); }
.step__num { flex: none; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.7rem; color: var(--blue); background: linear-gradient(145deg, #f3f8ff, #dfeaff); box-shadow: 0 10px 20px -12px rgba(10, 108, 255, .55), inset 0 1px 0 #fff; }
.step__title { font-size: 1.3rem; font-weight: 500; line-height: 1.2; }
.step p { color: var(--muted); font-size: .98rem; line-height: 1.45; max-width: 15rem; }
.step__arrow { display: none; color: var(--blue); margin-left: auto; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
  .step { padding-right: 2.2rem; }
  .step__arrow { display: block; position: absolute; right: 0; top: 24px; }
  .step:last-child .step__arrow { display: none; }
}

/* ===== Oferta ===== */
.section--offer { background: linear-gradient(180deg, rgba(245, 249, 255, .0), rgba(236, 244, 255, .55) 30%, rgba(245, 249, 255, 0)); }
.offer-head { text-align: center; max-width: 52rem; margin: 0 auto var(--sp-7); }
.offer-head .eyebrow { letter-spacing: .5em; margin-bottom: .7rem; }
.offer-head__sub { margin-top: var(--sp-3); color: var(--muted); font-size: 1.15rem; font-weight: 300; }
.offer-head__bar { display: block; width: 48px; height: 2px; margin: var(--sp-4) auto 0; background: var(--blue); border-radius: 2px; }
.price-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6) var(--sp-5); align-items: stretch; margin-top: var(--sp-8); }
.price-card {
  position: relative; display: flex; flex-direction: column; padding: 1.8rem 1.6rem 1.6rem; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(246, 250, 255, .8)); border: 1px solid rgba(215, 228, 247, .95);
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.price-card.is-highlight { border: 1.5px solid var(--blue); box-shadow: 0 24px 50px -22px rgba(10, 108, 255, .45); }
.price-card__badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.3rem; border-radius: var(--r-pill); background: var(--btn-grad); color: #fff; font-size: .95rem; font-weight: 500; white-space: nowrap; box-shadow: 0 10px 20px -8px rgba(10, 108, 255, .6); }
.price-card__art { height: 130px; margin: -.4rem -.2rem .6rem; display: flex; align-items: center; justify-content: center; }
.price-card__art svg { height: 100%; width: auto; }
.price-card__name { font-family: var(--font-serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; margin-bottom: .4rem; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .4rem; font-family: var(--font-serif); line-height: 1; margin-bottom: var(--sp-4); }
.price__pre { font-size: 2.1rem; color: var(--navy); }
.price__amt, .price__cur { font-size: 3.1rem; color: var(--blue); letter-spacing: -.01em; }
.price__per { font-family: var(--font-sans); font-size: 1.25rem; color: var(--blue); }
.price__pre:empty, .price__per:empty, .price__cur:empty { display: none; }
.price-card__desc { color: var(--muted); font-size: 1.05rem; font-weight: 300; line-height: 1.5; margin-bottom: var(--sp-5); min-height: 3em; }
.price-card__list-wrap { flex: 1; margin-bottom: var(--sp-5); }
.price-card__list-wrap.is-box { background: rgba(236, 243, 253, .75); border-radius: 14px; padding: .9rem 1rem; }
.price-card__list-title { font-weight: 600; font-size: .95rem; margin-bottom: .5rem; }
.check-list { display: grid; gap: .7rem; }
.check-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: 1.02rem; line-height: 1.35; color: #24365c; }
.check-list li .icon { width: 22px; height: 22px; padding: 4.5px; border-radius: 50%; background: var(--blue); color: #fff; margin-top: 1px; stroke-width: 2.6; }
.is-box .check-list { gap: .38rem; }
.is-box .check-list li { font-size: .86rem; gap: .55rem; }
.is-box .check-list li .icon { width: 17px; height: 17px; padding: 3px; margin-top: 0; }
.price-card .btn { width: 100%; margin-top: auto; }
.price-card.is-highlight .btn, .price-card.is-care .btn { box-shadow: 0 16px 28px -12px rgba(10, 108, 255, .7); }
.is-care .price-card__desc { min-height: 0; }
@media (min-width: 640px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .price-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 639px) { .price-card.is-highlight { order: -1; } }

.offer-adv { display: grid; grid-template-columns: 1fr; margin-top: var(--sp-8); border-top: 1px solid rgba(190, 212, 245, .5); padding-top: var(--sp-6); }
.offer-adv__item { display: flex; align-items: center; gap: var(--sp-4); padding: 1rem 0; }
.offer-adv__icon { color: var(--blue); flex: none; }
.offer-adv__icon svg { stroke-width: 1.4; }
.offer-adv h3 { font-size: 1.1rem; font-weight: 500; line-height: 1.2; margin-bottom: .2rem; }
.offer-adv p { color: var(--muted); font-size: .92rem; line-height: 1.4; }
@media (min-width: 700px) { .offer-adv { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .offer-adv { grid-template-columns: repeat(4, 1fr); }
  .offer-adv__item { padding: .5rem 1.4rem; }
  .offer-adv__item + .offer-adv__item { border-left: 1px solid var(--line); }
}

/* ===== O mnie ===== */
.about { display: grid; gap: var(--sp-6); align-items: center; }
.about__photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 440px; width: 100%; box-shadow: var(--shadow-lg); background: linear-gradient(145deg, #eaf2ff, #f7faff); border: 1px solid #fff; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__placeholder { height: 100%; display: flex; flex-direction: column; gap: .6rem; align-items: center; justify-content: center; color: #8aa0c5; font-size: .95rem; }
.about__text p { color: #34466b; font-weight: 300; font-size: 1.12rem; margin-top: var(--sp-4); max-width: 38rem; }
.about__text .h2 { margin-bottom: var(--sp-2); }
@media (min-width: 860px) { .about { grid-template-columns: .8fr 1.2fr; gap: var(--sp-8); } }

/* ===== Kontakt ===== */
.contact { display: grid; gap: var(--sp-7); align-items: start; }
.contact__lead { margin-top: var(--sp-4); color: var(--muted); font-weight: 300; font-size: 1.12rem; max-width: 28rem; }
.contact__list { margin-top: var(--sp-6); display: grid; gap: var(--sp-4); }
.contact__list li { display: flex; align-items: center; gap: var(--sp-3); font-size: 1.1rem; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--blue); }
.card-glass { background: linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(247, 251, 255, .75)); border: 1px solid rgba(215, 228, 247, .95); border-radius: 24px; box-shadow: var(--shadow-md); padding: clamp(1.3rem, 3vw, 2.2rem); }
.contact__form { display: grid; gap: var(--sp-4); }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
.field label { font-size: .92rem; font-weight: 500; color: var(--navy); }
.field .opt { color: var(--muted); font-weight: 300; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: 1rem; color: var(--navy);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 108, 255, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field__err { color: var(--err); font-size: .85rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.check a { color: var(--blue); }
.check.has-error { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: .85rem 1rem; border-radius: 12px; font-size: .98rem; }
.form-status.is-ok { background: #e8f8f1; color: #0b7a50; border: 1px solid #b6e7d1; }
.form-status.is-err { background: #fff0f2; color: #b02239; border: 1px solid #f5c3cb; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .contact { grid-template-columns: .85fr 1.15fr; } }

/* ===== Podstrona Realizacje ===== */
.page-hero { position: relative; padding: clamp(2rem, 5vw, 3.5rem) 0 var(--sp-5); overflow: hidden; }
.page-hero--compact { padding-bottom: 0; }
.page-hero__inner { position: relative; }
.page-hero .hero__bg { position: absolute; inset: 0; }
.filter-bar { margin-top: var(--sp-6); overflow-x: auto; padding: 4px 4px 16px; margin-inline: -4px; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.pill-nav--filter { background: transparent; box-shadow: none; padding: 0; gap: .55rem; }
.pill-nav--filter .pill-nav__item { border: 1px solid var(--line); background: rgba(255, 255, 255, .85); padding: .55rem 1.3rem; font-size: .95rem; color: var(--navy); font-weight: 400; }
.pill-nav--filter .pill-nav__thumb { top: 0; bottom: 0; background: var(--btn-grad); border: 0; box-shadow: 0 10px 20px -8px rgba(10, 108, 255, .65); }
.pill-nav--filter .pill-nav__item.is-lit { color: #fff; font-weight: 500; border-color: transparent; background: transparent; }
.pill-nav--filter:not(.is-ready) .pill-nav__item[aria-current] { background: var(--btn-grad); color: #fff; border-color: transparent; }
.cta-box { margin-top: var(--sp-7); display: grid; gap: var(--sp-6); padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 24px; background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(236, 244, 255, .8)); border: 1px solid rgba(215, 228, 247, .95); box-shadow: var(--shadow-sm); }
.cta-box__text p { color: var(--muted); font-weight: 300; margin-top: var(--sp-3); }
.cta-box__items { display: grid; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.cta-item { display: flex; align-items: center; gap: .8rem; }
.cta-item strong { display: block; font-weight: 500; font-size: .95rem; line-height: 1.2; }
.cta-item span:not(.icon-box) { color: var(--muted); font-size: .8rem; }
.cta-box__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
@media (min-width: 640px) { .cta-box__items { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cta-box { grid-template-columns: 1fr 1.25fr; align-items: center; } }

/* ===== Polityka prywatności ===== */
.prose { max-width: 46rem; }
.prose h2 { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; margin: var(--sp-6) 0 var(--sp-2); }
.prose p { color: #34466b; font-weight: 300; }
.prose a { color: var(--blue); }
.prose__date { margin-top: var(--sp-6); font-size: .9rem; color: var(--muted); }

/* ===== Stopka ===== */
.site-footer { border-top: 1px solid rgba(190, 212, 245, .6); background: rgba(255, 255, 255, .6); margin-top: var(--sp-6); }
.footer-inner { display: grid; gap: var(--sp-5); padding: var(--sp-6) 0 var(--sp-5); align-items: center; }
.footer-text { color: var(--muted); font-size: .9rem; max-width: 22rem; line-height: 1.45; }
.footer-contact { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .95rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.footer-contact a:hover { color: var(--blue); }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; transition: background-color .2s, color .2s; }
.footer-social a:hover { background: var(--tint); color: var(--blue); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding: 1rem 0 1.5rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-bottom a:hover { color: var(--blue); }
.brand--footer .brand__name { font-size: 1.55rem; }
@media (min-width: 960px) { .footer-inner { grid-template-columns: auto 1fr auto auto; gap: var(--sp-6); } }

/* ===== Animacje wejścia ===== */
html.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .project-card, .price-card { transition: none; }
}



/* Podstrony: odstęp pod przyklejonym nagłówkiem */
.page-offset { height: clamp(.5rem, 2vw, 1.5rem); }
.project-card[hidden] { display: none; }

/* ===== Oferta: cała podstrona mieści się w jednym oknie (komputery), skalowana wysokością okna ===== */
@media (min-width: 1100px) and (min-height: 640px) {
  .page-oferta { --header-h: 64px; }
  .page-oferta .header-inner { height: 64px; }
  .page-oferta .page-offset { display: none; }
  .page-oferta .section--offer { padding: clamp(.2rem, 1vh, .8rem) 0 clamp(.3rem, 1vh, .8rem); background: none; }
  .page-oferta .offer-head { margin-bottom: 0; }
  .page-oferta .offer-head .eyebrow { font-size: clamp(.55rem, 1.15vh, .78rem); margin-bottom: .3vh; }
  .page-oferta .h2--xl { font-size: clamp(1.6rem, 5vh, 3.1rem); }
  .page-oferta .offer-head__sub { margin-top: .4vh; font-size: clamp(.8rem, 1.8vh, 1.08rem); }
  .page-oferta .offer-head__bar { margin-top: 1vh; height: 2px; }
  .page-oferta .price-grid { margin-top: clamp(1.1rem, 3.4vh, 2rem); gap: 1.1vw; font-size: clamp(9px, 1.5vh, 15px); }
  .page-oferta .price-card { padding: 1.2em 1.2em 1.1em; }
  .page-oferta .price-card:hover { transform: none; }
  .page-oferta .price-card__badge { font-size: 1em; padding: .35em 1.1em; }
  .page-oferta .price-card__art { height: 6.3em; margin: -.2em 0 .3em; }
  .page-oferta .price-card__name { font-size: 1.85em; margin-bottom: .1em; }
  .page-oferta .price { margin-bottom: .45em; }
  .page-oferta .price__pre { font-size: 2.1em; }
  .page-oferta .price__amt, .page-oferta .price__cur { font-size: 2.9em; }
  .page-oferta .price__per { font-size: 1.3em; }
  .page-oferta .price-card__desc { font-size: 1.05em; line-height: 1.35; min-height: 0; margin-bottom: .7em; }
  .page-oferta .price-card__list-wrap { margin-bottom: .7em; }
  .page-oferta .check-list { gap: .5em; }
  .page-oferta .check-list li { font-size: 1.05em; line-height: 1.25; gap: .6em; }
  .page-oferta .check-list li .icon { width: 1.4em; height: 1.4em; padding: .28em; }
  .page-oferta .is-box { padding: .6em .8em; }
  .page-oferta .price-card__list-title { font-size: 1em; margin-bottom: .3em; }
  .page-oferta .is-box .check-list { gap: .22em; }
  .page-oferta .is-box .check-list li { font-size: .88em; line-height: 1.2; gap: .5em; }
  .page-oferta .is-box .check-list li .icon { width: 1.25em; height: 1.25em; padding: .22em; }
  .page-oferta .price-card .btn { padding: .65em 1em; font-size: 1.1em; }
  .page-oferta .offer-adv { margin-top: clamp(.5rem, 2vh, 1.2rem); padding-top: clamp(.4rem, 1.4vh, 1rem); }
  .page-oferta .offer-adv__item { padding: .2rem 1.1rem; }
  .page-oferta .offer-adv__icon svg { width: clamp(24px, 3.4vh, 34px); height: clamp(24px, 3.4vh, 34px); }
  .page-oferta .offer-adv h3 { font-size: clamp(.85rem, 1.7vh, 1.05rem); }
  .page-oferta .offer-adv p { font-size: clamp(.72rem, 1.4vh, .9rem); line-height: 1.3; }
  /* stopka: jeden cienki pasek */
  .page-oferta .site-footer { margin-top: 0; }
  .page-oferta .footer-inner { padding: clamp(.3rem, 1vh, .7rem) 0; gap: 1.2rem; }
  .page-oferta .footer-inner .brand__mark { width: 28px; }
  .page-oferta .brand--footer .brand__name { font-size: 1.15rem; }
  .page-oferta .brand--footer .brand__sub { display: none; }
  .page-oferta .footer-text { display: none; }
  .page-oferta .footer-inner { grid-template-columns: auto 1fr auto; }
  .page-oferta .footer-bottom { display: none; }
}
@media (min-width: 1100px) and (min-height: 640px) and (max-height: 800px) {
  .page-oferta .price-grid { font-size: clamp(8.5px, 1.36vh, 15px); margin-top: clamp(1rem, 3vh, 2rem); }
  .page-oferta .h2--xl { font-size: clamp(1.5rem, 4.4vh, 3.1rem); }
  .page-oferta .price-card { padding: 1em 1.1em .9em; }
  .page-oferta .price-card__art { height: 5.2em; }
  .page-oferta .offer-adv__item { padding: .1rem 1rem; }
  .page-oferta .footer-inner { padding: .25rem 0; }
}
@media (min-width: 1100px) and (min-height: 640px) {
  .page-oferta { min-height: 100vh; display: flex; flex-direction: column; }
  .page-oferta main { flex: 1; display: flex; flex-direction: column; justify-content: center; }
}

/* ===== Karuzela realizacji (przewijanie w bok) ===== */
.carousel { position: relative; }
.carousel__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: var(--sp-4); }
.carousel__hint { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .9rem; }
.carousel__btns { display: flex; gap: .6rem; margin-left: auto; }
.carousel__btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); transition: background-color .2s, color .2s, transform .2s, opacity .2s; }
.carousel__btn:first-child svg { transform: rotate(180deg); }
.carousel__btn:hover:not([disabled]) { background: var(--blue); color: #fff; transform: translateY(-2px); }
.carousel__btn[disabled] { opacity: .35; cursor: default; }
.carousel__track.project-grid {
  display: flex; grid-template-columns: none; gap: var(--sp-5); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: .6rem max(1rem, calc((100vw - var(--container)) / 2)) 1.6rem; margin-inline: calc(50% - 50vw); cursor: grab;
  scroll-padding-inline: max(1rem, calc((100vw - var(--container)) / 2));
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.carousel__track.is-dragging a { pointer-events: none; }
.carousel__track .project-card { flex: 0 0 min(440px, 86vw); scroll-snap-align: start; user-select: none; -webkit-user-drag: none; }
.carousel__track .project-card img { -webkit-user-drag: none; pointer-events: none; }
.carousel__progress { height: 4px; border-radius: 4px; background: var(--pill-bg); overflow: hidden; margin-top: .2rem; }
.carousel__progress span { display: block; height: 100%; width: 30%; border-radius: 4px; background: var(--btn-grad); transform: translateX(0); transition: transform .15s linear, width .2s; }
@media (max-width: 639px) { .carousel__hint { font-size: .8rem; } .carousel__btn { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .carousel__track.project-grid { scroll-behavior: auto; } }
/* Kategoria na karcie realizacji: większa, czytelna etykieta */
.project-card { align-content: start; }
.project-card .eyebrow--sm {
  display: inline-block; margin-bottom: .6rem; padding: .35rem .95rem; border-radius: var(--r-pill);
  font-size: .95rem; font-weight: 600; letter-spacing: .12em; line-height: 1.2; color: var(--blue); background: var(--tint);
}
.project-card__name { font-size: 1.85rem; }
@media (max-width: 639px) { .project-card .eyebrow--sm { font-size: .85rem; } .project-card__name { font-size: 1.65rem; } }
/* Strzałki karuzeli po lewej stronie */
.carousel__bar { justify-content: flex-start; }
.carousel__btns { order: -1; margin-left: 0; }

/* ===== Realizacje: cała podstrona w jednym oknie (komputery), skalowana wysokością okna ===== */
@media (min-width: 1100px) and (min-height: 640px) {
  .page-realizacje { --header-h: 64px; min-height: 100vh; display: flex; flex-direction: column; }
  .page-realizacje .header-inner { height: 64px; }
  .page-realizacje main { flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .page-realizacje .page-hero { padding: clamp(.2rem, 1.2vh, 1rem) 0 0; }
  .page-realizacje .page-hero .eyebrow { margin-bottom: .5vh; font-size: clamp(.55rem, 1.2vh, .8rem); }
  .page-realizacje .hero__title--md { font-size: clamp(1.8rem, 6vh, 3.8rem); margin-bottom: .8vh; }
  .page-realizacje .hero__lead { font-size: clamp(.8rem, 1.9vh, 1.1rem); line-height: 1.4; max-width: none; }
  .page-realizacje .section--tight { padding: clamp(.3rem, 1.2vh, 1rem) 0 0; }
  .page-realizacje .carousel__bar { margin-bottom: .6vh; }
  .page-realizacje .carousel__btn { width: clamp(30px, 4.4vh, 46px); height: clamp(30px, 4.4vh, 46px); }
  .page-realizacje .carousel__hint { font-size: clamp(.72rem, 1.6vh, .9rem); }
  .page-realizacje .carousel__track.project-grid { padding-top: .3rem; padding-bottom: clamp(.4rem, 1.2vh, 1rem); }
  .page-realizacje .carousel__progress { margin-top: 0; }
  .page-realizacje .carousel__track .project-card { flex: 0 0 clamp(480px, 42vw, 780px); font-size: clamp(9px, 1.7vh, 21px); padding: 1.3em; gap: 1em; }
  .page-realizacje .project-card:hover { transform: none; }
  .page-realizacje .project-card .eyebrow--sm { font-size: .95em; padding: .3em .85em; margin-bottom: .5em; }
  .page-realizacje .project-card__name { font-size: 2em; margin-bottom: .3em; }
  .page-realizacje .project-card__desc { font-size: 1em; line-height: 1.4; margin-bottom: .8em; }
  .page-realizacje .project-card .tag { font-size: .88em; padding: .3em .65em; }
  .page-realizacje .project-card .tag .icon { width: 1.05em; height: 1.05em; }
  .page-realizacje .project-card__go { width: 3em; height: 3em; right: 1em; bottom: 1em; }
  .page-realizacje .cta-box { margin-top: clamp(.4rem, 1.4vh, 1.2rem); padding: clamp(.5rem, 1.8vh, 1.4rem) 1.6rem; gap: 1.2rem; border-radius: 18px; }
  .page-realizacje .cta-box .eyebrow { display: none; }
  .page-realizacje .cta-box .h2--md { font-size: clamp(1.2rem, 3.4vh, 1.9rem); }
  .page-realizacje .cta-box__text p { margin-top: .4vh; font-size: clamp(.75rem, 1.6vh, .95rem); line-height: 1.35; }
  .page-realizacje .cta-box__items { margin-bottom: clamp(.4rem, 1.4vh, 1rem); gap: .6rem; }
  .page-realizacje .cta-item strong { font-size: clamp(.75rem, 1.5vh, .95rem); }
  .page-realizacje .cta-item span:not(.icon-box) { font-size: clamp(.65rem, 1.3vh, .8rem); }
  .page-realizacje .cta-item .icon-box { width: clamp(30px, 4.4vh, 42px); height: clamp(30px, 4.4vh, 42px); }
  .page-realizacje .cta-box .btn-lg { padding: clamp(.45rem, 1.5vh, .9rem) 1.4rem; font-size: clamp(.85rem, 1.9vh, 1.05rem); }
  /* cienka stopka */
  .page-realizacje .site-footer { margin-top: clamp(.4rem, 1.4vh, 1rem); }
  .page-realizacje .footer-inner { padding: clamp(.25rem, 1vh, .7rem) 0; gap: 1.2rem; grid-template-columns: auto 1fr auto; }
  .page-realizacje .footer-inner .brand__mark { width: 28px; }
  .page-realizacje .brand--footer .brand__name { font-size: 1.15rem; }
  .page-realizacje .brand--footer .brand__sub, .page-realizacje .footer-text, .page-realizacje .footer-bottom { display: none; }
}
@media (min-width: 1100px) and (min-height: 640px) {
  .page-realizacje .carousel__track .project-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; }
  .page-realizacje .project-card__visual { grid-column: 2; grid-row: 1; order: 0; margin-right: -.6em; }
  .page-realizacje .project-card__body { grid-column: 1; grid-row: 1; }
  .page-realizacje .project-card .tags { padding-right: 0; }
}
/* Realizacje: blok „Potrzebujesz podobnej strony?” jako jedna pełnoszerokościowa linia */
@media (min-width: 1100px) and (min-height: 640px) {
  .page-realizacje .cta-box {
    display: flex; align-items: center; justify-content: space-between; gap: clamp(1rem, 2vw, 2.4rem);
    margin-inline: calc(50% - 50vw); width: 100vw; max-width: 100vw; border-radius: 0; border-inline: 0;
    padding: clamp(.5rem, 1.8vh, 1.3rem) max(1.5rem, calc((100vw - var(--container)) / 2));
  }
  .page-realizacje .cta-box__text { flex: 0 1 auto; min-width: 0; }
  .page-realizacje .cta-box .h2--md { font-size: clamp(1.15rem, 2.9vh, 1.6rem); white-space: nowrap; }
  .page-realizacje .cta-box__text p { font-size: clamp(.72rem, 1.5vh, .88rem); }
  .page-realizacje .cta-box__side { display: contents; }
  .page-realizacje .cta-box__items { display: flex; margin: 0; gap: clamp(.8rem, 1.8vw, 2rem); flex: 0 1 auto; }
  .page-realizacje .cta-item { gap: .6rem; }
  .page-realizacje .cta-item strong { white-space: nowrap; }
  .page-realizacje .cta-item span:not(.icon-box) { display: none; }
  .page-realizacje .cta-box__actions { flex-wrap: nowrap; gap: .6rem; margin: 0; flex: 0 0 auto; }
  .page-realizacje .cta-box .btn-lg { white-space: nowrap; padding: clamp(.4rem, 1.3vh, .8rem) 1.2rem; font-size: clamp(.82rem, 1.8vh, 1rem); }
}
@media (min-width: 1100px) and (max-width: 1399px) and (min-height: 640px) {
  .page-realizacje .cta-item .icon-box { display: none; }
}
/* Realizacje: szerszy układ – napisy, karty i pasek na dole mają wspólne krawędzie (3% od brzegów okna) */
@media (min-width: 1100px) and (min-height: 640px) {
  .page-realizacje { --container: 94vw; }
  .page-realizacje .hero__lead { max-width: none; }
}
/* ===== O mnie i Kontakt: cała podstrona w jednym oknie (komputery), skalowana wysokością okna ===== */
@media (min-width: 1000px) and (min-height: 600px) {
  .page-o-mnie, .page-kontakt { --header-h: 64px; min-height: 100vh; display: flex; flex-direction: column; }
  .page-o-mnie .header-inner, .page-kontakt .header-inner { height: 64px; }
  .page-o-mnie main, .page-kontakt main { flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .page-o-mnie .page-offset, .page-kontakt .page-offset { display: none; }
  .page-o-mnie .section, .page-kontakt .section { padding: clamp(.4rem, 2vh, 1.5rem) 0; }
  .page-o-mnie .site-footer, .page-kontakt .site-footer { margin-top: 0; }
  .page-o-mnie .footer-inner, .page-kontakt .footer-inner { padding: clamp(.25rem, 1vh, .7rem) 0; gap: 1.2rem; grid-template-columns: auto 1fr auto; }
  .page-o-mnie .footer-inner .brand__mark, .page-kontakt .footer-inner .brand__mark { width: 28px; }
  .page-o-mnie .brand--footer .brand__name, .page-kontakt .brand--footer .brand__name { font-size: 1.15rem; }
  .page-o-mnie .brand--footer .brand__sub, .page-kontakt .brand--footer .brand__sub,
  .page-o-mnie .footer-text, .page-kontakt .footer-text, .page-o-mnie .footer-bottom, .page-kontakt .footer-bottom { display: none; }

  /* O mnie */
  .page-o-mnie .about { grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
  .page-o-mnie .about__photo { height: clamp(300px, 66vh, 760px); width: auto; aspect-ratio: 4 / 5; max-width: 40vw; }
  .page-o-mnie .about__text { font-size: clamp(11px, 1.75vh, 20px); }
  .page-o-mnie .about__text .eyebrow { font-size: .8em; margin-bottom: .6em; }
  .page-o-mnie .about__text .h2 { font-size: 3.1em; margin-bottom: .3em; }
  .page-o-mnie .about__text p { font-size: 1.12em; line-height: 1.55; margin-top: .9em; max-width: 42em; }

  /* Kontakt */
  .page-kontakt .contact { gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  .page-kontakt .contact__info { font-size: clamp(11px, 1.7vh, 19px); }
  .page-kontakt .contact__info .eyebrow { font-size: .8em; margin-bottom: .6em; }
  .page-kontakt .contact__info .h2 { font-size: 3em; }
  .page-kontakt .contact__lead { font-size: 1.1em; margin-top: .8em; }
  .page-kontakt .contact__list { margin-top: 1.4em; gap: .8em; }
  .page-kontakt .contact__list li { font-size: 1.1em; }
  .page-kontakt .contact__form { font-size: clamp(10px, 1.6vh, 17px); gap: .9em; padding: 1.7em 1.9em; }
  .page-kontakt .contact__form .field-row { gap: .9em; }
  .page-kontakt .contact__form .field { gap: .3em; }
  .page-kontakt .contact__form .field label { font-size: .95em; }
  .page-kontakt .contact__form .field input, .page-kontakt .contact__form .field select, .page-kontakt .contact__form .field textarea { padding: .6em .9em; font-size: 1.02em; border-radius: 12px; }
  .page-kontakt .contact__form textarea { min-height: 0; height: clamp(60px, 12vh, 150px); }
  .page-kontakt .contact__form .check { font-size: .9em; }
  .page-kontakt .contact__form .btn-lg { padding: .75em 1.6em; font-size: 1.1em; }
  .page-kontakt .form-status { padding: .5em .8em; font-size: .95em; }
}
/* Hero: nieco mniejszy tytuł; animacja logo raz, maska nie ucina napisu „DarSki Studio” */
.hero__title { font-size: clamp(2.2rem, 4.7vw, 3.8rem); }
.hero__anim { -webkit-mask-image: radial-gradient(circle closest-side at 50% 52%, #000 90%, transparent 100%); mask-image: radial-gradient(circle closest-side at 50% 52%, #000 90%, transparent 100%); }
/* Hero: kropki i linia za animacją – nie nachodzą na napis „DarSki Studio” */
.hero__anim { z-index: 1; }
.hero__card { z-index: 2; }
.hero__wave, .hero__grid, .hero__dot { z-index: 0; }
.hero__grid { bottom: 4%; right: 0; }
/* ===================================================================== */
/* Większy, wyrazistszy nagłówek + przełącznik trybu jasny/ciemny (3D)     */
/* ===================================================================== */
:root { --header-h: 96px; }
.header-inner { height: var(--header-h); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 1.1rem; }
.header-cta { padding: .85rem 1.7rem; font-size: 1.12rem; font-weight: 600; }
.header-cta .icon { width: 20px; height: 20px; }
.brand__mark { width: 48px; }
.brand__name { font-size: 2.05rem; }
.brand__sub { font-size: .66rem; }
.pill-nav { padding: 8px; gap: 4px; }
.pill-nav__thumb { top: 8px; bottom: 8px; }
.pill-nav__item { padding: .75rem 1.5rem; font-size: 1.14rem; font-weight: 500; color: #5d6c88; }
.pill-nav__item::after { font-weight: 700; }
.pill-nav__item.is-lit { font-weight: 700; }
@media (max-width: 959px) {
  :root { --header-h: 78px; }
  .header-inner { grid-template-columns: 1fr auto auto; }
  .header-cta { display: none; }
  .brand__name { font-size: 1.75rem; }
  .site-header .pill-nav__item { font-size: 1.15rem; }
}

/* Przełącznik 3D: zagłębiony tor + wypukła kulka (słońce / księżyc) */
.theme-toggle { position: relative; flex: none; width: 76px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer; }
.theme-toggle__track {
  position: absolute; inset: 0; border-radius: 999px; overflow: hidden;
  background: linear-gradient(180deg, #6fc0ff 0%, #a9dcff 100%);
  box-shadow: inset 0 4px 8px rgba(10, 60, 130, .45), inset 0 -2px 4px rgba(255, 255, 255, .55), 0 1px 0 rgba(255, 255, 255, .9), 0 8px 14px -8px rgba(20, 60, 140, .5);
  transition: background .5s ease, box-shadow .5s ease;
}
.theme-toggle__clouds { position: absolute; right: 8px; bottom: 6px; width: 26px; height: 10px; border-radius: 10px; background: #fff; box-shadow: -10px -5px 0 -1px #fff, -2px -6px 0 0 #fff, 8px 4px 0 -3px rgba(255, 255, 255, .8); opacity: .95; transition: opacity .4s, transform .5s; }
.theme-toggle__stars { position: absolute; left: 10px; top: 0; width: 30px; height: 100%; opacity: 0; transition: opacity .5s;
  background: radial-gradient(1.5px 1.5px at 6px 10px, #fff, transparent), radial-gradient(1px 1px at 18px 7px, #fff, transparent), radial-gradient(1.5px 1.5px at 24px 22px, #fff, transparent), radial-gradient(1px 1px at 10px 28px, #fff, transparent), radial-gradient(1px 1px at 28px 32px, #cfe3ff, transparent); }
.theme-toggle__knob {
  position: absolute; top: 4px; left: 4px; width: 32px; height: 32px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff7c2 0%, #ffd34d 38%, #ff9f1a 100%);
  box-shadow: 0 6px 10px rgba(120, 60, 0, .45), 0 2px 3px rgba(0, 0, 0, .3), inset 0 -4px 6px rgba(200, 90, 0, .45), inset 0 3px 4px rgba(255, 255, 255, .8), 0 0 18px rgba(255, 190, 40, .6);
  transition: transform .55s cubic-bezier(.34, 1.4, .5, 1), background .5s ease, box-shadow .5s ease;
}
.theme-toggle__crater { position: absolute; border-radius: 50%; background: rgba(120, 130, 150, .35); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25); opacity: 0; transition: opacity .4s; }
.theme-toggle__crater.c1 { width: 8px; height: 8px; left: 17px; top: 6px; }
.theme-toggle__crater.c2 { width: 6px; height: 6px; left: 7px; top: 16px; }
.theme-toggle__crater.c3 { width: 5px; height: 5px; left: 19px; top: 20px; }
.theme-toggle:hover .theme-toggle__knob { filter: brightness(1.06); }
.theme-toggle:active .theme-toggle__knob { width: 36px; }
.theme-toggle:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
html[data-theme="dark"] .theme-toggle__track { background: linear-gradient(180deg, #0b1230 0%, #1b2a5c 100%); box-shadow: inset 0 4px 8px rgba(0, 0, 0, .7), inset 0 -2px 4px rgba(120, 150, 255, .18), 0 1px 0 rgba(255, 255, 255, .06), 0 8px 14px -8px rgba(0, 0, 0, .8); }
html[data-theme="dark"] .theme-toggle__clouds { opacity: 0; transform: translateX(14px); }
html[data-theme="dark"] .theme-toggle__stars { opacity: 1; }
html[data-theme="dark"] .theme-toggle__knob { transform: translateX(36px); background: radial-gradient(circle at 32% 28%, #ffffff 0%, #dfe6f2 40%, #9aa6bd 100%); box-shadow: 0 6px 10px rgba(0, 0, 0, .6), 0 2px 3px rgba(0, 0, 0, .5), inset 0 -4px 6px rgba(70, 85, 120, .5), inset 0 3px 4px rgba(255, 255, 255, .9), 0 0 16px rgba(190, 210, 255, .35); }
html[data-theme="dark"] .theme-toggle__crater { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .theme-toggle__knob, .theme-toggle__track, .theme-toggle__clouds, .theme-toggle__stars { transition: none; } }

/* Tryby „na jeden ekran” – nagłówek 72 px (wcześniej 64) */
@media (min-width: 1000px) and (min-height: 600px) {
  .page-oferta, .page-realizacje, .page-o-mnie, .page-kontakt { --header-h: 72px; }
  .page-oferta .header-inner, .page-realizacje .header-inner, .page-o-mnie .header-inner, .page-kontakt .header-inner { height: 72px; }
  .page-oferta .brand__mark, .page-realizacje .brand__mark, .page-o-mnie .brand__mark, .page-kontakt .brand__mark { width: 42px; }
  .page-oferta .site-header .brand__name, .page-realizacje .site-header .brand__name, .page-o-mnie .site-header .brand__name, .page-kontakt .site-header .brand__name { font-size: 1.85rem; }
  .page-oferta .pill-nav__item, .page-realizacje .pill-nav__item, .page-o-mnie .pill-nav__item, .page-kontakt .pill-nav__item { padding: .6rem 1.35rem; }
  .page-oferta .header-cta, .page-realizacje .header-cta, .page-o-mnie .header-cta, .page-kontakt .header-cta { padding: .7rem 1.5rem; }
}
@media (min-width: 1100px) and (min-height: 801px) { .page-oferta .price-grid { font-size: clamp(9px, 1.45vh, 15px); } }

/* ===================================================================== */
/* Tryb ciemny (html[data-theme="dark"])                                  */
/* ===================================================================== */
html[data-theme="dark"] {
  color-scheme: dark;
  --navy: #e9eefb; --blue: #3d8bff; --muted: #9fb0cf; --line: #26344f; --bg: #0a1020; --bg-2: #0e1528;
  --tint: #15233f; --pill-bg: #131c32; --nav-off: #8d9dbb;
  --shadow-sm: 0 4px 14px -6px rgba(0, 0, 0, .65); --shadow-md: 0 14px 34px -14px rgba(0, 0, 0, .75); --shadow-lg: 0 28px 60px -24px rgba(0, 0, 0, .85);
}
html[data-theme="dark"] body::before {
  background: radial-gradient(700px 480px at 88% 6%, rgba(40, 90, 200, .25), transparent 65%), radial-gradient(520px 520px at -4% 38%, rgba(20, 150, 255, .10), transparent 65%), linear-gradient(180deg, #0a1020 0%, #0b1226 55%, #080d1b 100%);
}
html[data-theme="dark"] .site-header.is-scrolled, html[data-theme="dark"] .site-header.nav-open { background: rgba(10, 16, 32, .82); box-shadow: 0 1px 0 rgba(80, 110, 170, .25), 0 10px 30px -20px rgba(0, 0, 0, .8); }
html[data-theme="dark"] .brand__name span:first-child { color: #f2f6ff; }
html[data-theme="dark"] .pill-nav { box-shadow: inset 0 2px 3px rgba(255, 255, 255, .05), inset 0 -2px 5px rgba(0, 0, 0, .55), 0 12px 22px -12px rgba(0, 0, 0, .8); }
html[data-theme="dark"] .pill-nav__item { color: #9aa9c6; }
html[data-theme="dark"] .pill-nav__item.is-lit { color: #fff; }
html[data-theme="dark"] .pill-nav__thumb { background: linear-gradient(180deg, #2b3856 0%, #1c2742 100%); border-color: rgba(255, 255, 255, .1); box-shadow: 0 8px 14px -4px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .12) inset, 0 -1px 2px rgba(0, 0, 0, .4) inset; }
html[data-theme="dark"] .pill-nav:not(.is-ready) .pill-nav__item[aria-current] { background: #1c2742; color: #fff; }
html[data-theme="dark"] .nav-toggle { background: var(--pill-bg); color: var(--navy); box-shadow: inset 0 2px 3px rgba(255, 255, 255, .05), 0 8px 16px -10px rgba(0, 0, 0, .8); }
@media (max-width: 959px) {
  html[data-theme="dark"] .site-header .pill-nav { background: rgba(14, 21, 40, .97); }
  html[data-theme="dark"] .site-header .pill-nav__item[aria-current] { background: #1c2742; color: #fff; }
}
html[data-theme="dark"] .btn-outline { background: rgba(22, 32, 56, .75); color: #6aa8ff; border-color: rgba(90, 150, 255, .4); }
html[data-theme="dark"] .hero .btn-outline { color: var(--navy); }
html[data-theme="dark"] .icon-box { background: linear-gradient(145deg, #1a2a4d, #122040); color: #6aa8ff; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .07); }
html[data-theme="dark"] .strip { background: rgba(16, 24, 44, .55); border-color: rgba(60, 85, 140, .35); }
html[data-theme="dark"] .tag { background: rgba(22, 32, 56, .85); color: var(--navy); }
html[data-theme="dark"] .mini-card, html[data-theme="dark"] .mini-card__bar { background: #111a30; }
html[data-theme="dark"] .mini-card { border-color: var(--line); }
html[data-theme="dark"] .mini-card__bar { border-color: #1d2a46; }
html[data-theme="dark"] .mini-card__bar i { background: #2a3a5e; }
html[data-theme="dark"] .project-card, html[data-theme="dark"] .price-card, html[data-theme="dark"] .card-glass, html[data-theme="dark"] .cta-box {
  background: linear-gradient(145deg, rgba(20, 30, 54, .95), rgba(14, 22, 42, .85)); border-color: rgba(60, 85, 140, .35);
}
html[data-theme="dark"] .price-card.is-highlight { border-color: #3d8bff; box-shadow: 0 24px 50px -22px rgba(30, 120, 255, .45); }
html[data-theme="dark"] .price-card__list-wrap.is-box { background: rgba(26, 38, 68, .7); }
html[data-theme="dark"] .check-list li { color: #cdd8ee; }
html[data-theme="dark"] .price__pre { color: #e9eefb; }
html[data-theme="dark"] .project-card__go, html[data-theme="dark"] .carousel__btn { background: #17223e; border-color: var(--line); color: #6aa8ff; }
html[data-theme="dark"] .project-card__go:hover, html[data-theme="dark"] .carousel__btn:hover:not([disabled]) { background: var(--blue); color: #fff; }
html[data-theme="dark"] .carousel__progress { background: #17223e; }
html[data-theme="dark"] .step__num { background: linear-gradient(145deg, #1a2a4d, #122040); color: #6aa8ff; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .07); }
html[data-theme="dark"] .section--offer { background: linear-gradient(180deg, rgba(10, 16, 32, 0), rgba(18, 28, 52, .5) 30%, rgba(10, 16, 32, 0)); }
html[data-theme="dark"] .offer-adv { border-color: rgba(60, 85, 140, .35); }
html[data-theme="dark"] .about__photo { background: linear-gradient(145deg, #15233f, #101a30); border-color: rgba(60, 85, 140, .35); }
html[data-theme="dark"] .about__text p { color: #b9c6e0; }
html[data-theme="dark"] .shot-placeholder { background: repeating-linear-gradient(135deg, #121c34 0 12px, #16213b 12px 24px); color: #6f84aa; }
html[data-theme="dark"] .field input, html[data-theme="dark"] .field select, html[data-theme="dark"] .field textarea { background: #0e1730; color: var(--navy); border-color: var(--line); }
html[data-theme="dark"] .field input:focus, html[data-theme="dark"] .field select:focus, html[data-theme="dark"] .field textarea:focus { box-shadow: 0 0 0 4px rgba(61, 139, 255, .22); }
html[data-theme="dark"] .form-status.is-ok { background: #0f2a22; color: #6ee0b0; border-color: #1d5a45; }
html[data-theme="dark"] .form-status.is-err { background: #2d1219; color: #ff8fa0; border-color: #6b2230; }
html[data-theme="dark"] .site-footer { background: rgba(8, 13, 27, .75); border-color: rgba(60, 85, 140, .3); }
html[data-theme="dark"] .footer-social a:hover { background: var(--tint); }
html[data-theme="dark"] .eyebrow, html[data-theme="dark"] .link-caps { color: #5ca2ff; }
html[data-theme="dark"] .project-card .eyebrow--sm { background: #16294d; color: #7db4ff; }
html[data-theme="dark"] .laptop__lid { border-color: #4a5366; }
html[data-theme="dark"] .hero__card { background: linear-gradient(145deg, rgba(40, 56, 94, .85), rgba(20, 30, 56, .6)); border-color: rgba(255, 255, 255, .12); color: #6aa8ff; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .1); }
html[data-theme="dark"] .hero__wave path { stroke: #4b8dff; }
html[data-theme="dark"] .hero__dot { background: #2f6dd8; }
html[data-theme="dark"] .hero__grid { background: radial-gradient(circle, #3b6fc0 1.6px, transparent 2px) 0 0 / 24px 24px; }
/* animacja logo: jasne tło wideo staje się ciemne i wtapia się w stronę */
html[data-theme="dark"] .hero__video, html[data-theme="dark"] .hero__static { filter: invert(1) hue-rotate(180deg) saturate(1.15); mix-blend-mode: screen; }
html[data-theme="dark"] .skip-link { background: #e9eefb; color: #0a1020; }
html[data-theme="dark"] .brand__mark { filter: drop-shadow(0 0 10px rgba(61, 139, 255, .35)); }
html[data-theme="dark"] .price-card__art svg { filter: brightness(.9); }
html[data-theme="dark"] .price-card:not(.is-highlight) .btn-outline { border-color: rgba(90, 150, 255, .45); }
html[data-theme="dark"] .project-card:hover, html[data-theme="dark"] .price-card:hover { box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8); }
html[data-theme="dark"] .price-card__art svg ellipse { fill: #1a2d56; }
html[data-theme="dark"] .price-card__art svg { filter: none; }

@media (max-width: 959px) {
  .header-actions { gap: .6rem; }
  .theme-toggle { width: 62px; height: 34px; }
  .theme-toggle__knob { width: 26px; height: 26px; top: 4px; left: 4px; }
  html[data-theme="dark"] .theme-toggle__knob { transform: translateX(28px); }
  .theme-toggle__clouds { transform: scale(.8); right: 6px; }
  .theme-toggle__crater.c1 { left: 14px; top: 5px; width: 6px; height: 6px; } .theme-toggle__crater.c2 { left: 6px; top: 13px; width: 5px; height: 5px; } .theme-toggle__crater.c3 { left: 15px; top: 16px; width: 4px; height: 4px; }
}
@media (max-width: 480px) {
  .brand__mark { width: 38px; }
  .brand__name { font-size: 1.45rem; }
  .brand__sub { font-size: .55rem; letter-spacing: .22em; }
  .header-inner { gap: .5rem; }
}
/* ===== Karuzela realizacji w granicach strony: karty nie wystają poza ekran ===== */
.carousel__track.project-grid {
  margin-inline: -6px; padding: .6rem 6px 1.6rem; scroll-padding-inline: 6px; gap: var(--sp-5);
}
.carousel__track .project-card { flex: 0 0 100%; }
@media (min-width: 700px) { .carousel__track .project-card { flex-basis: calc((100% - var(--sp-5)) / 2); } }
@media (min-width: 1100px) { .carousel__track .project-card { flex-basis: calc((100% - 2 * var(--sp-5)) / 3); } }
/* ===================================================================== */
/* Realistyczny laptop 3D (.lp) – zrzut ekranu z panelu jest na ekranie    */
/* ===================================================================== */
.lp { container-type: inline-size; position: relative; width: 100%; max-width: 760px; margin-inline: auto; aspect-ratio: 100 / 86; }
.lp__scene { position: absolute; inset: 0; perspective: 175cqw; perspective-origin: 50% 18%; }
.lp__rig { position: absolute; left: 50%; top: 55%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(-24deg); }
.lp__lid { position: absolute; left: -30cqw; top: -40cqw; width: 60cqw; height: 40cqw; transform-origin: 50% 100%; transform: rotateX(11deg); transform-style: preserve-3d; }
.lp__bezel {
  position: absolute; inset: 0; padding: 1.5cqw 1.5cqw 2cqw; background: #08090c; border-radius: 1.3cqw 1.3cqw .4cqw .4cqw;
  box-shadow: 0 0 0 .32cqw #b4b9c2, 0 0 0 .5cqw #8d939e, inset 0 0 0 .15cqw #23262d;
}
.lp__cam { position: absolute; left: 50%; top: .55cqw; width: .5cqw; height: .5cqw; margin-left: -.25cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3a4a66, #0b0e14 70%); }
.lp .laptop__screen { position: relative; width: 100%; height: 100%; aspect-ratio: auto; overflow: hidden; background: #fff; border-radius: .25cqw; }
.lp .laptop__screen img { display: block; width: 100%; min-height: 100%; object-fit: cover; object-position: top; transition: transform var(--scroll-dur, 4s) cubic-bezier(.45, .05, .35, 1); will-change: transform; }
.lp .laptop__screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .06) 100%); }
.lp .laptop__screen .shot-placeholder { position: absolute; inset: 0; }
.lp:hover .laptop__screen img, .lp:focus-within .laptop__screen img { transform: translateY(calc(-1 * var(--scroll, 0px))); }
.lp__lidside { position: absolute; right: 0; top: 1cqw; bottom: 0; width: 1.2cqw; transform-origin: 100% 50%; transform: rotateY(-90deg); background: linear-gradient(90deg, #8c929d, #c9cdd4 50%, #8c929d); border-radius: .3cqw; }
.lp__deck {
  position: absolute; left: -30cqw; top: 0; width: 60cqw; height: 40cqw; transform-origin: 50% 0; transform: rotateX(90deg);
  background: linear-gradient(180deg, #c3c8d0 0%, #dde0e6 18%, #d2d6dc 100%); border-radius: .4cqw .4cqw 1.6cqw 1.6cqw;
  box-shadow: inset 0 0 0 .2cqw rgba(255, 255, 255, .35);
}
.lp__deck::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2.2cqw; background: linear-gradient(180deg, #7d838e, #aab0ba); border-radius: .4cqw .4cqw 0 0; }
.lp__kb {
  position: absolute; left: 4.5%; right: 4.5%; top: 9%; height: 52%; border-radius: .7cqw; background-color: #2a2f37;
  background-image: linear-gradient(90deg, #0c0e12 .28cqw, transparent .28cqw), linear-gradient(0deg, #0c0e12 .28cqw, transparent .28cqw);
  background-size: calc(100% / 14) calc(100% / 5); box-shadow: 0 0 0 .5cqw #0c0e12, inset 0 0 1cqw rgba(0, 0, 0, .6);
}
.lp__pad { position: absolute; left: 33%; right: 33%; bottom: 7%; height: 24%; border-radius: .9cqw; background: linear-gradient(180deg, #c9cdd4, #bcc1c9); box-shadow: inset 0 0 0 .15cqw rgba(0, 0, 0, .22), inset 0 .3cqw .5cqw rgba(255, 255, 255, .6); }
.lp__front { position: absolute; left: -30cqw; top: 0; width: 60cqw; height: 1.7cqw; transform: translateZ(40cqw); background: linear-gradient(180deg, #e6e8ec 0%, #aeb3bc 60%, #8d939d 100%); border-radius: 0 0 2cqw 2cqw / 0 0 1.2cqw 1.2cqw; }
.lp__side { position: absolute; left: 30cqw; top: 0; width: 40cqw; height: 1.7cqw; transform-origin: 0 0; transform: rotateY(-90deg); background: linear-gradient(180deg, #d4d7dd, #8f959f); border-radius: 0 0 .8cqw .8cqw; }
.lp__shadow { position: absolute; left: 8%; right: -4%; bottom: 3%; height: 14%; background: radial-gradient(ellipse at 50% 50%, rgba(10, 25, 60, .42) 0%, rgba(10, 25, 60, .18) 45%, transparent 72%); filter: blur(7px); transform: skewX(-18deg); }
html[data-theme="dark"] .lp__shadow { background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .3) 45%, transparent 72%); }
@media (prefers-reduced-motion: reduce) { .lp .laptop__screen img { transition: none; transform: none !important; } }
.featured__laptop .lp { max-width: 660px; }
.project-card__visual .lp { max-width: none; }
.preview-box .lp { max-width: 100%; }
/* ===================================================================== */
/* Kafelek realizacji: tekst | laptop | dwa zdjęcia po prawej (1 kafelek w widoku) */
/* ===================================================================== */
.carousel__track.project-grid { gap: var(--sp-5); }
.carousel__track .project-card { flex: 0 0 100% !important; display: grid; grid-template-columns: 1fr; gap: 1.2rem; padding: 1.5rem; align-items: center; }
.carousel__track .project-card .project-card__body { grid-column: auto; grid-row: auto; }
.carousel__track .project-card .project-card__visual { order: 0; grid-column: auto; grid-row: auto; margin: 0; display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: center; }
.project-card__laptop .lp { max-width: 520px; }
.project-card__minis { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.project-card__btn { margin-top: var(--sp-4); }
.project-card .project-card__name { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.project-card .project-card__desc { font-size: 1.1rem; max-width: 30rem; }
.project-card .tags { padding-right: 0; }
.project-card .tag { font-size: .88rem; padding: .4rem .8rem; }
@media (min-width: 1000px) {
  .carousel__track .project-card { grid-template-columns: minmax(0, .78fr) minmax(0, 1.6fr); gap: 2.4rem; padding: 1.8rem 2.2rem; }
  .carousel__track .project-card .project-card__visual { grid-template-columns: minmax(0, 1fr) clamp(170px, 17vw, 240px); gap: 1.4rem; }
  .project-card__minis { grid-template-columns: 1fr; gap: 1rem; }
}
.project-card:hover { transform: none; }
html[data-theme="dark"] .mini-card__shot { background: #0f1830; }
/* ===== Dwa kafelki obok siebie: tekst na górze, pod nim laptop + 2 małe zdjęcia po prawej ===== */
@media (min-width: 700px) { .carousel__track .project-card { flex-basis: calc((100% - var(--sp-5)) / 2) !important; padding: 1.3rem; gap: 1rem; } }
@media (min-width: 1000px) {
  .carousel__track .project-card { grid-template-columns: 1fr; padding: 1.5rem 1.6rem; gap: .6rem; align-items: start; }
  .carousel__track .project-card .project-card__visual { grid-template-columns: minmax(0, 1fr) clamp(110px, 10.5vw, 150px); gap: .9rem; align-items: center; }
  .project-card__laptop .lp { max-width: 100%; }
  .project-card__minis { grid-template-columns: 1fr; gap: .7rem; }
  .project-card .project-card__name { font-size: clamp(1.6rem, 2.3vw, 2.1rem); }
  .project-card .project-card__desc { font-size: 1rem; line-height: 1.45; margin-bottom: .8rem; }
  .project-card .project-card__btn { padding: .55rem 1.2rem; font-size: .95rem; margin-top: .6rem; }
  .project-card__minis .mini-card__title { font-size: .85rem; }
  .project-card__minis .mini-card__bar { padding: .4rem .6rem; }
  .project-card__minis .mini-card__shot { aspect-ratio: 16 / 9; }
}
@media (min-width: 700px) and (max-width: 999px) {
  .project-card .project-card__name { font-size: 1.5rem; }
  .project-card .project-card__desc { font-size: .92rem; }
}
@media (min-width: 1000px) {
  .project-card__laptop .lp { max-width: min(100%, 310px); margin-inline: auto; }
  .carousel__track .project-card { padding: 1.3rem 1.5rem 1.2rem; }
  .project-card .eyebrow--sm { font-size: .8rem; margin-bottom: .4rem; }
  .project-card .tags { gap: .4rem; }
  .project-card .tag { font-size: .8rem; padding: .3rem .65rem; }
  .project-card .project-card__desc { margin-bottom: .6rem; }
  .project-card__minis .mini-card__shot { aspect-ratio: 16 / 8; }
}
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(var(--steps, 4), 1fr); } }

/* ===== Trzy kafelki obok siebie (komputery ≥ 1100 px) ===== */
@media (min-width: 1100px) {
  .carousel__track .project-card { flex-basis: calc((100% - 2 * var(--sp-5)) / 3) !important; padding: 1.2rem 1.2rem 1.1rem; gap: .5rem; }
  .carousel__track .project-card .project-card__visual { grid-template-columns: minmax(0, 1fr) clamp(86px, 7.4vw, 118px); gap: .6rem; }
  .project-card__laptop .lp { max-width: 100%; }
  .project-card__minis { gap: .5rem; }
  .project-card .project-card__name { font-size: clamp(1.35rem, 1.9vw, 1.8rem); margin-bottom: .25rem; }
  .project-card .project-card__desc { font-size: .92rem; line-height: 1.4; margin-bottom: .5rem; }
  .project-card .eyebrow--sm { font-size: .74rem; padding: .28rem .7rem; }
  .project-card .tag { font-size: .74rem; padding: .25rem .55rem; }
  .project-card .tag .icon { width: 13px; height: 13px; }
  .project-card .project-card__btn { padding: .45rem 1rem; font-size: .88rem; margin-top: .5rem; }
  .project-card__minis .mini-card__title { font-size: .72rem; }
  .project-card__minis .mini-card__bar { padding: .3rem .45rem; gap: 3px; }
  .project-card__minis .mini-card__bar i { width: 4px; height: 4px; }
  .project-card__minis .mini-card__shot { aspect-ratio: 16 / 9; }
  .project-card__minis .shot-placeholder { font-size: .6rem; padding: .3rem; }
  .project-card__minis .shot-placeholder .icon { width: 14px; height: 14px; }
}
/* Realizacje: po kliknięciu w menu przewiń tak, żeby od razu był widoczny pasek postępu listy; grubszy pasek */
#realizacje { scroll-margin-top: -64px; }
.carousel__progress { height: 9px; border-radius: 9px; margin-top: .5rem; }
.carousel__progress span { border-radius: 9px; }
#realizacje { scroll-margin-top: -80px; }
#realizacje .section-head { margin-bottom: 1rem; }
#realizacje .carousel__bar { margin-bottom: .6rem; }
/* Przycisk pod laptopem */
.carousel__track .project-card .project-card__btn { justify-self: start; margin-top: .2rem; }
@media (min-width: 1100px) { .carousel__track .project-card .project-card__btn { margin-top: .1rem; } .carousel__track .project-card .project-card__visual { gap: .4rem; } }

.carousel__progress { cursor: pointer; touch-action: none; position: relative; }
.carousel__progress::before { content: ""; position: absolute; inset: -12px 0; }
.carousel__progress:hover span { filter: brightness(1.1); }
.carousel__progress:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* ===== Oferta na stronie głównej: cały cennik mieści się w jednym oknie (komputery) ===== */
@media (min-width: 1100px) and (min-height: 600px) {
  #oferta { padding: 0; scroll-margin-top: -8px; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
  #oferta > .container { padding-block: clamp(.4rem, 1.6vh, 1.2rem); }
  #oferta .offer-head { margin-bottom: 0; }
  #oferta .offer-head .eyebrow { font-size: clamp(.55rem, 1.15vh, .78rem); margin-bottom: .3vh; }
  #oferta .h2--xl { font-size: clamp(1.5rem, 4.6vh, 3rem); }
  #oferta .offer-head__sub { margin-top: .4vh; font-size: clamp(.78rem, 1.7vh, 1.05rem); }
  #oferta .offer-head__bar { margin-top: .9vh; }
  #oferta .price-grid { margin-top: clamp(1.1rem, 3.4vh, 2rem); gap: 1.1vw; font-size: clamp(8.5px, 1.36vh, 15px); }
  #oferta .price-card { padding: 1.1em 1.1em 1em; }
  #oferta .price-card:hover { transform: none; }
  #oferta .price-card__badge { font-size: 1em; padding: .35em 1.1em; }
  #oferta .price-card__art { height: 5.4em; margin: -.2em 0 .3em; }
  #oferta .price-card__name { font-size: 1.8em; margin-bottom: .1em; }
  #oferta .price { margin-bottom: .4em; }
  #oferta .price__pre { font-size: 2em; }
  #oferta .price__amt, #oferta .price__cur { font-size: 2.8em; }
  #oferta .price__per { font-size: 1.25em; }
  #oferta .price-card__desc { font-size: 1.02em; line-height: 1.35; min-height: 0; margin-bottom: .6em; }
  #oferta .price-card__list-wrap { margin-bottom: .6em; }
  #oferta .check-list { gap: .45em; }
  #oferta .check-list li { font-size: 1.02em; line-height: 1.25; gap: .55em; }
  #oferta .check-list li .icon { width: 1.35em; height: 1.35em; padding: .27em; }
  #oferta .is-box { padding: .55em .75em; }
  #oferta .price-card__list-title { font-size: 1em; margin-bottom: .25em; }
  #oferta .is-box .check-list { gap: .2em; }
  #oferta .is-box .check-list li { font-size: .86em; line-height: 1.2; gap: .45em; }
  #oferta .is-box .check-list li .icon { width: 1.2em; height: 1.2em; padding: .2em; }
  #oferta .price-card .btn { padding: .6em 1em; font-size: 1.08em; }
  #oferta .offer-adv { margin-top: clamp(.5rem, 2vh, 1.2rem); padding-top: clamp(.4rem, 1.4vh, 1rem); }
  #oferta .offer-adv__item { padding: .2rem 1rem; }
  #oferta .offer-adv__icon svg { width: clamp(22px, 3.2vh, 32px); height: clamp(22px, 3.2vh, 32px); }
  #oferta .offer-adv h3 { font-size: clamp(.82rem, 1.6vh, 1rem); }
  #oferta .offer-adv p { font-size: clamp(.7rem, 1.35vh, .88rem); line-height: 1.3; }
}
/* Nagłówek: mniejszy (było 96 px) */
:root { --header-h: 76px; }
.header-inner { height: var(--header-h); }
.brand__mark { width: 40px; }
.brand__name { font-size: 1.7rem; }
.brand__sub { font-size: .58rem; margin-top: .2rem; }
.pill-nav { padding: 6px; }
.pill-nav__thumb { top: 6px; bottom: 6px; }
.pill-nav__item { padding: .55rem 1.25rem; font-size: 1.04rem; }
.header-cta { padding: .65rem 1.4rem; font-size: 1.02rem; }
.header-cta .icon { width: 18px; height: 18px; }
.theme-toggle { width: 68px; height: 36px; }
.theme-toggle__knob { width: 28px; height: 28px; top: 4px; left: 4px; }
html[data-theme="dark"] .theme-toggle__knob { transform: translateX(32px); }
@media (max-width: 959px) {
  :root { --header-h: 66px; }
  .brand__name { font-size: 1.55rem; }
}
@media (max-width: 480px) { .brand__name { font-size: 1.4rem; } .brand__mark { width: 36px; } }
#realizacje { scroll-margin-top: -64px; }
#realizacje { scroll-margin-top: -86px; }

/* ===== Oferta: wyraźny efekt po najechaniu na kartę ===== */
.price-grid .price-card { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease, opacity .35s ease, filter .35s ease, background-color .35s ease; will-change: transform; }
.price-grid .price-card:hover, .price-grid .price-card:focus-within {
  transform: translateY(-10px) scale(1.035) !important; z-index: 5; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 108, 255, .18), 0 34px 60px -22px rgba(10, 108, 255, .55), 0 14px 26px -14px rgba(20, 60, 140, .35);
  background: linear-gradient(160deg, #ffffff, #eef5ff);
}
.price-grid:hover .price-card:not(:hover):not(:focus-within) { opacity: .62; filter: saturate(.8); transform: scale(.985); }
.price-grid .price-card:hover .btn { background: var(--btn-grad); color: #fff; border-color: transparent; box-shadow: 0 16px 28px -12px rgba(10, 108, 255, .7); }
.price-grid .price-card:hover .price-card__art svg { transform: scale(1.08) translateY(-3px); }
.price-card__art svg { transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
html[data-theme="dark"] .price-grid .price-card:hover, html[data-theme="dark"] .price-grid .price-card:focus-within {
  background: linear-gradient(160deg, rgba(28, 44, 82, .98), rgba(18, 30, 58, .95)); border-color: #5aa0ff;
  box-shadow: 0 0 0 3px rgba(61, 139, 255, .28), 0 34px 60px -22px rgba(30, 120, 255, .55);
}
@media (hover: none) { .price-grid:hover .price-card:not(:hover) { opacity: 1; filter: none; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .price-grid .price-card, .price-card__art svg { transition: none; }
  .price-grid .price-card:hover { transform: none !important; }
  .price-grid:hover .price-card:not(:hover) { transform: none; }
}
/* Nagłówek: kryjące tło po przewinięciu – nic nie prześwituje spod spodu */
.site-header.is-scrolled, .site-header.nav-open { background: #ffffff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 rgba(180, 205, 245, .7), 0 12px 28px -18px rgba(20, 60, 140, .4); }
html[data-theme="dark"] .site-header.is-scrolled, html[data-theme="dark"] .site-header.nav-open { background: #0a1020; box-shadow: 0 1px 0 rgba(80, 110, 170, .3), 0 12px 28px -18px rgba(0, 0, 0, .9); }
.site-header { z-index: 80; }
@media (max-width: 959px) {
  .site-header.is-scrolled, .site-header.nav-open { background: #ffffff; }
  html[data-theme="dark"] .site-header.is-scrolled, html[data-theme="dark"] .site-header.nav-open { background: #0a1020; }
  .site-header .pill-nav { background: #ffffff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html[data-theme="dark"] .site-header .pill-nav { background: #0e1528; }
}
/* ===== Jak pracuję: kafelki w stylu kart realizacji (ta sama szerokość, odstępy, ramka i cień) ===== */
.steps { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); counter-reset: none; }
.step {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1rem; padding: 1.5rem 1.5rem 1.4rem;
  min-height: var(--step-h, 0px); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(247, 251, 255, .7)); border: 1px solid rgba(215, 228, 247, .9); box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(10, 108, 255, .35); }
.step__num { width: 86px; height: 86px; font-size: 2.3rem; }
.step__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.1; }
.step p { max-width: 24rem; font-size: 1.08rem; line-height: 1.5; color: var(--muted); margin-top: .4rem; }
.step__arrow { display: grid !important; position: absolute; right: 1.1rem; bottom: 1.1rem; top: auto; width: 42px; height: 42px; place-items: center; margin: 0; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--blue); }
.step:last-child .step__arrow { display: none !important; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); } .step { padding: 1.5rem 1.6rem; } }
html[data-theme="dark"] .step { background: linear-gradient(145deg, rgba(20, 30, 54, .95), rgba(14, 22, 42, .85)); border-color: rgba(60, 85, 140, .35); }
html[data-theme="dark"] .step__arrow { background: #17223e; border-color: var(--line); }
@media (prefers-reduced-motion: reduce) { .step, .step:hover { transition: none; transform: none; } }
/* Jak pracuję: ukośny gradient biało-niebieski (niebieski wyraźnie widoczny) */
.step {
  background: linear-gradient(135deg, #ffffff 0%, #eaf3ff 32%, #bcd8ff 68%, #7db4ff 100%);
  border-color: rgba(10, 108, 255, .28);
}
.step:hover { background: linear-gradient(135deg, #ffffff 0%, #e2efff 28%, #a8cdff 66%, #5da2ff 100%); border-color: rgba(10, 108, 255, .55); }
.step__num { background: linear-gradient(145deg, #ffffff, #dcebff); box-shadow: 0 10px 22px -10px rgba(10, 108, 255, .65), inset 0 1px 0 #fff; }
.step p { color: #3a4f78; }
.step__arrow { background: rgba(255, 255, 255, .9); }
html[data-theme="dark"] .step { background: linear-gradient(135deg, #111b33 0%, #16315f 55%, #1f55b0 100%); border-color: rgba(90, 150, 255, .4); }
html[data-theme="dark"] .step:hover { background: linear-gradient(135deg, #14213f 0%, #1b3d78 55%, #2a6bd6 100%); }
html[data-theme="dark"] .step__num { background: linear-gradient(145deg, #1d3566, #122547); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .1); }
html[data-theme="dark"] .step p { color: #c4d4f0; }
html[data-theme="dark"] .step__arrow { background: rgba(10, 16, 32, .6); }
/* ===== Tło całej strony: ukośny gradient biało-niebieski (stały względem okna, widoczny na każdym ekranie) ===== */
body::before {
  background:
    radial-gradient(620px 420px at 12% 18%, rgba(255, 255, 255, .75), transparent 70%),
    linear-gradient(135deg, #ffffff 0%, #eaf3ff 28%, #cfe3ff 58%, #9cc6ff 82%, #6fa9ff 100%);
}
html[data-theme="dark"] body::before {
  background:
    radial-gradient(620px 420px at 85% 85%, rgba(61, 139, 255, .28), transparent 70%),
    linear-gradient(135deg, #0a1020 0%, #0d1a38 35%, #12296a 70%, #1b4aa8 100%);
}
.strip { background: rgba(255, 255, 255, .45); }
.section--offer { background: none; }
html[data-theme="dark"] .strip { background: rgba(10, 16, 32, .35); }
html[data-theme="dark"] .section--offer { background: none; }
.site-footer { background: rgba(255, 255, 255, .72); }
html[data-theme="dark"] .site-footer { background: rgba(8, 13, 27, .78); }
/* Tło: kolory odwrócone – niebieski w lewym górnym rogu, biały w prawym dolnym */
body::before {
  background:
    radial-gradient(620px 420px at 88% 88%, rgba(255, 255, 255, .8), transparent 70%),
    linear-gradient(135deg, #6fa9ff 0%, #9cc6ff 18%, #cfe3ff 42%, #eaf3ff 72%, #ffffff 100%);
}
html[data-theme="dark"] body::before {
  background:
    radial-gradient(620px 420px at 15% 15%, rgba(61, 139, 255, .3), transparent 70%),
    linear-gradient(135deg, #1b4aa8 0%, #12296a 30%, #0d1a38 65%, #0a1020 100%);
}
/* Animacja logo: białe tło wideo wtapia się w gradient strony (bez jasnej obwódki) */
.hero__anim { -webkit-mask-image: none; mask-image: none; isolation: isolate; }
.hero__video, .hero__static { mix-blend-mode: multiply; }
html[data-theme="dark"] .hero__video, html[data-theme="dark"] .hero__static { mix-blend-mode: screen; }
.hero__anim { isolation: auto; z-index: auto; }
.hero__visual { isolation: auto; }

/* wideo: tło wypchnięte do bieli, potem multiply = przezroczyste */
html:not([data-theme="dark"]) .hero__video, html:not([data-theme="dark"]) .hero__static { filter: brightness(1.14) contrast(1.45); mix-blend-mode: multiply; }

/* ===== Znak wodny: duży, blady sygnet DS na tle całej strony ===== */
body::after {
  content: ""; position: fixed; z-index: -1; pointer-events: none;
  right: -4vmin; bottom: -6vmin; width: 78vmin; height: 86vmin;
  background: url("../assets/logo-mark.webp") no-repeat center / contain;
  opacity: .12; filter: saturate(.85); transform: rotate(-8deg);
}
html[data-theme="dark"] body::after { opacity: .1; filter: brightness(1.6) saturate(.8); }
@media (max-width: 700px) { body::after { width: 90vmin; height: 100vmin; right: -22vmin; opacity: .1; } }
@media print { body::after { display: none; } }
/* Tryb ciemny: tło wideo spychane do czerni, potem screen = przezroczyste; logo i napis zostają jasne */
html[data-theme="dark"] .hero__video, html[data-theme="dark"] .hero__static { filter: invert(1) hue-rotate(180deg) contrast(1.75) brightness(1.08) saturate(1.1); mix-blend-mode: screen; }
html[data-theme="dark"] .hero__grid { opacity: .5; }

html[data-theme="dark"] .hero__video, html[data-theme="dark"] .hero__static { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(2.1) saturate(1.1); }

/* ===== Jak pracuję: z powrotem lekkie kafelki (numer w kółku + tytuł + opis + strzałka), zwarte i tuż pod realizacjami ===== */
#jak-pracuje { padding: 0 0 clamp(1.5rem, 3vw, 2.5rem); }
#jak-pracuje .section-head { margin-bottom: .6rem; }
#jak-pracuje .h2 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
#realizacje { padding-bottom: .4rem; }
.steps { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.step {
  position: relative; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 1rem; min-height: 0 !important; padding: 0 2.4rem 0 0;
  background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0; overflow: visible; transform: none !important;
}
.step:hover { transform: none; box-shadow: none; }
.step__num { flex: none; width: 66px; height: 66px; font-size: 1.55rem; background: linear-gradient(145deg, #ffffff, #dcebff); box-shadow: 0 10px 20px -12px rgba(10, 108, 255, .6), inset 0 1px 0 #fff; }
.step__title { font-family: var(--font-sans); font-weight: 500; font-size: 1.2rem; line-height: 1.2; }
.step p { margin: 0; max-width: 16rem; font-size: .95rem; line-height: 1.35; color: var(--muted); }
.step__arrow { display: block !important; position: absolute; right: 0; top: 50%; bottom: auto; width: auto; height: auto; margin: -11px 0 0; background: none; border: 0; box-shadow: none; border-radius: 0; color: var(--blue); }
.step:last-child .step__arrow { display: none !important; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(var(--steps, 3), 1fr); } }
html[data-theme="dark"] .step { background: none !important; border: 0 !important; }
html[data-theme="dark"] .step__num { background: linear-gradient(145deg, #1d3566, #122547); }
html[data-theme="dark"] .step p { color: #b9c9e6; }
html[data-theme="dark"] .step__arrow { background: none; }
/* ===== Jak pracuję: zwarty pasek jak zalety oferty (numer + tytuł + opis, cienkie separatory), widoczny razem z realizacjami ===== */
#jak-pracuje { padding: 0 0 clamp(.8rem, 2vw, 1.6rem); }
#jak-pracuje > .container { border-top: 1px solid rgba(190, 212, 245, .6); padding-top: clamp(.4rem, 1.2vh, .9rem); }
html[data-theme="dark"] #jak-pracuje > .container { border-color: rgba(70, 100, 160, .35); }
#jak-pracuje .section-head { margin-bottom: .3rem; }
#jak-pracuje .section-head__line { display: none; }
#jak-pracuje .h2 { font-size: clamp(1.2rem, 1.9vw, 1.55rem); }
.steps { gap: 0; }
.step { padding: .5rem 1.4rem .5rem 1.2rem; gap: .9rem; }
.step:first-child { padding-left: 0; }
.step + .step { border-left: 1px solid var(--line) !important; }
.step__num { width: auto; height: auto; background: none !important; box-shadow: none !important; border-radius: 0; font-size: 2.1rem; line-height: 1; color: var(--blue); }
.step__title { font-size: 1.05rem; font-weight: 600; }
.step p { font-size: .88rem; line-height: 1.3; max-width: 17rem; }
.step__arrow { display: none !important; }
@media (max-width: 1039px) { .step + .step { border-left: 0 !important; border-top: 1px solid var(--line); } .step { padding: .8rem 0; } .steps { gap: 0; } }

/* Karuzela: strzałki w linii z nagłówkiem (oszczędza miejsce), żeby pasek „Jak pracuję” był widoczny od razu */
@media (min-width: 1100px) {
  #realizacje .carousel { position: relative; }
  #realizacje .carousel__bar { position: absolute; top: -3.55rem; left: 15.5rem; margin: 0; z-index: 2; }
  #realizacje .carousel__hint { display: none; }
  #realizacje .carousel__btn { width: 40px; height: 40px; }
  #realizacje { scroll-margin-top: -82px; }
  #realizacje .section-head { margin-bottom: .5rem; }
  #realizacje .carousel__track.project-grid { padding-bottom: .8rem; }
}
/* Jak pracuję: strzałki między krokami (Rozmowa → Wykonanie → Publikacja) */
@media (min-width: 1040px) {
  .step + .step { border-left: 0 !important; }
  .step { padding-right: 3.6rem; }
  .step:last-child { padding-right: 0; }
  .step__arrow { display: grid !important; place-items: center; position: absolute; right: .6rem; top: 50%; width: 42px; height: 42px; margin: -21px 0 0; border-radius: 50%; color: var(--blue); background: rgba(255, 255, 255, .85) !important; border: 1px solid rgba(10, 108, 255, .3) !important; box-shadow: 0 8px 16px -10px rgba(10, 108, 255, .55) !important; }
  .step__arrow svg { width: 22px; height: 22px; stroke-width: 2; }
  .step:last-child .step__arrow { display: none !important; }
  html[data-theme="dark"] .step__arrow { background: rgba(14, 22, 44, .85) !important; border-color: rgba(90, 150, 255, .45) !important; }
}
@media (max-width: 1039px) {
  .step { position: relative; padding-bottom: 2.6rem; }
  .step:last-child { padding-bottom: .8rem; }
  .step__arrow { display: grid !important; place-items: center; position: absolute; left: 22px; right: auto; top: auto; bottom: .2rem; width: 30px; height: 30px; margin: 0; color: var(--blue); background: none !important; border: 0 !important; box-shadow: none !important; transform: rotate(90deg); }
  .step:last-child .step__arrow { display: none !important; }
}
/* Jak pracuję: szerokie strzałki (kreska z grotem) między krokami */
@media (min-width: 1040px) {
  .step { padding-right: clamp(5.5rem, 8vw, 8.5rem); }
  .step:last-child { padding-right: 0; }
  .step__arrow {
    width: clamp(64px, 6.4vw, 110px) !important; height: 22px !important; margin: -11px 0 0 !important; right: clamp(.6rem, 1.2vw, 1.4rem) !important;
    border-radius: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; display: block !important;
  }
  .step__arrow svg { display: none; }
  .step__arrow::before { content: ""; position: absolute; left: 0; right: 3px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: linear-gradient(90deg, rgba(10, 108, 255, .15), var(--blue)); }
  .step__arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; border-top: 3px solid var(--blue); border-right: 3px solid var(--blue); border-radius: 2px; transform: rotate(45deg); transform-origin: 70% 30%; }
  .step:last-child .step__arrow { display: none !important; }
}
/* Jak pracuję: poprawiony grot strzałki (SVG), kreska łączy się z grotem */
@media (min-width: 1040px) {
  .step__arrow { height: 26px !important; margin: -13px 0 0 !important; }
  .step__arrow::before { right: 8px; height: 3px; margin-top: -1.5px; border-radius: 3px 0 0 3px; background: linear-gradient(90deg, rgba(10, 108, 255, .12), #0a6cff 85%); }
  .step__arrow::after {
    content: ""; position: absolute; right: 0; top: 50%; width: 20px; height: 26px; margin-top: -13px; border: 0; border-radius: 0; transform: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 26'%3E%3Cpath d='M5 3.5 L16 13 L5 22.5' fill='none' stroke='%230a6cff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  }
  html[data-theme="dark"] .step__arrow::before { background: linear-gradient(90deg, rgba(90, 160, 255, .12), #5aa0ff 85%); }
  html[data-theme="dark"] .step__arrow::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 26'%3E%3Cpath d='M5 3.5 L16 13 L5 22.5' fill='none' stroke='%235aa0ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}
/* Start: hero + pasek zalet wypełniają dokładnie jeden ekran – nic z „Realizacje” nie wystaje na dole */
@media (min-width: 960px) and (min-height: 560px) {
  .hero { min-height: calc(100vh - var(--header-h) - var(--strip-h, 106px)); display: flex; align-items: center; padding-block: clamp(.5rem, 2vh, 2rem); }
  .hero__inner { width: min(100% - 2rem, var(--container)); }
  .strip { min-height: var(--strip-h, 106px); display: flex; align-items: center; }
  .strip__inner { width: min(100% - 2rem, var(--container)); }
  #realizacje { margin-top: 0; }
}
/* ===== Realizacje + Jak pracuję = dokładnie jeden ekran; kolejne sekcje zaczynają się poniżej dolnej krawędzi ===== */
@media (min-width: 1100px) and (min-height: 600px) {
  html { scroll-padding-top: var(--header-h); }
  #realizacje, #oferta { scroll-margin-top: 0 !important; }
  #realizacje { min-height: calc(100vh - var(--header-h) - var(--how-h, 135px)); display: flex; align-items: center; padding-block: clamp(.4rem, 1.6vh, 1.4rem) !important; }
  #realizacje > .container { width: min(100% - 2rem, var(--container)); }
  #realizacje .section-head { margin-top: 0; }
  #jak-pracuje { padding-bottom: 0 !important; }
}
/* ===== Oferta, O mnie, Kontakt: każda sekcja = dokładnie jeden ekran; Kontakt + stopka = jeden ekran ===== */
@media (min-width: 1000px) and (min-height: 600px) {
  #oferta, #o-mnie { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; padding-block: clamp(.4rem, 2vh, 1.5rem) !important; scroll-margin-top: 0 !important; }
  #kontakt { min-height: calc(100vh - var(--header-h) - var(--foot-h, 64px)); display: flex; align-items: center; padding-block: clamp(.4rem, 2vh, 1.5rem) !important; scroll-margin-top: 0 !important; }
  #oferta > .container, #o-mnie > .container, #kontakt > .container { width: min(100% - 2rem, var(--container)); }

  /* stopka jako cienki pasek */
  .site-footer { margin-top: 0; }
  .footer-inner { grid-template-columns: auto 1fr auto auto; padding: clamp(.3rem, 1vh, .6rem) 0; gap: 1.2rem; }
  .footer-inner .brand__mark { width: 28px; }
  .brand--footer .brand__name { font-size: 1.15rem; }
  .brand--footer .brand__sub { display: none; }
  .footer-text { font-size: .8rem; max-width: 24rem; line-height: 1.3; }
  .footer-bottom { padding: .2rem 0 .4rem; font-size: .78rem; }

  /* O mnie */
  #o-mnie .about { grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
  #o-mnie .about__photo { height: clamp(280px, 62vh, 720px); width: auto; aspect-ratio: 4 / 5; max-width: 40vw; }
  #o-mnie .about__text { font-size: clamp(11px, 1.7vh, 20px); }
  #o-mnie .about__text .eyebrow { font-size: .8em; margin-bottom: .6em; }
  #o-mnie .about__text .h2 { font-size: 3em; margin-bottom: .3em; }
  #o-mnie .about__text p { font-size: 1.1em; line-height: 1.55; margin-top: .9em; max-width: 42em; }

  /* Kontakt */
  #kontakt .contact { gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  #kontakt .contact__info { font-size: clamp(11px, 1.65vh, 19px); }
  #kontakt .contact__info .eyebrow { font-size: .8em; margin-bottom: .6em; }
  #kontakt .contact__info .h2 { font-size: 2.9em; }
  #kontakt .contact__lead { font-size: 1.1em; margin-top: .8em; }
  #kontakt .contact__list { margin-top: 1.3em; gap: .8em; }
  #kontakt .contact__list li { font-size: 1.1em; }
  #kontakt .contact__form { font-size: clamp(10px, 1.55vh, 17px); gap: .85em; padding: 1.6em 1.8em; }
  #kontakt .contact__form .field-row { gap: .85em; }
  #kontakt .contact__form .field { gap: .3em; }
  #kontakt .contact__form .field label { font-size: .95em; }
  #kontakt .contact__form .field input, #kontakt .contact__form .field select, #kontakt .contact__form .field textarea { padding: .55em .9em; font-size: 1.02em; border-radius: 12px; }
  #kontakt .contact__form textarea { min-height: 0; height: clamp(56px, 11vh, 140px); }
  #kontakt .contact__form .check { font-size: .88em; }
  #kontakt .contact__form .btn-lg { padding: .7em 1.6em; font-size: 1.08em; }
  #kontakt .form-status { padding: .45em .8em; font-size: .95em; }
}
/* Nagłówek: większa nazwa i wyraźny podpis „Strony internetowe” */
.site-header .brand { gap: .8rem; }
.site-header .brand__mark { width: 50px; }
.site-header .brand__name { font-size: 2.2rem; }
.site-header .brand__sub { margin-top: .32rem; font-size: .8rem; font-weight: 600; letter-spacing: .22em; color: #1d3a73; padding-left: 3px; }
html[data-theme="dark"] .site-header .brand__sub { color: #b9d0ff; }
@media (max-width: 959px) { .site-header .brand__mark { width: 42px; } .site-header .brand__name { font-size: 1.8rem; } .site-header .brand__sub { font-size: .68rem; letter-spacing: .18em; } }
@media (max-width: 480px) { .site-header .brand__mark { width: 36px; } .site-header .brand__name { font-size: 1.45rem; } .site-header .brand__sub { font-size: .56rem; letter-spacing: .12em; margin-top: .2rem; } .site-header .brand { gap: .5rem; } }
/* Jak pracuję: większy pasek i odsunięty od dolnej krawędzi ekranu */
#jak-pracuje { padding-bottom: clamp(1rem, 3.2vh, 2.2rem) !important; }
#jak-pracuje > .container { padding-top: clamp(.6rem, 1.8vh, 1.2rem); }
#jak-pracuje .h2 { font-size: clamp(1.5rem, 3.1vh, 2.1rem); }
#jak-pracuje .section-head { margin-bottom: clamp(.3rem, 1vh, .7rem); }
.step__num { font-size: clamp(2.3rem, 4.2vh, 3.1rem); }
.step__title { font-size: clamp(1.15rem, 2.2vh, 1.5rem); }
.step p { font-size: clamp(.92rem, 1.75vh, 1.12rem); line-height: 1.35; max-width: 20rem; }
.step { gap: 1rem; padding-top: .35rem; padding-bottom: .35rem; }
@media (min-width: 1040px) { .step__arrow { width: clamp(60px, 5.6vw, 100px) !important; } .step { padding-right: clamp(5rem, 7vw, 8rem); } }
/* ===== Oferta: większe i wyraźniejsze teksty w kartach ===== */
@media (min-width: 1100px) and (min-height: 600px) {
  #oferta .price-grid { font-size: clamp(9.5px, 1.62vh, 18px); }
  #oferta .price-card { padding: 1.15em 1.2em 1.05em; }
  #oferta .price-card__art { height: 5em; }
  #oferta .price-card__name { font-size: 1.95em; }
  #oferta .price__pre { font-size: 2.1em; }
  #oferta .price__amt, #oferta .price__cur { font-size: 3em; }
  #oferta .price-card__desc { font-size: 1.12em; line-height: 1.38; color: #34466b; font-weight: 400; }
  #oferta .check-list li { font-size: 1.12em; font-weight: 500; color: #14264d; }
  #oferta .is-box .check-list li { font-size: .95em; }
  #oferta .price-card__list-title { font-size: 1.1em; }
  #oferta .price-card .btn { font-size: 1.15em; font-weight: 600; padding: .65em 1em; }
  #oferta .price-card__badge { font-size: 1em; font-weight: 600; max-width: calc(100% + 1.5em); }
  #oferta .offer-adv h3 { font-size: clamp(.95rem, 1.85vh, 1.2rem); font-weight: 600; }
  #oferta .offer-adv p { font-size: clamp(.8rem, 1.55vh, 1rem); color: #34466b; }
}
html[data-theme="dark"] #oferta .price-card__desc { color: #bccae6; }
html[data-theme="dark"] #oferta .check-list li { color: #eaf0ff; }
html[data-theme="dark"] #oferta .offer-adv p { color: #bccae6; }
@media (min-width: 1100px) and (min-height: 600px) { #oferta .price-grid { font-size: clamp(9px, 1.45vh, 17px); } #oferta .price-card__art { height: 4.6em; } #oferta .offer-adv { margin-top: clamp(.4rem, 1.5vh, 1rem); } }

/* ===== Oferta: nagłówek wyżej, karty wydłużone w górę i w dół (rozciągnięte na całą wolną wysokość) ===== */
@media (min-width: 1100px) and (min-height: 600px) {
  #oferta { align-items: stretch; }
  #oferta > .container { display: flex; flex-direction: column; padding-block: clamp(.3rem, 1.2vh, .9rem) clamp(.2rem, 1vh, .7rem); }
  #oferta .offer-head { flex: none; }
  #oferta .price-grid { flex: 1 1 auto; margin-top: clamp(1rem, 2.6vh, 1.8rem); min-height: 0; align-items: stretch; }
  #oferta .price-card { padding-block: clamp(1.1em, 2.2vh, 1.9em); }
  #oferta .price-card__art { height: 5em; margin-bottom: .5em; }
  #oferta .offer-adv { flex: none; margin-top: clamp(.5rem, 1.6vh, 1.1rem); }
}
/* Oferta: wszystkie przyciski „Zapytaj o…” domyślnie jasne z obrysem; niebieskie wypełnienie dopiero po najechaniu na przycisk */
.price-grid .price-card .btn,
.price-grid .price-card:hover .btn:not(:hover),
.price-grid .price-card:focus-within .btn:not(:hover):not(:focus-visible),
.price-card.is-highlight .btn, .price-card.is-care .btn {
  background: rgba(255, 255, 255, .88); color: var(--blue); border: 1.5px solid rgba(10, 108, 255, .4); box-shadow: 0 6px 16px -10px rgba(10, 108, 255, .4);
}
.price-grid .price-card .btn:hover, .price-grid .price-card .btn:focus-visible {
  background: var(--btn-grad); color: #fff; border-color: transparent; box-shadow: 0 16px 28px -12px rgba(10, 108, 255, .75); transform: translateY(-2px);
}
html[data-theme="dark"] .price-grid .price-card .btn,
html[data-theme="dark"] .price-grid .price-card:hover .btn:not(:hover),
html[data-theme="dark"] .price-card.is-highlight .btn, html[data-theme="dark"] .price-card.is-care .btn {
  background: rgba(22, 32, 56, .75); color: #6aa8ff; border-color: rgba(90, 150, 255, .45); box-shadow: none;
}
html[data-theme="dark"] .price-grid .price-card .btn:hover, html[data-theme="dark"] .price-grid .price-card .btn:focus-visible { background: var(--btn-grad); color: #fff; border-color: transparent; }
/* Oferta: po najechaniu karta mocno się przybliża, żeby tekst był dobrze czytelny */
.price-grid .price-card:hover, .price-grid .price-card:focus-within { transform: translateY(-6px) scale(1.11) !important; z-index: 10; }
.price-grid:hover .price-card:not(:hover):not(:focus-within) { opacity: .5; transform: scale(.97); }
.price-grid .price-card:hover { box-shadow: 0 0 0 3px rgba(10, 108, 255, .22), 0 44px 70px -24px rgba(10, 108, 255, .6), 0 18px 30px -14px rgba(20, 60, 140, .4); }
#oferta, #oferta > .container { overflow: visible; }
/* Nagłówek i stopka w kolorze tła strony (ten sam gradient, nieprzezroczysty – nic nie prześwituje) */
:root { --page-grad: linear-gradient(135deg, #6fa9ff 0%, #9cc6ff 18%, #cfe3ff 42%, #eaf3ff 72%, #ffffff 100%); }
html[data-theme="dark"] { --page-grad: linear-gradient(135deg, #1b4aa8 0%, #12296a 30%, #0d1a38 65%, #0a1020 100%); }
.site-header.is-scrolled, .site-header.nav-open,
html[data-theme="dark"] .site-header.is-scrolled, html[data-theme="dark"] .site-header.nav-open { background: var(--page-grad) fixed; box-shadow: 0 1px 0 rgba(255, 255, 255, .35), 0 10px 24px -18px rgba(20, 60, 140, .45); }
.site-footer, html[data-theme="dark"] .site-footer { background: var(--page-grad) fixed; border-top-color: rgba(255, 255, 255, .45); }
html[data-theme="dark"] .site-header.is-scrolled, html[data-theme="dark"] .site-header.nav-open { box-shadow: 0 1px 0 rgba(120, 160, 255, .25), 0 10px 24px -18px rgba(0, 0, 0, .8); }
@media (max-width: 959px) {
  .site-header.is-scrolled, .site-header.nav-open, html[data-theme="dark"] .site-header.is-scrolled, html[data-theme="dark"] .site-header.nav-open { background: var(--page-grad) fixed; }
}
/* Oferta: jeszcze mocniejsze przybliżenie po najechaniu + plakietka „Najczęściej wybierany” mieści się w pigułce */
.price-grid .price-card:hover, .price-grid .price-card:focus-within { transform: translateY(-2px) scale(1.2) !important; }
.price-grid:hover .price-card:not(:hover):not(:focus-within) { opacity: .42; transform: scale(.96); }
.price-card__badge, #oferta .price-card__badge { max-width: none !important; width: max-content; white-space: nowrap; padding: .5em 1.5em !important; gap: .55em; line-height: 1.2; overflow: visible; }
.price-card__badge > span { white-space: nowrap; overflow: visible; }
/* przybliżenie rośnie głównie w dół, żeby karta nie zakrywała nagłówka sekcji */
.price-grid .price-card { transform-origin: 50% 12%; }
.price-grid .price-card:hover, .price-grid .price-card:focus-within { transform: translateY(0) scale(1.2) !important; }

/* ===== Przełącznik: słońce 3D z promieniami / księżyc w kształcie sierpa (widać < 50% tarczy) ===== */
.theme-toggle__knob { background: none !important; box-shadow: none !important; overflow: visible; }
.theme-toggle__crater { display: none !important; }
.theme-toggle__knob::before {
  content: ""; position: absolute; inset: 4px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fffbe0 0%, #ffe27a 28%, #ffb62e 62%, #f07f0c 100%);
  box-shadow: inset -2px -3px 5px rgba(190, 80, 0, .55), inset 2px 2px 3px rgba(255, 255, 255, .85), 0 3px 6px rgba(150, 70, 0, .45), 0 0 14px rgba(255, 190, 40, .8);
  transition: all .5s cubic-bezier(.34, 1.4, .5, 1);
}
.theme-toggle__knob::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 8deg, rgba(255, 196, 40, .95) 0 7deg, transparent 7deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent 0 62%, #000 63% 84%, transparent 85%); mask: radial-gradient(circle, transparent 0 62%, #000 63% 84%, transparent 85%);
  filter: drop-shadow(0 0 3px rgba(255, 170, 20, .9)); animation: sunSpin 14s linear infinite; transition: opacity .35s;
}
@keyframes sunSpin { to { transform: rotate(360deg); } }
html[data-theme="dark"] .theme-toggle__knob::after { opacity: 0; animation: none; }
html[data-theme="dark"] .theme-toggle__knob::before {
  inset: 4px 5px 4px 3px; background: transparent; border-radius: 50%;
  box-shadow: inset 7px -2px 0 0 #f4f7ff, inset 9px -2px 4px -1px rgba(120, 140, 190, .75), 0 0 12px rgba(190, 210, 255, .55);
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .55)); transform: rotate(-18deg);
}
html[data-theme="dark"] .theme-toggle__knob { filter: none; }
@media (max-width: 959px) { .theme-toggle__knob::before { inset: 4px; } html[data-theme="dark"] .theme-toggle__knob::before { inset: 4px 4px 4px 3px; box-shadow: inset 6px -2px 0 0 #f4f7ff, inset 8px -2px 4px -1px rgba(120, 140, 190, .75), 0 0 10px rgba(190, 210, 255, .5); } }
@media (prefers-reduced-motion: reduce) { .theme-toggle__knob::after { animation: none; } }
.theme-toggle__knob::after { -webkit-mask: radial-gradient(circle, transparent 0 58%, #000 59% 90%, transparent 91%); mask: radial-gradient(circle, transparent 0 58%, #000 59% 90%, transparent 91%); background: repeating-conic-gradient(from 8deg, rgba(255, 190, 30, .95) 0 6deg, transparent 6deg 30deg); }

/* O mnie: wyraźniejszy tekst – ciemniejszy, większy, grubszy; pierwszy akapit wyróżniony */
#o-mnie .about__text .eyebrow { font-weight: 600; font-size: .85em; }
#o-mnie .about__text .h2 { color: var(--navy); }
#o-mnie .about__text p { color: #14264d; font-weight: 400; font-size: clamp(1.1rem, 2.1vh, 1.45rem); line-height: 1.6; }
#o-mnie .about__text p:first-of-type { font-weight: 500; font-size: clamp(1.2rem, 2.4vh, 1.65rem); color: #0b1b3f; }
#o-mnie .about__text p::first-line { font-weight: 500; }
html[data-theme="dark"] #o-mnie .about__text p { color: #e3ebfb; }
html[data-theme="dark"] #o-mnie .about__text p:first-of-type { color: #ffffff; }
@media (min-width: 1000px) and (min-height: 600px) {
  #o-mnie .about__text { font-size: clamp(12px, 1.85vh, 21px); }
  #o-mnie .about__text p { font-size: 1.2em; max-width: 40em; }
  #o-mnie .about__text p:first-of-type { font-size: 1.32em; }
}
#o-mnie .about__text p::first-line { font-weight: inherit; }
#o-mnie .about__text p { font-weight: 500; }
#o-mnie .about__text p:first-of-type { font-weight: 600; }
body::after { opacity: .09; }
html[data-theme="dark"] body::after { opacity: .08; }

/* ===== Kontakt: większy, wyraźniejszy tekst + ikony koperty i telefonu w stylu 3D ===== */
#kontakt .contact__lead { color: #14264d; font-weight: 500; font-size: clamp(1.15rem, 2.3vh, 1.6rem); line-height: 1.5; max-width: 34rem; }
#kontakt .contact__list { gap: clamp(.8rem, 2vh, 1.4rem); margin-top: clamp(1rem, 2.8vh, 2rem); }
#kontakt .contact__list li { gap: 1.1rem; font-size: clamp(1.3rem, 2.8vh, 1.9rem); font-weight: 600; }
#kontakt .contact__list a { color: #0b1b3f; text-decoration: none; letter-spacing: .005em; }
#kontakt .contact__list a:hover { color: var(--blue); }
#kontakt .contact__list .icon-box {
  width: clamp(54px, 8vh, 72px); height: clamp(54px, 8vh, 72px); border-radius: 20px; color: #fff; position: relative; transform: perspective(300px) rotateX(8deg) rotateY(-10deg);
  background: linear-gradient(145deg, #5ab0ff 0%, #1e7bff 48%, #0a4fd6 100%);
  box-shadow: inset 0 3px 3px rgba(255, 255, 255, .6), inset 0 -5px 8px rgba(0, 40, 140, .55), 5px 8px 0 -1px #0a43b8, 9px 16px 24px -6px rgba(10, 70, 200, .55);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}
#kontakt .contact__list .icon-box svg { width: 52%; height: 52%; stroke-width: 1.9; filter: drop-shadow(0 2px 2px rgba(0, 30, 120, .45)); }
#kontakt .contact__list .icon-box::after { content: ""; position: absolute; left: 10%; right: 10%; top: 5%; height: 38%; border-radius: 16px 16px 40% 40%; background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0)); pointer-events: none; }
#kontakt .contact__list li:hover .icon-box { transform: perspective(300px) rotateX(0) rotateY(0) translateY(-4px) scale(1.06); box-shadow: inset 0 3px 3px rgba(255, 255, 255, .65), inset 0 -5px 8px rgba(0, 40, 140, .5), 5px 10px 0 -1px #0a43b8, 11px 22px 28px -6px rgba(10, 70, 200, .6); }
html[data-theme="dark"] #kontakt .contact__lead { color: #e3ebfb; }
html[data-theme="dark"] #kontakt .contact__list a { color: #f2f6ff; }
@media (min-width: 1000px) and (min-height: 600px) {
  #kontakt .contact__info { font-size: clamp(12px, 1.8vh, 21px); }
  #kontakt .contact__lead { font-size: 1.3em; }
  #kontakt .contact__list li { font-size: 1.55em; }
}
#kontakt .contact__list li { gap: 1.6rem; }

/* ===== Social media w Kontakcie: okrągłe przyciski, po najechaniu kolor marki + dymek z nazwą ===== */
.social-find { margin-top: clamp(1rem, 2.6vh, 2rem); }
.social-find__title { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vh, 1.8rem); line-height: 1.2; color: var(--navy); margin-bottom: clamp(.8rem, 2.2vh, 1.5rem); }
.social-find__list { display: flex; gap: clamp(.9rem, 1.6vw, 1.5rem); flex-wrap: wrap; }
.social-btn { position: relative; display: grid; place-items: center; width: clamp(54px, 7.4vh, 68px); height: clamp(54px, 7.4vh, 68px); border-radius: 50%; color: #0b1b3f; text-decoration: none; background: #fff; box-shadow: 0 10px 18px -8px rgba(20, 60, 140, .45), 0 2px 0 #fff inset; transition: transform .3s cubic-bezier(.2, .8, .2, 1), background-color .3s, color .3s, box-shadow .3s; }
.social-btn svg { width: 44%; height: 44%; }
.social-btn:hover, .social-btn:focus-visible { transform: translateY(-5px); color: #fff; background: var(--brand); box-shadow: 0 16px 24px -8px var(--brand-shadow); }
.social-btn--facebook { --brand: #3b5998; --brand-shadow: rgba(59, 89, 152, .75); }
.social-btn--instagram { --brand: #e1306c; --brand-shadow: rgba(225, 48, 108, .7); }
.social-btn--linkedin { --brand: #0a66c2; --brand-shadow: rgba(10, 102, 194, .75); }
.social-btn__tip { position: absolute; left: 50%; bottom: calc(100% + 14px); transform: translate(-50%, 8px); padding: .5rem 1.1rem; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 600; font-size: 1rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: 0 10px 18px -8px var(--brand-shadow); }
.social-btn__tip::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -7px; border: 7px solid transparent; border-top-color: var(--brand); }
.social-btn:hover .social-btn__tip, .social-btn:focus-visible .social-btn__tip { opacity: 1; transform: translate(-50%, 0); }
html[data-theme="dark"] .social-find__title { color: #f2f6ff; }
html[data-theme="dark"] .social-btn { background: #17223e; color: #eaf0ff; box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .7); }
@media (prefers-reduced-motion: reduce) { .social-btn, .social-btn__tip { transition: none; } }
@media (min-width: 1000px) and (min-height: 600px) { #kontakt .contact__info { font-size: clamp(12px, 1.7vh, 20px); } #kontakt .contact__list { margin-top: 1em; gap: .7em; } }
/* dymek z nazwa pod ikona - nie zaslania napisu nad ikonami */
.social-btn__tip { bottom: auto; top: calc(100% + 14px); transform: translate(-50%, -8px); }
.social-btn__tip::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--brand); }
.social-btn:hover .social-btn__tip, .social-btn:focus-visible .social-btn__tip { transform: translate(-50%, 0); }
/* ===== Stopka: ikony maila, telefonu i social media w stylu 3D ===== */
.footer-contact a .icon, .footer-social a .icon { color: #fff; stroke-width: 1.9; filter: drop-shadow(0 1px 1px rgba(0, 30, 120, .5)); }
.footer-contact a .icon, .footer-social a {
  position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 11px; flex: none;
  background: linear-gradient(145deg, #5ab0ff 0%, #1e7bff 50%, #0a4fd6 100%);
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, .6), inset 0 -3px 5px rgba(0, 40, 140, .55), 3px 4px 0 -1px #0a43b8, 5px 9px 12px -4px rgba(10, 70, 200, .55);
  transform: perspective(200px) rotateX(8deg) rotateY(-10deg); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.footer-contact a .icon { padding: 8px; width: 36px; height: 36px; box-sizing: border-box; }
.footer-social a .icon { width: 20px; height: 20px; padding: 0; background: none; box-shadow: none; transform: none; filter: drop-shadow(0 1px 1px rgba(0, 30, 120, .5)); }
.footer-social a { gap: 0; }
.footer-contact a:hover .icon, .footer-social a:hover, .footer-social a:focus-visible { transform: perspective(200px) rotateX(0) rotateY(0) translateY(-3px) scale(1.08); background: linear-gradient(145deg, #5ab0ff 0%, #1e7bff 50%, #0a4fd6 100%); }
.footer-social a:hover .icon { transform: none; }
.footer-contact { gap: .6rem 1.8rem; }
.footer-contact a { gap: .75rem; font-weight: 500; }
.footer-social { gap: 1rem; }
@media (min-width: 1000px) and (min-height: 600px) { .site-footer .footer-inner { padding-block: clamp(.4rem, 1.2vh, .8rem) !important; } }
/* Social media: dymek z nazwa nad ikonami, ikony nizej (miejsce na dymek miedzy napisem a ikonami) */
.social-find__title { margin-bottom: clamp(3.4rem, 8vh, 4.6rem); }
.social-btn__tip { top: auto; bottom: calc(100% + 14px); transform: translate(-50%, 8px); }
.social-btn__tip::after { bottom: auto; top: 100%; border-bottom-color: transparent; border-top-color: var(--brand); }
.social-btn:hover .social-btn__tip, .social-btn:focus-visible .social-btn__tip { transform: translate(-50%, 0); }
/* Kontakt: nieco mniejszy e-mail i telefon (oraz ikony 3D przy nich) */
#kontakt .contact__list li { font-size: clamp(1.15rem, 2.3vh, 1.55rem); gap: 1.3rem; }
#kontakt .contact__list .icon-box { width: clamp(46px, 6.6vh, 60px); height: clamp(46px, 6.6vh, 60px); border-radius: 17px; }
@media (min-width: 1000px) and (min-height: 600px) { #kontakt .contact__list li { font-size: 1.3em; } #kontakt .contact__list { gap: .55em; } }
@media (min-height: 600px) and (max-height: 760px) { .social-find__title { margin-bottom: 3.1rem; } }
/* Kontakt: wiekszy napis KONTAKT i wieksza karta formularza */
#kontakt .contact__info .eyebrow { font-size: 1.15em; font-weight: 700; letter-spacing: .38em; margin-bottom: .5em; }
@media (min-width: 1000px) and (min-height: 600px) {
  #kontakt .contact__info .eyebrow { font-size: clamp(1rem, 2.2vh, 1.45rem); }
  #kontakt .contact__form { font-size: clamp(11px, 1.78vh, 19px); gap: 1em; padding: 2em 2.2em; border-radius: 26px; }
  #kontakt .contact__form .field-row { gap: 1em; }
  #kontakt .contact__form .field label { font-size: 1em; font-weight: 600; }
  #kontakt .contact__form .field input, #kontakt .contact__form .field select, #kontakt .contact__form .field textarea { padding: .75em 1em; font-size: 1.08em; }
  #kontakt .contact__form textarea { height: clamp(80px, 16vh, 200px); }
  #kontakt .contact__form .check { font-size: .95em; }
  #kontakt .contact__form .btn-lg { padding: .85em 1.6em; font-size: 1.18em; }
}
.social-find__title { margin-bottom: clamp(3rem, 5.6vh, 3.8rem); }

.social-find__title { margin-bottom: clamp(3.9rem, 8vh, 4.6rem); }

/* Social media: mniejszy napis, mniejsze i subtelniejsze ikony, mniejszy dymek */
.social-find__title { font-size: clamp(1.05rem, 2.1vh, 1.45rem); margin-bottom: clamp(2.8rem, 6vh, 3.4rem); }
.social-find__list { gap: clamp(.7rem, 1.2vw, 1.1rem); }
.social-btn { width: clamp(40px, 5.4vh, 50px); height: clamp(40px, 5.4vh, 50px); background: rgba(255, 255, 255, .55); color: #1d3a73; box-shadow: 0 5px 10px -6px rgba(20, 60, 140, .3); }
.social-btn svg { width: 46%; height: 46%; }
.social-btn:hover, .social-btn:focus-visible { background: var(--brand); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 16px -8px var(--brand-shadow); }
.social-btn__tip { padding: .3rem .85rem; font-size: .88rem; bottom: calc(100% + 11px); }
.social-btn__tip::after { margin-left: -6px; border-width: 6px; }
html[data-theme="dark"] .social-btn { background: rgba(23, 34, 62, .6); color: #cfdcf5; box-shadow: none; }
.social-find__title { margin-bottom: clamp(3rem, 6.4vh, 3.6rem); }

/* usunieta pozioma kreska obok naglowkow sekcji (byla widoczna przez cala strone w trybie ciemnym) */
.section-head__line { display: none !important; }

/* Start: pasek zalet wyzej (odstep od dolnej krawedzi ekranu) */
:root { --strip-h: 150px; }
@media (min-width: 960px) and (min-height: 560px) { .strip { padding-bottom: clamp(1.8rem, 5.5vh, 3.4rem); box-sizing: border-box; } }

/* Start: pasek zalet nie przylega do dolu ekranu - odstep pod paskiem jak w innych zakladkach */
:root { --strip-h: 106px; --strip-gap: clamp(1.6rem, 4.6vh, 3rem); }
@media (min-width: 960px) and (min-height: 560px) {
  .hero { min-height: calc(100vh - var(--header-h) - var(--strip-h) - var(--strip-gap)); }
  .strip { padding-bottom: 0 !important; margin-bottom: var(--strip-gap); min-height: var(--strip-h); }
}
/* Tryb ciemny strony: troche jasniejszy */
html[data-theme="dark"] { --bg: #0f1a36; --tint: #1b2f5c; --pill-bg: #1a2850; --line: #34497d; }
html[data-theme="dark"] body::before { background: radial-gradient(620px 420px at 15% 15%, rgba(90, 160, 255, .35), transparent 70%), linear-gradient(135deg, #2a5fc4 0%, #1c3f8f 32%, #172b66 66%, #14224d 100%); }
html[data-theme="dark"] .project-card, html[data-theme="dark"] .price-card, html[data-theme="dark"] .card-glass, html[data-theme="dark"] .cta-box { background: linear-gradient(145deg, rgba(34, 54, 108, .94), rgba(26, 42, 88, .86)); border-color: rgba(120, 160, 255, .35); }
html[data-theme="dark"] .site-header.is-scrolled, html[data-theme="dark"] .site-footer { background: linear-gradient(135deg, #2a5fc4 0%, #1c3f8f 30%, #172b66 65%, #14224d 100%) fixed; }
html[data-theme="dark"] .pill-nav__thumb { background: linear-gradient(180deg, #3a5599, #2a4180); }
html[data-theme="dark"] .mini-card, html[data-theme="dark"] .mini-card__bar { background: #1a2c5e; }
html[data-theme="dark"] .field input, html[data-theme="dark"] .field select, html[data-theme="dark"] .field textarea { background: #16275a; }
/* kolory marek dla dodatkowych serwisow */
.social-btn--tiktok { --brand: #111111; --brand-shadow: rgba(0, 0, 0, .6); }
.social-btn--youtube { --brand: #ff0000; --brand-shadow: rgba(255, 0, 0, .6); }
.social-btn--messenger { --brand: #0084ff; --brand-shadow: rgba(0, 132, 255, .65); }
.social-btn--reddit { --brand: #ff4500; --brand-shadow: rgba(255, 69, 0, .65); }
.social-btn--pinterest { --brand: #e60023; --brand-shadow: rgba(230, 0, 35, .6); }
.social-btn--snapchat { --brand: #f5c400; --brand-shadow: rgba(245, 196, 0, .7); }
.social-btn--x { --brand: #111111; --brand-shadow: rgba(0, 0, 0, .6); }
.social-btn--snapchat:hover { color: #111; }
.footer-social { flex-wrap: wrap; max-width: 15rem; gap: .7rem; }

/* ===================================================================== */
/* Formularz wyceny dla klienta (formularz.php) – osobny dla każdego pakietu */
/* ===================================================================== */
.brief-hero { padding: clamp(1rem, 3vw, 2rem) 0 clamp(.8rem, 2vw, 1.4rem); }
.brief-hero__inner { display: grid; gap: 1.2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .brief-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem; } }
.brief-kicker { font-size: clamp(.9rem, 1.4vw, 1.1rem); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--blue); }
.brief-name { font-family: var(--font-serif); font-weight: 400; font-size: clamp(3.4rem, 9vw, 6.4rem); line-height: .95; letter-spacing: -.01em; margin: .15em 0 .1em; }
.brief-price { font-family: var(--font-serif); font-size: clamp(2rem, 4.6vw, 3.4rem); color: var(--blue); line-height: 1.05; }
.brief-desc { margin-top: .7rem; max-width: 30rem; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--navy); font-weight: 300; line-height: 1.4; }

/* urzadzenia w naglowku */
.brief-hero__visual { position: relative; min-height: 220px; }
.brief-dev__laptop { max-width: 520px; margin-left: auto; }
.brief-dev__laptop .lp { max-width: 100%; }
.brief-dev__phone, .brief-dev__tablet { position: absolute; border-radius: 22px; background: #0b0d12; border: 3px solid #b4b9c2; box-shadow: 0 24px 34px -14px rgba(20, 40, 90, .5), inset 0 0 0 2px #23262d; }
.brief-dev__phone span, .brief-dev__tablet span { position: absolute; inset: 7px; border-radius: 16px; background: linear-gradient(160deg, #eaf3ff, #bcd8ff 60%, #7db4ff); }
.brief-dev__phone { width: 22%; aspect-ratio: 9 / 18; right: 2%; bottom: -2%; transform: rotate(6deg); }
.brief-dev__tablet { width: 30%; aspect-ratio: 3 / 4; left: 2%; bottom: -4%; transform: rotate(-5deg); border-radius: 18px; }
.brief-dev--laptop-phone .brief-dev__phone { right: 6%; }
.brief-dev--laptop-phone-tablet .brief-dev__phone { right: 0; }
@media (max-width: 899px) { .brief-hero__visual { min-height: 0; } .brief-dev__laptop { margin-inline: auto; } }

/* karta z pytaniami */
.brief-wrap { padding-bottom: 2.5rem; max-width: 980px; }
.brief-form { display: grid; gap: 1rem; padding: clamp(1.1rem, 2.6vw, 2rem); }
.brief-form[hidden] { display: none; }
.brief-form__head h2 { font-family: var(--font-sans); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.2; }
.brief-form__head p { color: var(--muted); margin-top: .25rem; }
.brief-contact { border: 1.5px dashed #b9cff3; border-radius: 16px; padding: .8rem 1rem 1rem; display: grid; gap: .8rem; grid-template-columns: 1fr; background: rgba(255, 255, 255, .6); }
.brief-contact legend { padding: 0 .5rem; font-weight: 600; color: var(--blue); font-size: .88rem; letter-spacing: .04em; }
@media (min-width: 700px) { .brief-contact { grid-template-columns: 1fr 1fr 1fr; } }
.req { color: var(--err); }
.opt-note { color: var(--muted); font-weight: 300; font-size: .85em; }
.brief-contact .field label { white-space: nowrap; }

.brief-qs { display: grid; gap: .2rem; }
.q { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; padding: .85rem 0; border-bottom: 1px solid rgba(190, 212, 245, .55); }
.q:last-child { border-bottom: 0; }
.q__n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .88rem; font-weight: 600; color: #fff; background: linear-gradient(145deg, #3d9bff, #0a6cff); box-shadow: 0 6px 10px -5px rgba(10, 108, 255, .7); }
.q__label { font-weight: 500; font-size: 1.05rem; line-height: 1.35; margin: .2rem 0 .5rem; display: block; color: var(--navy); }
.q__body input[type="text"], .q__body input[type="date"], .q__body textarea { width: 100%; padding: .65rem .9rem; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: 1rem; color: var(--navy); transition: border-color .2s, box-shadow .2s; }
.q__body textarea { resize: vertical; min-height: 100px; }
.q__body input:focus, .q__body textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 108, 255, .13); }
.opts { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center; }
.opt { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; font-size: 1rem; line-height: 1.25; padding: .2rem 0; transition: color .15s; }
.opt:hover { color: var(--blue); }
.opt input { accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.opt:has(input:checked) { color: #0b2a6b; font-weight: 600; }
.opt--other { cursor: default; flex: 1 1 260px; max-width: 420px; }
.opt--other:hover { color: inherit; }
.opt--other input { width: 100%; height: auto; padding: .4rem .7rem; font-size: .95rem; }

.brief-send { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; margin-top: .4rem; }
.brief-submit { flex: 1 1 280px; max-width: 420px; justify-content: space-between; padding-inline: 1.8rem; }
.brief-submit span { flex: 1; text-align: center; }
.brief-safe { display: flex; gap: .6rem; align-items: center; color: var(--muted); font-size: .88rem; max-width: 22rem; }
.brief-done { max-width: 560px; margin: 1rem auto 3rem; text-align: center; display: grid; gap: .6rem; justify-items: center; padding: 2.4rem 1.5rem; }
.brief-done[hidden] { display: none; }
.brief-done h2 { font-family: var(--font-serif); font-weight: 400; font-size: 2.2rem; }
.brief-done .icon-box { width: 72px; height: 72px; color: var(--ok); }

html[data-theme="dark"] .brief-name { color: #f2f6ff; }
html[data-theme="dark"] .brief-price, html[data-theme="dark"] .brief-kicker { color: #6aa8ff; }
html[data-theme="dark"] .brief-desc, html[data-theme="dark"] .q__label { color: #eef3ff; }
html[data-theme="dark"] .brief-contact { background: rgba(24, 40, 88, .55); border-color: rgba(120, 160, 255, .4); }
html[data-theme="dark"] .q__body input[type="text"], html[data-theme="dark"] .q__body input[type="date"], html[data-theme="dark"] .q__body textarea { background: #16275a; color: #eef3ff; border-color: #3a5290; }
html[data-theme="dark"] .opt { color: #dbe5f8; }
html[data-theme="dark"] .opt:has(input:checked), html[data-theme="dark"] .opt:hover { color: #8dc0ff; }
html[data-theme="dark"] .q { border-color: rgba(120, 160, 255, .25); }

/* pytania z dlugimi opcjami jedna pod druga; pole „Inne” nie wystaje poza karte */
.opts--stack { display: grid; gap: .45rem; }
.opt--other { display: flex; flex: 1 1 220px; min-width: 0; max-width: min(420px, 100%); }
.opt--other input { flex: 1; min-width: 0; width: auto; }
.brief-form, .brief-wrap, .q__body { min-width: 0; }
.brief-hero { overflow-x: clip; }
@media (max-width: 899px) { .brief-dev__phone { right: 4%; } .brief-dev__tablet { left: 4%; } .brief-dev--laptop-phone-tablet .brief-dev__phone { right: 2%; } }

/* etykiety na karcie realizacji: kategoria + pakiet */
.project-card__labels { display: flex; flex-wrap: wrap; gap: .4rem .5rem; align-items: center; margin-bottom: .5rem; }
.project-card__labels .eyebrow--sm { margin-bottom: 0; }
.pkg-pill { display: inline-block; padding: .28rem .8rem; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--btn-grad); box-shadow: 0 6px 12px -6px rgba(10, 108, 255, .7); }

/* ===================================================================== */
/* Podstrona realizacji (realizacja.php)                                  */
/* ===================================================================== */
.proj-hero { padding: clamp(1.2rem, 3vw, 2.4rem) 0 clamp(1rem, 2vw, 1.6rem); }
.proj-hero__inner { display: grid; gap: 1.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .proj-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.4rem; } }
.proj-back { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .9rem; color: var(--blue); text-decoration: none; font-weight: 500; font-size: .95rem; }
.proj-back svg { transform: rotate(180deg); }
.proj-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.proj-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.01em; margin-bottom: .6rem; }
.proj-lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--navy); font-weight: 300; line-height: 1.45; max-width: 36rem; margin-bottom: 1rem; }
.proj-hero .tags { margin-bottom: 1.2rem; }
.proj-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.proj-hero__visual .lp { max-width: 640px; }
.proj-block { padding: clamp(1rem, 2.4vw, 2rem) 0; }
.proj-block .h2 { margin-bottom: 1rem; }
.proj-text > * { max-width: 52rem; }
.proj-text p { font-size: 1.12rem; line-height: 1.65; color: #24365c; margin-bottom: 1rem; font-weight: 400; }
.proj-video { padding: .6rem; overflow: hidden; }
.proj-video iframe, .proj-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #0b1b3f; }
.proj-gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.proj-shot { margin: 0; }
.proj-shot__btn { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.proj-shot__btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.proj-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.proj-shot figcaption { margin-top: .4rem; font-size: .9rem; color: var(--muted); text-align: center; }
.proj-soon, .proj-empty { text-align: center; color: var(--muted); padding: 3rem 0; }
.proj-cta { padding: 1.5rem 0 2.5rem; }
.proj-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.5rem 2rem; }
.proj-cta__inner p { color: var(--muted); margin-top: .3rem; }
.proj-cta__inner .h2 { margin: 0; }
.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 18px; background: #0b1b3f; color: #fff; overflow: auto; }
.lightbox::backdrop { background: rgba(5, 10, 25, .8); }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; margin: 0 auto; object-fit: contain; }
.lightbox__cap { text-align: center; padding: .6rem 1rem 1rem; margin: 0; }
.lightbox__cap:empty { display: none; }
.lightbox__close { position: absolute; top: .6rem; right: .6rem; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: #0b1b3f; display: grid; place-items: center; cursor: pointer; z-index: 2; }
html[data-theme="dark"] .proj-title { color: #f2f6ff; }
html[data-theme="dark"] .proj-lead, html[data-theme="dark"] .proj-text p { color: #dbe5f8; }
html[data-theme="dark"] .proj-shot__btn { background: #16275a; border-color: #34497d; }

/* podstrona realizacji: cień laptopa nie może powodować poziomego przewijania */
.proj-page { overflow-x: clip; }

/* ===== Realizacje: większe kafelki (3 w rzędzie, szerszy kontener) + zgrabniejsze „Jak pracuję” ===== */
@media (min-width: 1100px) and (min-height: 600px) {
  #realizacje > .container { width: min(100% - 2.4rem, 1760px); }
  /* jedna jednostka skalowania: rośnie z ekranem, ale nie wyższa niż pozwala wysokość (jeden ekran) */
  .carousel__track .project-card { --u: min(1vw, 1.6vh); }
  .carousel__track.project-grid { gap: clamp(1rem, 1.6vw, 1.8rem); }
  .carousel__track .project-card { flex-basis: calc((100% - 2 * clamp(1rem, 1.6vw, 1.8rem)) / 3) !important; padding: calc(var(--u) * 1.3) calc(var(--u) * 1.5); gap: calc(var(--u) * .5); }
  .carousel__track .project-card .project-card__visual { grid-template-columns: minmax(0, 1fr) calc(var(--u) * 10.6); gap: calc(var(--u) * .9); }
  .project-card__laptop .lp { max-width: calc(var(--u) * 17.5); }
  .project-card .project-card__name { font-size: calc(var(--u) * 2.35); }
  .project-card .project-card__desc { font-size: calc(var(--u) * 1.12); margin-bottom: calc(var(--u) * .6); }
  .project-card .tag { font-size: calc(var(--u) * .92); padding: .38em .8em; }
  .project-card .tag .icon { width: 1.05em; height: 1.05em; }
  .project-card .project-card__btn { font-size: calc(var(--u) * 1.05); padding: .6em 1.4em; }
  .project-card__minis { gap: calc(var(--u) * .8); }
  .project-card__minis .mini-card__title { font-size: calc(var(--u) * .95); }
  .project-card .eyebrow--sm, .project-card .pkg-pill { font-size: calc(var(--u) * .8); }

  /* Jak pracuję: mniejszy, żeby kafelki miały więcej miejsca */
  #jak-pracuje { padding-bottom: clamp(.5rem, 1.6vh, 1rem) !important; }
  #jak-pracuje > .container { width: min(100% - 2.4rem, 1760px); padding-top: clamp(.3rem, .9vh, .6rem); }
  #jak-pracuje .h2 { font-size: clamp(1.15rem, 2.3vh, 1.5rem); }
  #jak-pracuje .section-head { margin-bottom: clamp(.15rem, .6vh, .4rem); }
  #jak-pracuje .steps { gap: clamp(.5rem, 1vw, 1rem); }
  #jak-pracuje .step { padding: clamp(.35rem, .9vh, .6rem) clamp(.7rem, 1vw, 1.1rem) !important; gap: .7rem; border-radius: 16px; box-shadow: none; }
  #jak-pracuje .step:hover { transform: none; }
  #jak-pracuje .step__num { width: clamp(38px, 5.2vh, 52px); height: clamp(38px, 5.2vh, 52px); font-size: clamp(1.15rem, 2.5vh, 1.6rem); }
  #jak-pracuje .step__title { font-size: clamp(1.05rem, 1.9vh, 1.3rem); }
  #jak-pracuje .step p { font-size: clamp(.8rem, 1.45vh, .98rem); line-height: 1.3; margin-top: .1rem; }
  #jak-pracuje .step__arrow { width: 30px; height: 30px; right: .7rem; bottom: .5rem; }
  #jak-pracuje .step__arrow svg { width: 15px; height: 15px; }
}

/* ===== Duża kafelka 3D (okno przeglądarki) zamiast laptopa w kafelku realizacji ===== */
.tile3d { width: 100%; perspective: 1000px; padding: .5rem .9rem .9rem .2rem; }
.tile3d__rig { position: relative; transform-style: preserve-3d; transform: rotateY(15deg) rotateX(5deg) rotateZ(-.6deg); transform-origin: 80% 50%; transition: transform .55s cubic-bezier(.2, .7, .2, 1); border-radius: 14px; background: #fff; border: 1px solid rgba(205, 220, 243, .95);
  box-shadow: 0 1px 0 #fff inset, 0 26px 34px -18px rgba(14, 50, 120, .55), 0 10px 14px -8px rgba(14, 50, 120, .25); }
.tile3d__rig::before { content: ""; position: absolute; inset: 3px 3px -3px -1px; z-index: -1; border-radius: 14px; background: linear-gradient(225deg, #b9cdee, #8fb0e6); transform: translateZ(-14px); box-shadow: 0 30px 36px -14px rgba(14, 50, 120, .5); }
.tile3d__bar { display: flex; align-items: center; gap: 5px; padding: .5em .8em; border-bottom: 1px solid #eaf1fb; border-radius: 14px 14px 0 0; background: linear-gradient(#fff, #f4f8fe); }
.tile3d__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d3e2f9; }
.tile3d__bar i:first-child { background: #ffb4a8; } .tile3d__bar i:nth-child(2) { background: #ffd98a; } .tile3d__bar i:nth-child(3) { background: #a9e3b7; }
.tile3d__bar span { flex: 1; height: 8px; margin-left: .5em; border-radius: 8px; background: #e6eef9; max-width: 55%; }
.tile3d .tile3d__shot { position: relative; aspect-ratio: 16 / 11.5; overflow: hidden; border-radius: 0 0 13px 13px; background: #f7faff; }
.tile3d .tile3d__shot img { display: block; width: 100%; min-height: 100%; object-fit: cover; object-position: top; transition: transform var(--scroll-dur, 4s) cubic-bezier(.45, .05, .35, 1); will-change: transform; }
.tile3d .tile3d__shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 40%); }
.tile3d .shot-placeholder { position: absolute; inset: 0; }
.tile3d:hover .tile3d__rig, .tile3d:focus-within .tile3d__rig { transform: rotateY(6deg) rotateX(2deg) translateY(-3px); }
.tile3d:hover .tile3d__shot img, .tile3d:focus-within .tile3d__shot img { transform: translateY(calc(-1 * var(--scroll, 0px))); }
html[data-theme="dark"] .tile3d__rig { background: #111a30; border-color: #26365a; }
html[data-theme="dark"] .tile3d__bar { background: linear-gradient(#16213a, #111a30); border-color: #1d2a46; }
html[data-theme="dark"] .tile3d__bar span { background: #1d2a46; }
html[data-theme="dark"] .tile3d .tile3d__shot { background: #0f1830; }
@media (prefers-reduced-motion: reduce) { .tile3d__rig { transition: none; } }
@media (min-width: 1100px) and (min-height: 600px) {
  .carousel__track .project-card--tile .project-card__visual { grid-template-columns: minmax(0, 1fr) calc(var(--u) * 8.8); gap: calc(var(--u) * .6); align-items: center; }
  .project-card--tile .tile3d { padding: .3rem .7rem .8rem 0; }
  .project-card--tile .tile3d .tile3d__shot { aspect-ratio: 16 / 12.6; }
  .project-card--tile .project-card__minis .mini-card__shot { aspect-ratio: 16 / 9; }
  .project-card--tile .project-card__minis .mini-card__bar { padding: .35rem .55rem; }
}
@media (min-width: 1100px) and (min-height: 600px) and (max-height: 800px) {
  .project-card--tile .tile3d .tile3d__shot { aspect-ratio: 16 / 10.2; }
  .carousel__track .project-card--tile .project-card__desc { margin-bottom: calc(var(--u) * .3); }
}
/* kafelka 3D: większe dwie małe karty, nieco mniejsza główna */
@media (min-width: 1100px) and (min-height: 600px) {
  .carousel__track .project-card--tile .project-card__visual { grid-template-columns: minmax(0, 1fr) calc(var(--u) * 12.2); gap: calc(var(--u) * .5); }
  .project-card--tile .tile3d .tile3d__shot { aspect-ratio: 16 / 13; }
  .project-card--tile .project-card__minis .mini-card__shot { aspect-ratio: 16 / 7.6; }
  .project-card--tile .project-card__minis .mini-card__title { font-size: calc(var(--u) * 1.05); }
}
@media (min-width: 1100px) and (min-height: 600px) and (max-height: 800px) {
  .project-card--tile .tile3d .tile3d__shot { aspect-ratio: 16 / 11.5; }
}

/* małe karty: przewijanie zrzutu po najechaniu */
.mini-card__shot img { height: auto; min-height: 100%; transition: transform var(--scroll-dur, 4s) cubic-bezier(.45, .05, .35, 1); will-change: transform; }
.mini-card:hover .mini-card__shot img { transform: translateY(calc(-1 * var(--scroll, 0px))); }

/* ===== Powiększenie 3D po kliknięciu (kafelka główna + małe karty) ===== */
.sc-lock { overflow: hidden; }
.sc { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; opacity: 0; transition: opacity .28s ease; }
.sc[hidden] { display: none; }
.sc.is-open { opacity: 1; }
.sc__bg { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 20%, rgba(32, 70, 150, .55), rgba(6, 12, 30, .93)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sc__close, .sc__nav { position: absolute; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: background-color .2s, transform .2s; }
.sc__close:hover, .sc__nav:hover { background: rgba(255, 255, 255, .28); transform: scale(1.08); }
.sc__close { top: 1.1rem; right: 1.2rem; }
.sc__nav { top: 50%; margin-top: -24px; }
.sc__nav--prev { left: clamp(.5rem, 2.5vw, 2rem); } .sc__nav--next { right: clamp(.5rem, 2.5vw, 2rem); }
.sc__nav[hidden], .sc__thumbs[hidden] { display: none; }
.sc__stage { position: relative; z-index: 2; perspective: 1700px; padding: 0 clamp(3.4rem, 8vw, 7rem); margin-bottom: 7.2rem; }
.sc.is-open .sc__stage { animation: sc-in .65s cubic-bezier(.2, .85, .25, 1) both; }
@keyframes sc-in { from { opacity: 0; transform: translateY(46px) scale(.8) rotateX(26deg) rotateY(-16deg); } to { opacity: 1; transform: none; } }
.sc__tilt { transform-style: preserve-3d; will-change: transform; }
.sc__frame { --gx: 50%; --gy: 20%; position: relative; width: min(1180px, 80vw); height: min(72vh, 760px); display: flex; flex-direction: column; border-radius: 18px; background: #fff; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 50px 90px -20px rgba(0, 0, 0, .75), 0 18px 30px -14px rgba(0, 20, 80, .6); }
.sc__frame.is-swap { animation: sc-swap .42s cubic-bezier(.2, .8, .25, 1) both; }
@keyframes sc-swap { from { opacity: 0; transform: translateX(34px) rotateY(-14deg) scale(.94); } to { opacity: 1; transform: none; } }
.sc__bar { flex: none; display: flex; align-items: center; gap: 7px; padding: .75rem 1rem; background: linear-gradient(#fff, #eef3fb); border-bottom: 1px solid #dde7f6; }
.sc__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ffb4a8; }
.sc__bar i:nth-child(2) { background: #ffd98a; } .sc__bar i:nth-child(3) { background: #a9e3b7; }
.sc__bar span { flex: 1; max-width: 46%; height: 14px; margin-left: .8rem; border-radius: 14px; background: #dfe8f6; }
.sc__view { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; background: #fff; scrollbar-width: thin; scrollbar-color: rgba(10, 108, 255, .55) transparent; }
.sc__view img { display: block; width: 100%; height: auto; }
.sc__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--gx) var(--gy), rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 60%); mix-blend-mode: soft-light; }
.sc__notch { display: none; }
/* widok telefonu */
.sc__frame--phone { width: min(400px, 74vw); height: min(74vh, 820px); border-radius: 46px; background: #11141b; padding: 12px; box-shadow: 0 0 0 2px #3a4152, 0 0 0 5px #0c0e13, 0 50px 90px -20px rgba(0, 0, 0, .8); }
.sc__frame--phone .sc__bar { display: none; }
.sc__frame--phone .sc__view { border-radius: 35px; }
.sc__frame--phone .sc__glare { border-radius: 46px; }
.sc__frame--phone .sc__notch { display: block; position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #0b0d12; z-index: 2; }
.sc__dock { position: absolute; z-index: 3; left: 0; right: 0; bottom: 1rem; display: grid; justify-items: center; gap: .7rem; color: #fff; text-align: center; padding: 0 1rem; }
.sc__cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .3rem .9rem; margin: 0; }
.sc__cap strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; }
.sc__cap span { padding: .15rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: .9rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.sc__cap em { flex-basis: 100%; font-style: normal; font-size: .82rem; color: rgba(255, 255, 255, .65); }
.sc__thumbs { display: flex; gap: .6rem; }
.sc__thumbs button { position: relative; width: 78px; height: 50px; padding: 0; border: 2px solid rgba(255, 255, 255, .25); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; opacity: .65; transition: opacity .2s, border-color .2s, transform .2s; }
.sc__thumbs button img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.sc__thumbs button span { position: absolute; inset: auto 0 0; padding: 1px 2px; font-size: .55rem; background: rgba(8, 16, 40, .72); color: #fff; letter-spacing: .04em; text-transform: uppercase; }
.sc__thumbs button:hover, .sc__thumbs button.is-on { opacity: 1; transform: translateY(-3px); }
.sc__thumbs button.is-on { border-color: #6aa8ff; }
.project-card__laptop[role="button"], .mini-card[role="button"] { outline-offset: 3px; }
@media (max-width: 700px) {
  .sc__stage { padding: 0 .6rem; margin-bottom: 6.2rem; }
  .sc__frame { width: 94vw; height: 68vh; } .sc__frame--phone { width: min(330px, 84vw); height: 72vh; }
  .sc__nav { top: auto; bottom: 5.2rem; margin: 0; } .sc__close { top: .6rem; right: .6rem; }
  .sc__cap em { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sc.is-open .sc__stage, .sc__frame.is-swap { animation: none; } }

/* wskazówka „kliknij, aby powiększyć” na zdjęciach kafelka */
.project-card__laptop, .project-card .mini-card { position: relative; }
.zoom-hint { position: absolute; z-index: 5; right: .5rem; bottom: .6rem; display: inline-flex; align-items: center; gap: .35rem; padding: .38rem .75rem .38rem .6rem; border-radius: 999px; background: rgba(10, 108, 255, .94); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .02em; pointer-events: none; box-shadow: 0 8px 16px -6px rgba(10, 108, 255, .8), 0 0 0 2px rgba(255, 255, 255, .85); transition: transform .25s ease, background-color .25s ease; animation: zoomHintPulse 2.8s ease-out 1.2s 2; }
.zoom-hint b { font-weight: 600; }
.zoom-hint--mini { right: .4rem; bottom: .4rem; padding: .32rem; }
.project-card__laptop:hover .zoom-hint, .project-card .mini-card:hover .zoom-hint, .project-card__laptop:focus-visible .zoom-hint, .project-card .mini-card:focus-visible .zoom-hint { transform: scale(1.12); background: #0a58d6; }
@keyframes zoomHintPulse { 0% { box-shadow: 0 8px 16px -6px rgba(10, 108, 255, .8), 0 0 0 2px rgba(255, 255, 255, .85), 0 0 0 0 rgba(10, 108, 255, .55); } 70% { box-shadow: 0 8px 16px -6px rgba(10, 108, 255, .8), 0 0 0 2px rgba(255, 255, 255, .85), 0 0 0 14px rgba(10, 108, 255, 0); } 100% { box-shadow: 0 8px 16px -6px rgba(10, 108, 255, .8), 0 0 0 2px rgba(255, 255, 255, .85), 0 0 0 0 rgba(10, 108, 255, 0); } }
html[data-theme="dark"] .zoom-hint { box-shadow: 0 8px 16px -6px rgba(0, 0, 0, .7), 0 0 0 2px rgba(17, 26, 48, .9); }
@media (prefers-reduced-motion: reduce) { .zoom-hint { animation: none; } }

/* małe karty w trybie kafelki: 3D w przeciwną stronę niż główna (lewa strona w głąb, prawa do przodu) */
.project-card--tile .mini-card { transform: perspective(620px) rotateY(-16deg) rotateX(3deg) rotateZ(.5deg); transform-origin: 100% 50%; transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease;
  box-shadow: 5px 4px 0 -1px #b7cbee, 14px 22px 26px -14px rgba(14, 50, 120, .5), 0 1px 0 #fff inset; }
.project-card--tile .mini-card:hover, .project-card--tile .mini-card:focus-visible { transform: perspective(620px) rotateY(-6deg) rotateX(1deg) translateY(-3px); box-shadow: 3px 3px 0 -1px #b7cbee, 14px 24px 28px -14px rgba(14, 50, 120, .55), 0 1px 0 #fff inset; }
html[data-theme="dark"] .project-card--tile .mini-card { box-shadow: 5px 4px 0 -1px #1d2c4f, 14px 22px 26px -14px rgba(0, 0, 0, .7); }
@media (prefers-reduced-motion: reduce) { .project-card--tile .mini-card { transition: none; } }

/* powiększenie 3D: stan „brak zrzutu” */
.sc__empty { min-height: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: .8rem; padding: 2rem; text-align: center; color: #6c85ad; background: repeating-linear-gradient(135deg, #f3f7fd 0 14px, #eaf1fb 14px 28px); }
.sc__empty p { margin: 0; font-size: 1.05rem; font-weight: 500; }
.sc__empty[hidden], .sc__view img[hidden] { display: none; }
.sc__view:has(.sc__empty:not([hidden])) { display: grid; }
.sc__thumbs button.is-empty { background: repeating-linear-gradient(135deg, #f3f7fd 0 6px, #e4edf9 6px 12px); }

/* ===== Trzecia, opcjonalna mała karta: kolumna małych kart rośnie w górę, obok tagów ===== */
.mini-card[hidden], [data-bind-mini][hidden] { display: none; }
.third-toggle { margin-top: .2rem; }
@media (min-width: 1100px) and (min-height: 600px) {
  .carousel__track .project-card.project-card--three { grid-template-columns: minmax(0, 1fr) calc(var(--u) * 12.2); column-gap: calc(var(--u) * .6); align-content: start; }
  .carousel__track .project-card--three .project-card__body, .carousel__track .project-card--three .project-card__visual { display: contents; }
  .carousel__track .project-card--three .project-card__labels { grid-column: 1 / -1; grid-row: 1; }
  .carousel__track .project-card--three .project-card__name { grid-column: 1 / -1; grid-row: 2; }
  .carousel__track .project-card--three .project-card__desc { grid-column: 1 / -1; grid-row: 3; }
  .carousel__track .project-card--three .project-card__body > div[data-bind-tags] { grid-column: 1; grid-row: 4; align-self: start; }
  .carousel__track .project-card--three .project-card__laptop { grid-column: 1; grid-row: 5; align-self: end; }
  .carousel__track .project-card--three .project-card__minis { grid-column: 2; grid-row: 4 / 6; align-self: end; display: grid; grid-template-columns: 1fr; gap: calc(var(--u) * .5); }
  .carousel__track .project-card--three .project-card__btn { grid-column: 1 / -1; grid-row: 6; }
  .carousel__track .project-card--three .project-card__minis .mini-card__bar { padding: .3rem .55rem; }
  .carousel__track .project-card--three .project-card__minis .mini-card__shot { aspect-ratio: 16 / 7; }
}
@media (min-width: 1100px) and (min-height: 600px) {
  .carousel__track .project-card--three .project-card__minis .mini-card__shot { aspect-ratio: 16 / 6.7; }
  .carousel__track .project-card--three .project-card__minis { gap: calc(var(--u) * .42); }
}
@media (min-width: 1100px) and (min-height: 600px) and (max-height: 800px) {
  .carousel__track .project-card.project-card--three { --u: min(.9vw, 1.3vh); }
}
@media (min-width: 1100px) and (min-height: 600px) {
  .carousel__track .project-card--three .project-card__body > div[data-bind-tags] .tags { gap: calc(var(--u) * .3); }
  .carousel__track .project-card--three .tag { font-size: calc(var(--u) * .82); padding: .26em .62em; }
  .carousel__track .project-card--three .project-card__desc { margin-bottom: calc(var(--u) * .35); line-height: 1.35; }
  .carousel__track .project-card--three.project-card { gap: calc(var(--u) * .3) 0; }
}

/* ===== Opinie klientów: sekcja, karuzela 3D kart, okno „Dodaj opinię” ===== */
.section--opinions { padding-block: clamp(2rem, 5vw, 4rem); }
.op-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(.8rem, 2vh, 1.6rem); }
.op-head__text { max-width: 44rem; }
.op-head .eyebrow { margin-bottom: .5rem; }
.op-head .h2 { margin: 0; }
.op-head__sub { margin: .5rem 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.45; }
.op-add { flex: none; }
.op-track.carousel__track.project-grid { padding: 1.4rem .9rem 1.8rem; margin-inline: -.9rem; }
.op-track .op-card { flex: 0 0 100%; scroll-snap-align: start; }
@media (min-width: 700px) { .op-track .op-card { flex-basis: calc((100% - var(--sp-5)) / 2); } }
@media (min-width: 1100px) { .op-track .op-card { flex-basis: calc((100% - 2 * var(--sp-5)) / 3); } }

.op-card { --ry: -6deg; --ox: 100%; position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 1.5rem 1.6rem 1.3rem; border-radius: 22px; user-select: none; overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, #f0f6ff 100%); border: 1px solid rgba(205, 220, 243, .95);
  box-shadow: 5px 5px 0 -1px #b7cbee, 18px 30px 34px -20px rgba(14, 50, 120, .55), 0 1px 0 #fff inset;
  transform: perspective(1100px) rotateY(var(--ry)) rotateX(2deg); transform-origin: var(--ox) 50%;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease; }
.op-card:nth-child(even) { --ry: 6deg; --ox: 0%; box-shadow: -5px 5px 0 -1px #b7cbee, -18px 30px 34px -20px rgba(14, 50, 120, .55), 0 1px 0 #fff inset; }
.op-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(125deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 38%); }
.op-card:hover, .op-card:focus-within { transform: perspective(1100px) rotateY(0deg) rotateX(0deg) translateY(-8px); box-shadow: 0 4px 0 -1px #b7cbee, 0 36px 40px -22px rgba(14, 50, 120, .6), 0 1px 0 #fff inset; }
.op-card__quote { position: absolute; top: .2rem; right: 1.1rem; font-family: var(--font-serif); font-size: 7rem; line-height: .8; color: transparent; background: linear-gradient(180deg, #8fbaff, #d9e8ff); -webkit-background-clip: text; background-clip: text; opacity: .65; pointer-events: none; }
.op-stars { display: inline-flex; gap: .15rem; }
.op-stars svg { width: 1.5rem; height: 1.5rem; fill: #dbe5f4; stroke: #c6d4ea; stroke-width: 1; stroke-linejoin: round; }
.op-stars svg.is-on { fill: #ffb81f; stroke: #e39a00; filter: drop-shadow(0 3px 3px rgba(227, 154, 0, .45)); }
.op-stars--sm svg { width: 1rem; height: 1rem; filter: none !important; }
.op-card__text { position: relative; z-index: 1; flex: 1; margin: 0; font-size: 1.12rem; line-height: 1.55; font-weight: 400; color: #23365c; display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.op-card__who { position: relative; z-index: 1; display: flex; align-items: center; gap: .8rem; padding-top: .9rem; border-top: 1px solid rgba(190, 212, 245, .7); }
.op-avatar { flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.4rem; color: #fff; background: radial-gradient(circle at 32% 28%, #5aa2ff, #0a58d6 72%); box-shadow: inset 0 2px 3px rgba(255, 255, 255, .55), inset 0 -3px 5px rgba(0, 30, 110, .35), 0 8px 14px -6px rgba(10, 88, 214, .8); }
.op-card__name { display: grid; line-height: 1.2; min-width: 0; }
.op-card__name strong { font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.op-card__name small { color: var(--muted); font-size: .85rem; }
.op-card__date { margin-left: auto; flex: none; font-size: .8rem; color: var(--muted); }

.op-empty { display: grid; justify-items: center; gap: .6rem; text-align: center; padding: clamp(1.6rem, 4vh, 3rem) 1.5rem; max-width: 40rem; margin-inline: auto; }
.op-empty h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.7rem; margin: 0; }
.op-empty p { margin: 0 0 .4rem; color: var(--muted); }
.op-empty__stars .op-stars svg { width: 2rem; height: 2rem; }

/* okno formularza */
.op-dialog { width: min(540px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 26px; background: transparent; color: var(--navy); overflow: visible; }
.op-dialog::backdrop { background: radial-gradient(120% 90% at 50% 20%, rgba(32, 70, 150, .5), rgba(6, 12, 30, .85)); backdrop-filter: blur(8px); }
.op-dialog[open] { animation: opIn .45s cubic-bezier(.2, .85, .25, 1) both; }
@keyframes opIn { from { opacity: 0; transform: translateY(30px) scale(.9) rotateX(14deg); } to { opacity: 1; transform: none; } }
.op-form { position: relative; display: grid; gap: .9rem; padding: 1.8rem 1.8rem 1.6rem; max-height: 92vh; overflow-y: auto; border-radius: 26px; background: linear-gradient(160deg, #fff, #eef5ff); border: 1px solid rgba(205, 220, 243, .95); box-shadow: 0 40px 80px -24px rgba(0, 20, 80, .65); }
.op-form h3 { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; margin: 0; }
.op-form__lead { margin: -.4rem 0 0; color: var(--muted); font-size: .98rem; }
.op-dialog__close { position: absolute; top: .9rem; right: .9rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--blue); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .2s; }
.op-dialog__close:hover { background: var(--blue); color: #fff; transform: rotate(90deg); }
.op-rate { border: 0; padding: 0; margin: 0; display: grid; gap: .3rem; }
.op-rate legend { font-size: .95rem; font-weight: 500; padding: 0; margin-bottom: .2rem; }
.op-rate__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .15rem; width: fit-content; }
.op-rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.op-rate__stars label { cursor: pointer; line-height: 0; }
.op-rate__stars svg { width: 2.5rem; height: 2.5rem; fill: #d9e3f3; stroke: #bfcee6; stroke-width: 1; stroke-linejoin: round; transition: fill .15s, transform .15s, filter .15s; }
.op-rate__stars input:checked ~ label svg, .op-rate__stars label:hover svg, .op-rate__stars label:hover ~ label svg { fill: #ffb81f; stroke: #e39a00; filter: drop-shadow(0 4px 4px rgba(227, 154, 0, .45)); }
.op-rate__stars label:hover svg { transform: scale(1.18) rotate(-6deg); }
.op-rate__stars input:focus-visible + label svg { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.op-count-hint { justify-self: end; font-size: .78rem; color: var(--muted); }
.op-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 520px) { .op-form .field-row { grid-template-columns: 1fr; } .op-form { padding: 1.4rem 1.2rem; } }

/* jeden ekran na komputerze */
@media (min-width: 1100px) and (min-height: 600px) {
  #opinie { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; padding-block: clamp(.4rem, 2vh, 1.5rem) !important; scroll-margin-top: 0 !important; }
  #opinie > .container { width: min(100% - 2.4rem, 1760px); }
  .op-head { margin-bottom: clamp(.2rem, 1vh, .8rem); }
  .op-head .h2 { font-size: clamp(2rem, 4.6vh, 3.2rem); }
  .op-head__sub { font-size: clamp(.9rem, 1.9vh, 1.1rem); }
  .op-track.carousel__track.project-grid { gap: clamp(1rem, 1.8vw, 2rem); }
  .op-track .op-card { --u: min(1vw, 1.6vh); flex-basis: calc((100% - 2 * clamp(1rem, 1.8vw, 2rem)) / 3); padding: calc(var(--u) * 1.7) calc(var(--u) * 1.8) calc(var(--u) * 1.4); gap: calc(var(--u) * .9); min-height: min(32vh, 290px); }
  .op-card__text { font-size: calc(var(--u) * 1.2); }
  .op-card .op-stars svg { width: calc(var(--u) * 1.7); height: calc(var(--u) * 1.7); }
  .op-avatar { width: calc(var(--u) * 3.2); height: calc(var(--u) * 3.2); font-size: calc(var(--u) * 1.6); }
  .op-card__name strong { font-size: calc(var(--u) * 1.15); } .op-card__name small { font-size: calc(var(--u) * .9); }
  .op-card__quote { font-size: calc(var(--u) * 7.5); top: calc(var(--u) * .2); right: calc(var(--u) * 1.2); }
}
html[data-theme="dark"] .op-card { background: linear-gradient(160deg, #17223e, #0f1830); border-color: #26365a; box-shadow: 5px 5px 0 -1px #1d2c4f, 18px 30px 34px -20px rgba(0, 0, 0, .8); }
html[data-theme="dark"] .op-card:nth-child(even) { box-shadow: -5px 5px 0 -1px #1d2c4f, -18px 30px 34px -20px rgba(0, 0, 0, .8); }
html[data-theme="dark"] .op-card::after { background: linear-gradient(125deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 38%); }
html[data-theme="dark"] .op-card__text { color: #dbe5f8; } html[data-theme="dark"] .op-card__name strong { color: #eef3ff; }
html[data-theme="dark"] .op-card__quote { background: linear-gradient(180deg, #2d5fb8, #16294d); -webkit-background-clip: text; background-clip: text; }
html[data-theme="dark"] .op-card__who { border-color: #26365a; }
html[data-theme="dark"] .op-stars svg { fill: #26365a; stroke: #3a4d78; } html[data-theme="dark"] .op-stars svg.is-on { fill: #ffb81f; stroke: #e39a00; }
html[data-theme="dark"] .op-form { background: linear-gradient(160deg, #111a30, #0c1426); border-color: #26365a; color: #eef3ff; }
html[data-theme="dark"] .op-dialog__close { background: #17223e; border-color: #26365a; }
html[data-theme="dark"] .op-rate__stars svg { fill: #26365a; stroke: #3a4d78; }
@media (prefers-reduced-motion: reduce) { .op-card, .op-dialog[open] { transition: none; animation: none; } }

/* nagłówek: sześć pozycji menu (z „Opinie”) mieści się także na węższych ekranach komputerowych */
@media (min-width: 960px) and (max-width: 1279px) {
  .site-header .pill-nav__item { padding: .65rem .95rem; font-size: 1rem; }
  .site-header .brand__name { font-size: 1.9rem; }
  .site-header .header-cta { padding-inline: 1rem; font-size: .95rem; }
}
@media (min-width: 960px) and (max-width: 1119px) {
  .site-header .header-cta span { display: none; }
  .site-header .header-cta { width: 46px; padding: 0; justify-content: center; }
  .site-header .brand__sub { display: none; }
}

/* Opinie: strzałki po lewej, trochę niżej pod nagłówkiem */
.op-carousel .carousel__bar { margin-top: clamp(.7rem, 2.6vh, 1.8rem); }

/* Opinie na telefonie: bez strzałek (przewijanie palcem), „Dodaj opinię” w ich miejscu pod nagłówkiem */
@media (max-width: 699px) {
  .op-carousel .carousel__bar { display: none; }
  .op-head { margin-bottom: .4rem; }
  .op-add { width: 100%; justify-content: center; }
}

/* Opinie: bez strzałek (przewijanie myszą/palcem), przycisk „Dodaj opinię” w miejscu strzałek */
.op-bar { margin: .2rem 0 clamp(.4rem, 1.4vh, 1rem); }
.op-bar .op-add { min-width: 15rem; justify-content: center; }
@media (max-width: 699px) { .op-bar .op-add { width: 100%; } }

/* podgląd 3D: zwykłe zdjęcie (ramka bez paska przeglądarki) i dłuższa lista miniatur */
.sc__frame--photo { width: fit-content; max-width: min(1100px, 80vw); height: auto; padding: 10px; border-radius: 22px; background: #fff; }
.sc__frame--photo .sc__bar { display: none; }
.sc__frame--photo .sc__view { flex: none; overflow: hidden; border-radius: 14px; display: grid; place-items: center; }
.sc__frame--photo .sc__view img { width: auto; max-width: 100%; max-height: min(66vh, 700px); object-fit: contain; }
.sc__thumbs { max-width: min(92vw, 760px); overflow-x: auto; padding: .4rem .3rem .2rem; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .4) transparent; }
.sc__thumbs button { flex: none; }
.proj-shot__btn { position: relative; }
.proj-shot__btn .zoom-hint { right: .5rem; bottom: .5rem; }
