/* =====================================================================
   Kancelaria Oboźna — arkusz stylów
   Paleta: granat / grafit / biel / mosiądz (złoto)
   Typografia: Fraunces (display), Spectral (tekst), Inter (UI)
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #0c1b2e;
  --navy-800: #122943;
  --navy-700: #1b3554;
  --ink: #16202b;
  --graphite: #43505f;
  --graphite-soft: #6a7686;
  --paper: #f7f4ed;
  --paper-2: #efeae0;
  --white: #ffffff;
  --gold: #a9843f;
  --gold-soft: #c6a15b;

  --line: rgba(12, 27, 46, 0.14);
  --line-2: rgba(12, 27, 46, 0.08);
  --line-light: rgba(255, 255, 255, 0.16);
  --line-gold: rgba(169, 132, 63, 0.4);

  --shadow-sm: 0 1px 2px rgba(12, 27, 46, 0.06);
  --shadow-md: 0 18px 40px -24px rgba(12, 27, 46, 0.35);
  --shadow-lg: 0 40px 80px -40px rgba(12, 27, 46, 0.45);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Spectral", Georgia, serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --wrap-narrow: 860px;
  --radius: 4px;
  --radius-lg: 10px;

  --ease: cubic-bezier(0.4, 0.02, 0.2, 1);
  --section-y: clamp(4rem, 8vw, 7.5rem);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

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

/* ---------- Typografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 460;
  line-height: 1.08;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.eyebrow--center {
  justify-content: center;
}

/* ---------- Układ ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section-head {
  max-width: 46rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  margin-top: 1.1rem;
}

.section-head p {
  margin-top: 1.25rem;
  color: var(--graphite);
  font-size: 1.15rem;
}

/* ---------- Przyciski ---------- */
.btn {
  --btn-bg: var(--navy-900);
  --btn-fg: var(--white);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  will-change: transform;
}

.btn svg { width: 1.05em; height: 1.05em; }

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--navy-900);
  border-color: var(--gold);
}

.btn--gold:hover {
  --btn-bg: var(--gold-soft);
  border-color: var(--gold-soft);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy-900);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--navy-900);
  background: transparent;
}

.btn--on-dark.btn--ghost {
  --btn-fg: var(--white);
  border-color: var(--line-light);
}

.btn--on-dark.btn--ghost:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.btn--block { width: 100%; }
.btn--lg { padding: 1.1rem 2.2rem; font-size: 1rem; }

.textlink {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.textlink svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s var(--ease);
}

.textlink:hover { color: var(--gold); }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 237, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1;
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
  color: var(--gold);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--navy-900);
}

.brand__sub {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--graphite-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--graphite);
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--navy-900);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--navy-900);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(169, 132, 63, 0.06), transparent 55%),
    var(--paper);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  margin-top: 1.5rem;
  font-weight: 420;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  margin-top: 1.75rem;
  max-width: 34rem;
  font-size: 1.2rem;
  color: var(--graphite);
}

.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__meta {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--graphite);
}

.hero__meta-item svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--gold);
  flex: none;
}

/* Hero image + oprawa */
.hero__figure {
  position: relative;
}

.hero__frame {
  position: relative;
  border: 1px solid var(--line-gold);
  padding: 14px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--line-gold);
  pointer-events: none;
}

.media {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.media::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(169, 132, 63, 0.22), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
  z-index: 0;
}

.media img { position: relative; z-index: 1; }
.media img.is-error { opacity: 0; }

.hero__figure:hover .media img { transform: scale(1.03); }

.hero__ratio { aspect-ratio: 4 / 5; }

.hero__badge {
  position: absolute;
  left: -1.5rem;
  bottom: 2.5rem;
  background: var(--navy-900);
  color: var(--white);
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: var(--shadow-md);
  max-width: 15rem;
}

.hero__badge svg { width: 2rem; height: 2rem; color: var(--gold); flex: none; }

.hero__badge span {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.hero__float {
  position: absolute;
  color: var(--gold);
  opacity: 0.9;
}

.hero__float--top { top: -1.4rem; right: 2rem; width: 3rem; }
.hero__float--doc { display: none; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.9);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.trust__item {
  background: var(--navy-900);
  padding: 2.4rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background 0.3s var(--ease);
}

.trust__item:hover { background: var(--navy-800); }

.trust__item svg { width: 2.1rem; height: 2.1rem; color: var(--gold); }

.trust__item h3 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 500;
}

