/* =====================================================================
   2. Pracownia Projektowa
   Projekt z Canvy (logo-hero, karuzela, terakotowa konsultacja, lista „+”,
   łuk, ramka kontaktu, gradientowe linie) + rytm i czytelność
   landing page w stylu rakinteriordesign.pl (etapy, opinie, FAQ, stopka).
   ===================================================================== */
:root {
  --bg: #fcfaf7;
  --white: #ffffff;
  --dark: #252220;
  --ink: #1f1b18;
  --text: #635b55;
  --muted: #958b83;
  --line: #e4ddd5;
  --accent: #a4502e;
  --eyebrow: #9b5b3f;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --script: "Mrs Saint Delafield", cursive;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
*, *::before, *::after { font-variant-numeric: lining-nums !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 300 15.5px/1.75 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.18; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1100px, 100% - 48px); margin-inline: auto; }
.wrap--narrow { width: min(720px, 100% - 48px); }

/* ---------- typografia (Canva: pogrubiony serif, terakotowa etykieta) ---------- */
.head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.eyebrow { display: block; margin-bottom: 16px; font-size: 10.5px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--eyebrow); }
.eyebrow--line::before { content: ""; display: block; width: 36px; height: 1.5px; margin: 0 auto 20px; background: var(--eyebrow); }
.title { font-size: clamp(30px, 3.3vw, 42px); line-height: 1.14; letter-spacing: -.01em; }
.title--left { text-align: left; }
.lead { max-width: 520px; margin: 22px auto 0; font-size: 15px; line-height: 1.75; text-wrap: balance; }
.text-link { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ink); padding-bottom: 5px; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease-out), color .3s; }
.text-link:hover { color: var(--accent); background-size: 40% 1px; }

