/* Domus Divitae Poland — propozycja B „Prestiż” */

/* ---------- Tokeny ---------- */
:root {
  --serif: 'Cormorant Garamond', 'Iowan Old Style', 'Times New Roman', serif;
  --sans: 'Jost', 'Avenir Next', system-ui, sans-serif;

  --bg: #0d1210;
  --bg-2: #111a15;
  --surface: #151f1a;
  --surface-2: #1a2620;
  --text: #efe8da;
  --muted: #b8b1a2;
  --faint: #938e82;
  --gold: #c5a059;
  --gold-text: #d4b06a;
  --gold-light: #e6c88b;
  --gold-soft: rgba(197, 160, 89, .34);
  --line: rgba(197, 160, 89, .22);
  --line-2: rgba(239, 232, 218, .14);
  --field: rgba(239, 232, 218, .04);
  --field-line: rgba(239, 232, 218, .26);
  --error: #f2a493;
  --error-line: #e07a66;
  --header-bg: rgba(13, 18, 16, .88);
  --focus: #e6c88b;
  --shadow: 0 40px 90px rgba(0, 0, 0, .5);
  --img-filter: brightness(.92) contrast(1.04);

  --gutter: clamp(18px, 4.5vw, 64px);
  --maxw: 1320px;
  --header-h: 84px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f6f1e7; --bg-2: #efe7d8; --surface: #fbf8f1; --surface-2: #f2ebdd;
    --text: #1c201e; --muted: #4c514c; --faint: #66655d;
    --gold: #b08d4a; --gold-text: #7a5c20; --gold-soft: rgba(122, 92, 32, .36);
    --line: rgba(122, 92, 32, .26); --line-2: rgba(28, 32, 30, .13);
    --field: #fffdf8; --field-line: rgba(28, 32, 30, .28);
    --error: #a3341f; --error-line: #b9472f;
    --header-bg: rgba(246, 241, 231, .92); --focus: #7a5c20;
    --shadow: 0 40px 90px rgba(60, 45, 20, .18); --img-filter: none;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f6f1e7; --bg-2: #efe7d8; --surface: #fbf8f1; --surface-2: #f2ebdd;
  --text: #1c201e; --muted: #4c514c; --faint: #66655d;
  --gold: #b08d4a; --gold-text: #7a5c20; --gold-soft: rgba(122, 92, 32, .36);
  --line: rgba(122, 92, 32, .26); --line-2: rgba(28, 32, 30, .13);
  --field: #fffdf8; --field-line: rgba(28, 32, 30, .28);
  --error: #a3341f; --error-line: #b9472f;
  --header-bg: rgba(246, 241, 231, .92); --focus: #7a5c20;
  --shadow: 0 40px 90px rgba(60, 45, 20, .18); --img-filter: none;
  color-scheme: light;
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 380 1.0625rem/1.72 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--gold-soft); text-underline-offset: .22em; }
a:hover { color: var(--gold-text); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -.01em; }
h1 em, h2 em, h3 em, .answer em, blockquote em { font-style: italic; color: var(--gold-text); font-weight: 300; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--gold); color: #0d1210; }

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

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--gold); color: #0d1210; padding: 12px 18px; font-weight: 500; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-fill { fill: currentColor; stroke: none; }

html:not(.js) .js-only { display: none !important; }

