@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Sora:wght@600;700;800&display=swap');

/* ===== 1. ZMIENNE (tu zmienisz kolory i fonty) ===== */
:root {
  --paper: #fbfaff;
  --ink: #191526;
  --mute: #6f6a7d;
  --hot: #7438d5;
  --purple-light: #a276f2;
  --lavender: #f0eaff;
  --line: #e4def0;
  --surface: #fff;
  --display: 'Sora', sans-serif;
  --body: 'DM Sans', sans-serif;
  --pad: clamp(1.1rem, 3.2vw, 3rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem
}

body {
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  color: var(--ink);
  font: 400 1.05rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

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

ul {
  list-style: none
}

img {
  display: block;
  max-width: 100%
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0
}

::selection {
  background: var(--hot);
  color: #fff
}

:focus-visible {
  outline: 3px solid var(--hot);
  outline-offset: 3px
}

.wrap {
  padding-inline: var(--pad);
  max-width: 1600px;
  margin-inline: auto
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .92;
  font-variation-settings: 'wdth' 82
}

.ul {
  background: linear-gradient(currentColor, currentColor) 0 100%/100% 1px no-repeat;
  transition: background-size .4s var(--ease);
  padding-bottom: 2px
}

.ul:hover {
  background-size: 0 1px;
  background-position: 100% 100%
}

/* ===== 2. HEADER I STOPKA ===== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(39, 20, 76, .06);
  backdrop-filter: blur(16px)
}

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: 1rem
}

.logo {
  font: 700 1.2rem var(--display);
  letter-spacing: -.03em;
  display: flex;
  align-items: center;
  gap: .5rem
}

.logo img {
  display: block;
  width: clamp(9rem, 16vw, 12rem);
  height: 3.75rem;
  object-fit: cover;
  object-position: center;
  border-radius: 0
}

.nav {
  display: none;
  gap: 2rem
}

.nav a[aria-current] {
  color: var(--hot)
}

.nav a {
  transition: color .2s
}

.nav a:hover {
  color: var(--hot)
}

.cta {
  display: none;
  background: var(--hot);
  color: #fff;
  padding: .5rem 1rem;
  font-weight: 500;
  border-radius: .35rem;
  box-shadow: 0 6px 18px rgba(116, 56, 213, .2);
  transition: background .25s, transform .25s var(--ease), box-shadow .25s
}

.cta:hover {
  background: #6025c2;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(116, 56, 213, .28)
}

.cta.big {
  display: inline-block;
  font-size: 1.05rem;
  padding: .85rem 1.4rem
}

.burger {
  font-weight: 500;
  cursor: pointer;
  padding: .4rem .75rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: #fff
}

.drop {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(39, 20, 76, .08);
  padding: 1rem var(--pad) 1.5rem
}

.drop.open {
  display: grid;
  gap: .5rem
}

.drop a {
  font: 600 2rem var(--display);
  letter-spacing: -.03em;
  padding-block: .25rem
}

@media(min-width:860px) {
  .nav {
    display: flex
  }

  .header .cta {
    display: inline-block
  }

  .burger,
  .drop {
    display: none !important
  }
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding-block: 1.25rem
}

.footer .wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  font-size: .95rem
}

.footer-logo {
  display: inline-flex;
  align-items: center
}

.footer-logo img {
  width: 8rem;
  height: 3.5rem;
  object-fit: contain;
  border-radius: 0
}

.footer nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-left: auto
}

/* ===== 3. WSPÓLNE ELEMENTY STRON ===== */
.page-head {
  padding: 7rem 0 clamp(2rem, 5vw, 4rem)
}

.page-head h1 {
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  line-height: 1;
  max-width: 14ch
}

.page-head p {
  margin-top: 1.5rem;
  max-width: 40ch;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.35;
  color: var(--mute)
}

.privacy-content {
  padding-bottom: clamp(4rem, 8vw, 7rem)
}

.privacy-content .wrap {
  max-width: 820px
}

.privacy-content h2 {
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.2
}

.privacy-content p {
  max-width: 72ch;
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--mute)
}

.privacy-content a {
  text-decoration: underline;
  text-underline-offset: .2em
}

.privacy-updated {
  font-size: .9rem;
}

.sec {
  padding-block: clamp(3rem, 7vw, 6rem)
}

.sec-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem)
}

