/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --bg: #f6f3ec;
  --surface: #fffdf9;
  --sand: #ede7dc;
  --ph: #dcd5c8;
  --ph-text: #5a564c;
  --line: #e6dfd1;
  --text: #2f2d27;
  --muted: #5c5a52;
  --olive: #5b5a36;
  --olive-hover: #4a4929;
  --on-olive: #fbf9f4;
  --mark: #5b5a36;
  --track: #e4dccb;
  --gold: #af9462;
  --gold-text: #7d6236;
  --focus: #5b5a36;
  --selection: rgba(175, 148, 98, 0.3);
  --feature: #2f2d27;
  --feature-line: transparent;
  --deep: #2f2d27;
  --deep-2: #45433d;
  --on-deep: #f1ece2;
  --on-deep-muted: #cfc9bd;
  --on-deep-subtle: #a9a396;
  --deep-gold: #c9ae7a;
  --price-line: #a68a55;
  --shadow: rgba(70, 60, 40, 0.08);
  --serif: "Lora", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
  --quick-h: 0px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1c18;
    --surface: #25241f;
    --sand: #2b2a24;
    --ph: #322f29;
    --ph-text: #a39d90;
    --line: #3a3831;
    --text: #f1ece2;
    --muted: #b8b2a5;
    --olive: #6b6a42;
    --olive-hover: #585734;
    --mark: #f1ece2;
    --track: #3f3c33;
    --gold: #c9ae7a;
    --gold-text: #c9ae7a;
    --focus: #c9ae7a;
    --selection: rgba(201, 174, 122, 0.35);
    --feature: #33321f;
    --feature-line: #7a6a45;
    --deep: #141310;
    --deep-2: #2e2c27;
    --shadow: rgba(0, 0, 0, 0.35);
  }
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  color-scheme: light dark;
  scrollbar-color: var(--gold) var(--bg);
}
body {
  margin: 0;
  padding-bottom: var(--quick-h);
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
::selection {
  background: var(--selection);
  color: var(--text);
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
main:focus {
  outline: none;
}
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--olive);
  color: var(--on-olive);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   Shared
   ========================================================================== */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 22ch;
  text-wrap: balance;
}
.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 52ch;
}
.pull {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--gold-text);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 52px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  background: var(--olive);
  color: var(--on-olive);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background 0.3s var(--ease),
    transform 0.2s var(--ease);
}
.btn:hover {
  background: var(--olive-hover);
}
.btn:active {
  transform: translateY(1px) scale(0.98);
}
.btn i {
  font-size: 16px;
  transition: transform 0.3s var(--ease);
}
.btn:hover i {
  transform: translateX(3px);
}
.link {
  color: var(--gold-text);
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.link:hover {
  text-decoration-thickness: 2px;
}
.ph-slot {
  background: var(--ph);
  color: var(--ph-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  font-size: 14px;
}
.ph-slot i {
  font-size: 28px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.logo {
  flex-shrink: 0;
}
.logo img {
  height: 26px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a:not(.btn) {
  position: relative;
  padding: 10px 12px;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 1px;
  background: var(--gold-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:not(.btn):hover::after,
.nav a[aria-current]::after {
  transform: scaleX(1);
}
.nav .btn {
  margin-left: 14px;
  padding: 12px 20px;
}
.menu-btn {
  display: none;
}
.burger,
.burger::before,
.burger::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s;
}
.burger {
  position: relative;
}
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger::before {
  top: -6px;
}
.burger::after {
  top: 6px;
}
.site-header.open .burger {
  background: transparent;
}
.site-header.open .burger::before {
  transform: translateY(6px) rotate(45deg);
}
.site-header.open .burger::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 72px 0 96px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 40ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding-top: 8px;
}
.framed {
  position: relative;
  padding: 0 28px 28px 0;
}
.framed::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 88%;
  height: 88%;
  background: var(--sand);
}
/* Portret Oliwii z sygnetem-stoperem jako akcentem na rogu ramki */
.hero-visual {
  justify-self: end;
  width: min(100%, 460px);
}
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
}
.hero-badge {
  position: absolute;
  left: -40px;
  bottom: 64px;
  width: 112px;
  height: 112px;
  padding: 18px;
  background: var(--surface);
  box-shadow: 0 14px 32px var(--shadow);
}
.stopwatch {
  width: 100%;
  height: 100%;
}
.stopwatch .ink {
  fill: var(--mark);
}
.stopwatch .line {
  stroke: var(--mark);
}
.stopwatch .track {
  stroke: var(--track);
}
.si-arc {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: si-sweep 6s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}
.si-btn {
  animation: si-press 6s ease-in-out infinite;
}
.si-arrow {
  animation: si-nudge 6s ease-in-out infinite;
}
@keyframes si-sweep {
  0% {
    stroke-dashoffset: 100;
    opacity: 1;
  }
  8% {
    stroke-dashoffset: 100;
  }
  62% {
    stroke-dashoffset: 25;
  }
  90% {
    stroke-dashoffset: 25;
    opacity: 1;
  }
  98% {
    stroke-dashoffset: 25;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
}
@keyframes si-press {
  0%,
  3%,
  10%,
  100% {
    transform: translate(0, 0);
  }
  6% {
    transform: translate(-1.5px, 1.5px);
  }
}
@keyframes si-nudge {
  0%,
  55%,
  100% {
    transform: translate(0, 0);
  }
  64% {
    transform: translate(1.5px, -1.5px);
  }
  72% {
    transform: translate(0, 0);
  }
}

/* ==========================================================================
   Benefits strip
   ========================================================================== */
.benefits {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.benefits ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.benefits li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 30px 28px;
}
.benefits li:first-child {
  padding-left: 0;
}
.benefits li + li {
  border-left: 1px solid var(--line);
}
.benefits i {
  font-size: 32px;
  color: var(--gold-text);
  flex-shrink: 0;
}
.benefits strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}
.benefits span {
  font-size: 15px;
  color: var(--muted);
}

/* ==========================================================================
   Split (Firma rośnie)
   ========================================================================== */
.split {
  padding: 112px 0;
}
.split .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.split .framed::before {
  width: 90%;
  height: 90%;
}
.split .ph-slot {
  position: relative;
  aspect-ratio: 3 / 2;
}

/* ==========================================================================
   Oferta: zakres
   ========================================================================== */
.offer {
  padding: 112px 0 0;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.offer-item {
  background: var(--surface);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.offer-item i {
  font-size: 36px;
  color: var(--mark);
  flex-shrink: 0;
}
.offer-item h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}
.offer-item p {
  font-size: 15px;
  color: var(--muted);
}
.offer-note {
  margin-top: 32px;
  color: var(--muted);
}
.offer-note strong {
  color: var(--gold-text);
  font-weight: 600;
}

/* ==========================================================================
   Oferta: pojedyncze zlecenia
   ========================================================================== */
.jobs {
  padding: 112px 0 72px;
}
.job-list {
  border-top: 1px solid var(--line);
}
.job-list li {
  border-bottom: 1px solid var(--line);
}
.job {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px 28px;
  padding: 26px 16px;
  text-decoration: none;
  transition: background 0.3s var(--ease);
}
.job:hover {
  background: var(--surface);
}
.job > i {
  font-size: 32px;
  color: var(--gold-text);
}
.job-body strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}
.job-body span {
  color: var(--muted);
  font-size: 15px;
}
.job-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-text);
  white-space: nowrap;
}
.job-cta i {
  transition: transform 0.3s var(--ease);
}
.job:hover .job-cta i {
  transform: translateX(4px);
}