/* ---------- Typografia sekcji ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 1.4rem;
  font: 500 .74rem/1.3 var(--sans); letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .8; flex: none; }

.section { padding-block: clamp(88px, 11vw, 168px); position: relative; }
.section-head { max-width: 54rem; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head h2 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); line-height: 1.04; }
.section-head p:not(.eyebrow) { margin-top: 1.4rem; color: var(--muted); max-width: 38rem; }
.section-head-center { text-align: center; margin-inline: auto; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-center .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .8; }
.muted { color: var(--muted); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: 0 1.7rem;
  font: 500 .76rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: 0;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s;
  background: none;
}
.btn .icon { width: 18px; height: 18px; transition: transform .3s; }
.btn:hover .icon { transform: translateX(4px); }
.btn-sm { min-height: 44px; padding: 0 1.15rem; font-size: .7rem; }
.btn-gold { background: var(--gold); color: #0d1210; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: #0d1210; }
.btn-outline { border-color: var(--gold-soft); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-text); }
.btn-ghost { border-color: rgba(243, 236, 223, .5); color: #f3ecdf; }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: .22em; color: inherit; min-height: 24px; }
.link-btn:hover { color: var(--gold-text); }

/* ---------- Nagłówek ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: #f3ecdf;
  transition: background-color .4s, color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid, html:not(.js) .site-header {
  background: var(--header-bg);
  color: var(--text);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; min-height: 44px; }
.brand-logo { width: 54px; height: 54px; }
.brand-name {
  display: flex; flex-direction: column;
  font: 500 1.02rem/1.05 var(--serif); letter-spacing: .2em; text-transform: uppercase;
}
.brand-name span { font: 500 .6rem/1.6 var(--sans); letter-spacing: .5em; color: var(--gold-text); }
.site-header:not(.is-solid) .brand-name span { color: var(--gold-light); }

.main-nav ul { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.main-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font: 500 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.main-nav a:hover, .main-nav a[aria-current="true"] { color: var(--gold-text); }
.site-header:not(.is-solid) .main-nav a:hover, .site-header:not(.is-solid) .main-nav a[aria-current="true"] { color: var(--gold-light); }
.main-nav a:hover::after, .main-nav a[aria-current="true"]::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 12px; }
.site-header:not(.is-solid) .btn-outline { border-color: rgba(243, 236, 223, .45); color: #f3ecdf; }
.site-header:not(.is-solid) .btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.header-call .icon { width: 16px; height: 16px; }

.theme-switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; }
.site-header:not(.is-solid) .theme-switch { border-color: rgba(243, 236, 223, .3); }
.theme-switch button {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 999px; background: none; color: inherit; opacity: .78;
  transition: background-color .25s, color .25s, opacity .25s;
}
.theme-switch button .icon { width: 17px; height: 17px; }
.theme-switch button:hover { opacity: 1; }
.theme-switch button[aria-pressed="true"] { background: var(--gold-soft); color: var(--gold-text); opacity: 1; }
.site-header:not(.is-solid) .theme-switch button[aria-pressed="true"] { background: rgba(197, 160, 89, .3); color: var(--gold-light); }

.menu-toggle {
  display: none; width: 48px; height: 48px; place-items: center;
  border: 1px solid var(--gold-soft); background: none; color: inherit;
}
.site-header:not(.is-solid) .menu-toggle { border-color: rgba(243, 236, 223, .45); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--bg); color: var(--text);
  padding: 28px var(--gutter) 40px;
  overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ol li { border-bottom: 1px solid var(--line); }
.mobile-menu ol a {
  display: flex; align-items: baseline; gap: 18px; padding: 14px 0; min-height: 48px;
  font: 300 clamp(1.9rem, 8vw, 2.6rem)/1.1 var(--serif); text-decoration: none;
}
.mobile-menu ol a span { width: 2.4rem; font: italic 400 1rem/1 var(--serif); color: var(--gold-text); }
.mobile-menu-foot { display: grid; gap: 16px; }
.mobile-menu-foot p { margin: 0; color: var(--muted); font-size: .92rem; }
.theme-switch-wide { width: 100%; justify-content: space-between; }
.theme-switch-wide button { width: auto; flex: 1; gap: 8px; display: inline-flex; justify-content: center; align-items: center; font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; height: 44px; }
html.menu-open { overflow: hidden; }

@media (max-width: 1179px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
}
@media (max-width: 899px) {
  .header-tools > .theme-switch { display: none; }
}
@media (max-width: 639px) {
  :root { --header-h: 72px; }
  .header-call { display: none; }
  .brand-logo { width: 46px; height: 46px; }
  .brand-name { font-size: .92rem; letter-spacing: .16em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #f3ecdf;
  --gold-text: #e3c27f;
  background: #0b0f0d;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: #0b0f0d url("/img/film-kadr-1920.webp") center / cover no-repeat; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 11, 10, .86) 0%, rgba(8, 11, 10, .55) 45%, rgba(8, 11, 10, .2) 100%),
    linear-gradient(180deg, rgba(8, 11, 10, .62) 0%, rgba(8, 11, 10, 0) 26%, rgba(8, 11, 10, .2) 60%, rgba(8, 11, 10, .94) 100%);
}
.hero-inner { padding-top: calc(var(--header-h) + 72px); padding-bottom: clamp(150px, 18vh, 200px); }
.hero-copy { max-width: 64rem; }
.eyebrow-hero { color: var(--gold-text); }
.hero h1 {
  font-size: clamp(2.7rem, 7.4vw, 7.2rem);
  line-height: .98; font-weight: 300; letter-spacing: -.018em;
  text-wrap: balance;
  max-width: 14ch;
}
.hero h1 em { color: #e3c27f; }
.hero-lead { margin: 2rem 0 2.4rem; max-width: 34rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #e2dbcc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-bar { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(197, 160, 89, .32); }
.hero-bar-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 92px; }
.hero-services { margin: 0; font: 500 .7rem/1.6 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: #d9d1c1; }
.hero-services span { color: var(--gold-text); font-size: .5rem; margin: 0 .7em; vertical-align: .2em; }
.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none;
  font: 500 .64rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: #d9d1c1;
  min-height: 44px; padding-top: 4px;
}
.scroll-cue i { position: relative; width: 1px; height: 40px; background: rgba(197, 160, 89, .3); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold-light); animation: cue 2.4s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes cue { to { top: 100%; } }
.hero-bar-end { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.hero-phone { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; font: 400 1.25rem/1.15 var(--serif); letter-spacing: .04em; color: #f3ecdf; }
.hero-phone small { font: 500 .62rem/1.6 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: #bdb6a7; }
.video-toggle {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px;
  border: 1px solid rgba(243, 236, 223, .4); background: rgba(8, 11, 10, .3); color: #f3ecdf;
}
.video-toggle:hover { border-color: var(--gold-light); color: var(--gold-light); }
.video-toggle .icon { width: 16px; height: 16px; }
.video-toggle .i-play { display: none; }
.video-toggle.is-paused .i-play { display: block; fill: currentColor; }
.video-toggle.is-paused .i-pause { display: none; }

@media (max-width: 899px) {
  .hero-bar-inner { grid-template-columns: 1fr auto; min-height: 76px; }
  .hero-services { display: none; }
  .scroll-cue { justify-self: start; flex-direction: row; }
  .scroll-cue i { width: 40px; height: 1px; }
  .scroll-cue i::after { top: 0; left: -40%; width: 40%; height: 1px; animation-name: cue-x; }
  @keyframes cue-x { to { left: 100%; } }
}
@media (max-width: 639px) {
  .hero-inner { padding-bottom: 120px; padding-top: calc(var(--header-h) + 48px); }
  .hero-phone { display: none; }
  .hero h1 { font-size: clamp(2.45rem, 11.4vw, 3.4rem); line-height: 1.02; }
  .hero-lead { margin: 1.5rem 0 1.8rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Pojawianie się ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue i::after { animation: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
html.is-capture .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
html.is-capture .cookie-banner { display: none !important; }

/* ---------- O nas ---------- */
.answer {
  max-width: 60rem; margin: 0 0 clamp(64px, 9vw, 136px);
  font: 300 clamp(1.65rem, 3.1vw, 2.75rem)/1.22 var(--serif); letter-spacing: -.005em;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-figure { margin: 0; }
.arch { position: relative; padding: 14px; }
.arch::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--gold-soft); border-radius: 999px 999px 0 0; }
.arch img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 0 0; filter: var(--img-filter); }
.about-figure figcaption { margin-top: 18px; font: 500 .68rem/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--faint); }
.about-copy h2 { font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1.04; margin-bottom: 1.8rem; }
.lead-italic { font: italic 400 clamp(1.3rem, 1.9vw, 1.6rem)/1.4 var(--serif); color: var(--gold-text); margin-bottom: 1.4rem; }
.about-copy > p:not(.eyebrow):not(.lead-italic) { color: var(--muted); }
.values { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2.6rem; border-top: 1px solid var(--line); }
.values li {
  display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line);
  font: 400 clamp(1.25rem, 1.7vw, 1.5rem)/1.2 var(--serif);
}
.values li:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line); }
.values li:nth-child(even) { padding-left: 22px; }
.values-num { width: 1.8rem; font: italic 400 .95rem/1 var(--serif); color: var(--gold-text); }