.sec-head h2 {
  font-size: clamp(2.6rem, 8vw, 7rem)
}

.sec-head p {
  max-width: 34ch;
  color: var(--mute)
}

@media(min-width:860px) {
  .sec-head {
    grid-template-columns: 1fr auto;
    align-items: end
  }
}

.band {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 8vw, 7rem)
}

.band a {
  display: block;
  font: 600 clamp(2.8rem, 10vw, 9rem)/.92 var(--display);
  letter-spacing: -.04em;
  font-variation-settings: 'wdth' 82;
  transition: color .25s, transform .5s var(--ease)
}

.band a:hover {
  color: var(--hot);
  transform: translateX(1rem)
}

.band p {
  margin-top: 1rem;
  color: var(--mute)
}

/* ===== 4. STRONA GŁÓWNA: HERO + TEST RESPONSYWNOŚCI ===== */
.hero {
  padding-top: 5.5rem;
  padding-bottom: clamp(3rem, 7vw, 6rem)
}

.hero-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  margin-bottom: 1.5rem
}

.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 6.5rem);
  line-height: 1;
  max-width: 13ch;
}

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(8rem, 15vw, 13rem);
  aspect-ratio: 1;
  border: 1px solid #d9c9f5;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 2rem rgba(116, 56, 213, .2), 0 1rem 2.5rem rgba(58, 35, 93, .16);
  color: var(--mute);
  font: 500 .8rem var(--body);
  letter-spacing: .18em;
  transform: translateX(.6rem) rotate(5deg)
}

.hero-mark>span {
  position: absolute;
  inset: .7rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  z-index: 1
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit
}

.hero-mark::before {
  position: absolute;
  inset: .55rem;
  border: 1px solid rgba(116, 56, 213, .22);
  border-radius: inherit;
  content: ""
}

@media(max-width:700px) {
  .hero-title {
    grid-template-columns: 1fr;
    gap: 1.25rem
  }

  .hero-mark {
    justify-self: end;
    width: clamp(6.5rem, 30vw, 9rem);
    transform: translateX(.35rem) rotate(5deg)
  }
}

.hero-row {
  display: grid;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  align-items: end
}

.hero-row p {
  max-width: 36ch;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.35
}

.hero-row .cta {
  justify-self: start
}

@media(min-width:860px) {
  .hero-row {
    grid-template-columns: 1fr auto
  }
}

.rig {
  display: flex;
  border: 1px solid #d9c9f5;
  border-radius: .5rem;
  background: repeating-linear-gradient(90deg, transparent 0 99px, rgba(116, 56, 213, .1) 99px 100px);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(58, 35, 93, .1)
}

.stage {
  container-type: inline-size;
  min-width: 260px;
  max-width: 100%;
  background: var(--paper);
  overflow: hidden;
  flex: 0 0 auto
}

.handle {
  flex: 0 0 28px;
  cursor: ew-resize;
  touch-action: none;
  background: var(--hot);
  display: grid;
  place-items: center;
  transition: background .2s
}

.handle:hover,
.handle.drag {
  background: #6025c2
}

.handle i {
  width: 2px;
  height: 36px;
  background: var(--paper);
  box-shadow: -5px 0 var(--paper), 5px 0 var(--paper)
}

.rig-note {
  display: flex;
  justify-content: space-between;
  margin-top: .75rem;
  color: var(--mute);
  font-size: .95rem
}

.rig-note b {
  font-weight: 600;
  color: var(--ink)
}

.mini {
  padding: 1rem;
  min-height: 340px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 2rem
}

.mini nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600
}

.mini nav>span:nth-child(2) {
  display: none;
  gap: 1.25rem;
  font-weight: 400
}

.mini nav b {
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: .25rem;
  padding: .1rem .6rem
}

.mini main {
  display: grid;
  gap: 1.25rem;
  align-content: end
}

.mini h4 {
  font: 600 clamp(1.8rem, 9cqw, 5rem)/.92 var(--display);
  letter-spacing: -.04em;
  font-variation-settings: 'wdth' 82
}

.mini p {
  font-size: .95rem;
  max-width: 30ch;
  margin-top: .75rem
}