/* ==========================================================================
   Oferta: stała współpraca
   ========================================================================== */
.retainer-box {
  background: var(--feature);
  outline: 1px solid var(--feature-line);
  color: var(--on-deep);
  display: grid;
  grid-template-columns: 1.7fr 1fr;
}
.retainer-body {
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
}
.retainer-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.retainer h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  text-wrap: balance;
}
.retainer-intro p {
  color: var(--on-deep-muted);
  font-size: 15px;
}
.price {
  border: 1px solid var(--price-line);
  background: color-mix(in srgb, var(--deep-gold) 8%, transparent);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}
.price-label {
  font-size: 14px;
  color: var(--on-deep-muted);
}
.price strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.4vw, 2rem);
  line-height: 1.15;
  color: var(--deep-gold);
}
.price-compare {
  font-size: 15px;
  color: var(--on-deep);
  margin-top: 6px;
}
.price-scope {
  font-size: 14px;
  color: var(--on-deep-muted);
}
.checks-title {
  font-size: 14px;
  color: var(--on-deep-muted);
  margin-bottom: -14px;
}
.retainer-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.checks i {
  color: var(--deep-gold);
  font-size: 18px;
}
.retainer-side .btn {
  align-self: flex-start;
}
.retainer .ph-slot {
  background: var(--deep-2);
  color: var(--on-deep-muted);
  min-height: 340px;
}

/* ==========================================================================
   O mnie
   ========================================================================== */
.about {
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding: 112px 0;
}
.about .wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.about-photos {
  position: relative;
  padding-bottom: 56px;
}
.about-photos .main {
  width: 78%;
  aspect-ratio: 4 / 4.4;
}
.about-photos .detail {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 3 / 4;
  border: 8px solid var(--surface);
  outline: 1px solid var(--gold);
  font-size: 13px;
  padding: 12px;
}
.about-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-copy .h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.15;
}
.about-copy p {
  color: var(--muted);
}
.about-copy p strong {
  color: var(--text);
}
.about-copy .accent {
  color: var(--gold-text);
  font-weight: 600;
}
.skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  padding-top: 10px;
}
.skills li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}
.skills i {
  font-size: 30px;
  color: var(--gold-text);
  flex-shrink: 0;
}