@media (max-width: 899px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-figure { max-width: 460px; }
}
@media (max-width: 479px) {
  .values { grid-template-columns: 1fr; }
  .values li:nth-child(odd) { border-right: 0; padding-right: 0; }
  .values li:nth-child(even) { padding-left: 0; }
}

/* ---------- Atmosfera ---------- */
.atmosphere { padding-bottom: clamp(72px, 9vw, 128px); }
.atmosphere-track { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 10px; height: clamp(220px, 30vw, 470px); }
.atmo { margin: 0; overflow: hidden; position: relative; }
.atmo img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter) saturate(.9); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.atmo:hover img { transform: scale(1.04); }
.atmo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 11, 10, .35)); pointer-events: none; }
.atmosphere-quote { margin: clamp(48px, 6vw, 88px) auto 0; padding: 0 var(--gutter); text-align: center; max-width: 60rem; }
.atmosphere-quote .portico { width: 72px; height: 54px; margin: 0 auto 26px; fill: none; stroke: var(--gold); stroke-width: 1; }
.atmosphere-quote p { margin: 0; font: 300 clamp(2rem, 4.6vw, 4rem)/1.08 var(--serif); letter-spacing: -.01em; }
@media (max-width: 719px) {
  .atmosphere-track { grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr 1fr; height: 420px; }
  .atmo-1 { grid-column: 1 / -1; }
}