.mini .shape {
  display: none;
  background: linear-gradient(135deg, var(--hot), var(--purple-light));
  aspect-ratio: 1;
  border-radius: 50%
}

.mini .go {
  display: inline-block;
  margin-top: 1rem;
  background: var(--hot);
  color: #fff;
  border-radius: .3rem;
  padding: .5rem 1rem;
  font-size: .9rem
}

@container (min-width:520px) {
  .mini {
    padding: 1.5rem
  }

  .mini nav>span:nth-child(2) {
    display: flex
  }

  .mini nav b {
    display: none
  }
}

@container (min-width:800px) {
  .mini main {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
    gap: 2rem
  }

  .mini .shape {
    display: block
  }

  .mini {
    min-height: 420px
  }
}

/* ===== 5. PRACE ===== */
.work {
  background: linear-gradient(145deg, #f1ebff, #fff 58%, #f7f3ff);
  color: var(--ink)
}

.row {
  display: grid;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid #ddd3ef;
  color: inherit;
  text-decoration: none
}

.row:last-child {
  border-bottom: 1px solid #ddd3ef
}

.project-card {
  cursor: pointer
}

.project-card:focus-visible {
  outline: 3px solid var(--hot);
  outline-offset: 4px
}

.thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: #eee8f8;
  border: 1px solid #e2d9f0;
  border-radius: .45rem;
  overflow: hidden
}

.thumb::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: .5rem;
  color: rgba(25, 21, 38, .36);
  font: 600 1.1rem var(--display);
  background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(116, 56, 213, .05) 10px 11px)
}

.thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.8) contrast(1.02);
  transition: filter .5s, transform .8s var(--ease)
}

.row h3 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  transition: color .25s, transform .5s var(--ease)
}

.info p {
  margin-top: .75rem;
  opacity: .65;
  font-size: .95rem
}

.tags {
  margin-top: 1rem;
  opacity: .65;
  font-size: .95rem
}

.tags li {
  display: inline
}

.tags li+li::before {
  content: ", "
}

.visit {
  align-self: start;
  font-weight: 500;
  white-space: nowrap;
  justify-self: start
}

.row:hover h3 {
  color: var(--hot);
  transform: translateX(.6rem)
}

.row:hover .thumb img {
  filter: none;
  transform: scale(1.06)
}

@media(min-width:860px) {
  .row {
    grid-template-columns: 200px 1fr auto;
    gap: 2.5rem;
    align-items: center;
    transition: grid-template-columns .7s var(--ease)
  }

  .row:hover {
    grid-template-columns: 380px 1fr auto
  }

  .visit {
    align-self: end;
    justify-self: auto
  }
}

/* ===== 6. O NAS ===== */
.split {
  display: grid;
  gap: 2rem
}

.photo {
  position: relative;
  aspect-ratio: 4/5;
  background: #f0eaff;
  border: 1px solid var(--line);
  border-radius: .5rem;
  overflow: hidden
}

.photo::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--mute);
  font: 600 1.1rem var(--display);
  padding: 1rem
}

.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.photo img.brand-photo {
  object-fit: contain;
  padding: 1rem;
  background: #fff
}

.prose p {
  max-width: 48ch;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.4
}

.prose p+p {
  margin-top: 1.25rem;
  color: var(--mute)
}

@media(min-width:860px) {
  .split {
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: center
  }
}

.svc li {
  display: grid;
  gap: .5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--ink)
}

.svc li:last-child {
  border-bottom: 1px solid var(--ink)
}

.svc h3 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  transition: color .25s, transform .5s var(--ease)
}

.svc li:hover h3 {
  color: var(--hot);
  transform: translateX(.5rem)
}

.svc p {
  color: var(--mute);
  max-width: 44ch
}

@media(min-width:860px) {
  .svc li {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: baseline
  }
}

.steps {
  display: grid;
  gap: 0;
  counter-reset: s
}

.steps li {
  counter-increment: s;
  padding: 1.5rem 0;
  border-top: 1px solid var(--ink);
  display: grid;
  gap: .4rem
}

.steps li::before {
  content: counter(s);
  font: 600 clamp(3rem, 6vw, 5rem)/1 var(--display);
  color: var(--hot)
}

.steps h3 {
  font-size: 1.7rem
}

.steps p {
  color: var(--mute)
}

