/* Cinzel normal latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/fonts/cinzel-500-normal-latin-ext-a30d13.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cinzel normal latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/fonts/cinzel-500-normal-latin-97f503.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Lora italic latin-ext */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/lora-400-italic-latin-ext-1ae7a2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Lora italic latin */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/lora-400-italic-latin-d24319.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Lora normal latin-ext */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/lora-400-normal-latin-ext-44e4b3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Lora normal latin */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/lora-400-normal-latin-e397d9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat normal latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/montserrat-400-normal-latin-ext-c33f88.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat normal latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/montserrat-400-normal-latin-b6711d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f6ede3;
  --paper-2: #f6ede3;
  --cream: #faf9f6;
  --gold: #d6b77a;
  --gold-dark: #8b5e3c;
  --terracotta: #c36a2d;
  --terracotta-dark: #8b5e3c;
  --warm-brown: #8b5e3c;
  --ink: #38271f;
  --ink-soft: #6b5040;
  --line: rgba(139, 94, 60, .22);
  --white: #faf9f6;
  --shadow: 0 24px 70px rgba(139, 94, 60, .16);
  --serif: "Cinzel", Georgia, serif;
  --body-serif: "Lora", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  --container: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* Blokada przewijania przy otwartym menu na html, nie na body – body z overflow:hidden (przy html overflow-x:clip) psuje sticky header */
html:has(body.menu-open) { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  clip: auto;
  margin: 8px;
  padding: 10px 16px;
  background: var(--white);
}
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }

.site-header {
  height: 86px;
  padding: 0 max(24px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 44px;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 242, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.wordmark {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  font-family: var(--serif);
  line-height: .92;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wordmark span { font-size: 12px; color: var(--terracotta); }
.wordmark strong { margin-top: 6px; font-size: 18px; font-weight: 600; }
.main-nav { display: flex; justify-content: center; gap: clamp(16px, 2vw, 30px); }
.main-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--terracotta);
  transition: right .2s ease;
}
.main-nav a:hover::after { right: 0; }
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown__toggle {
  padding: 0;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.nav-dropdown__toggle span { color: var(--terracotta); font-size: 14px; transition: transform .2s ease; }
.nav-dropdown.is-open .nav-dropdown__toggle span { transform: rotate(180deg); }
.nav-dropdown__menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 18px);
  z-index: 80;
  min-width: 270px;
  padding: 10px;
  display: none;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 20px 50px rgba(56,39,31,.16);
}
.nav-dropdown.is-open .nav-dropdown__menu { display: block; }
.nav-dropdown__menu a {
  padding: 12px 14px;
  display: block;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
}
.nav-dropdown__menu a::after { display: none; }
.nav-dropdown__menu a:hover { color: var(--terracotta-dark); background: var(--paper); }
@media (min-width: 981px) {
  .nav-dropdown::after {
    content: "";
    position: absolute;
    z-index: 79;
    top: 100%;
    left: -16px;
    right: -16px;
    height: 18px;
  }
  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu { display: block; }
}
.header-cta {
  padding: 11px 18px;
  color: var(--white);
  background: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}
.menu-toggle { display: none; }

.hero {
  min-height: calc(100svh - 86px);
  padding: 80px max(24px, calc((100vw - 1320px) / 2));
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .78fr);
  align-items: center;
  gap: 64px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background: url("/assets/opt/ciasna-02-po-1600.webp") center / cover no-repeat;
  animation: heroPanZoom 16s cubic-bezier(.2, .65, .25, 1) 1 forwards;
  transform-origin: 68% 48%;
  will-change: transform;
}
@keyframes heroPanZoom {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.17) translate3d(-1.4%, 1.2%, 0); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(36, 27, 21, .91) 0%, rgba(36, 27, 21, .66) 47%, rgba(36, 27, 21, .2) 77%),
    linear-gradient(0deg, rgba(36, 27, 21, .34), transparent 55%);
}
.hero-copy { position: relative; z-index: 3; max-width: 710px; }
.eyebrow {
  margin: 0 0 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--paper-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow-dark { color: var(--terracotta-dark); }
.hero h1,
.section-heading h2,
.visualization-copy h2,
.about-copy h2,
.contact-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.09;
}
.hero h1 { max-width: 760px; font-size: clamp(45px, 5.4vw, 78px); }
.hero h1 em { color: var(--paper-2); font-family: var(--body-serif); font-weight: 400; }
.hero-rotating-phrase {
  min-height: 1.09em;
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease;
}
.hero-rotating-phrase.is-changing {
  opacity: 0;
  transform: translateY(.12em);
}
.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.82);
  font-family: var(--body-serif);
  font-size: 19px;
  line-height: 1.7;
}
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.button {
  min-height: 48px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--gold); }