/* ---------- Usługi ---------- */
.services { border-top: 1px solid var(--line-2); }
.services-layout { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 104px); align-items: start; }
.service-list { counter-reset: none; border-top: 1px solid var(--line); }
.service {
  position: relative;
  display: grid; grid-template-columns: 5.2rem 1fr auto; align-items: center; gap: 8px 20px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  transition: background-color .4s;
}
.service::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.service.is-active::before { transform: scaleX(1); }
.service-thumb { display: none; }
.service-num { font: 300 2.7rem/1 var(--serif); color: var(--gold-text); transition: transform .4s; }
.service.is-active .service-num { font-style: italic; }
.service-body h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.15; font-weight: 400; transition: transform .4s; }
.service.is-active .service-body h3 { transform: translateX(6px); }
.service-body p { margin: .45rem 0 0; color: var(--muted); font-size: .98rem; }
.service-more {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px 0 14px;
  border: 0; background: none; color: var(--gold-text);
  font: 500 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
}
.service-more .icon { width: 18px; height: 18px; transition: transform .3s; }
.service-more:hover .icon, .service.is-active .service-more .icon { transform: translateX(5px); }

.service-stage { position: sticky; top: calc(var(--header-h) + 36px); }
.stage-frame { position: relative; aspect-ratio: 4 / 5; padding: 14px; }
.stage-frame::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--gold-soft); z-index: 1; pointer-events: none; }
.stage-frame img {
  position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: cover;
  opacity: 0; transform: scale(1.04); transition: opacity .8s ease, transform 1.4s cubic-bezier(.2, .7, .2, 1);
  filter: var(--img-filter);
}
.stage-frame img.is-active { opacity: 1; transform: none; }
.stage-num {
  position: absolute; left: 34px; bottom: 22px; z-index: 2;
  font: italic 300 clamp(4rem, 7vw, 6.5rem)/1 var(--serif); color: #f3ecdf; text-shadow: 0 6px 30px rgba(0, 0, 0, .55);
}
.stage-caption { display: flex; align-items: center; gap: 14px; margin: 20px 0 0; font: 500 .68rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--faint); }
.stage-caption .portico { width: 34px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.2; }

@media (max-width: 959px) {
  .services-layout { grid-template-columns: minmax(0, 1fr); }
  .service.is-active .service-body h3 { transform: none; }
  .service-stage { display: none; }
  .service { grid-template-columns: 92px 1fr; grid-template-areas: "thumb num" "thumb body" "thumb more"; align-items: start; gap: 4px 18px; padding: 22px 0; }
  .service-thumb { display: block; grid-area: thumb; width: 92px; height: 118px; object-fit: cover; filter: var(--img-filter); }
  .service-num { grid-area: num; font-size: 1.35rem; font-style: italic; }
  .service-body { grid-area: body; }
  .service-more { grid-area: more; justify-self: start; padding-left: 0; }
}
@media (max-width: 379px) {
  .service { grid-template-columns: 72px 1fr; }
  .service-thumb { width: 72px; height: 96px; }
}

/* ---------- Okna dialogowe usług ---------- */
.service-dialog {
  width: min(1060px, 100% - 32px); max-width: none; max-height: min(90vh, 880px);
  padding: 0; border: 1px solid var(--gold-soft); background: var(--surface); color: var(--text);
  box-shadow: var(--shadow); overflow: hidden;
}
.service-dialog .dlg-grid { max-height: min(90vh, 880px); overflow: auto; overscroll-behavior: contain; }
.service-dialog::backdrop { background: rgba(4, 6, 5, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.service-dialog[open] { animation: dlg-in .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(18px); } }
.dlg-grid { display: grid; grid-template-columns: 5fr 7fr; min-height: 100%; }
.dlg-media { position: relative; min-height: 320px; }
.dlg-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }
.dlg-body { padding: clamp(28px, 4.5vw, 64px); }
.dlg-body h3 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; margin-bottom: 1.4rem; }
.dlg-body h4 { margin: 1.8rem 0 .6rem; font: 500 .74rem/1.3 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-text); }
.dlg-body > p:not(.eyebrow) { color: var(--muted); }
.dlg-body .dlg-cta-note { font: italic 400 1.3rem/1.4 var(--serif); color: var(--text); margin-top: 1.6rem; }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.dlg-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--gold-soft); background: var(--surface); color: var(--text); border-radius: 999px;
}
.dlg-close:hover { color: var(--gold-text); border-color: var(--gold); }
.dlg-wide { width: min(940px, 100% - 32px); }
.dlg-wide .dlg-grid { grid-template-columns: 1fr; }
.dlg-wide .dlg-media { min-height: 0; height: clamp(240px, 34vh, 360px); }
.dlg-wide .dlg-media img { object-position: 50% 40%; }
.dlg-wide .dlg-body { padding-top: clamp(28px, 4vw, 48px); }
@media (min-width: 760px) { .dlg-wide .dlg-body { columns: 1; } }
@media (max-width: 759px) {
  .dlg-grid { grid-template-columns: 1fr; }
  .dlg-media { min-height: 0; height: 230px; }
  .dlg-actions .btn { flex: 1 1 100%; }
}