@media(min-width:860px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem
  }
}

.stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: .85rem;
  list-style: none
}

.stack li {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-height: 5.5rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(58, 35, 93, .04);
  font: 600 1.05rem/1.2 var(--display);
  letter-spacing: -.02em;
  transition: transform .25s var(--ease), border-color .25s, background .25s
}

.stack li:hover {
  transform: translateY(-3px);
  border-color: #cbb5ef;
  background: #fcfaff;
  box-shadow: 0 12px 26px rgba(116, 56, 213, .1)
}

.stack img {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  object-fit: contain
}

/* ===== 7. KONTAKT: KAFLE ===== */
.tiles {
  display: grid;
  gap: .75rem;
  grid-template-columns: 1fr;
  padding-bottom: clamp(3rem, 7vw, 6rem)
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-height: 11rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(58, 35, 93, .05);
  transition: background .35s var(--ease), color .35s, transform .35s var(--ease), box-shadow .35s var(--ease)
}

.tile small {
  font-size: .95rem;
  color: var(--mute);
  transition: color .35s
}

.tile strong {
  font: 600 clamp(1.5rem, 2.4vw, 2.2rem)/1 var(--display);
  letter-spacing: -.03em;
  font-variation-settings: 'wdth' 82;
  word-break: break-word
}

a.tile:hover {
  background: #f5f0ff;
  color: var(--ink);
  transform: translate(-4px, -4px);
  border-color: #cbb5ef;
  box-shadow: 0 16px 32px rgba(116, 56, 213, .14)
}

a.tile:hover small {
  color: var(--mute)
}

.tile.hot {
  background: linear-gradient(135deg, var(--hot), #8e5ae8);
  color: #fff;
  border-color: var(--hot)
}

.tile.hot small {
  color: #fff
}

a.tile.hot:hover {
  background: #6025c2;
  border-color: #6025c2
}

.tile.brand {
  background: #fff;
  color: var(--ink);
  border-color: #ded1f3;
  min-height: 22rem;
  align-items: flex-start;
  overflow: hidden
}

.tile.brand img {
  width: min(100%, 380px);
  height: clamp(12rem, 30vw, 20rem);
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: .4rem;
  background: #fff
}

.tile.brand .wm {
  font: 700 clamp(2.4rem, 6vw, 5rem)/.9 var(--display);
  letter-spacing: -.045em;
  font-variation-settings: 'wdth' 82;
  word-break: break-word
}

.tile.brand small {
  color: var(--mute);
  margin-top: .75rem;
  display: block
}

.tile.brand::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: #eee6fb
}

@media(min-width:600px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr)
  }

  .w2 {
    grid-column: span 2
  }
}

@media(min-width:960px) {
  .tiles {
    grid-template-columns: repeat(4, 1fr)
  }

  .tile.brand {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 30rem
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    animation: none !important
  }

  html {
    scroll-behavior: auto
  }
}

/* Shared visual system for the codnet pages. */
:root {
  --paper: #fff;
  --ink: #211e28;
  --mute: #686571;
  --hot: #6736b8;
  --purple-light: #8c62cf;
  --lavender: #f6f3fa;
  --line: #e8e5ec;
  --surface: #fff;
  --pad: clamp(1.25rem, 5vw, 5rem);
}