.trust__item p {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Usługi ---------- */
.services__grid {
  margin-top: 3.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.1rem 2rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
}

.service-card__icon svg { width: 1.5rem; height: 1.5rem; }

.service-card h3 { font-size: 1.35rem; font-weight: 500; }

.service-card p {
  font-size: 1rem;
  color: var(--graphite);
  flex-grow: 1;
}

.service-card .textlink { margin-top: 0.35rem; }

/* ---------- Sekcja: bezpłatna konsultacja (split) ---------- */
.free {
  background: var(--paper-2);
}

.free__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.free__list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.free__list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.free__list li:last-child { border-bottom: none; padding-bottom: 0; }

.free__list svg {
  width: 1.5rem; height: 1.5rem; color: var(--gold); flex: none; margin-top: 0.15rem;
}

.free__list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy-900);
}

.free__list span {
  font-size: 0.98rem;
  color: var(--graphite);
}

.free__actions { margin-top: 2.25rem; }

.free__figure .hero__frame { box-shadow: var(--shadow-md); }
.free__ratio { aspect-ratio: 5 / 4; }

/* ---------- O kancelarii ---------- */
.about {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.86);
}

.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-top: 1.1rem; }
.about .eyebrow { color: var(--gold-soft); }
.about .eyebrow::before { background: var(--gold-soft); }

.about__lead {
  font-size: 1.3rem;
  color: var(--white);
  margin-top: 1.5rem;
  line-height: 1.5;
}

.about__body {
  margin-top: 1.35rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.05rem;
}

.about__body p + p { margin-top: 1rem; }

.about__figure .hero__frame {
  background: var(--navy-800);
  border-color: var(--line-gold);
}

.about__ratio { aspect-ratio: 4 / 5; }

.about__values {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}

.about__value {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.about__value svg { width: 1.15rem; height: 1.15rem; color: var(--gold-soft); }

/* ---------- Proces ---------- */
.process__grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  padding: 2.5rem 2rem 2.5rem 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step:not(:first-child) { padding-left: 2rem; }
.step:last-child { border-right: none; }

.step__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.step__num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.step h3 { font-size: 1.4rem; font-weight: 500; }
.step p { color: var(--graphite); font-size: 1rem; }

/* ---------- Opinie ---------- */
.testimonials { background: var(--paper-2); }

.testi__grid {
  margin-top: 3.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.testi-card__quote {
  width: 2.5rem; height: 2.5rem; color: var(--gold-soft);
}

.testi-card blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--navy-900);
  font-weight: 420;
  flex-grow: 1;
}

.testi-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.testi-card__badge {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  flex: none;
}

.testi-card cite {
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-800);
}

/* ---------- Kontakt CTA ---------- */
.contact-cta { background: var(--navy-900); color: rgba(255, 255, 255, 0.86); }

.contact-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.contact-cta h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-top: 1.1rem; }
.contact-cta .eyebrow { color: var(--gold-soft); }
.contact-cta .eyebrow::before { background: var(--gold-soft); }
.contact-cta p { color: rgba(255, 255, 255, 0.66); margin-top: 1.35rem; font-size: 1.1rem; }
.contact-cta__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.contact-card {
  background: var(--navy-800);
  border: 1px solid var(--line-light);
  padding: 2.4rem;
}

.contact-card__row {
  display: flex;
  gap: 1.15rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line-light);
}

.contact-card__row:first-child { padding-top: 0; }
.contact-card__row:last-child { border-bottom: none; padding-bottom: 0; }

.contact-card__row svg { width: 1.6rem; height: 1.6rem; color: var(--gold); flex: none; margin-top: 0.15rem; }

.contact-card__row .k {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.35rem;
}

.contact-card__row .v { font-size: 1.05rem; color: var(--white); }
.contact-card__row a.v:hover { color: var(--gold-soft); }

.contact-map {
  margin-top: 1.75rem;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--line-light);
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, #10233b, #0c1b2e);
}

.contact-map svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }

.contact-map__pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  color: var(--gold);
  width: 2.2rem; height: 2.2rem;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.4));
}

.contact-map__tag {
  position: absolute;
  left: 50%; bottom: 1rem;
  transform: translateX(-50%);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  background: rgba(12,27,46,0.75);
  border: 1px solid var(--line-light);
  padding: 0.4rem 0.9rem;
  white-space: nowrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #081422;
  color: rgba(255, 255, 255, 0.6);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand .brand__name { color: var(--white); }
.footer-brand p { margin-top: 1.25rem; max-width: 26rem; line-height: 1.6; }

.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.15rem;
  font-weight: 600;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a:hover { color: var(--white); }
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-col address a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); max-width: 60rem; }

/* =====================================================================
   Strona: Bezpłatna konsultacja
   ===================================================================== */