/* ---------- Jak działamy ---------- */
.process { background: var(--bg-2); border-top: 1px solid var(--line-2); }
.portico { width: min(100%, 1180px); margin: clamp(8px, 2vw, 24px) auto 0; }
.portico svg { display: block; width: 100%; height: auto; overflow: visible; }
.portico .draw path, .portico .draw circle { fill: none; stroke: var(--gold); stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.portico .draw .thin { stroke: var(--gold-soft); stroke-width: 1; }
.portico text { fill: var(--gold-text); font-family: var(--sans); font-weight: 500; }
.portico .p-band { font-size: 11px; letter-spacing: 5px; }
.portico .p-num { font-family: var(--serif); font-size: 15px; letter-spacing: 1px; }
.portico .p-num text { font-family: var(--serif); font-weight: 400; }
.portico .p-label { font-size: 13px; letter-spacing: 4.5px; }
/* rysowanie linią przy pojawieniu się */
html.js .portico.reveal { opacity: 1; transform: none; }
html.js .portico .draw > path, html.js .portico .draw > circle, html.js .portico .col path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s cubic-bezier(.45, .05, .25, 1); }
html.js .portico .col path { transition-delay: var(--d, .4s); }
html.js .portico text { opacity: 0; transition: opacity 1.2s ease 1.6s; }
html.js .portico.is-in .draw > path, html.js .portico.is-in .draw > circle, html.js .portico.is-in .col path { stroke-dashoffset: 0; }
html.js .portico.is-in text { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html.js .portico .draw > path, html.js .portico .draw > circle, html.js .portico .col path { stroke-dasharray: none; transition: none; }
  html.js .portico text { opacity: 1; transition: none; }
}
html.is-capture .portico .draw > path, html.is-capture .portico .draw > circle, html.is-capture .portico .col path { stroke-dasharray: none !important; transition: none !important; }
html.is-capture .portico text { opacity: 1 !important; transition: none !important; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(14px, 2vw, 28px); width: min(100%, 1180px); margin: clamp(18px, 2.4vw, 30px) auto 0; }
.pillar { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 4%; }
.pillar-num { margin: 0 0 14px; font: 500 .68rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-text); }
.pillar h3 { font-size: clamp(1.4rem, 1.9vw, 1.8rem); line-height: 1.12; font-weight: 400; margin-bottom: .8rem; }
.pillar p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 959px) {
  .portico .p-label, .portico .p-band { display: none; }
  .portico .p-num { font-size: 26px; }
  .pillars { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}
@media (max-width: 559px) {
  .pillars { grid-template-columns: 1fr; row-gap: 30px; }
  .pillar { padding: 0 6%; }
}

/* ---------- Zespół ---------- */
.team { border-top: 1px solid var(--line-2); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.person-alt { margin-top: clamp(0px, 12vw, 180px); }
.person-media { position: relative; margin-bottom: 72px; }
.person-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: var(--img-filter); }
.person-inset {
  position: absolute; right: -18px; bottom: -56px; width: 38%; aspect-ratio: 3 / 4; object-fit: cover;
  border: 8px solid var(--bg); box-shadow: var(--shadow); filter: var(--img-filter);
}
.person-alt .person-inset { aspect-ratio: 1; right: auto; left: -18px; }
.person-index { position: absolute; top: 18px; left: 24px; font: italic 300 4.6rem/1 var(--serif); color: #f3ecdf; text-shadow: 0 6px 26px rgba(0, 0, 0, .5); }
.person-alt .person-index { left: auto; right: 24px; }
.person-copy h3 { font-size: clamp(2.4rem, 3.8vw, 3.6rem); line-height: 1; margin-bottom: 1.4rem; }
.person-copy > p:not(.eyebrow) { color: var(--muted); max-width: 34rem; }
.person-copy .eyebrow { margin-bottom: 1rem; }
.link-line {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: .6rem;
  font: 500 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  color: var(--gold-text); border-bottom: 1px solid var(--gold-soft);
}
.link-line:hover { border-bottom-color: var(--gold); }
.link-line .icon { width: 17px; height: 17px; }
@media (max-width: 899px) {
  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .person-alt { margin-top: 24px; }
  .person-inset { right: 12px; }
  .person-alt .person-inset { left: 12px; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); border-top: 1px solid var(--line-2); }
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 36px); margin-bottom: 0; }
.faq-head p a { color: var(--gold-text); white-space: nowrap; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: grid; grid-template-columns: 3rem 1fr 28px; align-items: center; gap: 12px;
  padding: 24px 0; min-height: 44px; cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa-num { font: italic 400 1.15rem/1 var(--serif); color: var(--gold-text); }
.qa-q { font: 400 clamp(1.25rem, 1.8vw, 1.55rem)/1.25 var(--serif); transition: color .3s; }
.qa summary:hover .qa-q { color: var(--gold-text); }
.qa-icon { position: relative; width: 28px; height: 28px; border: 1px solid var(--gold-soft); border-radius: 999px; }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: var(--gold-text); transform: translate(-50%, -50%); transition: transform .35s; }
.qa-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa-a { padding: 0 40px 26px calc(3rem + 12px); color: var(--muted); }
.qa-a p { margin: 0; }
@media (max-width: 899px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; margin-bottom: 8px; }
}
@media (max-width: 479px) {
  .qa summary { grid-template-columns: 2.1rem 1fr 28px; }
  .qa-a { padding: 0 0 22px calc(2.1rem + 12px); }
}