.button-primary:hover { background: var(--terracotta); color: var(--white); }
.button-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.button-outline:hover { color: var(--white); background: var(--ink); }
.button-ink { color: var(--white); background: var(--ink); }
.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--terracotta-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  text-transform: uppercase;
}
.text-link-light { color: var(--white); }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.hero-portrait {
  width: min(520px, 38vw);
  height: min(740px, 76vh);
  margin: 0 0 -80px auto;
  position: relative;
  z-index: 2;
  align-self: end;
  overflow: visible;
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 28px rgba(24, 17, 13, .28));
}
.section { padding: 110px 0; }
.section > * { width: var(--container); margin-left: auto; margin-right: auto; }
.section-warm { background: var(--paper); }
.section-dark { color: var(--white); background: var(--warm-brown); }
.section-heading { max-width: 920px; }
.section-heading h2,
.visualization-copy h2,
.about-copy h2,
.contact-intro h2 { font-size: clamp(34px, 4.1vw, 58px); }
.row-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .7fr);
  align-items: end;
  gap: 64px;
}
.row-heading > p { margin: 0 0 5px; color: var(--ink-soft); }
.row-heading-light > p { color: rgba(255,255,255,.62); }
.property-summary { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.property-summary p { margin: 0; color: var(--ink-soft); }
.property-summary-link { padding-bottom: 7px; border-bottom: 1px solid currentColor; color: var(--terracotta-dark); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.property-summary-link:hover,
.property-summary-link:focus-visible { color: var(--ink); }
.lead-serif { font-family: var(--body-serif); font-size: 21px; line-height: 1.7; }

.brand-intro-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 100px;
  align-items: center;
}
.brand-story { max-width: 650px; }
.brand-story > p:not(.lead-serif) { color: var(--ink-soft); }
.brand-story .text-link { margin-top: 18px; }
.brand-seal {
  margin: 0;
  padding: 22px;
  position: relative;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.brand-seal::before {
  content: "";
  position: absolute;
  inset: -12px 18px 18px -12px;
  z-index: -1;
  border: 1px solid var(--gold);
}

.paths { border-top: 1px solid var(--line); }
.path-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.path-card {
  --path-card-inset: 38px;
  min-height: 350px;
  padding: var(--path-card-inset);
  display: flex;
  flex-direction: column;
  position: relative;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.24);
}
.path-card:last-child { border-right: 0; }
.path-card-featured { color: var(--white); background: var(--terracotta); }
.path-number {
  display: block;
  align-self: flex-start;
  margin-bottom: 48px;
  color: var(--terracotta-dark);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1;
  text-shadow: 2px 2px 0 rgba(214,183,122,.75), 5px 5px 12px rgba(56,39,31,.1);
}
.path-card-featured .path-number { color: var(--white); text-shadow: 2px 2px 0 rgba(56,39,31,.38); }
.path-card h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.2; }
.path-card p { margin: 0 0 22px; color: var(--ink-soft); font-family: var(--body-serif); }
.path-card-featured p { color: rgba(255,255,255,.72); }
.path-card a {
  position: absolute;
  z-index: 1;
  inset: 0;
  box-sizing: border-box;
  padding: var(--path-card-inset);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}
.path-card a::before {
  position: absolute;
  right: var(--path-card-inset);
  bottom: calc(var(--path-card-inset) + 24px);
  left: var(--path-card-inset);
  border-top: 1px solid currentColor;
  content: "";
}
.path-card a:focus-visible { outline: 2px solid var(--terracotta-dark); outline-offset: -6px; }
.path-card-featured a:focus-visible { outline-color: var(--white); }

