:root {
  --bg: #f3efe7;
  --surface: #fffdf9;
  --surface2: #ebe4d8;
  --ink: #16241f;
  --muted: #58645d;
  --primary: #0e5d50;
  --deep: #083d35;
  --terra: #b9603f;
  --gold: #d6a36a;
  --line: #d8cdbb;
  --radius: 5px;
  --max: 1240px;
  --shadow: 0 16px 42px rgba(22, 36, 31, 0.11);
  --ease: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.62 "Segoe UI",
    Arial,
    sans-serif;
  overflow-x: hidden;
}
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}
.skip {
  position: fixed;
  left: -999px;
  top: 8px;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
}
.skip:focus {
  left: 8px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
}
.top {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(243, 239, 231, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  text-decoration: none;
}
.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
.brand b {
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}
.brand small {
  display: block;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-size: 0.55rem;
}
.links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.links a {
  position: relative;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}
.links a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--terra);
  transition: right var(--ease);
}
.links a:hover:after,
.links a[aria-current="page"]:after {
  right: 0;
}
.menu {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}
.mobile {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 0 18px;
}
.mobile.open {
  display: grid;
}
.mobile a {
  padding: 10px 0;
  text-decoration: none;
  font-weight: 700;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition:
    background var(--ease),
    border-color var(--ease),
    transform var(--ease),
    box-shadow var(--ease);
}
.button:hover,
.button.alt:hover {
  background: #0a4d42;
  border-color: #0a4d42;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 36, 31, 0.2);
}
.button.alt {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.hero {
  padding: 64px 0 52px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: stretch;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-copy {
  padding: 58px 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(
    90deg,
    rgba(255, 253, 249, 0.98),
    rgba(255, 253, 249, 0.9)
  );
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--terra);
}
h1 {
  font-size: clamp(3.1rem, 5.5vw, 6rem);
  max-width: 10ch;
  margin: 20px 0 24px;
}
.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 56ch;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-media {
  position: relative;
  min-height: 610px;
  background: var(--surface2);
  overflow: hidden;
}
.hero-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  border-radius: var(--radius);
}
.hero-quote {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(280px, calc(100% - 44px));
  padding: 18px;
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid rgba(216, 205, 187, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: Georgia, "Times New Roman", serif;
}
.hero-quote small {
  display: block;
  margin-top: 10px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--muted);
}
.credentials {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.credentials strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}
.credentials span {
  color: var(--muted);
  font-size: 0.78rem;
}
.section {
  padding: 86px 0;
}
.section.alt {
  background: var(--surface2);
}
.section.dark {
  background: var(--deep);
  color: #fff;
}
.heading-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}
.heading-row h2,
.section-title {
  font-size: clamp(2.3rem, 4.2vw, 4.2rem);
}
.heading-row p {
  color: var(--muted);
  max-width: 58ch;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.service-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
}
.service-card-body {
  padding: 24px;
}
.service-card h3 {
  font-size: 1.55rem;
  margin: 8px 0 10px;
}
.service-card p {
  color: var(--muted);
  font-size: 0.93rem;
}
.service-card strong {
  display: inline-block;
  margin-top: 20px;
  color: var(--primary);
}
.process-grid {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 56px;
}
.process-grid .section-title {
  margin: 16px 0 20px;
}
.process-grid > div > p {
  color: #c9d9d4;
}
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
}
.step {
  padding: 26px;
  background: var(--deep);
  min-height: 185px;
}
.step b {
  display: block;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}