html {
  scroll-padding-top: 5.5rem;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

h1,
h2,
h3 {
  line-height: 1.08;
  font-variation-settings: normal;
}

.wrap {
  max-width: 1280px;
}

.header {
  background: rgba(255, 255, 255, .97);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.header .wrap {
  height: 5.5rem;
}

.logo img {
  width: 12rem;
  height: 4.6rem;
  object-fit: contain;
}

.nav {
  gap: clamp(1rem, 2.4vw, 2.25rem);
  font-size: .94rem;
}

.nav a[aria-current] {
  color: var(--ink);
  font-weight: 700;
}

.cta {
  border-radius: .35rem;
  box-shadow: none;
  padding: .7rem 1.1rem;
}

.cta:hover {
  box-shadow: none;
}

.drop {
  padding-top: 1rem;
  padding-bottom: 1.25rem;
}

.drop a {
  font: 600 1.1rem/1.4 var(--body);
  letter-spacing: 0;
  padding-block: .55rem;
}

.drop a:last-child {
  color: var(--hot);
}

.page-head {
  padding-top: 8.5rem;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.page-head h1 {
  max-width: 17ch;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.04;
}

.page-head p:not(.eyebrow) {
  max-width: 52ch;
  margin-top: 1.1rem;
  font-size: 1.08rem;
  line-height: 1.65;
}

.eyebrow {
  margin-bottom: .9rem;
  color: var(--hot);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero {
  padding-top: 9rem;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  background: var(--lavender);
}

.hero-content {
  max-width: 1280px;
}

.hero-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  margin-bottom: 1.25rem;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.02;
}

.hero-mark {
  width: clamp(7rem, 12vw, 10rem);
  transform: rotate(4deg);
  box-shadow: 0 0 1.5rem rgba(103, 54, 184, .16), 0 .75rem 1.75rem rgba(35, 24, 51, .1);
}

.hero-mark::before {
  border-color: rgba(103, 54, 184, .28);
}

.hero-mark>span {
  inset: .65rem;
}

.hero-mark img {
  padding: .8rem;
}

.hero-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  margin: 0;
}

.hero-row p {
  max-width: 48ch;
  color: var(--mute);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.65;
}

.cta.big {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .9rem 1.2rem;
  font-size: .98rem;
}

.cta.big span,
.text-link span {
  transition: transform .2s ease;
}

.cta.big:hover span,
.text-link:hover span {
  transform: translateX(3px);
}

.sec {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.sec-head {
  align-items: end;
  margin-bottom: 2rem;
}

.sec-head .eyebrow {
  margin-bottom: .65rem;
}

.sec-head h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--hot);
  font-weight: 600;
}

.featured-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.featured-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0d6ed;
  border-radius: .55rem;
  background: #fff;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.featured-card:hover {
  transform: translateY(-3px);
  border-color: #cfc3e1;
  box-shadow: 0 12px 30px rgba(35, 24, 51, .08);
}

.featured-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--lavender);
}

.featured-card>div {
  position: relative;
  padding: 1.1rem 1.15rem 1.2rem;
  background: #f5f0fb;
}

.featured-card>div>span:first-child {
  color: var(--mute);
  font-size: .83rem;
}

.featured-card h3 {
  margin-top: .25rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.card-arrow {
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  color: var(--hot);
  font-size: 1.2rem;
}

.band {
  padding-block: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--line);
  background: var(--lavender);
}

.band .eyebrow {
  margin-bottom: .8rem;
}

.band a {
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 1.05;
}

.band a:hover {
  transform: none;
}

.band p:not(.eyebrow) {
  margin-top: .8rem;
  color: var(--mute);
}

.work {
  background: #f5f0fb;
}

.services-section,
.technologies-section {
  background: #f5f0fb;
}

.row {
  border-color: #ded3eb;
}

.row:last-child {
  border-color: #ded3eb;
}

.row h3 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.12;
}

.info p {
  max-width: 52ch;
  color: var(--mute);
  opacity: 1;
  line-height: 1.6;
}

.tags {
  color: var(--mute);
  opacity: 1;
  font-size: .85rem;
}

.visit {
  color: var(--hot);
}

.thumb {
  border-radius: .35rem;
  background: var(--lavender);
}

.thumb::before {
  content: none;
}

.thumb img {
  filter: none;
}

.project-card:hover h3 {
  transform: none;
}

.project-card:hover .thumb img {
  transform: scale(1.025);
}

.split {
  align-items: center;
}

.photo {
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: .55rem;
  background: #eee6f8;
}

.photo::before {
  content: none;
}

.photo.brand-photo img {
  object-fit: contain;
  padding: 2rem;
}

.prose h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.15;
}

.prose p {
  max-width: 58ch;
  font-size: 1.05rem;
  line-height: 1.7;
}

.prose p+p {
  margin-top: 1rem;
  color: var(--mute);
}

.svc li,
.steps li {
  border-color: #d9c9ea;
}

.svc h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.2;
}

.svc li:hover h3 {
  transform: none;
}

.svc p,
.steps p {
  color: var(--mute);
  line-height: 1.65;
}

.steps li::before {
  font-size: 2.5rem;
}

.steps h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.stack li {
  border-radius: .4rem;
  border-color: #e1d5ef;
  background: #f7f3fb;
  box-shadow: none;
}