.page-hero {
  background:
    radial-gradient(120% 90% at 90% 0%, rgba(169, 132, 63, 0.07), transparent 55%),
    var(--paper);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.page-hero__title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-top: 1.4rem;
  font-weight: 420;
  line-height: 1.04;
}

.page-hero__sub {
  margin-top: 1.6rem;
  font-size: 1.2rem;
  color: var(--graphite);
  max-width: 32rem;
}

.page-hero__points {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-hero__points li {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  color: var(--navy-800);
}

.page-hero__points svg { width: 1.35rem; height: 1.35rem; color: var(--gold); flex: none; }

.breadcrumb {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--graphite-soft);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--line); }

/* ---------- Formularz ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  position: relative;
}

.form-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}

.form-card__head {
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.form-card__head h2 { font-size: 1.6rem; font-weight: 500; }
.form-card__head p { font-family: var(--font-ui); font-size: 0.9rem; color: var(--graphite); margin-top: 0.5rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field { margin-bottom: 1.25rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy-800);
  margin-bottom: 0.5rem;
}

.field label .req { color: var(--gold); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2343505f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(169, 132, 63, 0.15);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--graphite-soft); }

.field .error-msg {
  display: none;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: #b3261e;
  margin-top: 0.4rem;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b3261e;
  background: #fdf5f4;
}

.field.has-error .error-msg { display: block; }

.consent {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.consent input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  flex: none;
  accent-color: var(--gold);
  cursor: pointer;
}

.consent label {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--graphite);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0;
}

.consent.has-error label { color: #b3261e; }

.form-note {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--graphite-soft);
  margin-top: 1.25rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.form-note svg { width: 1rem; height: 1rem; color: var(--gold); }

/* Komunikat sukcesu */
.form-success {
  display: none;
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.form-success.is-visible { display: block; animation: fadeUp 0.5s var(--ease); }

.form-success__icon {
  width: 4rem; height: 4rem; margin: 0 auto 1.5rem;
  color: var(--gold);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.form-success__icon svg { width: 2rem; height: 2rem; }
.form-success h3 { font-size: 1.6rem; font-weight: 500; }
.form-success p { font-family: var(--font-body); color: var(--graphite); margin-top: 1rem; max-width: 26rem; margin-inline: auto; }

.form-card.is-sent .form-body { display: none; }

/* ---------- Co dalej ---------- */
.next__grid {
  margin-top: 3.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.next-card {
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.next-card__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
}

.next-card h3 { font-size: 1.25rem; font-weight: 500; }
.next-card p { color: var(--graphite); font-size: 0.98rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper-2); }

.faq__list {
  margin-top: 2.75rem;
  max-width: var(--wrap-narrow);
  border-top: 1px solid var(--line);
}

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item__q {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 1.6rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy-900);
}

.faq-item__icon {
  width: 1.5rem; height: 1.5rem; flex: none;
  color: var(--gold);
  position: relative;
  transition: transform 0.3s var(--ease);
}

.faq-item[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); }

.faq-item__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease);
}

.faq-item__a-inner {
  padding-bottom: 1.6rem;
  color: var(--graphite);
  font-size: 1.05rem;
  max-width: 46rem;
}

/* ---------- Sekcja kontakt (strona 2) ---------- */
.contact-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

/* ---------- Animacje wejścia ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* =====================================================================
   Responsywność
   ===================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { max-width: 30rem; margin-inline: auto; order: -1; width: 100%; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid,
  .testi__grid,
  .next__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid,
  .contact-cta__grid,
  .free__grid,
  .page-hero__grid,
  .contact-block__grid { grid-template-columns: 1fr; }
  .about__figure,
  .free__figure { max-width: 30rem; }
  .process__grid { grid-template-columns: 1fr; border-top: none; }
  .step { border-right: none; border-top: 1px solid var(--line); padding: 2rem 0; }
  .step:not(:first-child) { padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.75rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-140%);
    transition: transform 0.35s var(--ease);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__link { padding: 1rem 0; border-bottom: 1px solid var(--line-2); font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .header-cta { margin-top: 1rem; }
  .nav-toggle { display: flex; }
  body.nav-open { overflow: hidden; }

  .nav-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .trust__grid { grid-template-columns: 1fr; }
  .services__grid,
  .testi__grid,
  .next__grid,
  .form-row { grid-template-columns: 1fr; }
  .hero__badge { left: 0; right: 0; margin-inline: auto; bottom: 1rem; max-width: none; }
  .hero__actions .btn { flex: 1 1 auto; }
  .field .form-row { gap: 0; }
}

@media (max-width: 420px) {
  body { font-size: 1rem; }
  .brand__sub { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .hero__float, .contact-map { display: none; }
  body { background: #fff; color: #000; }
}