.step h3 {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0;
  margin: 20px 0 8px;
}
.step p {
  color: #c9d9d4;
  font-size: 0.9rem;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.photo-frame {
  padding: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.photo-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.split-copy h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  margin: 16px 0 20px;
}
.split-copy p {
  color: var(--muted);
  margin-bottom: 18px;
}
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}
.fact {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
}
.fact b {
  display: block;
  color: var(--terra);
  margin-bottom: 6px;
}
.fact span {
  font-size: 0.9rem;
  color: var(--muted);
}
.logo-band {
  width: min(1500px, calc(100% - 32px));
  margin: 18px auto;
  padding: 48px 0;
  background: var(--deep);
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.logo-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.logo-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  max-width: 14ch;
}
.logo-toggle {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: var(--ease);
}
.logo-toggle:hover {
  background: #fff;
  color: var(--ink);
}
.logo-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}
.logo-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: logos 44s linear infinite;
}
.logo-track.paused {
  animation-play-state: paused;
}
.logo-set {
  display: flex;
  gap: 14px;
}
.logo-card {
  width: 220px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #f6f0e7;
  border: 1px solid #9aa99f;
  border-radius: var(--radius);
  transition:
    transform var(--ease),
    background var(--ease),
    border-color var(--ease);
}
.logo-card:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: var(--gold);
}
.logo-card img {
  max-width: 184px;
  max-height: 68px;
  object-fit: contain;
}
.logo-card.word {
  font-weight: 900;
  text-align: center;
  color: #111;
}
.logo-card.eco {
  background: #273024;
}
.logo-card.eco:hover {
  background: #34402f;
}
@keyframes logos {
  to {
    transform: translateX(calc(-50% - 7px));
  }
}
.page-hero {
  padding: 62px 0;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.page-hero h1 {
  font-size: clamp(3.1rem, 5.4vw, 5.5rem);
  margin: 18px 0 22px;
}
.page-hero img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.content-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: var(--ease);
}
.content-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.content-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.content-card p {
  color: var(--muted);
}
.faq {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.faq summary {
  font-weight: 800;
  cursor: pointer;
}
.faq p {
  padding-top: 12px;
  color: var(--muted);
}
.contact {
  background: var(--surface2);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 52px;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  margin: 16px 0 20px;
}
.contact-copy p {
  color: var(--muted);
}
.contact-person {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 26px;
}
.contact-person img {
  width: 94px;
  height: 112px;
  object-fit: cover;
  object-position: center 28%;
}
.contact-person b {
  display: block;
}
.contact-person span {
  color: var(--muted);
  font-size: 0.88rem;
}
.form {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form label {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 800;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition:
    border-color var(--ease),
    background var(--ease),
    box-shadow var(--ease);
}
.form textarea {
  min-height: 122px;
  resize: vertical;
}
.form input:hover,
.form select:hover,
.form textarea:hover {
  border-color: var(--primary);
  background: #fff;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--primary);
  background: #fff;
  outline: 0;
  box-shadow: 0 0 0 4px rgba(14, 93, 80, 0.13);
}
.check {
  grid-template-columns: 22px 1fr !important;
  font-weight: 500 !important;
  align-items: start;
}
.check input {
  min-height: auto;
  margin-top: 4px;
}
.conditional[hidden],
.hp {
  display: none !important;
}
.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: -3px 0 14px;
}
.status {
  min-height: 1.5em;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 700;
}
.status.error {
  color: #9d3129;
}
.footer {
  padding: 36px 0;
  background: var(--ink);
  color: #d6e1dc;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  width: 52px;
  height: 52px;
  background: #fff;
}
.footer a {
  color: #fff;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}
.privacy-launcher {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 100;
}
.privacy-launcher[hidden] {
  display: none;
}
.privacy-trigger {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 700;
  cursor: pointer;
}
.privacy-panel {
  position: fixed;
  left: 16px;
  bottom: 72px;
  z-index: 101;
  width: min(520px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.privacy-panel[hidden] {
  display: none;
}
.privacy-panel h2 {
  font-size: 1.55rem;
  margin: 7px 0 9px;
}
.privacy-panel p {
  color: var(--muted);
  font-size: 0.87rem;
}
.privacy-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 17px;
}
.privacy-actions a {
  font-weight: 800;
  color: var(--primary);
}
@media (max-width: 980px) {
  .links,
  .nav > .button {
    display: none;
  }
  .menu {
    display: block;
  }
  .hero-grid,
  .page-hero-grid,
  .process-grid,
  .split,
  .contact-grid,
  .heading-row {
    grid-template-columns: 1fr;
  }
  .hero-media {
    min-height: 520px;
  }
  .cards,
  .content-grid {
    grid-template-columns: 1fr;
  }
  .heading-row {
    gap: 14px;
  }
  .logo-head {
    align-items: start;
    flex-direction: column;
  }
  .fact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }
  .hero {
    padding: 28px 0;
  }
  .hero-copy {
    padding: 38px 24px;
  }
  .hero-media {
    min-height: 470px;
  }
  h1 {
    font-size: clamp(2.65rem, 13vw, 3.3rem);
  }
  .section {
    padding: 58px 0;
  }
  .steps,
  .fact-grid,
  .row {
    grid-template-columns: 1fr;
  }
  .logo-card {
    width: 180px;
  }
  .logo-band {
    width: calc(100% - 16px);
    padding: 38px 0;
  }
  .form {
    padding: 20px 16px;
  }
  .form input,
  .form select,
  .form textarea {
    font-size: 16px;
  }
  .actions {
    display: grid;
  }
  .button {
    width: 100%;
  }
  .credentials {
    gap: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-links {
    display: grid;
    gap: 8px;
  }
  .mobile a {
    min-height: 44px;
    display: flex;
    align-items: center;
    overflow-wrap: anywhere;
  }
  .privacy-panel {
    max-height: calc(100dvh - 96px);
    overflow: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .logo-track {
    animation: none;
  }
  .logo-set[aria-hidden="true"] {
    display: none;
  }
}

/* Korekta kierunku po porównaniu z zaakceptowanym wzorcem */
.hero {
  padding: 0;
}
.hero .wrap {
  width: min(1440px, 100%);
}
.hero-grid {
  grid-template-columns: 42% 58%;
  border: 0;
  border-radius: var(--radius);
}
.hero-copy {
  padding: 64px max(44px, calc((100vw - 1240px) / 2));
  padding-right: 42px;
}
.hero h1 {
  font-size: clamp(3rem, 4.8vw, 4.65rem);
  max-width: 9ch;
}
.hero-media {
  min-height: 600px;
}
.hero-media > img {
  object-position: 50% 28%;
}
.logo-band {
  width: min(1500px, calc(100% - 32px));
  margin: 18px auto;
  padding: 28px 0;
  border-radius: var(--radius);
  box-shadow: none;
}
.logo-head {
  margin-bottom: 16px;
}
.logo-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  max-width: none;
}
.logo-card {
  width: 190px;
  height: 72px;
  padding: 12px;
}
.logo-card img {
  max-width: 158px;
  max-height: 48px;
}
.process-grid {
  grid-template-columns: 0.68fr 1.32fr;
}
.steps {
  grid-template-columns: repeat(4, 1fr);
}
.step {
  min-height: 215px;
}
.contact-grid {
  grid-template-columns: 0.7fr 1.3fr;
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 52px 36px;
  }
  .hero-media {
    min-height: 560px;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo-band {
    border-radius: var(--radius);
  }
}
@media (max-width: 620px) {
  .hero-copy {
    padding: 40px 22px;
  }
  .hero h1 {
    font-size: 3.15rem;
  }
  .hero-media {
    min-height: 500px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .logo-card {
    width: 168px;
    height: 68px;
  }
}

/* Oficjalny znak FILAR jest białym wordmarkiem na przezroczystym tle. */
.logo-card.filar img {
  filter: invert(1);
}

@media (min-width: 981px) {
  .hero-media {
    min-height: 0;
  }
  .hero-media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Warstwa art direction: miękkie przejścia, grafika procesu i akcent botaniczny */
.hero-grid {
  position: relative;
  isolation: isolate;
}
.hero-grid:before {
  content: "";
  position: absolute;
  z-index: 3;
  left: -3%;
  bottom: -4%;
  width: 28%;
  height: 66%;
  background: url("assets/kontakt-roslina.jpg") center/cover no-repeat;
  opacity: 0.16;
  filter: grayscale(1) blur(7px);
  mix-blend-mode: multiply;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 3;
}
.hero-media {
  z-index: 1;
}
.hero-media:before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 18%;
  background: linear-gradient(
    90deg,
    var(--surface),
    rgba(255, 253, 249, 0.92) 34%,
    rgba(255, 253, 249, 0)
  );
  pointer-events: none;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-stats > div {
  padding: 0 18px;
  border-right: 1px solid var(--line);
}
.hero-stats > div:first-child {
  padding-left: 0;
}
.hero-stats > div:last-child {
  border-right: 0;
}
.hero-stats strong {
  display: block;
  font:
    700 1.45rem/1.1 Georgia,
    "Times New Roman",
    serif;
}
.hero-stats span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}
.cards {
  grid-template-columns: repeat(3, 1fr);
}
.process-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.process-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 61, 53, 0.98) 0 34%,
    rgba(8, 61, 53, 0.88) 64%,
    rgba(8, 61, 53, 0.68)
  );
  z-index: -1;
}
.process-house {
  position: absolute;
  z-index: -2;
  right: -2%;
  top: -26%;
  width: 67%;
  height: 150%;
  background: url("assets/analiza-dzialki.jpg") center/cover no-repeat;
  filter: grayscale(1) contrast(1.25);
  opacity: 0.26;
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000);
}
.process-grid {
  position: relative;
  z-index: 1;
}
.steps {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(2px);
}
.step {
  background: rgba(8, 61, 53, 0.82);
}
.process-signature {
  position: absolute;
  right: 1.5%;
  bottom: 8px;
  color: var(--gold) !important;
  font:
    italic 700 2.35rem/1.02 "Segoe Print",
    "Bradley Hand",
    cursive;
  transform: rotate(-6deg);
  text-align: center;
  letter-spacing: -0.06em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
}
.contact-grid {
  grid-template-columns: 0.62fr 1.14fr 0.42fr;
  gap: 30px;
}
.contact-art {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep);
}
.contact-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.75) contrast(0.9);
}
.contact-art:after {
  content: "Dobre miejsca zaczynają się od rozmowy.";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font:
    1.15rem/1.25 Georgia,
    "Times New Roman",
    serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.55);
}
@media (min-width: 981px) {
  .hero-copy {
    margin-right: -78px;
    padding-right: 120px;
    background: linear-gradient(
      90deg,
      var(--surface) 0 78%,
      rgba(255, 253, 249, 0.95) 88%,
      rgba(255, 253, 249, 0) 100%
    );
  }
  .hero-media > img {
    object-position: 50% 24%;
  }
}
@media (max-width: 1120px) {
  .contact-grid {
    grid-template-columns: 0.72fr 1.28fr;
  }
  .contact-art {
    display: none;
  }
}
@media (max-width: 980px) {
  .hero-grid:before {
    width: 46%;
    height: 42%;
    opacity: 0.11;
  }
  .hero-media:before {
    inset: 0 0 auto 0;
    width: auto;
    height: 18%;
    background: linear-gradient(180deg, var(--surface), rgba(255, 253, 249, 0));
  }
  .hero-copy {
    margin: 0;
    padding-right: 36px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-house {
    right: -28%;
    width: 115%;
    opacity: 0.18;
  }
  .process-signature {
    position: static;
    margin: 24px 0 0 auto;
    width: max-content;
  }
}
@media (max-width: 620px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero-stats > div {
    padding: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-stats > div:last-child {
    border-bottom: 0;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding-right: 22px;
  }
  .hero-media > img {
    object-position: 50% 20%;
  }
}

/* Kontakt, opinie i treści redakcyjne */
.company-faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.5fr);
  gap: clamp(28px, 5vw, 72px);
  margin-bottom: clamp(48px, 7vw, 84px);
  padding-bottom: clamp(42px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
}
.company-faq-head h2 {
  max-width: 12ch;
  margin: 12px 0 18px;
  font-size: clamp(2.1rem, 4.2vw, 4.25rem);
}
.company-faq-head p:last-child {
  color: var(--muted);
}
.company-faq .faq {
  margin: 0;
}
.contact-grid {
  align-items: stretch;
}
.contact-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 0;
}
.contact-copy > :first-child {
  margin-top: 0;
}
.contact-art {
  min-height: 0;
  height: 100%;
}
.review-rotator {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 245px;
  margin-top: 26px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(22, 36, 31, 0.07);
}
.review-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  transition: height 220ms ease;
}
.review-stage.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.review-stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--primary);
}
.review-stars-symbols {
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
}
.review-stars-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.review {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  will-change: transform, opacity;
}
.review[hidden] {
  display: none;
}
.review blockquote {
  margin: 0;
  color: var(--ink);
  font:
    1.05rem/1.55 Georgia,
    "Times New Roman",
    serif;
}
.review figcaption {
  margin-top: 15px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.review figcaption a {
  color: inherit;
}
@media (max-width: 1260px) {
  .links,
  .nav > .button {
    display: none;
  }
  .menu {
    display: block;
  }
}
.review-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.review-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}
.review-controls button:hover {
  border-color: var(--primary);
  background: #fff;
}
.review-controls span {
  color: var(--muted);
  font-size: 0.75rem;
}
.breadcrumbs {
  padding-top: 22px;
}
.breadcrumbs ol {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.8rem;
}
.breadcrumbs li + li:before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}
.breadcrumbs a {
  color: var(--primary);
  font-weight: 700;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.article-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}