.stack li:hover {
  box-shadow: none;
}

.contact-section {
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.contact-intro {
  margin-bottom: 1.5rem;
}

.contact-intro h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.contact-intro p {
  margin-top: .4rem;
  color: var(--mute);
}

.tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
}

.tile {
  min-height: 9.5rem;
  justify-content: center;
  gap: .55rem;
  padding: 1.4rem;
  border-radius: .45rem;
  border-color: #e0d5ed;
  background: #f7f3fb;
  box-shadow: none;
}

.tile-label {
  color: var(--mute);
  font-size: .9rem;
}

.tile strong {
  padding-right: 1.5rem;
  font: 600 clamp(1.1rem, 2vw, 1.5rem)/1.3 var(--display);
  font-variation-settings: normal;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.tile-arrow {
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  color: var(--hot);
}

a.tile:hover {
  transform: translateY(-2px);
  border-color: #cfc3e1;
  background: var(--lavender);
  box-shadow: none;
}

.tile-email {
  grid-column: 1 / -1;
  background: #eee6f8;
  border-color: #d7c7ea;
}

.footer {
  padding-block: 1.5rem;
}

.footer .wrap {
  gap: 1rem 1.5rem;
  color: var(--mute);
  font-size: .85rem;
}

.footer-logo img {
  width: 7rem;
}

.footer nav {
  gap: .7rem 1.15rem;
}

.footer a:hover {
  color: var(--hot);
}

.privacy-content {
  padding-bottom: 5rem;
}

.privacy-content h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
  line-height: 1.3;
}

.privacy-content p {
  color: var(--mute);
}

.privacy-content .privacy-updated {
  font-size: .9rem;
}

@media (max-width: 700px) {
  .hero {
    padding-top: 8rem;
  }

  .hero-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-title {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero-mark {
    width: clamp(5.25rem, 21vw, 7rem);
  }

  .featured-projects {
    grid-template-columns: 1fr;
  }

  .featured-card img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 600px) {
  .logo img {
    width: 10rem;
    height: 4rem;
  }

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

  .tile-email {
    grid-column: auto;
  }

  .footer nav {
    margin-left: 0;
  }
}

/* Formularz wyceny – korzysta ze zmiennych z style.css, niczego tam nie nadpisuje */
.quote-section {
  padding-bottom: clamp(4rem, 8vw, 6rem)
}

.quote-form {
  display: grid;
  gap: 1.25rem;
  max-width: 860px;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #e0d5ed;
  border-radius: .45rem;
  background: #f7f3fb
}

.q-row {
  display: grid;
  gap: 1.25rem
}

@media(min-width:760px) {
  .q-row {
    grid-template-columns: 1fr 1fr
  }
}

.q-field {
  display: grid;
  gap: .4rem
}

.q-field label {
  font-weight: 500;
  font-size: .95rem
}

.q-field input,
.q-field textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid #d7c7ea;
  border-radius: .35rem;
  background: #fff;
  font: inherit;
  color: inherit;
  transition: border-color .2s, box-shadow .2s
}

.q-field input:focus,
.q-field textarea:focus {
  outline: 0;
  border-color: var(--hot);
  box-shadow: 0 0 0 3px rgba(116, 56, 213, .15)
}

.q-field textarea {
  min-height: 9rem;
  resize: vertical
}

.q-err {
  display: none;
  color: #c62f4a;
  font-size: .85rem
}

.q-field.err input,
.q-field.err textarea {
  border-color: #c62f4a
}

.q-field.err .q-err {
  display: block
}

.q-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.q-note {
  color: var(--mute);
  font-size: .85rem
}

.q-note a {
  text-decoration: underline;
  text-underline-offset: .2em
}

.quote-form .cta {
  display: inline-flex;
  justify-self: start;
  cursor: pointer;
  border: 0
}

.quote-form .cta[disabled] {
  opacity: .6;
  cursor: wait
}

.q-status {
  min-height: 1.5rem;
  font-weight: 500
}

.q-status.bad {
  color: #c62f4a
}

.q-done {
  display: grid;
  gap: .6rem;
  padding-block: 1rem
}

.q-done h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2
}

.q-done p {
  color: var(--mute)
}