/* ---------- przyciski ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-block; padding: 15px 30px; border: 0; background: var(--dark); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; transition: transform .16s var(--ease-out); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: translateY(101%); transition: transform .55s var(--ease-out); }
@media (hover: hover) { .btn:hover::before { transform: none; } }
.btn:active { transform: scale(.97); }

/* ---------- nawigacja (pasek z Canvy) ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: var(--bg); transition: transform .5s var(--ease-out), box-shadow .4s; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-in { position: relative; height: 56px; display: flex; align-items: center; justify-content: center; width: min(1240px, 100% - 48px); margin: 0 auto; }
.nav-links { display: flex; gap: 50px; }
.nav-links a { position: relative; padding: 6px 0; font-size: 10.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: .3em; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .45s var(--ease-out); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-mark { display: none; position: absolute; left: 0; height: 28px; }
.nav-mark svg, .nav-mark img { display: block; height: 100%; width: auto; }
.burger { display: none; position: absolute; right: 0; padding: 12px 0 12px 12px; background: none; border: 0; }
.burger span { display: block; width: 26px; height: 1px; margin: 7px 0; background: var(--ink); }
.menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease-out), visibility .4s; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu nav { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.menu nav a { font-family: var(--serif); font-weight: 600; font-size: 30px; color: var(--ink); opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease-out), transform .7s var(--ease-expo); }
.menu nav a[aria-current="page"] { color: var(--accent); }
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open nav a:nth-child(5) { transition-delay: .2s; }
.menu-close { position: absolute; top: 12px; right: 22px; background: none; border: 0; font-size: 34px; line-height: 1; }
.menu-foot { position: absolute; bottom: 36px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- hero (Canva: szare zdjęcie + duże logo) ---------- */
.hero, .phero { position: relative; overflow: hidden; display: grid; place-items: center; background: #5e5a56; text-align: center; color: #fff; }
.hero { height: clamp(440px, 49vw, 720px); }
.phero { height: clamp(320px, 40vh, 420px); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.85) brightness(.95); transform: scale(1.03); will-change: transform; }
.hero::after, .phero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(120, 115, 110, .22), rgba(36, 33, 30, .36) 80%), rgba(92, 88, 84, .52); }
.hero-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 48px 24px; will-change: transform, opacity; }
.hero-logo { width: clamp(150px, 13vw, 196px); color: #0e0d0c; }
.hero-logo svg, .hero-logo img, .phero-logo svg { display: block; width: 100%; height: auto; }
.hero-tag { margin-top: 44px; min-height: 1.7em; font-size: 10.5px; font-weight: 500; letter-spacing: .36em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.hero-tag i { font-style: normal; color: #d9b67a; margin: 0 .8em; }
.hero-kicker { font-size: 10.5px; font-weight: 500; letter-spacing: .4em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.phero-logo { width: clamp(76px, 6vw, 96px); color: #0e0d0c; margin-bottom: 26px; }
.phero-title { margin-top: 14px; font-weight: 600; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; color: #fff; }

/* ---------- sekcje + linie z Canvy ---------- */
.sec { position: relative; padding: clamp(92px, 10vw, 128px) 0; }
.sec:not(.sec--first):not(.sec--dark):not(.sec--plain)::before { content: ""; position: absolute; top: 0; left: 50%; width: min(1340px, 100%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, rgba(196, 150, 125, 0), rgba(196, 150, 125, .7) 22%, rgba(178, 120, 92, .9) 50%, rgba(196, 150, 125, .7) 78%, rgba(196, 150, 125, 0)); }
.sec:not(.sec--dark)::after { content: ""; position: absolute; top: 22px; left: 50%; width: 1px; height: 12px; background: #cdb3a3; }
.sec--first::after, .sec--plain::after { display: none; }
.sec--dark { background: var(--dark); color: rgba(255, 255, 255, .78); }
.sec--dark .title { color: #fff; }
.sec--dark .eyebrow { color: #cfa588; }

/* ---------- realizacje: karuzela z Canvy + siatka ---------- */
.carousel { position: relative; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: start; padding-bottom: 4px; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.track > *:nth-child(3n+2) { margin-top: 30px; }
.track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.track.is-drag a { pointer-events: none; }
.c-btn { position: absolute; top: calc(50% - 44px); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #ece6df; background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: 0 3px 14px rgba(30, 25, 20, .1); transition: opacity .3s, transform .16s var(--ease-out), background .3s, color .3s; }
.c-btn--prev { left: -23px; }
.c-btn--next { right: -23px; }
.c-btn[disabled] { opacity: .4; cursor: default; }
.c-btn:active:not([disabled]) { transform: scale(.94); }
@media (hover: hover) { .c-btn:hover:not([disabled]) { background: var(--dark); color: #fff; } }
.c-progress { width: 150px; height: 1px; margin: 48px auto 0; position: relative; overflow: hidden; background: var(--line); }
.c-progress span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, .4)); transition: transform .5s var(--ease-out); }

.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 52px 28px; align-items: flex-start; }
.grid > * { width: calc((100% - 56px) / 3); }
.grid > *:nth-child(3n+2) { margin-top: 30px; }
.tile { display: block; }
.tile.is-hidden { display: none; }
.tile-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #ebe5de; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile-cap { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; }
.tile-num { font-family: var(--serif); font-size: 14px; letter-spacing: .04em; color: var(--accent); }
.tile-name { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--ink); background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover .tile-img img { transform: scale(1.045); }
  .tile:hover .tile-name { background-size: 100% 1px; }
}
.more { display: flex; flex-direction: column; align-items: center; gap: 16px; width: max-content; margin: 56px auto 0; font-size: 10.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.more i { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; transition: background .35s, color .35s, transform .5s var(--ease-out); }
@media (hover: hover) { .more:hover i { background: var(--ink); color: #fff; transform: translateY(4px); } }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 36px; margin: -20px 0 56px; }
.filters button { position: relative; padding: 6px 0; background: none; border: 0; font-size: 10.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.filters button::after { content: ""; position: absolute; left: 0; right: .3em; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .45s var(--ease-out); }
.filters button:hover, .filters button.is-active { color: var(--ink); }
.filters button.is-active::after { transform: scaleX(1); }

/* ---------- konsultacja (Canva) ---------- */
.consult { display: grid; grid-template-columns: 40% 60%; border: 1px solid var(--line); background: var(--bg); scroll-margin-top: 90px; }
.consult-side { padding: 56px 48px; background: var(--accent); color: rgba(255, 255, 255, .92); }
.consult-side .eyebrow { color: #fff; margin-bottom: 18px; }
.consult-side h3 { color: #fff; font-size: 22px; }
.consult-price { margin: 26px 0 18px; font-family: var(--serif); font-weight: 600; font-size: 30px; color: #fff; }
.consult-side p:not(.consult-price) { max-width: 34ch; font-size: 15px; line-height: 1.6; }
.consult-main { padding: 52px 56px 56px; }
.consult-main h3 { font-size: 22px; }
.hint { margin-top: 8px; font-size: 14.5px; line-height: 1.6; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 12px; font-weight: 500; color: var(--ink); transition: color .25s; }
.field:focus-within > span { color: var(--accent); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; background: #fff; font-size: 14.5px; font-weight: 300; color: var(--ink); outline: none; transition: border-color .25s, box-shadow .35s var(--ease-out); }
.field textarea { min-height: 100px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #b0a79f; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(164, 80, 46, .08); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.consent input { margin: 2px 0 0; accent-color: var(--accent); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--accent); }

/* ---------- oferta: lista „+” (Canva) ---------- */
.plus-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px 40px; max-width: 960px; margin: 0 auto; }
.plus-list > * { width: calc((100% - 80px) / 3); }
.plus-list--2 { max-width: 640px; margin-top: 52px; gap: 20px 40px; }
.plus-list--2 > * { width: calc((100% - 40px) / 2); }
.plus-item { display: flex; gap: 14px; align-items: flex-start; font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--ink); }
.plus { flex: none; font-family: var(--sans); font-weight: 300; font-size: 22px; line-height: .95; color: var(--accent); transition: transform .5s var(--ease-out); }
@media (hover: hover) { a.plus-item:hover .plus { transform: rotate(90deg); } a.plus-item:hover { color: var(--accent); } }
a.plus-item { transition: color .3s; }

/* oferta (podstrona): karty */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; padding: 40px 34px 36px; background: var(--white); border: 1px solid var(--line); scroll-margin-top: 90px; }
.card .plus { margin-bottom: 18px; }
.card-t { font-size: 19px; line-height: 1.3; }
.card-price { margin-top: 10px; font-family: var(--serif); font-weight: 600; font-size: 24px; }
.card-d { margin-top: 12px; font-size: 14.5px; line-height: 1.65; }
.card-list { list-style: none; margin: 22px 0 28px; padding: 0; font-size: 14px; }
.card-list li { padding: 9px 0; border-top: 1px solid var(--line); }
.card-link { margin-top: auto; align-self: flex-start; font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); padding-bottom: 4px; border-bottom: 1px solid currentColor; transition: color .3s; }
.card-link:hover { color: var(--accent); }
.card--accent { background: var(--accent); border-color: var(--accent); color: rgba(255, 255, 255, .9); }
.card--accent .card-t, .card--accent .card-price, .card--accent .plus, .card--accent .card-link { color: #fff; }
.card--accent .card-list li { border-color: rgba(255, 255, 255, .25); }

/* ---------- o nas (Canva: tekst + łuk) ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 60px 110px; align-items: center; }
.about-text .eyebrow--line::before { margin-left: 0; }
.about-text .title { margin-bottom: 24px; }
.about-text p { max-width: 54ch; font-size: 15.5px; line-height: 1.8; }
.about-text .text-link { margin-top: 26px; }
.about-text .signature, .signature { margin-top: 18px; font-family: var(--script); font-size: 50px; line-height: 1; color: var(--ink); }
.arch { width: 100%; aspect-ratio: 400 / 490; border-radius: 999px 999px 0 0 / 44% 44% 0 0; overflow: hidden; background: #ebe5de; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 80px; text-align: center; }
.person h3 { margin-top: 28px; font-size: 22px; }
.person-role { display: block; margin: 8px 0 14px; font-size: 10.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--eyebrow); }
.person p { max-width: 32ch; margin: 0 auto 10px; font-size: 15px; }
.person a { font-weight: 500; color: var(--ink); }

/* ---------- etapy (Rak) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: 980px; margin: 0 auto; text-align: center; }
.step { display: flex; flex-direction: column; align-items: center; }
.step-n { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 5vw, 64px); line-height: 1; color: var(--ink); }
.step-t { margin-top: 18px; font-size: 10.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.step-d { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* ---------- tekst ---------- */
.prose { max-width: 680px; margin: 0 auto; text-align: center; }
.prose p { font-size: 15.5px; line-height: 1.85; }
.prose p + p { margin-top: 1.4em; }
.prose--left { text-align: left; }
.prose--left h3 { font-size: 22px; margin: 40px 0 12px; }
.prose--left h3:first-child { margin-top: 0; }
.motto { max-width: 640px; margin: 52px auto 0; text-align: center; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2vw, 24px); line-height: 1.45; color: var(--ink); }
.motto em { font-weight: 400; color: var(--accent); }

/* ---------- opinie (Rak, ciemna sekcja) ---------- */
.reviews { max-width: 680px; margin: 0 auto; text-align: center; }
.rv-track { display: grid; }
.rv { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(10px); filter: blur(6px); pointer-events: none; transition: opacity .8s var(--ease-out), transform 1s var(--ease-expo), filter .8s var(--ease-out); }
.rv.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.rv-q { display: block; height: 30px; font-family: var(--serif); font-size: 60px; line-height: .6; color: rgba(255, 255, 255, .35); }
.rv blockquote { margin: 18px 0 0; font-size: 17px; line-height: 1.75; color: rgba(255, 255, 255, .86); }
.rv-line { display: block; width: 44px; height: 1px; margin: 32px auto 24px; background: rgba(255, 255, 255, .3); }
.rv figcaption b { display: block; font-family: var(--serif); font-weight: 600; font-size: 20px; color: #fff; }
.rv figcaption span { display: block; margin-top: 8px; font-size: 10.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.rv-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 48px; }
.rv-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: none; color: #fff; transition: background .35s, color .35s, transform .16s var(--ease-out); }
.rv-btn:active { transform: scale(.94); }
@media (hover: hover) { .rv-btn:hover { background: #fff; color: var(--dark); } }
.rv-dots { display: flex; gap: 8px; }
.rv-dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .35); transition: width .5s var(--ease-out), background .4s; }
.rv-dots i.is-active { width: 28px; background: #fff; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 24px 44px; text-align: center; font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.4; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 22px; font-weight: 300; color: var(--accent); transition: transform .45s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details::details-content { height: 0; overflow: clip; transition: height .5s var(--ease-out), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq-a { padding: 0 44px 28px; text-align: center; font-size: 15px; line-height: 1.8; }

/* ---------- kontakt (Canva: tekst + ramka) ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 48px 80px; align-items: start; }
.contact-text .title { margin-bottom: 18px; }
.contact-text p { max-width: 42ch; font-size: 15.5px; line-height: 1.75; }
.cbox { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--white); }
.cbox > div { padding: 32px 30px; }
.cbox > div + div { border-left: 1px solid var(--line); }
.cbox .cbox-full { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); }
.cbox svg { color: var(--accent); }
.cbox h4 { margin: 18px 0 10px; font-size: 16px; }
.cbox-full h4 { margin-top: 0; }
.cbox p { font-size: 14px; font-weight: 400; line-height: 1.9; color: var(--ink); }
.cbox a { transition: color .25s; }
.cbox a:hover { color: var(--accent); }
.socials { display: flex; flex-wrap: wrap; gap: 6px 30px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; }
.socials svg { color: var(--ink); }

/* ---------- strona realizacji ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 880px; margin: -12px auto 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 22px 12px; text-align: center; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 10px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--eyebrow); }
.facts dd { margin: 8px 0 0; font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--ink); }
.figure { max-width: 1100px; margin: 0 auto 64px; overflow: hidden; cursor: zoom-in; }
.figure--portrait { max-width: 520px; }
.figure img { width: 100%; }
.figure figcaption { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--muted); }
.credit { max-width: 560px; margin: 40px auto 0; text-align: center; font-size: 13px; font-style: italic; color: var(--muted); }

/* ---------- stopka (Rak) ---------- */
.footer { background: #1f1c1a; color: rgba(255, 255, 255, .66); padding: 100px 0 44px; }
.footer .wrap { width: min(944px, 100% - 48px); }
.footer-title { color: #fff; font-weight: 600; font-size: clamp(28px, 3vw, 36px); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.footer-cols p { font-size: 15px; line-height: 2.1; }
.footer-cols a { transition: color .3s; }
.footer-cols a:hover { color: #fff; }
.footer-copy { margin-top: 88px; font-size: 13px; color: rgba(255, 255, 255, .42); }

/* lightbox, kursor */
.lightbox { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 24px; background: rgba(24, 22, 20, .94); }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1200px, 100%); max-height: 88vh; }
.lightbox button { position: absolute; top: 14px; right: 20px; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; }
.cursor { position: fixed; top: 0; left: 0; z-index: 90; display: grid; place-items: center; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; background: rgba(37, 34, 32, .9); color: #fff; font-size: 9.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; pointer-events: none; opacity: 0; scale: .6; transition: opacity .3s var(--ease-out), scale .45s var(--ease-out); }
.cursor.is-on { opacity: 1; scale: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =====================================================================
   RUCH — transform / opacity / clip-path, własne krzywe
   ===================================================================== */

.js .nav-links a { opacity: 0; animation: rise .8s var(--ease-expo) forwards; }
.js .nav-links a:nth-child(2) { animation-delay: .05s; }
.js .nav-links a:nth-child(3) { animation-delay: .1s; }
.js .nav-links a:nth-child(4) { animation-delay: .15s; }
.js .nav-links a:nth-child(5) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.js .hero-bg { animation: zoom 1.8s var(--ease-expo) both; }
@keyframes zoom { from { transform: scale(1.14); } to { transform: scale(1.03); } }
.js .lg-mark { animation: mark-in 1s var(--ease-expo) .05s both; }
.js .lg-text { animation: fade .6s var(--ease-out) .5s both; }
.js .lg-sun { transform-box: fill-box; transform-origin: center; animation: sun-in .9s var(--ease-expo) .55s both; }
.js .hero-tag { animation: tag-in 1s var(--ease-expo) .7s both; }
.js .hero-kicker, .js .phero-title { animation: up .9s var(--ease-expo) .3s both; }
@keyframes mark-in { from { clip-path: inset(100% 0 0 0); transform: translateY(40px); filter: blur(6px); } to { clip-path: inset(0); transform: none; filter: none; } }
@keyframes sun-in { from { opacity: 0; transform: scale(.4) translateX(-40px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes tag-in { from { opacity: 0; letter-spacing: .6em; } }
@keyframes up { from { opacity: 0; transform: translateY(20px); filter: blur(6px); } }

.split-words .w { display: inline-block; }
.js .split-words .w { opacity: 0; transform: translateY(.4em); filter: blur(8px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-expo), filter .9s var(--ease-out); transition-delay: calc(var(--i) * 40ms); }
.js .split-words.is-in .w { opacity: 1; transform: none; filter: none; }
.js .rvl { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-expo); transition-delay: var(--d, 0s); }
.js .rvl.is-in { opacity: 1; transform: none; }
.js .curtain { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-in-out); transition-delay: var(--d, 0s); }
.js .curtain img { transform: scale(1.18); transition: transform 1.8s var(--ease-expo); transition-delay: var(--d, 0s); }
.js .curtain.is-in { clip-path: inset(0); }
.js .curtain.is-in img { transform: scale(1); }
.js .arch.curtain.is-in img { transform: scale(1.08); }
.js .sec::before { transform: translateX(-50%) scaleX(0); transition: transform 1.6s var(--ease-in-out); }
.js .sec.is-in::before { transform: translateX(-50%) scaleX(1); }
@media (hover: hover) and (pointer: fine) { .js .tile:hover .curtain.is-in img { transform: scale(1.045); transition: transform 1.2s var(--ease-out); } }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .split-words .w, .js .rvl { opacity: 1; transform: none; filter: none; }
  .js .curtain { clip-path: none; }
  .js .curtain img { transform: none; }
  .js .sec::before { transform: translateX(-50%); }
}

/* =====================================================================
   RESPONSYWNOŚĆ
   ===================================================================== */
@media (max-width: 1220px) {
  .c-btn--prev { left: 8px; }
  .c-btn--next { right: 8px; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-mark, .burger { display: block; }
  .track { grid-auto-columns: 46%; }
  .cards { grid-template-columns: 1fr 1fr; }
  .grid > * { width: calc((100% - 28px) / 2); }
  .grid > *:nth-child(3n+2) { margin-top: 0; }
  .grid > *:nth-child(even) { margin-top: 30px; }
  .consult { grid-template-columns: 1fr; }
  .plus-list > * { width: calc((100% - 40px) / 2); }
  .about, .contact { grid-template-columns: 1fr; }
  .about-media { max-width: 380px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 56px 24px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .wrap, .wrap--narrow { width: calc(100% - 40px); }
  .head { margin-bottom: 48px; }
  .hero-tag { font-size: 10px; letter-spacing: .3em; line-height: 2.3; }
  .track { grid-auto-columns: 84%; gap: 20px; }
  .track > *:nth-child(3n+2) { margin-top: 0; }
  .c-btn { display: none; }
  .cards, .form, .team, .footer-cols { grid-template-columns: 1fr; }
  .grid > * { width: 100%; }
  .plus-list > *, .plus-list--2 > * { width: 100%; }
  .grid > *:nth-child(even) { margin-top: 0; }
  .grid { gap: 44px; }
  .consult-side, .consult-main { padding: 40px 22px; }
  .cbox { grid-template-columns: 1fr; }
  .cbox > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .faq summary { padding: 20px 34px; font-size: 16px; }
  .faq-a { padding: 0 6px 24px; }
  .footer-cols { gap: 20px; }
  .footer-copy { margin-top: 60px; }
}

/* =====================================================================
   PREMIUM — efekty w duchu 21st.dev (dawkowane oszczędnie)
   ===================================================================== */

/* kurtyna: preloader + przejścia między podstronami */
.veil { display: none; }
.js .veil { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; background: var(--dark); transform: translateY(0); }
.js .veil.is-out { transform: translateY(-100%); transition: transform .65s var(--ease-in-out); }
.js .veil.is-enter { transform: translateY(100%); }
.js .veil.is-enter.is-go { transform: translateY(0); transition: transform .42s var(--ease-in-out); }
.veil-mark { width: 54px; color: #f3ece4; }
.veil-mark svg, .veil-mark img { display: block; width: 100%; height: auto; }
.js .veil-mark { animation: veil-mark .6s var(--ease-expo) both; }
.js .veil.is-out .veil-mark { opacity: 0; transform: translateY(-24px); transition: opacity .4s, transform .6s var(--ease-in-out); }
@keyframes veil-mark { from { clip-path: inset(100% 0 0 0); transform: translateY(16px); } to { clip-path: inset(0); transform: none; } }
html.js:not(.is-loaded) .hero *, html.js:not(.is-loaded) .phero *, html.js:not(.is-loaded) .hero-bg { animation-play-state: paused !important; }

/* pasek postępu przewijania */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* flip words w hero */
.flip { display: inline-grid; }
.flip > span { grid-area: 1 / 1; opacity: 0; transform: translateY(.7em); filter: blur(6px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-expo), filter .7s var(--ease-out); }
.flip > span.is-active { opacity: 1; transform: none; filter: none; }
.flip > span.is-leaving { opacity: 0; transform: translateY(-.7em); filter: blur(6px); }

/* marquee z hasłami */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 30px 0; background: var(--bg); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 48s linear infinite; }
.mq-group { display: flex; align-items: center; flex: none; }
.mq-group span { padding: 0 34px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(24px, 2.6vw, 34px); color: var(--ink); white-space: nowrap; }
.mq-group i { font-style: normal; font-size: 13px; color: var(--accent); }
@keyframes mq { to { transform: translateX(-50%); } }
@media (hover: hover) { .marquee:hover .mq-track { animation-play-state: paused; } }

/* border beam na konsultacji */
@property --beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.beam { position: relative; }
.beam::after { content: ""; position: absolute; inset: -1px; z-index: 3; padding: 1px; pointer-events: none; background: conic-gradient(from var(--beam), transparent 0 72%, rgba(193, 154, 91, .0) 74%, #c19a5b 86%, #f2d49a 90%, transparent 94%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: beam 7s linear infinite; }
@keyframes beam { to { --beam: 360deg; } }

/* magnetyczne elementy */
[data-magnet] { transition: transform .5s var(--ease-out); will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .js .veil { display: none; }
  .mq-track { animation: none; }
  .beam::after { animation: none; opacity: 0; }
  .progress { display: none; }
}
@media (max-width: 600px) { .marquee { padding: 22px 0; } .mq-group span { padding: 0 22px; } }

/* =====================================================================
   STRONA REALIZACJI — układ w stylu HERS w identyfikacji pracowni
   ===================================================================== */
.case-intro { max-width: 760px; margin: 0 auto 72px; text-align: center; }
.case-kicker { display: inline-flex; align-items: center; gap: 18px; font-size: 10.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--eyebrow); }
.case-kicker::before, .case-kicker::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.case-title { margin-top: 22px; font-weight: 600; font-size: clamp(42px, 6vw, 80px); line-height: 1.02; letter-spacing: -.02em; }
.case-sub { margin-top: 16px; font-size: 15px; color: var(--muted); }
.case-quote { max-width: 26ch; margin: 34px auto 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; color: var(--ink); text-wrap: balance; }
.case-lead { max-width: 560px; margin: 26px auto 0; font-size: 15.5px; line-height: 1.85; text-wrap: pretty; }
.sec--first .figure + .facts { margin-top: -24px; margin-bottom: 0; }
.sec--first .facts + .prose { margin-top: 64px; }

.chapters { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 120px); }
.chapter { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.chapter--rev .chapter-img { order: 2; }
.chapter-img { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #ebe5de; cursor: zoom-in; }
.chapter-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .chapter-img:hover img { transform: scale(1.035); } }
.chapter-text { max-width: 440px; }
.chapter--rev .chapter-text { justify-self: start; }
.chapter-num { display: block; font-family: var(--serif); font-size: 13px; color: var(--accent); margin-bottom: 14px; }
.chapter-num::after { content: ""; display: inline-block; width: 34px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--accent); opacity: .6; }
.chapter-title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; margin-bottom: 16px; }
.chapter-text p { font-size: 15.5px; line-height: 1.8; }
.figure--after { margin: clamp(72px, 9vw, 120px) auto 0; }

.case-cta { text-align: center; }
.case-cta-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px 36px; margin-top: 36px; }
.back { font-size: 14px; font-weight: 500; color: var(--ink); display: inline-flex; gap: 10px; align-items: center; transition: color .3s; }
.back span { font-size: 18px; transition: transform .45s var(--ease-out); }
.back:hover { color: var(--accent); }
.back:hover span { transform: translateX(-4px); }

@media (max-width: 860px) {
  .chapter, .chapter--rev { grid-template-columns: 1fr; gap: 28px; }
  .chapter--rev .chapter-img { order: 0; }
  .chapter--rev .chapter-text { justify-self: start; }
  .case-intro { margin-bottom: 56px; }
}

.sec--first .figure:not(.figure--portrait) { aspect-ratio: 16 / 9; }
.sec--first .figure:not(.figure--portrait) img { height: 100%; object-fit: cover; }
@media (max-width: 600px) { .case-kicker::before, .case-kicker::after { display: none; } .case-kicker { line-height: 1.9; } }

/* „Zobacz więcej realizacji” / „Zamknij” — sam napis */
.more-wrap { margin-top: 56px; text-align: center; }
.more-toggle { padding: 0 0 6px; border: 0; background: linear-gradient(var(--accent), var(--accent)) 50% 100% / 100% 1px no-repeat; font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); transition: color .3s, background-size .5s var(--ease-out); }
.more-toggle:hover { color: var(--accent); background-size: 40% 1px; }
.all-projects { animation: open-grid .8s var(--ease-expo) both; }
@keyframes open-grid { from { opacity: 0; transform: translateY(18px); } }

/* =====================================================================
   OŚ SYMETRII — wszystko wyśrodkowane
   ===================================================================== */
.title--left { text-align: center; }

/* o nas: jedna kolumna, łuk pod tekstem */
.about { grid-template-columns: 1fr; justify-items: center; gap: 56px; text-align: center; }
.about-text { max-width: 720px; }
.about-text .eyebrow--line::before { margin-left: auto; }
.about-text p { margin-left: auto; margin-right: auto; }
.about-media { width: min(400px, 100%); }

/* kontakt: nagłówek nad ramką */
.contact { grid-template-columns: 1fr; justify-items: center; gap: 48px; text-align: center; }
.contact-text p { margin-left: auto; margin-right: auto; }
.cbox { width: min(640px, 100%); text-align: center; }
.cbox svg { display: block; margin: 0 auto; }
.socials { justify-content: center; }

/* konsultacja: dwie równe połowy, treść na osi */
.consult { grid-template-columns: 1fr 1fr; }
.consult-side { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.consult-side p:not(.consult-price) { margin-left: auto; margin-right: auto; }
.consult-main { text-align: center; }
.consult-main .form { text-align: left; }
.form-actions { justify-content: center; }
.consent { justify-content: center; text-align: left; }

/* oferta: „+” nad nazwą */
.plus-item { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.cards .card { align-items: center; text-align: center; }
.card-link { align-self: center; }
.card-list { width: 100%; max-width: 260px; }

/* realizacje: podpisy na środku */
.tile-cap { justify-content: center; }

/* środek realizacji: zdjęcie i opis na osi */
.chapter, .chapter--rev { grid-template-columns: 1fr; justify-items: center; gap: 36px; text-align: center; }
.chapter--rev .chapter-img { order: 0; }
.chapter-img { width: min(900px, 100%); }
.chapter-text, .chapter--rev .chapter-text { max-width: 560px; justify-self: center; }
.chapter-num::after { display: none; }
.chapter-num::before { content: ""; display: block; width: 1px; height: 26px; margin: 0 auto 14px; background: var(--accent); opacity: .6; }

/* polityka i stopka */
.prose--left { text-align: center; }
.footer .wrap { text-align: center; }
.footer-cols { text-align: center; }

@media (max-width: 960px) { .consult { grid-template-columns: 1fr; } }

/* =====================================================================
   OFERTA — rozmieszczenie jak na rakinteriordesign.pl
   ===================================================================== */
.sec--alt { background: #f2ede6; }
.sec--alt::before { display: none; }
.sec--alt::after { display: none; }
.sec--alt + .sec::before { display: none; }
.rak-offer { display: grid; grid-template-columns: repeat(2, minmax(0, 324px)); justify-content: center; gap: 24px; }
.rak-card { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 180px; padding: 36px 40px; background: #fff; border: 1px solid #e6e0d8; text-align: center; transition: border-color .4s, box-shadow .5s var(--ease-out), transform .5s var(--ease-out); }
.rak-t { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--ink); }
.rak-d { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 30ch; }
@media (hover: hover) { .rak-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -24px rgba(37, 34, 32, .4); } }
.rak-card.is-selected { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.rak-card.is-selected .rak-t { color: var(--accent); }
@media (max-width: 680px) { .rak-offer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .rak-card { min-height: 150px; padding: 22px 14px; } .rak-t { font-size: 14.5px; } .rak-d { font-size: 12px; } }

/* =====================================================================
   ŚRODEK REALIZACJI — układ 1:1 jak w HERS (font i kolory pracowni)
   ===================================================================== */
.hc { padding: 120px 0 0; }
.hc-wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }
.hc-intro { max-width: 600px; margin: 0 auto; text-align: center; }
.hc-kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.hc-kicker::before, .hc-kicker::after { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .6; }
.hc-title { margin-top: 18px; font-weight: 600; font-size: clamp(44px, 6vw, 84px); line-height: 1.05; letter-spacing: -.02em; }
.hc-sub { margin-top: 14px; font-size: 16px; color: var(--muted); }
.hc-quote { margin: 40px auto 0; max-width: 560px; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 33px); line-height: 1.3; color: var(--ink); text-wrap: balance; }
.hc-lead { margin: 30px auto 0; max-width: 540px; font-size: 16.5px; line-height: 1.65; color: var(--text); }
.hc-credit { margin: 18px auto 0; font-size: 13px; font-style: italic; color: var(--muted); }

.hc-rows { display: flex; flex-direction: column; gap: 97px; margin-top: 98px; }
.hc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 57px; align-items: center; }
.hc-row--rev .hc-img { order: 2; }
.hc-img { margin: 0; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: #ebe5de; cursor: zoom-in; }
.hc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .hc-img:hover img { transform: scale(1.03); } }
.hc-text { max-width: 452px; text-align: left; }
.hc-text h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.12; margin-bottom: 16px; }
.hc-text p { font-size: 16.5px; line-height: 1.65; color: var(--text); }

.hc-cta { margin-top: 97px; padding: 80px 0 120px; border-top: 1px solid var(--line); text-align: center; }
.hc-cta h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; }
.hc-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px 40px; margin-top: 30px; }
.hc-btn { display: inline-block; padding: 15px 24px; border-radius: 999px; background: var(--dark); color: #fff; font-size: 15px; font-weight: 500; transition: background .3s, transform .16s var(--ease-out); }
.hc-btn:hover { background: var(--accent); }
.hc-btn:active { transform: scale(.97); }
.hc-back { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink); transition: color .3s; }
.hc-back span { transition: transform .45s var(--ease-out); }
.hc-back:hover { color: var(--accent); }
.hc-back:hover span { transform: translateX(-4px); }

@media (max-width: 860px) {
  .hc { padding-top: 80px; }
  .hc-rows { gap: 64px; margin-top: 72px; }
  .hc-row, .hc-row--rev { grid-template-columns: 1fr; gap: 26px; }
  .hc-row--rev .hc-img { order: 0; }
  .hc-text { max-width: none; }
  .hc-cta { margin-top: 72px; padding: 64px 0 88px; }
}
.js .hc-img.curtain { border-radius: 14px; }
@media (max-width: 600px) { .hc-kicker::before, .hc-kicker::after { display: none; } .hc-kicker { line-height: 1.8; } }
.rv-stars { display: flex; justify-content: center; gap: 6px; margin-bottom: 26px; }
.rv-stars svg { width: 15px; height: 15px; fill: #c9a26a; }
.rv-q { display: none; }
.rv blockquote { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.55; color: #fff; }
.rv-sample { display: block; margin-top: 10px; font-style: normal; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .32); }
.rv-note { margin-top: 28px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .28); }

/* =====================================================================
   TYPOGRAFIA: Cormorant Garamond — cieńsza, elegancka antykwa
   ===================================================================== */
:root { --serif: "Cormorant Garamond", "Cormorant", Georgia, serif; }
h1, h2, h3, h4, .menu nav a, .tile-num, .tile-name, .consult-price, .plus-item, .card-price, .step-n, .motto, .rv figcaption b, .faq summary, .facts dd, .case-quote, .chapter-num, .rak-t, .hc-quote, .rv blockquote {
  font-weight: 500;
  font-size-adjust: .46;
  letter-spacing: 0;
}
.title, .hc-title, .case-title, .footer-title, .phero-title { font-weight: 400; letter-spacing: -.005em; }
.step-n, .consult-price, .card-price { font-weight: 300; }
.hc-quote, .case-quote, .rv blockquote, .motto em { font-weight: 400; }

/* bez drobnych ozdobników: kreski, belki, linie przy etykietach */
.sec::after,
.eyebrow--line::before,
.chapter-num::before, .chapter-num::after,
.case-kicker::before, .case-kicker::after,
.hc-kicker::before, .hc-kicker::after,
.rv-line { display: none !important; }

/* stopka jak w rakinteriordesign.pl: lewa krawędź, 3 równe kolumny */
.footer { padding: 120px 0 0; }
.footer .wrap { width: min(944px, 100% - 48px); text-align: left; }
.footer-title { text-align: left; font-weight: 400; font-size: clamp(34px, 3vw, 42px); }
.footer-cols { grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; text-align: left; }
.footer-cols p { font-size: 15.5px; line-height: 2.1; font-weight: 300; color: rgba(255, 255, 255, .7); }
.footer-copy { margin-top: 110px; padding: 0 0 52px; font-size: 13px; font-weight: 300; text-align: left; color: rgba(255, 255, 255, .45); }
@media (max-width: 600px) { .footer { padding-top: 88px; } .footer-cols { grid-template-columns: 1fr; gap: 26px; margin-top: 44px; } .footer-copy { margin-top: 72px; } }
a[href^="tel:"], a[href^="mailto:"] { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .3s, color .3s; }
a[href^="tel:"]:hover, a[href^="mailto:"]:hover { text-decoration-color: currentColor; }
.rv blockquote { font-family: var(--sans); font-style: normal; font-weight: 300; font-size: 17px; line-height: 1.75; font-size-adjust: none; color: rgba(255, 255, 255, .86); max-width: 46ch; margin-left: auto; margin-right: auto; }

/* =====================================================================
   KONTAKT: okrągłe ikony jak na Rak, w kolorach strony
   ===================================================================== */
.cicons { display: flex; gap: 16px; margin-top: 30px; }
.cicons a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--dark); color: #fff; transition: background .35s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s; }
.cicons a svg { width: 17px; height: 17px; }
@media (hover: hover) { .cicons a:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 22px -10px rgba(164, 80, 46, .7); } }
.cicons a:active { transform: scale(.94); }

/* =====================================================================
   FORMULARZ: stan wysyłania + animacja potwierdzenia (rysowany znacznik)
   ===================================================================== */
.btn .btn-label { display: inline-block; transition: opacity .25s, transform .35s var(--ease-out); }
.btn .btn-dots { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; opacity: 0; transition: opacity .25s; }
.btn .btn-dots i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: dot 1s infinite ease-in-out both; }
.btn .btn-dots i:nth-child(2) { animation-delay: .15s; }
.btn .btn-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { transform: scale(.5); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
.btn.is-loading .btn-label { opacity: 0; transform: translateY(-6px); }
.btn.is-loading .btn-dots { opacity: 1; }
.btn.is-loading { pointer-events: none; }
.consult-main > * { transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), filter .4s; }
.consult-main.is-sent > :not(.sent) { opacity: 0; transform: translateY(-8px); filter: blur(4px); }
.sent { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 420px; text-align: center; }
.sent[hidden] { display: none; }
.sent-check { width: 76px; height: 76px; margin-bottom: 26px; overflow: visible; }
.sent-ring { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 183; stroke-dashoffset: 183; transform: rotate(-90deg); transform-origin: center; }
.sent-tick { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.sent h3, .sent p, .sent .sent-again { opacity: 0; transform: translateY(10px); filter: blur(6px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), filter .6s; }
.sent h3 { margin: 0 0 10px; font-size: 30px; }
.sent p { margin: 0 0 26px; max-width: 32ch; }
.sent .sent-again { border: 0; padding: 0 0 5px; background-color: transparent; cursor: pointer; }
.sent.is-in .sent-check { animation: pop .5s .6s var(--ease-out) both; }
.sent.is-in .sent-ring { animation: draw .7s cubic-bezier(.65, 0, .35, 1) forwards; }
.sent.is-in .sent-tick { animation: draw .38s .55s cubic-bezier(.65, 0, .35, 1) forwards; }
.sent.is-in h3 { opacity: 1; transform: none; filter: none; transition-delay: .75s; }
.sent.is-in p { opacity: 1; transform: none; filter: none; transition-delay: .85s; }
.sent.is-in .sent-again { opacity: 1; transform: none; filter: none; transition-delay: .95s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.08); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .sent.is-in .sent-ring, .sent.is-in .sent-tick { animation-duration: .01s; } .sent.is-in .sent-check { animation: none; } }
.cicons { justify-content: center; }

/* następna realizacja: liniowe przejście I → II → … */
.hc-next { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: -40px auto 0; padding: 0 0 120px; text-align: center; color: var(--ink); }
.hc-next-k { font-size: 10.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--eyebrow); }
.hc-next .hc-next-t { color: var(--ink); }
.hc-next-t { display: inline-flex; align-items: baseline; gap: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; transition: color .3s; }
.hc-next-n { font-size: .5em; color: var(--accent); }
.hc-next-a { font-size: .7em; transition: transform .45s var(--ease-out); }
@media (hover: hover) { .hc-next:hover .hc-next-t { color: var(--accent); } .hc-next:hover .hc-next-a { transform: translateX(6px); } }
.consult-main.is-sent { display: flex; flex-direction: column; justify-content: center; }
.form[hidden], .consult-main > [hidden] { display: none !important; }

/* =====================================================================
   MOTYW „BURSZTYN” (uwagi klientki): ciemne, ciepłe tło, bursztynowy akcent,
   rozmycia zdjęć, kreski z krzyżykami na przecięciach, skalowanie kadrów
   ===================================================================== */
:root {
  --bg: #15110e;
  --bg2: #1c1612;
  --surface: #221b16;
  --white: #221b16;
  --dark: #0e0b09;
  --ink: #f1e7da;
  --text: rgba(241, 231, 218, .68);
  --muted: rgba(241, 231, 218, .44);
  --line: rgba(241, 231, 218, .12);
  --accent: #d48a3c;
  --amber: #e7a457;
  --eyebrow: #d89a55;
}
body { background: var(--bg); color: var(--text); }
::selection { background: var(--accent); color: var(--dark); }

/* ziarno filmowe na całej stronie */
body::after { content: ""; position: fixed; inset: -50%; z-index: 95; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* nawigacja: przydymione szkło */
.nav { background: rgba(21, 17, 14, .62); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav-links a, .menu nav a { color: var(--ink); }
.nav-mark { color: var(--ink); }
.burger span { background: var(--ink); }
.menu { background: rgba(21, 17, 14, .9); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.menu-close { color: var(--ink); }

/* typografia: większa skala, cieńszy krój, zabawa formą */
.title { font-weight: 300; font-size: clamp(40px, 5.2vw, 76px); line-height: 1; letter-spacing: -.02em; }
.head { margin-bottom: 72px; }
.head .eyebrow { color: var(--eyebrow); }
.text-link { color: var(--ink); }

/* ---------- hero: rozmyte zdjęcie + ostre okno kadru ---------- */
.hero, .phero { background: var(--dark); color: var(--ink); --open: 0; }
.hero { height: min(100svh, 980px); min-height: 600px; }
.phero { height: clamp(420px, 62vh, 620px); }
.hero::after, .phero::after { background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(14, 11, 9, 0), rgba(14, 11, 9, .55) 100%), linear-gradient(180deg, rgba(14, 11, 9, .3), rgba(14, 11, 9, 0) 30%, rgba(14, 11, 9, 0) 70%, var(--bg)); z-index: 1; pointer-events: none; }
.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-blur { filter: blur(34px) saturate(1.25) brightness(.62); transform: scale(1.22); }
/* ostre okno: ten sam kadr, odsłaniany przy przewijaniu (skalowanie do pełnego ekranu) */
/* okno: ostry kadr w naturalnej rozdzielczości na środku; rośnie przy przewijaniu */
.hero, .phero { --wh: min(68svh, 720px); --ww: min(calc(var(--wh) * .78), 84vw); }
.phero { --wh: min(44vh, 400px); --ww: min(calc(var(--wh) * 1.3), 84vw); }
.hero-media .hero-sharp { inset: auto; left: 50%; top: 50%; width: var(--ww); height: var(--wh); translate: -50% -50%; filter: brightness(.82) contrast(1.04); transform: scale(calc(1 + .35 * var(--open))); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .7); }
.hero-glow { position: absolute; left: -10%; right: -10%; top: 46%; height: 22%; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(212, 138, 60, .55), rgba(212, 138, 60, 0) 70%); filter: blur(40px); mix-blend-mode: screen; transform: scaleX(1.6); animation: streak 9s ease-in-out infinite alternate; }
@keyframes streak { from { transform: translateX(-8%) scaleX(1.6); opacity: .75; } to { transform: translateX(8%) scaleX(1.9); opacity: 1; } }
.hero-in { z-index: 3; }
.hero-logo { color: var(--ink); filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .45)); }
.hero-tag { color: rgba(241, 231, 218, .82); }
.hero-kicker { color: var(--amber); }
.phero-title { color: var(--ink); font-weight: 300; font-size: clamp(44px, 6vw, 92px); letter-spacing: -.02em; }
.js .hero-media { animation: hero-in 1.8s var(--ease-expo) both; }
@keyframes hero-in { from { transform: scale(1.12); filter: blur(10px); } to { transform: none; filter: none; } }

/* ramka okna: cienkie kreski wzdłuż krawędzi kadru + świecące krzyżyki w narożnikach */
.frame { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: calc(1 - 1.4 * var(--open)); }
.fl { position: absolute; background: rgba(241, 231, 218, .22); }
.fl-t, .fl-b { left: 0; right: 0; height: 1px; }
.fl-t { top: calc(50% - var(--wh) / 2); } .fl-b { top: calc(50% + var(--wh) / 2); }
.fl-l, .fl-r { top: 0; bottom: 0; width: 1px; }
.fl-l { left: calc(50% - var(--ww) / 2); } .fl-r { left: calc(50% + var(--ww) / 2); }
.fx { position: absolute; width: 15px; height: 15px; margin: -7px 0 0 -7px; }
.fx::before, .fx::after { content: ""; position: absolute; background: #fff6ea; box-shadow: 0 0 8px 1px rgba(231, 164, 87, .9); }
.fx::before { left: 7px; top: 0; width: 1px; height: 15px; }
.fx::after { top: 7px; left: 0; height: 1px; width: 15px; }
.fx-tl, .fx-tr { top: calc(50% - var(--wh) / 2); } .fx-bl, .fx-br { top: calc(50% + var(--wh) / 2); }
.fx-tl, .fx-bl { left: calc(50% - var(--ww) / 2); } .fx-tr, .fx-br { left: calc(50% + var(--ww) / 2); }
.js .fl-t, .js .fl-b { animation: draw-x 1.6s var(--ease-in-out) .2s both; }
.js .fl-l, .js .fl-r { animation: draw-y 1.6s var(--ease-in-out) .2s both; }
.js .fx { animation: twinkle 1s var(--ease-out) 1.2s both; }
@keyframes draw-x { from { transform: scaleX(0); } }
@keyframes draw-y { from { transform: scaleY(0); } }
@keyframes twinkle { from { opacity: 0; transform: scale(.2) rotate(-45deg); } }

/* ---------- sekcje: siatka kresek z krzyżykami na przecięciach ---------- */
.sec { background: var(--bg); overflow: clip; }
.sec::before { display: none !important; }
.gl { position: absolute; inset: 0; width: min(1240px, 100% - 48px); margin: 0 auto; pointer-events: none; }
.gl-v { position: absolute; top: 0; bottom: 0; left: calc(var(--x) * 100%); width: 1px; background: linear-gradient(var(--line), var(--line) 60%, transparent); transform-origin: top; }
.gl-h { position: absolute; top: 0; left: -24px; right: -24px; height: 1px; background: var(--line); transform-origin: center; }
.gl-p { position: absolute; top: 0; left: calc(var(--x) * 100%); width: 13px; height: 13px; margin: -6px 0 0 -6px; }
.gl-p::before, .gl-p::after { content: ""; position: absolute; background: rgba(255, 240, 222, .85); box-shadow: 0 0 6px rgba(231, 164, 87, .8); }
.gl-p::before { left: 6px; top: 0; width: 1px; height: 13px; }
.gl-p::after { top: 6px; left: 0; height: 1px; width: 13px; }
.js .sec .gl-v { transform: scaleY(0); transition: transform 1.8s var(--ease-in-out); }
.js .sec .gl-h { transform: scaleX(0); transition: transform 1.6s var(--ease-in-out); }
.js .sec .gl-p { opacity: 0; transform: rotate(-45deg) scale(.3); transition: opacity .6s .9s, transform .9s var(--ease-expo) .9s; }
.js .sec.is-in .gl-v { transform: none; }
.js .sec.is-in .gl-h { transform: none; }
.js .sec.is-in .gl-p { opacity: 1; transform: none; }
.sec > .wrap { position: relative; z-index: 1; }
.sec--alt { background: var(--bg2); }
.sec--dark { background: var(--dark); }
.sec--plain { background: var(--bg); }

/* ---------- realizacje: ambientowe rozmycie aktywnego projektu ---------- */
.ambient { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ambient img { position: absolute; left: 50%; top: 50%; width: 120%; height: 120%; translate: -50% -50%; object-fit: cover; filter: blur(80px) saturate(1.4) brightness(.55); opacity: .55; transition: opacity .8s var(--ease-out); }
.ambient img.is-fading { opacity: 0; }
.tile-img { background: var(--surface); }
.tile-name { color: var(--ink); }
.tile-num { color: var(--accent); }
.c-btn { background: rgba(34, 27, 22, .7); border-color: var(--line); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: none; }
@media (hover: hover) { .c-btn:hover:not([disabled]) { background: var(--accent); color: var(--dark); } }
.more-toggle { color: var(--ink); }
.filters button:hover, .filters button.is-active { color: var(--ink); }

/* odsłanianie z rozmycia (rozmazanie ruchu) */
.js .rvl { transform: translateY(26px); filter: blur(10px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-expo), filter 1.1s var(--ease-out); }
.js .rvl.is-in { filter: none; }
.js .curtain img { filter: blur(16px) saturate(1.3); transform: scale(1.25); transition: transform 1.8s var(--ease-expo), filter 1.4s var(--ease-out); }
.js .curtain.is-in img { filter: none; }

/* skalowanie kadrów przy przewijaniu: zdjęcia realizacji rosną do pełnej wielkości */
[data-grow] { transform: scale(var(--g, 1)); transform-origin: 50% 50%; will-change: transform; }

/* nietypowe przecięcia: kadry ścięte po skosie w rogu */
.tile-img, .hc-img { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.js .tile-img.curtain { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 100% 100%, 0 100%); transition: clip-path 1.3s var(--ease-in-out); }
.js .tile-img.curtain.is-in { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.hc-img, .js .hc-img.curtain { border-radius: 0; }
.js .hc-img.curtain { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 100% 100%, 0 100%); }
.js .hc-img.curtain.is-in { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }

/* ---------- oferta ---------- */
.rak-card { background: rgba(34, 27, 22, .6); border-color: var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); min-height: 150px; }
.rak-t { color: var(--ink); font-size: 19px; }
.rak-d { color: var(--amber); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
@media (hover: hover) { .rak-card:hover { border-color: rgba(212, 138, 60, .5); box-shadow: 0 0 0 1px rgba(212, 138, 60, .25), 0 24px 60px -30px rgba(212, 138, 60, .45); } }
.rak-card.is-selected { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), 0 0 40px -12px rgba(212, 138, 60, .5); }
.rak-card.is-selected .rak-t { color: var(--amber); }

/* ---------- konsultacja + formularz ---------- */
.consult { background: rgba(34, 27, 22, .55); border-color: var(--line); }
.consult-side { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 30% 20%, #e3a35a, #b9651f 55%, #6d3510); color: rgba(21, 17, 14, .82); }
.consult-side::after { content: ""; position: absolute; inset: -30%; background: radial-gradient(40% 30% at 70% 70%, rgba(255, 220, 170, .5), transparent 70%); filter: blur(30px); animation: streak 8s ease-in-out infinite alternate; pointer-events: none; }
.consult-side > * { position: relative; z-index: 1; }
.consult-side .eyebrow, .consult-side h3, .consult-price { color: #1a120c; }
.consult-price { font-size: clamp(40px, 4vw, 56px); }
.consult-main h3 { color: var(--ink); }
.field > span { color: var(--ink); }
.field input, .field select, .field textarea { background: rgba(21, 17, 14, .6); border-color: var(--line); color: var(--ink); }
.field select option { background: var(--surface); color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(241, 231, 218, .3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(212, 138, 60, .12); }
.btn { background: var(--accent); color: var(--dark); }
.btn::before { background: var(--ink); }
.btn .btn-dots i { background: var(--dark); }
.sent-ring, .sent-tick { stroke: var(--amber); }
.sent h3 { color: var(--ink); }

/* ---------- o nas ---------- */
.about-text .about-motto { max-width: none; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; color: var(--ink); }
.arch { background: var(--surface); }
.step-n { color: var(--ink); }
.step-t { color: var(--amber); }
.motto { color: var(--ink); }
.motto--big { margin: 0 auto; max-width: 900px; font-weight: 300; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -.02em; }
.motto em { color: var(--amber); }
.team { grid-template-columns: repeat(2, minmax(0, 420px)); gap: 0; }
.person { position: relative; padding: 48px 44px 40px; }
.person + .person { border-left: 1px solid var(--line); }
.person-n { display: block; font-family: var(--serif); font-weight: 300; font-size: 15px; color: var(--accent); }
.person h3 { margin-top: 18px; font-weight: 300; font-size: clamp(44px, 4.4vw, 64px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.person-role { color: var(--amber); }
.person p { max-width: 36ch; color: var(--text); }
.person a { color: var(--ink); }
@media (max-width: 600px) { .person + .person { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- opinie, FAQ, kontakt ---------- */
.rv-stars svg { fill: var(--amber); }
.rv-dots i.is-active { background: var(--amber); }
.faq, .faq details { border-color: var(--line); }
.faq summary { color: var(--ink); }
.faq summary::after { color: var(--amber); }
.cbox { background: rgba(34, 27, 22, .55); border-color: var(--line); }
.cbox > div + div { border-color: var(--line); }
.cbox svg { color: var(--amber); }
.cbox h4, .cbox p { color: var(--ink); }
.cicons a { background: transparent; border: 1px solid rgba(241, 231, 218, .22); color: var(--ink); }
@media (hover: hover) { .cicons a:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); box-shadow: 0 10px 26px -8px rgba(212, 138, 60, .7); } }

/* ---------- stopka ---------- */
.footer { position: relative; overflow: hidden; background: var(--dark); border-top: 1px solid var(--line); }
.footer::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: -30%; height: 60%; background: radial-gradient(ellipse at center, rgba(212, 138, 60, .28), transparent 70%); filter: blur(50px); pointer-events: none; }
.footer .wrap { position: relative; }
.footer-title { color: var(--ink); font-weight: 300; font-size: clamp(44px, 5vw, 72px); letter-spacing: -.02em; }
.footer-cols a:hover { color: var(--amber); }

/* ---------- strona realizacji ---------- */
.hc { background: var(--bg); }
.hc-kicker { color: var(--amber); }
.hc-title { color: var(--ink); font-weight: 300; font-size: clamp(56px, 8vw, 128px); line-height: .95; letter-spacing: -.03em; }
.hc-sub { color: var(--muted); }
.hc-quote { color: var(--ink); }
.hc-img { background: var(--surface); }
.hc-text h2 { color: var(--ink); font-weight: 300; }
.hc-text p { color: var(--text); }
.hc-cta { border-color: var(--line); }
.hc-cta h2 { color: var(--ink); font-weight: 300; }
.hc-btn { background: var(--accent); color: var(--dark); }
.hc-btn:hover { background: var(--ink); }
.hc-back, .hc-next .hc-next-t { color: var(--ink); }
.hc-next-n { color: var(--accent); }
@media (hover: hover) { .hc-next:hover .hc-next-t { color: var(--amber); } }

/* ---------- lightbox, kurtyna, kursor, postęp ---------- */
.lightbox { background: rgba(14, 11, 9, .72); -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2); }
.js .veil { background: var(--dark); }
.veil-mark { color: var(--ink); }
.progress { background: linear-gradient(90deg, #b9651f, var(--amber)); box-shadow: 0 0 10px rgba(231, 164, 87, .7); }
.cursor { background: rgba(212, 138, 60, .92); color: var(--dark); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
a[href^="tel:"], a[href^="mailto:"] { color: inherit; }
.rv-note { color: rgba(241, 231, 218, .3); }
.consent { color: var(--muted); }
.form-note { color: var(--amber); }

@media (prefers-reduced-motion: reduce) {
  body::after, .hero-glow, .consult-side::after { animation: none; }
  [data-grow] { transform: none; }
}
@media (max-width: 600px) {
  .hero { min-height: 560px; }
  .hero { --wh: min(58svh, 520px); }
  .gl-v[style*=".5"], .gl-p[style*=".5"] { display: none; }
  .team { grid-template-columns: 1fr; }
  .person { padding: 40px 12px 36px; }
}

/* =====================================================================
   POPRAWKI KLIENTKI II: mono bursztynowe kadry za napisami, wygaszone krzyżyki,
   tytuły podstron w obrysie kadru, polityka prywatności rozwijana w stopce
   ===================================================================== */
.hero-media .hero-sharp { filter: grayscale(1) sepia(.85) saturate(1.5) hue-rotate(-8deg) brightness(.6) contrast(.92) blur(1.5px); opacity: .78; }
.fx::before, .fx::after, .gl-p::before, .gl-p::after { background: rgba(212, 138, 60, .55); box-shadow: none; }
.fl { background: rgba(212, 138, 60, .18); }
.phero .hero-in { width: calc(var(--ww) - 56px); }
.phero-title { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; text-wrap: balance; }
.policy { margin-top: 56px; border-top: 1px solid var(--line); }
.policy summary { display: inline-flex; align-items: center; gap: 12px; padding: 22px 0 0; list-style: none; cursor: pointer; font-size: 10.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: rgba(241, 231, 218, .7); transition: color .3s; }
.policy summary::-webkit-details-marker { display: none; }
.policy summary::after { content: "+"; font-size: 16px; font-weight: 300; letter-spacing: 0; color: var(--amber); transition: transform .45s var(--ease-out); }
.policy[open] summary::after { transform: rotate(45deg); }
.policy summary:hover { color: var(--amber); }
.policy { interpolate-size: allow-keywords; }
.policy::details-content { height: 0; overflow: clip; transition: height .6s var(--ease-out), content-visibility .6s allow-discrete; }
.policy[open]::details-content { height: auto; }
.policy-body { max-width: 720px; padding: 26px 0 8px; font-size: 14px; line-height: 1.75; color: rgba(241, 231, 218, .6); }
.policy-body h4 { margin: 22px 0 6px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.policy-body h4:first-child { margin-top: 0; }
.footer-copy { margin-top: 64px; }
.hero .hero-sharp { object-position: 55% 50%; }

/* ---------- OPISY REALIZACJI OD KLIENTKI ---------- */
.tile-img--todo, .hc-img--todo { background: var(--line); }
.hc-img--full { aspect-ratio: 16 / 9; }
.hc-img--todo { cursor: default; }
.rv { align-self: center; }

/* ---------- oferta: rozwinięcie ze zdjęciem etapu ---------- */
.rak-card { position: relative; }
.rak-more { position: absolute; top: 12px; right: 14px; font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--amber); transition: transform .5s var(--ease-out); }
.rak-card[aria-expanded="true"] .rak-more { transform: rotate(45deg); }
.rak-panel { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 24px; background: rgba(34, 27, 22, .6); border: 1px solid var(--accent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transform: translateY(-8px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.rak-panel.is-in { opacity: 1; transform: none; }
.rak-img { margin: 0; cursor: zoom-in; overflow: hidden; }
.rak-img img { display: block; width: 100%; max-height: 460px; object-fit: contain; background: #fff; }
.rak-info h3 { font-size: 22px; color: var(--ink); }
.rak-info p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.rak-info ul { margin: 16px 0 24px; padding: 0; list-style: none; }
.rak-info li { position: relative; padding: 6px 0 6px 20px; font-size: 14.5px; color: var(--ink); border-bottom: 1px solid var(--line); }
.rak-info li::before { content: "+"; position: absolute; left: 0; color: var(--amber); }
@media (max-width: 680px) { .rak-panel { grid-template-columns: 1fr; gap: 18px; padding: 14px; } .rak-img img { max-height: 340px; } .rak-info h3 { font-size: 19px; } }

/* ---------- realizacja ze zdjęciami pionowymi: pary obok siebie ---------- */
.hc-rows--tall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.hc-img--tall { aspect-ratio: 3 / 4; }
.hc-list { max-width: 540px; margin: 18px auto 0; padding: 0; list-style: none; text-align: left; }
.hc-list li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.hc-list li::before { content: "+"; position: absolute; left: 0; color: var(--amber); }
@media (max-width: 680px) { .hc-rows--tall { grid-template-columns: 1fr; gap: 24px; } }