.article-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.article-card h2 {
  margin: 10px 0 14px;
  font-size: 1.75rem;
}
.article-card p {
  color: var(--muted);
}
.article-card strong {
  margin-top: auto;
  padding-top: 20px;
  color: var(--primary);
}
.article {
  max-width: 820px;
}
.article h1 {
  max-width: 14ch;
}
.article-meta {
  margin: -8px 0 28px;
  color: var(--muted);
  font-size: 0.85rem;
}
.article h2 {
  margin: 42px 0 14px;
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
}
.article p,
.article li {
  color: var(--muted);
}
.article .answer {
  padding: 22px;
  border-left: 4px solid var(--gold);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.08rem;
}
.sources {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
@media (max-width: 1120px) {
  .contact-art {
    display: block;
    min-height: 520px;
  }
}
@media (max-width: 980px) {
  .company-faq,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .review-rotator {
    min-height: 280px;
  }
  .contact-art {
    min-height: 480px;
  }
}

/* Korekty po przeglądzie z 9.09: prostsze CTA, okrągłe logo i lżejszy proces */
.brand img,
.footer-brand img {
  border-radius: 50%;
  clip-path: circle(50%);
  aspect-ratio: 1/1;
  object-fit: cover;
}
body[data-page="onas"] .page-hero img {
  object-position: 50% 12%;
}
body[data-page="onas"] .photo-frame img {
  object-position: 50% 28%;
}
@media (min-width: 981px) {
  .hero .actions {
    flex-wrap: nowrap;
  }
  .hero .actions .button {
    width: auto;
    white-space: nowrap;
    padding-inline: 18px;
    font-size: 0.9rem;
  }
}
.process-section {
  padding: 72px 0;
}
.process-grid {
  grid-template-columns: 0.78fr 1.55fr;
  gap: 52px;
  align-items: center;
}
.process-grid .section-title {
  font-size: clamp(2.5rem, 3.65vw, 3.8rem);
  max-width: 10ch;
}
.steps {
  border: 0;
  background: transparent;
  backdrop-filter: none;
  overflow: visible;
  gap: 0;
}
.step {
  position: relative;
  min-height: 168px;
  padding: 14px 25px;
  background: transparent;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.step:first-child {
  border-left: 0;
}
.step:not(:last-child):after {
  content: "→";
  position: absolute;
  right: -8px;
  top: 20px;
  color: var(--gold);
  font-size: 1.1rem;
}
.step b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep);
  letter-spacing: 0;
}
.step h3 {
  margin: 15px 0 7px;
}
.process-signature {
  right: 1%;
  bottom: -14px;
  font-size: 2rem;
}
.process-house {
  opacity: 0.18;
  filter: grayscale(1) contrast(1.05);
}
@media (max-width: 980px) {
  body[data-page="onas"] .page-hero img {
    aspect-ratio: 4/5;
    object-position: 50% 10%;
  }
  body[data-page="onas"] .photo-frame img {
    object-position: 50% 24%;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-grid .section-title {
    max-width: 13ch;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .step:nth-child(3) {
    border-left: 0;
  }
  .process-signature {
    margin-top: 8px;
  }
}
@media (max-width: 620px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .step,
  .step:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .step:first-child {
    border-top: 0;
  }
  .step:not(:last-child):after {
    display: none;
  }
}