.visualization-frame {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 64px;
  align-items: center;
}
.visualization-copy > p { color: var(--ink-soft); }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { padding: 10px 0 10px 26px; position: relative; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "◇"; position: absolute; left: 0; color: var(--terracotta); }
.design-screen {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(139, 94, 60, .28);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.design-screen__bar {
  height: 30px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.design-screen__bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.design-screen__bar span:first-child { background: var(--terracotta); }
.design-screen__bar span:last-child { background: var(--warm-brown); }
.design-screen img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
}
.design-screen figcaption {
  padding: 15px 17px 17px;
  display: grid;
  gap: 3px;
  background: var(--paper);
}
.design-screen figcaption strong {
  color: var(--terracotta-dark);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}
.design-screen figcaption span {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}
.design-screen--home { box-shadow: none; }
.design-screen--home .design-screen__bar { height: 24px; }
.design-screen--home figcaption { padding: 12px 14px 14px; }
.design-screen--page { align-self: center; }
.design-person-card {
  margin: 0;
  position: relative;
  align-self: stretch;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(139, 94, 60, .22);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.design-person-card img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  display: block;
  object-fit: cover;
  object-position: 50% 18%;
}
.design-person-card::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(180deg, transparent, rgba(36, 27, 21, .76));
  pointer-events: none;
}
.design-person-card figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  padding: 22px 24px;
  color: var(--white);
  background: rgba(36, 27, 21, .78);
  backdrop-filter: blur(12px);
}
.design-person-card figcaption strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.18;
}
.design-person-card figcaption span {
  display: block;
  margin-top: 8px;
  color: rgba(250,249,246,.78);
  font-family: var(--body-serif);
  font-size: 15px;
  line-height: 1.55;
}
.design-workspace {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--sand);
}
.design-workspace__layout {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: 72px;
  align-items: center;
}
.design-workspace__copy {
  min-width: 0;
  max-width: 430px;
}
.design-workspace .design-screen { min-width: 0; }
.design-workspace__copy h2 {
  margin: 14px 0 22px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 500;
  line-height: 1.06;
}
.design-workspace__copy > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--body-serif);
  line-height: 1.75;
}
.visualization-comparison {
  --comparison-position: 50%;
  min-height: 560px;
  position: relative;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
}
.comparison-image { position: absolute; inset: 0; }
.comparison-image img { width: 100%; height: 100%; object-fit: cover; }
.comparison-before { z-index: 1; }
.comparison-after {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0);
}
.comparison-label {
  position: absolute;
  z-index: 5;
  bottom: 20px;
  padding: 7px 11px;
  color: var(--white);
  background: rgba(56,39,31,.82);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  pointer-events: none;
}
.comparison-label-before { left: 20px; }
.comparison-label-after { right: 20px; }
.comparison-divider {
  position: absolute;
  left: var(--comparison-position);
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 2px;
  background: rgba(250,249,246,.94);
  box-shadow: 0 0 0 1px rgba(56,39,31,.18);
  transform: translateX(-1px);
  pointer-events: none;
}
.comparison-range {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  z-index: 7;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.comparison-handle {
  width: 50px;
  height: 50px;
  position: absolute;
  left: var(--comparison-position);
  top: 50%;
  z-index: 6;
  display: grid;
  place-items: center;
  border: 2px solid rgba(250,249,246,.96);
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 8px 24px rgba(36,27,21,.28);
  font-size: 20px;
  font-weight: 700;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.comparison-range:focus-visible ~ .comparison-handle {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.process { padding-top: 80px; }
.process-list {
  margin-top: 60px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px solid var(--line);
}
.process-list li { min-height: 245px; padding: 28px 26px 0 0; border-right: 1px solid var(--line); }
.process-list li:not(:first-child) { padding-left: 26px; }
.process-list li:last-child { padding-right: 0; border-right: 0; }
.process-list span {
  display: block;
  color: var(--terracotta-dark);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1;
  text-shadow: 2px 2px 0 rgba(214,183,122,.75), 5px 5px 12px rgba(56,39,31,.1);
}
.process-list span { margin-bottom: 34px; }
.process-list h3 { margin: 0 0 9px; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.process-list p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.packages-intro {
  max-width: 820px;
}
.packages-intro h2 {
  margin: 16px 0 18px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.12;
}
.packages-intro > p:last-child {
  max-width: 680px;
  margin: 0;
  color: rgba(250,249,246,.76);
  font-family: var(--body-serif);
  font-size: 18px;
  line-height: 1.7;
}
.package-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.package-card {
  min-height: 630px;
  padding: clamp(34px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
}
.package-card-accent { background: var(--gold); }
.package-kicker { margin: 0; color: var(--terracotta-dark); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.package-card h2,
.package-card h3 { max-width: 500px; margin: 20px 0 26px; font-family: var(--serif); font-size: clamp(27px, 3vw, 40px); font-weight: 500; line-height: 1.15; }
.package-price { margin: 0; font-family: var(--body-serif); font-size: 34px; }
.package-price span { font-size: 16px; }
.package-summary { color: var(--ink-soft); font-family: var(--body-serif); }
.package-card ul { margin: 28px 0 36px; padding: 0; list-style: none; }
.package-card li { padding: 10px 0; border-bottom: 1px solid rgba(46,36,29,.18); }
.package-card li::before { content: "—"; margin-right: 10px; color: var(--terracotta); }
.package-card .button { margin-top: auto; align-self: flex-start; }
.package-card-accent .button-primary { border-color: var(--ink); }
.package-card-accent .button-primary:hover { border-color: var(--terracotta); }
.package-card-wide {
  min-height: 0;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 8vw, 110px);
  border-left: 6px solid var(--terracotta);
}
.package-card-wide__details {
  display: flex;
  flex-direction: column;
}
.package-card-wide__details ul { margin-top: 0; }
.package-card-wide .button { margin-top: auto; }
.staged-price { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; font-family: var(--body-serif); font-size: clamp(22px, 2.5vw, 30px); }
.staged-price i { font-style: normal; opacity: .5; }
.commission { margin: 12px 0 0; font-weight: 700; }
.commission small { display: block; margin-top: 3px; font-weight: 500; opacity: .68; }
.package-footnote { margin-top: 24px; color: rgba(255,255,255,.72); font-size: 12px; text-align: center; }

.portfolio-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: repeat(2, 310px);
  gap: 18px;
}
.portfolio-item { margin: 0; position: relative; display: grid; overflow: hidden; background: var(--paper); }
.portfolio-item-tall { grid-row: 1 / 3; }
.portfolio-item img { grid-area: 1 / 1; height: 100%; object-fit: cover; transition: transform .7s ease; }
.portfolio-item:hover img { transform: scale(1.035); }
.portfolio-item figcaption {
  grid-area: 1 / 1;
  align-self: end;
  z-index: 2;
  margin: 0 22px 20px;
  padding: 15px 17px;
  display: flex;
  flex-direction: column;
  background: rgba(255,250,242,.92);
}
.portfolio-item figcaption span { color: var(--terracotta-dark); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.portfolio-item figcaption strong { margin-top: 4px; font-family: var(--body-serif); font-size: 15px; font-weight: 500; }
.portfolio-item figcaption a { color: inherit; text-decoration: none; }
.portfolio-item figcaption a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.portfolio-item:focus-within { outline: 2px solid var(--terracotta); outline-offset: 4px; }

.latest-offers-heading {
  margin: 52px auto 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}
.latest-offers-heading h3 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.1;
}
.latest-offers-heading > a {
  color: var(--terracotta-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}
.latest-offers-heading > a:hover,
.latest-offers-heading > a:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.latest-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.property-card { position: relative; cursor: pointer; background: var(--white); box-shadow: var(--shadow); }
.property-media { height: 250px; position: relative; overflow: hidden; }
.property-media img { height: 100%; object-fit: cover; }
.property-status { position: absolute; left: 18px; top: 18px; padding: 7px 10px; color: #fff; background: var(--terracotta-dark); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.property-media button { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; color: var(--ink); background: rgba(250,249,246,.94); font-size: 22px; cursor: pointer; }
.property-media button[aria-pressed="true"] { color: var(--terracotta); }
.property-body { padding: 30px; }
.property-place { margin: 0; color: var(--terracotta); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.property-body h3 { margin: 10px 0 24px; font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.25; }
.latest-offers-grid .property-body h3 { min-height: 63px; }
.property-title-link { color: inherit; text-decoration: none; }
.property-title-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.property-title-link:hover,
.property-title-link:focus-visible { color: var(--terracotta-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.property-body dl { margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.property-body dl div { padding: 0 14px; border-right: 1px solid var(--line); }
.property-body dl div:first-child { padding-left: 0; }
.property-body dl div:last-child { border-right: 0; }
.property-body dt { color: var(--ink-soft); font-size: 9px; text-transform: uppercase; }
.property-body dd { margin: 4px 0 0; font-weight: 600; }
.property-footer { padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.property-footer strong { font-family: var(--body-serif); font-size: 18px; }
.outline-word { color: var(--terracotta); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.blog .row-heading { align-items: start; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.blog-filters button { padding: 8px 11px; border: 1px solid var(--line); color: var(--ink-soft); background: transparent; font-size: 9px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.blog-filters button.is-active { color: var(--white); border-color: var(--terracotta); background: var(--terracotta); }
.blog-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { position: relative; cursor: pointer; background: var(--paper); transition: opacity .2s ease, transform .2s ease; }
.post-card.is-hidden { display: none; }
.post-card img { height: 230px; object-fit: cover; }
.post-card > div { min-height: 190px; padding: 28px; display: flex; flex-direction: column; }
.post-card > div > span { color: var(--terracotta-dark); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.post-card h3 { margin: 16px 0 28px; font-family: var(--body-serif); font-size: 20px; font-weight: 500; line-height: 1.4; }
.post-title-link { color: inherit; text-decoration: none; }
.post-title-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-title-link:focus-visible { outline: 0; }
.post-card:hover .post-title-link,
.post-title-link:focus-visible { color: var(--terracotta-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.post-title-link:focus-visible::after,
.property-title-link:focus-visible::after { outline: 2px solid var(--terracotta); outline-offset: -2px; }
.post-card-link { margin-top: auto; display: flex; justify-content: space-between; color: var(--ink-soft) !important; font-size: 10px !important; font-weight: 700; text-transform: uppercase; }

.about-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; align-items: center; }
.about-portrait { height: 650px; overflow: hidden; border-radius: 260px 260px 0 0; }
.about-portrait img { height: 100%; object-fit: cover; object-position: 50% 18%; }
.about-page .about-portrait img { object-position: 50% 42%; transform: translateY(-6%) scale(1.06); transform-origin: 50% 42%; }
.about-copy { max-width: 670px; }
.about-copy > p:not(.eyebrow) { color: var(--ink-soft); }
.about-copy .lead-serif { color: var(--ink) !important; }
.brand-row {
  margin-top: 38px;
  padding: 26px 0 0;
  display: flex;
  gap: 34px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.brand-row img { width: 118px; height: 78px; object-fit: contain; }
.brand-row img:last-child { width: 176px; height: auto; }

.contact {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 90px;
}
.contact > * { width: auto; margin: 0; }
.contact-intro p:last-child { color: var(--ink-soft); }
.contact-form { padding: 46px; background: var(--paper); box-shadow: var(--shadow); }
.contact-form fieldset { margin: 0 0 26px; padding: 0; border: 0; }
.contact-form legend,
.contact-form > label,
.field-grid label { display: block; margin-bottom: 9px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice-row label { cursor: pointer; }
.choice-row input { position: absolute; opacity: 0; pointer-events: none; }
.choice-row span { min-height: 48px; padding: 10px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-soft); font-size: 10px; font-weight: 700; text-align: center; text-transform: uppercase; }
.choice-row input:checked + span { color: var(--white); border-color: var(--terracotta-dark); background: var(--terracotta-dark); }
.choice-row input:focus-visible + span { outline: 3px solid rgba(168,93,67,.18); outline-offset: 2px; }
.contact-choice-prompt { margin: 0 0 12px; display: flex; align-items: center; gap: 9px; color: var(--terracotta-dark); font-size: 12px; font-weight: 600; }
.contact-choice-prompt span { width: 26px; height: 26px; display: inline-grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--terracotta); border-radius: 50%; }
.contact-form .has-error input[type="text"], .contact-form .has-error input[type="tel"], .contact-form .has-error textarea, .contact-form fieldset.has-error .choice-row span { border-color: var(--terracotta-dark); }
.contact-field-error { margin: 7px 0 0; color: #8c351f; font-size: 12px; font-weight: 600; letter-spacing: 0; line-height: 1.45; text-transform: none; }
.consent.has-error { flex-wrap: wrap; }
.consent.has-error .contact-field-error { width: 100%; margin-left: 24px; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(168,93,67,.12); }
.consent { margin: 18px 0 24px !important; display: flex !important; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-weight: 500 !important; letter-spacing: 0 !important; line-height: 1.5; text-transform: none !important; }
.consent input { margin-top: 4px; accent-color: var(--terracotta-dark); }
.contact-form .button { border: 0; }
.form-status { margin: 14px 0 0; color: var(--terracotta-dark); font-size: 12px; font-weight: 600; }

.site-footer {
  padding: 58px max(24px, calc((100vw - 1180px) / 2)) 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 42px;
  align-items: center;
  color: var(--paper);
  background: #38271f;
}
.wordmark-footer span { color: var(--gold); }
.site-footer > p { margin: 0; color: rgba(255,255,255,.55); font-family: var(--body-serif); }
.site-footer nav { display: flex; gap: 18px; }
.site-footer nav a { color: rgba(255,255,255,.7); font-size: 10px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.site-footer small { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.38); font-size: 10px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto 1fr; gap: 18px; }
  .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
  }
  .menu-toggle span:not(.sr-only) { width: 20px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: calc(100svh - 86px);
    padding: 48px 24px;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    gap: 22px;
    color: var(--paper);
    background: var(--ink);
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav a { color: var(--paper); font-family: var(--serif); font-size: 22px; font-weight: 500; }
  .nav-dropdown { display: block; }
  .nav-dropdown__toggle {
    width: 100%;
    justify-content: space-between;
    color: var(--paper);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
  }
  .nav-dropdown__toggle span { color: var(--gold); }
  .nav-dropdown__menu {
    position: static;
    min-width: 0;
    margin: 14px 0 0 3px;
    padding: 4px 0 4px 18px;
    transform: none;
    border: 0;
    border-left: 1px solid rgba(250,249,246,.25);
    background: transparent;
    box-shadow: none;
  }
  .nav-dropdown__menu a {
    padding: 8px 0;
    color: rgba(250,249,246,.76);
    font-family: var(--sans);
    font-size: 13px;
  }
  .nav-dropdown__menu a:hover { color: var(--white); background: transparent; }
  .header-cta { justify-self: end; }
  .hero { grid-template-columns: 1fr .65fr; gap: 24px; }
  .hero-portrait { width: min(480px, 38vw); height: 64vh; }
  .design-person-card,
  .design-person-card img { min-height: 540px; }
  .row-heading { grid-template-columns: 1fr; gap: 24px; }
  .brand-intro-grid { grid-template-columns: 1fr 300px; gap: 50px; }
  .path-card { --path-card-inset: 28px; }
  .visualization-frame { grid-template-columns: 1fr; }
  .visualization-comparison { min-height: 500px; }
  .design-workspace__layout { grid-template-columns: 1fr; gap: 42px; }
  .design-workspace__copy { max-width: 650px; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li:nth-child(odd) { padding-left: 0; }
  .process-list li:nth-child(even) { padding-right: 0; border-right: 0; }
  .process-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .latest-offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .latest-offers-grid .property-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 12px); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card:last-child { grid-column: 1 / -1; }
  .about-grid { grid-template-columns: .8fr 1.2fr; gap: 50px; }
  .contact { grid-template-columns: 1fr; gap: 42px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer nav { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --container: min(100% - 36px, 560px); }
  .site-header { height: 72px; padding: 0 18px; grid-template-columns: auto auto; justify-content: space-between; }
  .menu-toggle { grid-column: 2; grid-row: 1; }
  .header-cta { display: none; }
  .main-nav { height: calc(100svh - 72px); }
  .hero {
    min-height: calc(100svh - 72px);
    padding: 54px 18px 0;
    display: flex;
    flex-direction: column;
    gap: 36px;
    align-items: stretch;
  }
  .hero-bg { background-position: 36% center; }
  .hero-scrim { background: linear-gradient(180deg, rgba(36,27,21,.93) 0%, rgba(36,27,21,.66) 64%, rgba(36,27,21,.38)); }
  .hero-copy { z-index: 3; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-lead { margin-top: 20px; font-size: 16px; }
  .hero-actions { margin-top: 25px; gap: 18px; }
  .hero-portrait { width: min(340px, 88vw); height: 450px; margin: 0 auto -10px; flex: none; }
  .design-person-card,
  .design-person-card img { min-height: 480px; }
  .design-person-card figcaption { left: 16px; right: 16px; bottom: 16px; padding: 18px; }
  .design-person-card figcaption strong { font-size: 21px; }
  .section { padding: 76px 0; }
  .section-heading h2,
  .visualization-copy h2,
  .about-copy h2,
  .contact-intro h2 { font-size: 34px; }
  .brand-intro-grid { margin-top: 40px; grid-template-columns: 1fr; gap: 40px; }
  .brand-seal { max-width: 280px; }
  .lead-serif { font-size: 18px; }
  .path-grid { margin-top: 38px; grid-template-columns: 1fr; }
  .path-card { min-height: 280px; border-right: 0; border-bottom: 1px solid var(--line); }
  .path-card:last-child { border-bottom: 0; }
  .path-number { margin-bottom: 36px; }
  .visualization-comparison { min-height: 390px; }
  .design-workspace__copy h2 { font-size: 34px; }
  .process-list { margin-top: 40px; grid-template-columns: 1fr; }
  .process-list li,
  .process-list li:not(:first-child) { min-height: auto; padding: 24px 0; border-right: 0; border-top: 1px solid var(--line); }
  .process-list span { margin-bottom: 24px; }
  .package-grid { margin-top: 38px; grid-template-columns: 1fr; }
  .package-card { min-height: 0; padding: 30px 24px; }
  .package-card-wide { grid-column: auto; grid-template-columns: 1fr; gap: 10px; border-left-width: 4px; }
  .package-card-wide__details ul { margin-top: 22px; }
  .portfolio-grid { margin-top: 38px; display: flex; flex-direction: column; }
  .portfolio-item, .portfolio-item-tall { height: 350px; }
  .latest-offers-heading { margin-top: 52px; align-items: flex-start; flex-direction: column; }
  .latest-offers-grid { grid-template-columns: 1fr; }
  .latest-offers-grid .property-card:last-child { grid-column: auto; max-width: none; }
  .property-media { height: 260px; }
  .property-body { padding: 24px 20px; }
  .property-body dl { gap: 0; }
  .property-body dl div { padding: 0 8px; }
  .property-footer { align-items: flex-start; flex-direction: column; }
  .blog-grid { margin-top: 36px; grid-template-columns: 1fr; }
  .blog-filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .blog-filters button { flex: none; }
  .post-card:last-child { grid-column: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-portrait { height: 500px; }
  .brand-row { align-items: flex-start; }
  .contact-form { padding: 26px 20px; }
  .choice-row,
  .field-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 48px 18px 24px; grid-template-columns: 1fr; gap: 24px; }
  .site-footer nav { grid-column: auto; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg { animation: none; }
  .hero-rotating-phrase { transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* === Strona główna 2026-10-02: zmiany wg dokumentu Edyty === */
.hero-lead > p { margin: 0; }
.hero-lead > p + p { margin-top: 12px; }
div.hero-lead { font-size: 17px; line-height: 1.65; }

.package-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.package-grid--three .package-card { min-height: 0; }
.package-grid--three .package-card h3 { margin: 0 0 10px; }
.package-grid--three .package-card ul { margin: 26px 0 30px; }
.package-grid--three .package-price { margin-top: auto; }
.package-grid--three .commission { margin-top: 6px; }

.price-list { margin-top: 24px; padding: clamp(28px, 3.5vw, 46px); color: var(--ink); background: var(--paper); }
.price-list__cols { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; align-items: start; }
.price-list ul { margin: 0; padding: 0; list-style: none; }
.price-list li { padding: 11px 0; display: flex; justify-content: space-between; gap: 18px; break-inside: avoid; border-bottom: 1px solid rgba(46,36,29,.18); }
.price-list li strong { flex: none; font-family: var(--body-serif); font-weight: 600; white-space: nowrap; }

.portfolio-grid .portfolio-item { grid-template: 100% / 100%; min-height: 0; }
.portfolio-grid .portfolio-item img { width: 100%; height: 100%; min-height: 0; }
@media (min-width: 981px) {
  .hero { grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr); }
  .hero-copy { max-width: 900px; }
}
.hero-copy h1 { max-width: 900px; font-size: clamp(36px, 3.5vw, 52px); line-height: 1.12; }

.brand-intro > .section-heading,
.packages > .section-heading:not(.row-heading) { max-width: none; }
.brand-intro > .section-heading h2 { max-width: 920px; }

.hero-proof { margin-top: 22px; padding-left: 14px; display: inline-block; max-width: 100%; border-left: 2px solid var(--gold); color: var(--white); font-family: var(--body-serif); font-size: 17px; font-style: italic; line-height: 1.5; text-decoration: none; }
.hero-proof span { margin-left: 6px; display: inline-block; font-style: normal; transition: transform .2s ease; }
.hero-proof:hover { color: var(--paper-2); }
.hero-proof:hover span { transform: translateX(4px); }
.hero-proof:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Karty „Z czym możesz do mnie przyjść?”: stałe miejsce na link z kreską pod tekstem */
.path-card { padding-bottom: calc(var(--path-card-inset) + 24px + 48px); }
.path-card p { margin-bottom: 0; }

/* Menu kotwicowe strony głównej */
main > section[id] { scroll-margin-top: 86px; }
.main-nav .main-nav__cta { display: none; }
@media (max-width: 700px) {
  main > section[id] { scroll-margin-top: 72px; }
  .main-nav .main-nav__cta { display: inline-block; align-self: flex-start; margin-top: 12px; padding: 13px 22px; color: var(--ink); background: var(--gold); font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
  .main-nav .main-nav__cta::after { display: none; }
}

/* Realizacje: układ zależy od liczby kafli (max 3 najnowsze) */
.portfolio-grid:has(> .portfolio-item:only-child) { grid-template-columns: 1fr; grid-template-rows: 520px; }
.portfolio-grid:has(> .portfolio-item:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 520px; }
.portfolio-grid > .portfolio-item:first-child:nth-last-child(3) { grid-row: 1 / 3; }

@media (max-width: 980px) {
  .package-grid--three { grid-template-columns: 1fr; }
  .price-list__cols { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  div.hero-lead { font-size: 16px; }
  .hero-copy h1 { font-size: clamp(28px, 7.6vw, 36px); }
  .price-list li { flex-direction: column; gap: 2px; }
}

/* Pływający przycisk „Zadzwoń do mnie” (2026-10-02, wariant E w złotym kolorze) */
.call-fab { position: fixed; right: 20px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.call-fab__label { padding: 9px 14px; border-radius: 18px; color: var(--ink); background: #fffaf2; box-shadow: 0 6px 18px rgba(56,39,31,.18); font-family: var(--sans); font-size: 12px; font-weight: 600; white-space: nowrap; }
.call-fab__circle { position: relative; width: 58px; height: 58px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); background: var(--gold); box-shadow: 0 10px 28px rgba(56,39,31,.28); transition: transform .2s ease, background .2s ease; }
.call-fab:hover .call-fab__circle { transform: translateY(-2px); background: #e0c48c; }
.call-fab:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 30px; }
body.menu-open .call-fab { display: none; }
.call-fab__circle svg { position: relative; z-index: 1; }
.call-fab__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #b8924d; animation: callFabPulse 2.6s ease-out infinite; pointer-events: none; }
.call-fab__pulse--late { animation-delay: 1.3s; }
@keyframes callFabPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .call-fab__pulse { animation: none; opacity: 0; } }
@media (min-width: 981px) { .call-fab { right: 28px; bottom: 28px; } }
@media print { .call-fab { display: none; } }

/* Pakiety – ceny „od”, oszczędność, notka (2026-10-02) */
.package-saving { margin: 8px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.package-card-accent .package-saving { color: var(--ink); }
.package-price--text { font-size: 24px; line-height: 1.25; }
.price-list li span small { display: block; margin-top: 3px; color: var(--terracotta-dark); font-size: 13px; line-height: 1.4; }
.price-list__note { margin: 22px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }

/* Hero bez rozciągania w wysokich oknach (Googlebot renderuje całą stronę jako jeden ekran) – 2026-10-02 */
.hero { min-height: min(calc(100svh - 86px), 900px); }
@media (max-width: 980px) {
  .hero-portrait { height: min(64vh, 620px); }
}
@media (max-width: 700px) {
  .hero { min-height: 0; }
  .hero-bg { inset: 0; animation: none; transform: none; }
  .hero-portrait { height: 450px; }
}

@media (max-width: 700px) { .hero-bg { background-image: url("/assets/opt/ciasna-02-po-800.webp"); } }

/* === Produkcja 2026-10-02 === */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form-status.is-error { color: #9b2c1c; }
.form-status.is-ok { color: var(--ink); font-weight: 600; }
.brand-seal img { height: auto; }
.contact-success { grid-column: 2; grid-row: 1; padding: 56px 46px; background: var(--paper); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.contact-success[hidden] { display: none; }
.contact-success:focus { outline: none; }
.contact-success__icon { width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); background: var(--gold); }
.contact-success h3 { margin: 0; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 32px); font-weight: 500; line-height: 1.15; }
.contact-success p { margin: 0; max-width: 440px; color: var(--ink-soft); font-family: var(--body-serif); font-size: 18px; line-height: 1.65; }
.contact-success .contact-success__summary { margin-top: 6px; padding: 14px 22px; border: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-family: var(--sans); font-size: 13px; }
.contact-success__summary strong { color: var(--ink); }
.contact-success__again { margin-top: 8px; padding: 0 0 4px; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--terracotta-dark); font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.contact-success__again:hover { color: var(--ink); }
@media (max-width: 980px) { .contact-success { grid-column: auto; grid-row: auto; } }
@media (max-width: 700px) { .contact-success { padding: 40px 22px; } .contact-success p { font-size: 16px; } }
/* Strony prawne */
.legal__inner { max-width: 820px; }
.legal h1 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; line-height: 1.15; }
.legal__date { margin: 0 0 40px; color: var(--ink-soft); font-size: 14px; }
.legal h2 { margin: 44px 0 16px; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; }
.legal__list { margin: 0; padding-left: 1.6em; color: var(--ink-soft); line-height: 1.75; }
.legal__list > li { margin-bottom: 14px; padding-left: 4px; }
.legal__list ol { margin: 10px 0 0; padding-left: 1.4em; }
.legal__list ol li { margin-bottom: 6px; }
.legal a { color: var(--terracotta-dark); }