/* ==========================================================================
   Proces (oś czasu: wspólna linia, kwadratowy znacznik, numer w Lorze)
   ========================================================================== */
.process {
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding: 104px 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 28px 0 0;
  border-top: 1px solid var(--line);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--gold-text);
  margin-bottom: 10px;
}
.steps li::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--gold);
}
.steps h3 {
  font-size: 17px;
  font-weight: 600;
}
.steps p {
  font-size: 15px;
  color: var(--muted);
}
.process-cta {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}
.process-cta p {
  font-family: var(--serif);
  font-size: 24px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding: 104px 0;
}
.faq .wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--gold-text);
}
.faq summary i {
  color: var(--gold-text);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary i {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 0 22px;
  color: var(--muted);
  max-width: 62ch;
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact {
  background: var(--sand);
}
.contact-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: 32px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
}
.contact-body {
  padding: 80px 0 80px 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.contact h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.18;
  max-width: 26ch;
  text-wrap: balance;
}
.reassure {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 52ch;
  color: var(--muted);
  font-size: 15px;
}
.reassure i {
  color: var(--gold-text);
  font-size: 20px;
  margin-top: 1px;
  flex-shrink: 0;
}
.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 32px;
  padding: 0 0 8px;
}
.contact-lines a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.contact-lines a:hover {
  color: var(--gold-text);
}
.contact-lines i {
  color: var(--gold-text);
  font-size: 20px;
}
.mail-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--gold-text);
  color: var(--gold-text);
  font: 600 13px/1 var(--sans);
  cursor: pointer;
  transition: border-color 0.2s;
}
.copy-btn:hover {
  border-color: var(--gold-text);
}
.copy-btn i {
  font-size: 16px;
}
.copy-btn.copied {
  border-color: var(--olive);
  color: var(--text);
}
html:not(.js) .copy-btn {
  display: none;
}
.mail-hint {
  font-size: 14px;
  color: var(--muted);
  max-width: 52ch;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--deep);
  color: var(--on-deep-muted);
  font-size: 14px;
}
.footer-grid {
  padding-block: 72px 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-col > a,
.footer-col > span:not(.f-title) {
  padding-block: 5px;
}
.footer-brand {
  gap: 16px;
}
.footer-brand img {
  width: 180px;
  height: auto;
  margin-left: -4px; /* SVG ma 4px wewnętrznego marginesu w viewBox */
}
.footer-brand p {
  max-width: 30ch;
}
.f-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-gold);
  margin-bottom: 8px;
}
.footer a {
  text-decoration: none;
  transition: color 0.2s;
}
.footer a:hover {
  color: var(--on-deep);
}
.footer :focus-visible {
  outline-color: var(--deep-gold);
}
.social {
  display: flex;
  gap: 8px;
}
.social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--on-deep);
  border: 1px solid var(--deep-2);
  transition: border-color 0.2s;
}
.social a:hover {
  border-color: var(--deep-gold);
}
.footer-bottom {
  border-top: 1px solid var(--deep-2);
  padding-block: 22px 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  font-size: 12px;
  color: var(--on-deep-subtle);
}
.footer-bottom p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

/* ==========================================================================
   Szybki kontakt (tylko telefon)
   ========================================================================== */
.quick-contact {
  display: none;
}

/* ==========================================================================
   Motion: jedna animacja wejścia hero + stoper
   ========================================================================== */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 0.9s var(--ease) both;
    animation-delay: calc(var(--d, 0) * 90ms);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .si-arc,
  .si-btn,
  .si-arrow {
    animation: none;
  }
  .si-arc {
    stroke-dashoffset: 25;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  .offer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .offer-item:first-child {
    grid-column: 1 / -1;
  }
  .retainer-box,
  .retainer-body {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Menu mobilne (pełne menu mieści się w jednej linii od ok. 900px) */
@media (max-width: 959px) {
  .js .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--line);
    color: var(--text);
    cursor: pointer;
  }
  .js .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px var(--shadow);
  }
  .js .site-header.open .nav {
    display: flex;
  }
  .js .nav a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .js .nav a:not(.btn)::after {
    display: none;
  }
  .js .nav .btn {
    margin: 16px 0 0;
    justify-content: center;
  }
  html:not(.js) .site-header .wrap {
    height: auto;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  html:not(.js) .nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 899px) {
  .hero {
    padding: 48px 0 72px;
  }
  .hero .wrap,
  .split .wrap,
  .about .wrap,
  .faq .wrap,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .split,
  .about,
  .faq,
  .offer,
  .process {
    padding: 80px 0;
  }
  .jobs {
    padding: 80px 0 56px;
  }
  .contact-inner {
    padding-inline: 0;
    gap: 0;
  }
  .contact-body {
    padding: 56px 20px;
  }
  .contact .ph-slot {
    order: 2;
    min-height: 200px;
  }
  /* Margines na odznakę-stoper odejmujemy od szerokości, żeby nie wychodzić poza ekran */
  .hero-visual {
    justify-self: start;
    width: min(calc(100% - 32px), 420px);
    margin-left: 32px;
  }
  .offer {
    padding: 80px 0 0;
  }
  .retainer {
    padding-bottom: 80px;
  }
  /* Bez JS menu się zawija, więc nagłówek nie może być przyklejony */
  html:not(.js) .site-header {
    position: static;
  }
}