/* ---------- Kontakt ---------- */
.contact { border-top: 1px solid var(--line-2); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 104px); align-items: start; }
.contact-copy h2 { font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1.04; margin-bottom: 1.6rem; }
.contact-copy > p:not(.eyebrow) { max-width: 32rem; }
.contact-list { margin-top: 2.4rem; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { width: 46px; height: 46px; padding: 12px; border: 1px solid var(--gold-soft); border-radius: 999px; color: var(--gold-text); }
.contact-label { display: block; font: 500 .66rem/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 4px; }
.contact-list a:not(small a), .contact-list address { font: 400 1.4rem/1.3 var(--serif); text-decoration: none; }
.contact-list small { display: block; margin-top: 4px; font-size: .88rem; color: var(--muted); }
.contact-list small a { color: var(--gold-text); }

.form-card { position: relative; background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 4vw, 56px); box-shadow: var(--shadow); }
.form-card::before, .form-card::after { content: ""; position: absolute; width: 28px; height: 28px; border: 1px solid var(--gold); pointer-events: none; }
.form-card::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.form-card::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.form-progress { display: grid; gap: 12px; margin-bottom: 28px; }
html:not(.js) .form-progress { display: none; }
.form-step-label { font: 500 .68rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.form-step-label b { color: var(--gold-text); font-weight: 500; }
.form-step-label i { font-style: normal; }
.form-bar { display: block; height: 1px; background: var(--line-2); position: relative; }
.form-bar span { position: absolute; left: 0; top: -0.5px; height: 2px; width: 50%; background: var(--gold); transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.lead-form[data-step="2"] .form-bar span { width: 100%; }

.step { border: 0; margin: 0; padding: 0; min-width: 0; }
html.js .lead-form[data-step="1"] .step-2, html.js .lead-form[data-step="2"] .step-1 { display: none; }
html:not(.js) .step-2 { margin-top: 32px; }
legend { padding: 0; margin-bottom: 22px; }
.legend-title { display: block; font: 300 clamp(1.9rem, 3vw, 2.5rem)/1.1 var(--serif); }
.legend-sub { display: block; margin-top: 8px; color: var(--muted); font-size: .95rem; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: 108px; padding: 16px 16px 18px; border: 1px solid var(--line-2); background: var(--field);
  cursor: pointer; transition: border-color .25s, background-color .25s;
}
.tile:hover { border-color: var(--gold-soft); }
.tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tile-num { font: italic 400 1.35rem/1 var(--serif); color: var(--gold-text); }
.tile-name { font: 500 .95rem/1.3 var(--sans); }
.tile::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 999px;
  border: 1px solid var(--gold-soft); transition: background-color .25s, box-shadow .25s;
}
.tile:has(input:checked) { border-color: var(--gold); background: rgba(197, 160, 89, .12); }
.tile:has(input:checked)::after { background: var(--gold); box-shadow: inset 0 0 0 4px var(--surface); }
.tile:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile-name { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 559px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile { min-height: 96px; } }
@media (max-width: 419px) {
  .tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tile { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; min-height: 58px; padding: 12px 48px 12px 16px; }
  .tile-num { width: 2.4rem; flex: none; }
  .tile::after { top: 50%; transform: translateY(-50%); }
}

.chosen { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.chosen strong { font: italic 400 1.35rem/1.2 var(--serif); color: var(--gold-text); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label:not(.check) { font: 500 .7rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.req { color: var(--gold-text); }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%; min-height: 52px; padding: 13px 15px;
  font: 400 1rem/1.4 var(--sans); color: var(--text);
  background: var(--field); border: 1px solid var(--field-line); border-radius: 0;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.field [aria-invalid="true"] { border-color: var(--error-line) !important; }
.field-error { margin: 0; color: var(--error); font-size: .86rem; }
.step-1 > .field-error { margin-top: 12px; }
.sales-only { display: none; }
.lead-form:has(#u-sprzedaz:checked) .sales-only { display: grid; }
.msg-sales { display: none; }
.lead-form:has(#u-sprzedaz:checked) .msg-sales { display: inline; }
.lead-form:has(#u-sprzedaz:checked) .msg-default { display: none; }
.consent { margin-top: 4px; }
.check { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; font-size: .95rem; line-height: 1.5; min-height: 44px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--gold); }
.form-note { margin: 4px 0 0; font-size: .84rem; color: var(--muted); }
.form-note a { color: var(--gold-text); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.step-1 .form-nav { justify-content: flex-end; }
@media (max-width: 559px) {
  .fields { grid-template-columns: 1fr; }
  .form-nav .btn { flex: 1 1 100%; }
}
.form-success { text-align: center; padding: clamp(24px, 4vw, 48px) 0; }
.form-success:focus { outline: none; }
.success-mark { display: inline-grid; place-items: center; width: 72px; height: 72px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-text); margin-bottom: 22px; }
.success-mark .icon { width: 28px; height: 28px; }
.form-success h3 { font-size: clamp(2.4rem, 4vw, 3.2rem); margin-bottom: .8rem; }
.form-success p { color: var(--muted); }
.form-success .btn { margin-top: 1rem; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-list a { overflow-wrap: anywhere; }
@media (max-width: 379px) { .contact-list a:not(small a), .contact-list address { font-size: 1.22rem; } }

/* ---------- Stopka (zawsze ciemna) ---------- */
.site-footer {
  --text: #ebe4d5; --muted: #aba596; --gold-text: #d4b06a; --gold-soft: rgba(197, 160, 89, .34); --line: rgba(197, 160, 89, .2);
  background: #090d0b; color: var(--text); font-size: .95rem;
}
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(32px, 4vw, 64px); padding-block: clamp(72px, 8vw, 112px) 56px; }
.footer-brand img { width: 112px; height: 112px; margin-bottom: 18px; }
.footer-claim { font: italic 300 1.9rem/1.15 var(--serif); margin-bottom: .6rem; }
.footer-sub { color: var(--muted); max-width: 22rem; }
.footer-h { font: 500 .7rem/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 1.2rem; }
.footer-col address, .footer-col p { color: var(--text); margin-bottom: 1rem; }
.footer-col .muted { color: var(--muted); }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--gold-text); }
.footer-links li a { display: inline-flex; align-items: center; min-height: 36px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 1.4rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--gold-soft); border-radius: 999px; color: var(--text); }
.socials a:hover { border-color: var(--gold); color: var(--gold-text); }
.socials .icon { width: 18px; height: 18px; }
.legal { font-size: .84rem; color: var(--muted) !important; line-height: 1.8; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  padding-block: 26px calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal a, .footer-legal .link-btn { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); text-decoration: none; font-size: .82rem; }
.footer-legal a:hover, .footer-legal .link-btn:hover { color: var(--gold-text); }
.credit a { color: var(--gold-text); text-decoration: none; font-weight: 500; }
@media (max-width: 959px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 519px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Cookies ---------- */
.cookie-banner {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: min(460px, 100% - 40px);
  padding: 22px 22px 20px; background: var(--surface); color: var(--text);
  border: 1px solid var(--gold-soft); box-shadow: var(--shadow); font-size: .9rem; line-height: 1.55;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 16px; color: var(--muted); }
.cookie-banner strong { color: var(--text); font-weight: 500; }
.cookie-banner a { color: var(--gold-text); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions .btn { letter-spacing: .14em; padding: 0 .8rem; }

/* ---------- Pasek mobilny ---------- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .hero { min-height: calc(100vh - 60px); min-height: calc(100svh - 60px - env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 48;
    display: grid; grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--header-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px;
    font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--text);
  }
  .mobile-bar a:first-child { background: var(--gold); color: #0d1210; }
  .mobile-bar .icon { width: 18px; height: 18px; }
  .cookie-banner { left: 12px; right: 12px; width: auto; bottom: calc(72px + env(safe-area-inset-bottom)); }
  html.menu-open .mobile-bar { display: none; }
}

@media print { .site-header, .mobile-bar, .cookie-banner, .hero-media, .hero-shade { display: none !important; } }

/* podpis wykonawcy: logo C3S + czujowski.pl */
.made-by { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.made-by__c3s { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: inherit; }
.c3s-logo { display: block; width: 44px; height: 22px; transition: color .2s ease; }
.made-by__c3s:hover, .made-by__c3s:focus-visible { color: var(--made-by-hover, #c5a059); }


/* =====================================================================
   WERSJA 5: spokojniejsza typografia (uwaga klienta: „za dużo się dzieje z czcionkami”)
   Zasady: Cormorant tylko w nagłówkach (waga 500, bez kursywy), cała reszta w Jost;
   jeden styl etykiet; menu, przyciski i linki zwykłą pisownią; brak złotych wtrąceń.
   ===================================================================== */
:root { --label: 500 .74rem/1.4 var(--sans); --label-ls: .12em; --ui: 500 .95rem/1.2 var(--sans); }
body { font-weight: 400; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.005em; }
h1 em, h2 em, h3 em, .answer em, blockquote em { font-style: normal; font-weight: inherit; color: var(--gold-text); }
.atmosphere-quote em { font-style: normal; color: var(--gold-text); }
.hero h1 { font-weight: 500; letter-spacing: -.01em; font-size: clamp(2.6rem, 5.6vw, 5.2rem); max-width: 16ch; }
@media (max-width: 559px) { .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3.1rem); } }

/* jeden styl etykiet */
.eyebrow, .hero-services, .hero-phone small, .about-figure figcaption, .stage-caption, .dlg-body h4,
.pillar-num, .contact-label, .form-step-label, .field label:not(.check), .footer-h, .scroll-cue {
  font: var(--label); letter-spacing: var(--label-ls); text-transform: uppercase;
}
.hero-services span { font-size: .6rem; }

/* menu, przyciski, linki: zwykła pisownia */
.main-nav a, .btn, .btn-sm, .service-more, .link-line, .theme-switch-wide button, .mobile-bar a {
  font: var(--ui); letter-spacing: .01em; text-transform: none;
}
.btn-sm { font-size: .88rem; }
.cookie-actions .btn { letter-spacing: .01em; }
.brand-name { letter-spacing: .12em; }
.brand-name span { letter-spacing: .3em; }

/* bez kursywy, cyfry i drobne elementy w Jost */
.lead-italic { font: 400 clamp(1.08rem, 1.3vw, 1.2rem)/1.65 var(--sans); color: var(--muted); }
.values li { font: 500 1.05rem/1.35 var(--sans); }
.values-num, .qa-num, .tile-num, .mobile-menu ol a span { font: 500 .8rem/1 var(--sans); font-style: normal; letter-spacing: .06em; }
.service-num { font: 500 1rem/1 var(--sans); font-style: normal; letter-spacing: .06em; }
.service.is-active .service-num { font-style: normal; }
.stage-num { font: 500 clamp(2.4rem, 4vw, 3.6rem)/1 var(--serif); font-style: normal; }
.person-index { font: 500 2.6rem/1 var(--serif); font-style: normal; }
.answer { font: 400 clamp(1.2rem, 1.9vw, 1.55rem)/1.55 var(--sans); letter-spacing: 0; }
.atmosphere-quote p { font-weight: 500; font-style: normal; }
.mobile-menu ol a { font-weight: 500; }
.qa-q { font: 500 1.08rem/1.4 var(--sans); }
.contact-list a:not(small a), .contact-list address { font: 500 1.15rem/1.4 var(--sans); }
.hero-phone { font: 500 1.15rem/1.2 var(--sans); letter-spacing: .02em; }
.legend-title { font-weight: 500; }
.chosen strong { font: 600 1.05rem/1.3 var(--sans); font-style: normal; }
.dlg-body .dlg-cta-note { font: 400 1.05rem/1.6 var(--sans); font-style: normal; color: var(--muted); }
.footer-claim { font: 500 1.6rem/1.2 var(--serif); font-style: normal; }

/* portyk: spokojniejsze podpisy */
.portico .p-band { letter-spacing: 3px; }
.portico .p-label { letter-spacing: 2.5px; }

/* ---------- Produkcja: formularz e-mail ---------- */
.form-mail-note { margin: 18px 0 0; }
.form-success-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 1.2rem; }
.form-success-actions .btn { margin-top: 0; }
.form-success .copy-status:empty { display: none; }
.form-success .copy-status { margin-top: .8rem; }
.form-success > .link-btn { margin-top: 1.4rem; }

/* ---------- Podstrony: polityki, 404 ---------- */
.subpage { padding: calc(var(--header-h) + clamp(40px, 7vw, 88px)) 0 clamp(64px, 9vw, 120px); }
.subpage .container { max-width: 820px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 28px; padding: 0; list-style: none; font: var(--label); letter-spacing: var(--label-ls); text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--gold-text); }
.crumbs a { color: inherit; text-underline-offset: .25em; }
.crumbs a:hover { color: var(--gold-text); }
.subpage h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; margin-bottom: 14px; }
.subpage .updated { margin: 0 0 40px; color: var(--muted); font-size: .95rem; }
.subpage .lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); margin: 0 0 32px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.2; margin: 44px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--gold-text); }
.prose a { color: var(--gold-text); text-underline-offset: .2em; }
.prose strong { font-weight: 500; }
.prose .note-box { margin: 18px 0; padding: 18px 22px; border-left: 2px solid var(--gold); background: var(--surface); }
.prose .note-box p:last-child, .prose .note-box ul:last-child { margin-bottom: 0; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