@media (max-width: 767px) {
  :root {
    --quick-h: calc(56px + env(safe-area-inset-bottom));
  }
  .wrap {
    padding: 0 20px;
  }
  .benefits ul {
    grid-template-columns: 1fr;
  }
  .benefits li {
    padding: 22px 0;
  }
  .benefits li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .retainer .wrap {
    padding: 0;
  }
  .retainer-body {
    padding: 44px 20px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .process-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .quick-contact {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--olive);
    box-shadow: 0 -8px 24px var(--shadow);
  }
  .quick-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    color: var(--on-olive);
    font-weight: 600;
    text-decoration: none;
  }
  .quick-contact a + a {
    border-left: 1px solid color-mix(in srgb, var(--on-olive) 20%, transparent);
  }
  .quick-contact i {
    font-size: 20px;
  }
  .quick-contact :focus-visible {
    outline-color: var(--on-olive);
    outline-offset: -4px;
  }
}

@media (max-width: 599px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .offer-item {
    flex-direction: row;
    gap: 18px;
    padding: 22px 20px;
  }
  .offer-item i {
    font-size: 30px;
  }
  .job {
    grid-template-columns: auto 1fr;
    padding: 22px 0;
    gap: 6px 18px;
  }
  .job-cta {
    grid-column: 2;
  }
  .about-photos {
    padding-bottom: 0;
  }
  .about-photos .main {
    width: 100%;
  }
  .about-photos .detail {
    position: relative;
    width: 46%;
    margin: -72px 0 0 auto;
  }
  .hero-visual {
    width: min(calc(100% - 24px), 420px);
    margin-left: 24px;
    padding: 0 20px 20px 0;
  }
  .hero-badge {
    left: -24px;
    bottom: 40px;
    width: 84px;
    height: 84px;
    padding: 14px;
  }
  .skills {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    padding-block: 56px 40px;
    gap: 36px 24px;
  }
  .footer-brand,
  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
}

/* Cena: kwota duża, okres mniejszy, żeby nie łamać kwoty */
.price strong small {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--on-deep-muted);
  white-space: nowrap;
}

/* ==========================================================================
   Runda 3: fokus na ciemnym bloku, opinie, przyciski kontaktu
   ========================================================================== */
.retainer-box :focus-visible {
  outline-color: var(--deep-gold);
}
.retainer {
  padding-bottom: 104px;
}
@media (max-width: 899px) {
  .retainer {
    padding-bottom: 80px;
  }
}

/* Najwęższe telefony (320px): mniejsze logo, żeby przycisk menu się mieścił */
@media (max-width: 359px) {
  .logo img {
    height: 20px;
  }
  .site-header .wrap {
    gap: 12px;
  }
}

/* Przycisk drugorzędny z obrysem */
.btn-outline {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--olive);
}
.btn-outline:hover {
  background: color-mix(in srgb, var(--olive) 10%, transparent);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  min-height: 32px;
}
.profile-link i {
  font-size: 20px;
}

/* Opinie */
.testimonials {
  padding: 0 0 88px;
}
.testimonials .h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  margin-bottom: 36px;
}
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.quote {
  margin: 0;
  padding: 32px;
  background: var(--surface);
  border-top: 2px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quote blockquote {
  margin: 0;
}
.quote blockquote p {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: var(--muted);
}
.quote figcaption strong {
  color: var(--text);
  font-size: 15px;
}
@media (max-width: 767px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }
  .quote {
    padding: 24px 20px;
  }
  .testimonials {
    padding-bottom: 64px;
  }
}

/* Zdjęcia w miejscach placeholderów: kolor tła .ph-slot widać podczas ładowania */
img.photo {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  align-self: stretch;
}
.about-photos img.detail {
  height: auto;
  padding: 0;
}

/* Tryb ciemny: oliwkowy obrys „Zadzwoń” ma na piasku tylko 2.58:1, złoty daje 6.7:1 */
@media (prefers-color-scheme: dark) {
  .btn-outline {
    box-shadow: inset 0 0 0 1px var(--gold-text);
  }
}
