/* Liga Nieruchomości — system wizualny
   Granat + złamana biel + ciepły piasek + jeden akcent (mosiądz).
   Mobile-first; breakpointy: 640 / 768 / 1024 / 1280. */

/* ── Tokeny ─────────────────────────────────────────────── */
:root {
  --navy-900: #0F2742;
  --navy-800: #142F4F;
  --navy-700: #1B3A5F;
  --navy-600: #1E4470;
  --paper: #F8F5EF;
  --white: #FFFFFF;
  --sand-100: #F2ECE2;
  --sand-200: #EDE5D8;
  --line: #E0D6C5;
  --line-strong: #CDBFA8;
  --field-border: #8A7F6E; /* min. 3:1 na bieli — obramowania pól i kontrolek */
  --ink: #17212E;
  --stone: #56606C;
  --brass: #B5844A;
  --brass-text: #85571F;
  --brass-light: #D8B47F;
  --on-navy: #F8F5EF;
  --on-navy-muted: #C3CDD9;
  --success: #2C6A4C;
  --success-bg: #E6F0EA;
  --error: #A8261B;
  --error-bg: #FBECEA;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --fs-xs: 0.8125rem;   /* 13px */
  --fs-sm: 0.9375rem;   /* 15px */
  --fs-base: 1.0625rem; /* 17px */
  --fs-lg: 1.1875rem;
  --fs-h3: 1.3125rem;
  --fs-h2: clamp(1.875rem, 1.35rem + 2.2vw, 2.875rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3.4vw, 3.875rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem; --space-9: 6rem;
  --section-y: clamp(4rem, 2.6rem + 5vw, 7rem);
  --gutter: 16px;
  --container: 1240px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 39, 66, 0.06), 0 1px 1px rgba(15, 39, 66, 0.04);
  --shadow-md: 0 18px 40px -18px rgba(15, 39, 66, 0.28), 0 2px 6px rgba(15, 39, 66, 0.06);
  --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--brass);

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 160ms;
  --dur: 260ms;
  --dur-slow: 600ms;
  --header-h: 72px;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --header-h: 80px; } }

/* ── Podstawy ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
p { margin: 0 0 1em; text-wrap: pretty; overflow-wrap: break-word; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
dl, dd, figure, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius-sm); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.icon-sm { width: 1em; height: 1em; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(760px + 2 * var(--gutter)); }
.center { text-align: center; }
main:focus { outline: none; }

.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 12px 18px;
  background: var(--navy-900); color: var(--on-navy); border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ── Typografia ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--space-4);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-text);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-title { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 500; letter-spacing: -0.01em; color: var(--navy-900); font-variation-settings: 'opsz' 96; }
.section-title em, .hero-title em { font-style: italic; font-weight: 400; color: var(--brass-text); }
.section-title--sm { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: var(--space-6); }
.section-lead { margin-top: var(--space-4); font-size: var(--fs-lg); color: var(--stone); max-width: 62ch; }
.hint { font-size: var(--fs-sm); color: var(--stone); }
.fine-print { display: flex; gap: 8px; align-items: flex-start; margin-top: var(--space-6); font-size: var(--fs-xs); color: var(--stone); }
.fine-print .icon { margin-top: 3px; }

/* ── Przyciski ──────────────────────────────────────────── */
.btn {
  --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-weight: 600; font-size: var(--fs-sm); letter-spacing: 0.01em; line-height: 1.25; text-decoration: none; text-align: center;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform var(--dur) var(--ease-out); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary { --btn-bg: var(--navy-900); --btn-fg: var(--on-navy); --btn-bd: var(--navy-900); }
.btn--accent { --btn-bg: var(--brass-light); --btn-fg: var(--navy-900); --btn-bd: var(--brass-light); }
.btn--outline { --btn-fg: var(--navy-900); --btn-bd: var(--navy-900); }
.btn--ghost { --btn-fg: var(--navy-900); --btn-bd: var(--field-border); }
.btn--text { --btn-fg: var(--stone); padding-inline: 8px; text-decoration: underline; text-underline-offset: 0.25em; font-weight: 500; }
.btn--sm { min-height: 44px; padding: 10px 16px; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
@media (max-width: 639px) { .btn--block-mobile { width: 100%; } }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); }
  .btn--accent:hover { --btn-bg: #E3C493; --btn-bd: #E3C493; }
  .btn--outline:hover, .btn--ghost:hover { --btn-bg: var(--navy-900); --btn-fg: var(--on-navy); --btn-bd: var(--navy-900); }
  .btn--text:hover { --btn-fg: var(--navy-900); }
  .btn:hover .icon:last-child { transform: translateX(3px); }
}
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy-900); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 0.3em; min-height: 44px; }
@media (hover: hover) { .text-link:hover { color: var(--brass-text); } }

/* ── Nagłówek ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(248, 245, 239, 0.96);
  border-bottom: 1px solid transparent; transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(248, 245, 239, 0.88); backdrop-filter: saturate(140%) blur(10px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 39, 66, 0.4); }
.header-inner { display: flex; align-items: center; gap: var(--space-5); min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); flex-shrink: 0; }
.logo-mark { width: 36px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; letter-spacing: 0.06em; text-transform: uppercase; }
.logo-sub { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-text); margin-top: 3px; }
@media (max-width: 379px) { .logo-name { font-size: 0.9375rem; letter-spacing: 0.04em; } .logo-mark { width: 32px; } }
.main-nav { display: none; margin-left: auto; }
.main-nav ul { display: flex; gap: clamp(14px, 1.4vw, 26px); }
.main-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1.5px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.main-nav a[aria-current="page"]::after, .main-nav a.is-active::after { transform: scaleX(1); }
@media (hover: hover) { .main-nav a:hover::after { transform: scaleX(1); } }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-phone { display: none; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: var(--fs-sm); color: var(--navy-900); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--brass); }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px;
  border: 1px solid var(--field-border); border-radius: var(--radius-sm); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-decoration: none; color: var(--navy-900);
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
@media (hover: hover) { .lang-switch:hover { border-color: var(--navy-900); background: var(--white); } }
.header-cta { display: none; white-space: nowrap; }
.menu-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: transparent; color: var(--navy-900); border-radius: var(--radius-sm); }
.menu-toggle .icon { width: 26px; height: 26px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
.mobile-nav nav ul { padding: 8px var(--gutter); }
.mobile-nav nav a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.25rem; color: var(--navy-900); text-decoration: none; }
.mobile-nav-actions { display: grid; gap: 10px; padding: 16px var(--gutter) 28px; }
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .mobile-nav { display: none !important; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1240px) {
  .main-nav { display: block; }
  .menu-toggle, .mobile-nav { display: none !important; }
  .header-actions { margin-left: var(--space-4); }
}
@media (min-width: 1560px) { .header-phone { display: inline-flex; } }
@media (max-width: 1239px) { html:not(.js) .main-nav { display: block; width: 100%; overflow-x: auto; } html:not(.js) .header-inner { flex-wrap: wrap; } }

/* ── Sekcje ─────────────────────────────────────────────── */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.section--sand { background: var(--sand-100); }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--split { display: flex; flex-direction: column; gap: var(--space-5); max-width: none; }
@media (min-width: 1024px) { .section-head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; } .section-head--split > div:first-child { max-width: 680px; } }
.page-top { padding-top: var(--space-5); }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); align-items: center; }
.hero-title { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 500; line-height: 1.06; letter-spacing: -0.02em; color: var(--navy-900); font-variation-settings: 'opsz' 144; }
.hero-lead { margin-top: var(--space-5); font-size: var(--fs-lg); color: var(--stone); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-6); }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }
.hero-trust { display: grid; gap: 12px; margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink); }
.hero-trust li { display: flex; align-items: center; gap: 10px; }
.hero-trust .icon { color: var(--brass); width: 22px; height: 22px; }
.hero-trust strong { font-weight: 700; }
@media (min-width: 640px) { .hero-trust { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 28px; } }
.hero-media { position: relative; margin: 0; padding: 0 0 28px 0; }
.hero-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.2; background: var(--navy-800, #1E4470); box-shadow: var(--shadow-md); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero-media::before { content: ''; position: absolute; inset: 18px -14px 10px 18px; border: 1px solid var(--brass); border-radius: var(--radius-lg); z-index: -1; }
.hero-badge {
  position: absolute; left: 16px; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: var(--navy-900); color: var(--on-navy); border-radius: var(--radius); box-shadow: var(--shadow-md); max-width: calc(100% - 32px);
}
.hero-badge-mark { width: 34px; }
.hero-badge strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; }
.hero-badge span span { display: block; font-size: var(--fs-xs); color: var(--on-navy-muted); }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .hero-frame { aspect-ratio: 4 / 5; }
  .hero-frame img { object-position: 50% 0%; }
  .hero-badge { left: -28px; bottom: 36px; }
}

/* ── Liczby ─────────────────────────────────────────────── */
.stats { background: var(--navy-900); color: var(--on-navy); }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 28px 12px; border-bottom: 1px solid rgba(248, 245, 239, 0.12); }
.stat:nth-child(odd) { border-right: 1px solid rgba(248, 245, 239, 0.12); padding-left: 0; }
.stat:nth-child(even) { padding-left: 20px; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); line-height: 1; color: var(--brass-light); font-variant-numeric: tabular-nums; }
.stat-label { font-size: var(--fs-sm); color: var(--on-navy-muted); line-height: 1.45; max-width: 26ch; }
@media (max-width: 519px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(odd), .stat:nth-child(even) { padding: 22px 0; border-right: 0; flex-direction: row; align-items: center; gap: 18px; }
  .stat-num { min-width: 96px; }
  .stat:last-child { border-bottom: 0; }
}
@media (min-width: 520px) and (max-width: 899px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat, .stat:nth-child(odd), .stat:nth-child(even) { padding: 28px 16px; border-bottom: 1px solid rgba(248, 245, 239, 0.12); }
  .stat:nth-child(odd) { padding-left: 0; border-right: 1px solid rgba(248, 245, 239, 0.12); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat, .stat:nth-child(odd), .stat:nth-child(even) { padding: 40px 28px; border-bottom: 0; border-right: 1px solid rgba(248, 245, 239, 0.12); }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; }
}

/* ── O mnie ─────────────────────────────────────────────── */
.about-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
.about-copy p { color: var(--stone); max-width: 62ch; }
.about-copy .section-title { margin-bottom: var(--space-5); }
.about-quote { font-family: var(--font-display); font-size: 1.3125rem; line-height: 1.45; color: var(--navy-900) !important; padding-left: 20px; border-left: 2px solid var(--brass); margin-block: var(--space-5) var(--space-6) !important; }
.fact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.fact-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: var(--fs-h3); color: var(--navy-900); margin-bottom: var(--space-4); }
.fact-mark { width: 26px; }
.facts > div { display: grid; gap: 2px; padding-block: 12px; border-top: 1px solid var(--line); }
.facts dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); }
.facts dd { font-weight: 500; }
@media (min-width: 640px) { .facts > div { grid-template-columns: 140px 1fr; gap: 16px; } }
.values-title { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--navy-900); margin: var(--space-6) 0 var(--space-4); }
.values { display: grid; gap: 4px; }
.values li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.values strong { display: block; font-weight: 700; color: var(--navy-900); margin-bottom: 2px; }
.values p { color: var(--stone); font-size: var(--fs-sm); }
.value-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--sand-200); color: var(--brass-text); }
@media (min-width: 1024px) { .about-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: start; } .about-copy { position: sticky; top: calc(var(--header-h) + 32px); } .about-side { padding-top: 8px; } }

/* ── Usługi ─────────────────────────────────────────────── */
.services-grid { display: grid; gap: 16px; }
.service-card { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 30px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur); }
.service-card h3 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--navy-900); }
.service-card p { color: var(--stone); font-size: var(--fs-sm); flex: 1; }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: var(--radius); background: var(--navy-900); color: var(--brass-light); }
.service-icon .icon { width: 26px; height: 26px; }
.services-buyers { display: flex; gap: 12px; align-items: flex-start; margin-top: var(--space-6); padding: 18px 20px; border-radius: var(--radius); background: var(--white); border: 1px dashed var(--line-strong); color: var(--ink); }
.services-buyers .icon { color: var(--brass); margin-top: 2px; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (hover: hover) and (pointer: fine) { .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); } }

/* Usługi dodatkowe */

.extra-head { max-width: 680px; margin-bottom: var(--space-6); }
.extra-title { font-family: var(--font-display); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); color: var(--navy-900); margin-bottom: 10px; }
.extra-head p:last-child { color: var(--stone); }
.extra-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .extra-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .extra-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .extra-card { flex-direction: column; } }
.extra-card { display: flex; gap: 14px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur) var(--ease-out); }
.extra-card h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; color: var(--navy-900); margin-bottom: 6px; }
.extra-card p { font-size: var(--fs-sm); color: var(--stone); margin-bottom: 4px; }
.extra-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--sand-200); color: var(--brass-text); }
@media (hover: hover) and (pointer: fine) { .extra-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); } }

/* ── Karty (oferty, realizacje, artykuły) ───────────────── */
.cards-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-200); }
.card-media img, .card-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.card-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.card-eyebrow { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--stone); margin: 0; }
.card-eyebrow .icon { color: var(--brass); }
.card-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; color: var(--navy-900); hyphens: manual; }
.card-title a { text-decoration: none; }
.card-text { color: var(--stone); font-size: var(--fs-sm); }
.stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.stretched:focus-visible { box-shadow: none; }
.card:focus-within { box-shadow: var(--focus); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--fs-sm); color: var(--ink); }
.meta li { display: inline-flex; align-items: center; gap: 6px; }
.meta .icon { color: var(--stone); }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price { margin: 0; font-family: var(--font-display); font-size: 1.375rem; font-weight: 500; color: var(--navy-900); line-height: 1.2; font-variant-numeric: tabular-nums; }
.price-label { display: block; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; color: var(--stone); letter-spacing: 0.02em; margin-bottom: 2px; }
.price--hidden { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; color: var(--stone); }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 700; color: var(--navy-900); white-space: nowrap; }
.card-link .icon { color: var(--brass); transition: transform var(--dur) var(--ease-out); }
.card-source { margin: 0; font-size: var(--fs-xs); color: var(--stone); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
  .card:hover .card-media img, .card:hover .card-media .ph { transform: scale(1.035); }
  .card:hover .card-link .icon { transform: translate(2px, -2px); }
  .article-card:hover .card-link .icon { transform: translateX(3px); }
}

/* Etykiety */
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 4px 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; line-height: 1.2; background: var(--white); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.badge .icon { width: 14px; height: 14px; }
.badge--sale, .badge--sold { background: var(--navy-900); color: var(--on-navy); }
.badge--rent, .badge--rented { background: var(--brass-light); color: var(--navy-900); }
.badge--reserved { background: var(--white); color: var(--brass-text); }
.badge--draft { background: #FFF6E0; color: #6B4A12; border: 1px dashed #B5844A; box-shadow: none; }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--sand-200); color: var(--brass-text); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.02em; }

/* Placeholdery zdjęć */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%;
  color: var(--navy-600); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 60%),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(15, 39, 66, 0.045) 22px 23px),
    var(--sand-200);
}
.ph .icon { width: 40px; height: 40px; color: var(--brass); stroke-width: 1.2; }
.ph--commercial, .ph--land { background-color: #E7E1D6; }
.ph--cover { background-color: var(--navy-800); color: var(--on-navy-muted); background-image: linear-gradient(135deg, rgba(216, 180, 127, 0.16), rgba(216, 180, 127, 0) 55%), repeating-linear-gradient(135deg, transparent 0 22px, rgba(248, 245, 239, 0.05) 22px 23px); }
.ph--cover .icon { color: var(--brass-light); }
.ph--wide { aspect-ratio: 1200 / 560; border-radius: var(--radius-lg); }

/* ── Oferty ─────────────────────────────────────────────── */
.portal-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 639px) { .portal-buttons .btn { width: 100%; } }

/* ── Realizacje ─────────────────────────────────────────── */
.filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: var(--space-4); }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-label { width: 100%; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); }
@media (min-width: 768px) { .filter-label { width: auto; min-width: 150px; } }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--field-border); background: var(--white); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.chip .icon { color: var(--brass); }
.chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-navy); }
.chip[aria-pressed="true"] .icon { color: var(--brass-light); }
.chip[aria-pressed="true"]::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brass-light); }
@media (hover: hover) { .chip:hover:not([aria-pressed="true"]) { border-color: var(--navy-900); } }
.filter-count { font-size: var(--fs-sm); color: var(--stone); margin-bottom: var(--space-5); }
html:not(.js) .filters, html:not(.js) .filter-count { display: none; }
.deal-card.is-hidden { display: none; }
.deal-card.is-entering { animation: cardIn var(--dur-slow) var(--ease-out) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } }
.empty-state { padding: 32px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--white); }
.empty-state p { margin-bottom: 16px; color: var(--stone); }

/* ── Proces ─────────────────────────────────────────────── */
.process-list { display: grid; gap: 0; counter-reset: step; margin-bottom: var(--space-7); }
.process-step { position: relative; padding: 0 0 28px 64px; }
.process-step::before { content: ''; position: absolute; left: 21px; top: 48px; bottom: 0; width: 1px; background: var(--line-strong); }
.process-step:last-child::before { display: none; }
.process-num { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--brass); background: var(--paper); font-family: var(--font-display); font-size: 1rem; color: var(--brass-text); font-variant-numeric: tabular-nums; }
.process-step h3 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--navy-900); margin: 8px 0 6px; }
.process-step p { color: var(--stone); font-size: var(--fs-sm); }
@media (min-width: 1024px) {
  .process-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .process-step { padding: 64px 0 0; }
  .process-step::before { left: 52px; right: -24px; top: 22px; bottom: auto; width: auto; height: 1px; }
  .process-num { top: 0; }
}

/* ── Opinie ─────────────────────────────────────────────── */
.reviews-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .reviews-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.review-card, .google-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 2px; }
.star { width: 18px; height: 18px; color: var(--line-strong); fill: currentColor; stroke: none; }
.star use { fill: currentColor; }
.star.on { color: var(--brass); }
.review-card blockquote { margin: 0; flex: 1; font-size: var(--fs-sm); color: var(--ink); line-height: 1.65; }
.review-card figcaption { display: flex; gap: 12px; align-items: center; font-size: var(--fs-xs); color: var(--stone); }
.review-card figcaption strong { display: block; font-size: var(--fs-sm); color: var(--navy-900); }
.review-card figcaption span span { display: block; }
.review-source { font-weight: 600; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sand-200); color: var(--navy-900); font-weight: 700; flex-shrink: 0; }
.google-card { background: var(--navy-900); color: var(--on-navy); border-color: var(--navy-900); }
.google-card p { color: var(--on-navy-muted); font-size: var(--fs-sm); }
.google-head { display: flex; align-items: center; gap: 12px; }
.google-head h3 { font-family: var(--font-display); font-size: var(--fs-h3); }
.google-logo { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--navy-900); }
.google-score { display: flex; align-items: center; gap: 12px; }
.google-score strong { font-family: var(--font-display); font-size: 2.5rem; color: var(--on-navy); }
.google-actions { display: grid; gap: 10px; margin-top: auto; }
.google-card .btn--primary { --btn-bg: var(--brass-light); --btn-fg: var(--navy-900); --btn-bd: var(--brass-light); }
.google-card .btn--outline { --btn-fg: var(--on-navy); --btn-bd: var(--on-navy-muted); }

/* ── Wycena ─────────────────────────────────────────────── */
.valuation { background: var(--navy-900); color: var(--on-navy); }
.valuation .eyebrow { color: var(--brass-light); }
.valuation .section-title { color: var(--on-navy); }
.valuation .section-title em { color: var(--brass-light); }
.valuation .section-lead { color: var(--on-navy-muted); }
.valuation-grid { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: start; }
.benefits { display: grid; gap: 12px; margin-top: var(--space-6); }
.benefits li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.benefits .icon { color: var(--navy-900); background: var(--brass-light); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }
.valuation-note { display: flex; gap: 10px; margin-top: var(--space-6); padding: 16px; border-left: 2px solid var(--brass-light); background: rgba(248, 245, 239, 0.06); font-size: var(--fs-sm); color: var(--on-navy-muted); }
.valuation-note .icon { margin-top: 3px; color: var(--brass-light); }
.valuation-contact { display: flex; align-items: center; gap: 10px; margin-top: var(--space-5); font-family: var(--font-display); font-size: 1.375rem; }
.valuation-contact a { color: var(--on-navy); text-decoration: none; }
.valuation-contact .icon { color: var(--brass-light); }
.valuation-panel { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(20px, 3.5vw, 40px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
@media (min-width: 1024px) { .valuation-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } .valuation-intro { position: sticky; top: calc(var(--header-h) + 32px); } }
.valuation--page { padding-top: var(--space-6); }

.val-progress { margin-bottom: var(--space-5); }
.val-progress-label { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); font-weight: 600; color: var(--navy-900); margin-bottom: 10px; }
.val-bar { height: 4px; border-radius: 4px; background: var(--sand-200); overflow: hidden; }
.val-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy-700), var(--brass)); border-radius: inherit; transition: width var(--dur-slow) var(--ease-out); }
.val-dots { display: flex; justify-content: space-between; margin-top: 10px; }
.val-dots li { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; font-size: 0.75rem; font-weight: 700; background: var(--white); border: 1px solid var(--line-strong); color: var(--stone); transition: all var(--dur) ease; }
.val-dots li.is-done { background: var(--brass-light); border-color: var(--brass-light); color: var(--navy-900); }
.val-dots li.is-current { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-navy); transform: scale(1.1); }
.val-step { display: grid; gap: 16px; }
html:not(.js) .val-step { padding-bottom: var(--space-6); margin-bottom: var(--space-6); border-bottom: 1px solid var(--line); }
html.js .val-step:not(.is-current) { display: none; }
html.js .val-step.is-current { animation: stepIn 420ms var(--ease-out) both; }
html.js .val-step.is-current.is-back { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.val-legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 4px; font-family: var(--font-display); font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); color: var(--navy-900); }
.val-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy-900); color: var(--brass-light); font-family: var(--font-body); font-size: 0.875rem; font-weight: 700; flex-shrink: 0; }
html.js .val-num { display: none; }
.group-label { font-weight: 700; font-size: var(--fs-sm); color: var(--navy-900); margin: 8px 0 -4px; }
.optional { font-weight: 500; color: var(--stone); font-size: 0.9em; font-family: var(--font-body); }
.req { color: var(--error); }
.val-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.val-nav [data-val-next], .val-nav [data-val-submit] { margin-left: auto; }
html:not(.js) .val-nav [data-val-prev], html:not(.js) .val-nav [data-val-next], html:not(.js) .val-nav [data-val-skip] { display: none; }
html:not(.js) .val-summary { display: none; }
@media (max-width: 479px) { .val-nav [data-val-next], .val-nav [data-val-submit] { width: 100%; order: -1; margin-left: 0; } .val-nav [data-val-prev] { flex: 1; } }
.val-summary dl { display: grid; gap: 0; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.val-summary dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.val-summary dl > div:last-child { border-bottom: 0; }
.val-summary dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); grid-column: 1; }
.val-summary dd { grid-column: 1; font-weight: 500; overflow-wrap: anywhere; }
.val-summary .btn--text { grid-column: 2; grid-row: 1 / span 2; min-height: 44px; }
.hint--note { display: flex; gap: 8px; align-items: flex-start; }
.hint--note .icon { margin-top: 3px; color: var(--brass); }

/* Cena i płatność w wycenie */
.val-price { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--navy-900); color: var(--on-navy); }
.val-price-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; }
.val-price-mark { width: 40px; height: auto; }
.val-price-label { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-navy-muted); }
.val-price-amount { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--brass-light); line-height: 1.2; }
.val-price-note { grid-column: 1 / -1; display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 0; padding-top: 12px; border-top: 1px solid rgba(248, 245, 239, 0.14); font-size: var(--fs-xs); color: var(--on-navy-muted); }
.val-price-note .icon { margin-top: 2px; color: var(--brass-light); }

/* ── Wynik wyceny ───────────────────────────────────────── */
.result { margin-top: var(--space-6); }
.result-status { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); max-width: 720px; }
.spinner { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; border: 3px solid var(--sand-200); border-top-color: var(--navy-900); animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; border-top-color: var(--brass); } }
.result-order { font-size: var(--fs-sm); color: var(--stone); margin-bottom: var(--space-4); }
.report { display: grid; gap: 20px; }
@media (min-width: 1024px) { .report { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.report-main { padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--navy-900); color: var(--on-navy); }
.report-main .hint { color: var(--on-navy-muted); margin-top: 14px; }
.report-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 6px; }
.report-value { font-family: var(--font-display); font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); line-height: 1.05; margin-bottom: var(--space-5); font-variant-numeric: tabular-nums; }
.range-track { position: relative; height: 10px; border-radius: 10px; background: linear-gradient(90deg, rgba(216, 180, 127, 0.35), var(--brass-light), rgba(216, 180, 127, 0.35)); }
.range-mid { position: absolute; top: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--on-navy); border: 3px solid var(--navy-900); box-shadow: 0 0 0 2px var(--brass-light); transform: translateY(-50%); }
.range-labels { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
.range-labels span:last-child { text-align: right; }
.range-labels small { display: block; font-size: var(--fs-xs); font-weight: 500; color: var(--on-navy-muted); }
.report-kpis { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid rgba(248, 245, 239, 0.14); }
.report-kpis dt { font-size: var(--fs-xs); color: var(--on-navy-muted); font-weight: 600; }
.report-kpis dd { font-family: var(--font-display); font-size: 1.375rem; }
.conf { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.conf::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.conf--high { background: #DDEFE4; color: #1F5B3E; }
.conf--medium { background: #FFF1D6; color: #6B4A12; }
.conf--low { background: #FBE3E0; color: #8A2016; }
.report-side { display: grid; gap: 20px; align-content: start; }
.report-card { padding: 22px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.report-card h2 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--navy-900); margin-bottom: 12px; }
.factors li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.factor-mark { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; font-weight: 700; font-size: 0.875rem; background: var(--sand-200); color: var(--navy-900); }
.factor--up .factor-mark { background: #DDEFE4; color: #1F5B3E; }
.factor--down .factor-mark { background: #FBE3E0; color: #8A2016; }
.report-comps { margin-top: 20px; }
.table-wrap { overflow-x: auto; }
.table-wrap:focus-visible { box-shadow: var(--focus); }
.table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.table-wrap th { text-align: left; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); padding: 8px 10px; border-bottom: 1px solid var(--line-strong); }
.table-wrap td { padding: 10px; border-bottom: 1px solid var(--line); }
.report-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: var(--space-6) 0 var(--space-4); }
@media print { .report-actions, .breadcrumbs { display: none !important; } .report-main { background: #fff; color: #000; border: 1px solid #999; } }

/* ── Formularze ─────────────────────────────────────────── */
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: var(--fs-sm); color: var(--navy-900); }
.field .hint { font-size: var(--fs-xs); margin: -2px 0 0; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--field-border); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); font-size: 1rem; line-height: 1.4;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background-color var(--dur-fast);
}
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2742' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
input::placeholder, textarea::placeholder { color: #69717B; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(181, 132, 74, 0.35); border-radius: var(--radius-sm); }
@media (hover: hover) { input:hover:not(:focus), select:hover:not(:focus), textarea:hover:not(:focus) { border-color: var(--navy-600); } }
[aria-invalid="true"] { border-color: var(--error) !important; background-color: #FFFBFA; }
.field-error { display: none; align-items: flex-start; gap: 6px; margin: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--error); }
.field-error.is-visible { display: flex; }
.field-error.is-visible::before { content: '!'; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%; background: var(--error); color: var(--white); font-size: 11px; margin-top: 1px; }
.form-alert { padding: 14px 16px; border-radius: var(--radius); background: var(--error-bg); color: var(--error); border: 1px solid #E8B7B1; font-size: var(--fs-sm); font-weight: 500; margin-bottom: var(--space-4); }
.form-alert ul { margin-top: 6px; padding-left: 18px; list-style: disc; }
.form-alert a { color: inherit; font-weight: 700; }
.form-alert--info { background: #FFF6E0; color: #5B3F0E; border-color: #E6CF9F; }
.form-success { padding: 24px; border-radius: var(--radius); background: var(--success-bg); color: var(--success); border: 1px solid #B9D6C6; font-weight: 600; }
.form-success:focus { outline: none; box-shadow: var(--focus); }
.form-success p { margin-bottom: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Kafelki wyboru */
.choices { display: grid; gap: 10px; }
.choices--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices--3 { grid-template-columns: 1fr; }
.choices--checks { grid-template-columns: 1fr; }
.choices--inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 520px) { .choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .choices--checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .choices--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-body { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 56px; padding: 12px 14px; border: 1.5px solid var(--field-border); border-radius: var(--radius); background: var(--white); transition: border-color var(--dur-fast), background-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast); }
.choices--4 .choice-body { flex-direction: column; justify-content: center; text-align: center; min-height: 104px; gap: 8px; }
.choice-body > .icon { width: 28px; height: 28px; color: var(--brass); }
.choices--list .choice-body > .icon, .choices--3 .choice-body > .icon, .choices--inline .choice-body > .icon { width: 22px; height: 22px; }
.choice-title { display: block; font-weight: 600; color: var(--navy-900); line-height: 1.3; }
.choice-sub { display: block; font-size: var(--fs-xs); color: var(--stone); line-height: 1.35; margin-top: 2px; }
.choices--checks .choice-body::before { content: ''; width: 20px; height: 20px; flex-shrink: 0; border: 1.5px solid var(--field-border); border-radius: 4px; background: var(--white) center / 14px no-repeat; transition: background-color var(--dur-fast), border-color var(--dur-fast); }
.choices--checks .choice input:checked + .choice-body::before { background-color: var(--navy-900); border-color: var(--navy-900); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8B47F' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.choice input:checked + .choice-body { border-color: var(--navy-900); background: #F1EDE4; box-shadow: inset 0 0 0 1px var(--navy-900); }
.choice input:checked + .choice-body .choice-title { color: var(--navy-900); }
.choices:not(.choices--checks) .choice input:checked + .choice-body { position: relative; }
.choices:not(.choices--checks) .choice input:checked + .choice-body::after { content: ''; position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8B47F' stroke-width='3.5'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.choice input:focus-visible + .choice-body { box-shadow: var(--focus); }
.choices.is-invalid .choice-body { border-color: var(--error); }
@media (hover: hover) and (pointer: fine) { .choice:hover .choice-body { border-color: var(--navy-600); transform: translateY(-1px); } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink); cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--navy-900); cursor: pointer; }
.check a { color: var(--navy-900); font-weight: 600; }
.consent { display: grid; gap: 6px; }

/* ── Partnerzy ──────────────────────────────────────────── */
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .partner-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.partner { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 104px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color var(--dur), box-shadow var(--dur); }
.partner-name { font-family: var(--font-display); font-size: 1.1875rem; color: var(--navy-900); line-height: 1.2; overflow-wrap: anywhere; }
.partner-kind { font-size: var(--fs-xs); font-weight: 600; color: var(--stone); }
.partner-kind::before { content: ''; display: block; width: 22px; height: 1px; background: var(--brass); margin-bottom: 8px; transition: width var(--dur) var(--ease-out); }
@media (hover: hover) { .partner:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); } .partner:hover .partner-kind::before { width: 40px; } }
.network { display: grid; gap: var(--space-5); margin-top: var(--space-7); padding: clamp(24px, 4vw, 40px); background: var(--navy-900); color: var(--on-navy); border-radius: var(--radius-lg); }
.network h3 { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: var(--fs-h3); margin-bottom: 8px; }
.network h3 .icon { color: var(--brass-light); }
.network-copy p { color: var(--on-navy-muted); font-size: var(--fs-sm); }
.network-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.network h4 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 10px; }
.network-lists li { padding: 6px 0; border-bottom: 1px solid rgba(248, 245, 239, 0.12); font-weight: 500; }
@media (min-width: 900px) { .network { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; } }

/* ── Artykuły ───────────────────────────────────────────── */
.articles-layout { display: grid; gap: 20px; }
.articles-side { display: grid; gap: 20px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: var(--fs-xs); color: var(--stone); font-weight: 500; margin: 0; }
.article-meta span { display: inline-flex; align-items: center; gap: 5px; }
@media (min-width: 1024px) {
  .articles-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; }
  .articles-side .article-card { flex-direction: row; }
  .articles-side .card-media { width: 38%; aspect-ratio: auto; flex-shrink: 0; }
  .articles-side .card-text { display: none; }
  .articles-side .card-title { font-size: 1.125rem; }
  .article-card--featured .card-media { aspect-ratio: 16 / 10; }
  .article-card--featured .card-title { font-size: 1.625rem; }
}
/* Węższe ekrany: kafelki artykułów dwa obok siebie (wyróżniony też jako zwykły kafelek) */
@media (min-width: 560px) and (max-width: 1023px) {
  .articles-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .articles-side { display: contents; }
  .article-card .card-media { aspect-ratio: 16 / 10; }
  .article-card .card-body { padding: 16px; gap: 8px; }
  .article-card .card-title { font-size: 1.0625rem; }
  .article-card .card-text { font-size: 0.875rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (min-width: 1024px) { .cards-grid--articles .article-card--featured { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .cards-grid--articles .article-card--featured { flex-direction: row; } .cards-grid--articles .article-card--featured .card-media { width: 55%; aspect-ratio: 16 / 10; } .cards-grid--articles .article-card--featured .card-body { padding: 36px; justify-content: center; } .cards-grid--articles .article-card--featured .card-title { font-size: 1.875rem; } }

.page-hero { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-xs); color: var(--stone); margin-bottom: var(--space-5); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--line-strong); }
.breadcrumbs a { color: var(--navy-900); font-weight: 600; display: inline-block; padding-block: 6px; }
.breadcrumbs [aria-current] { display: inline-block; padding-block: 6px; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.article-header { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem) var(--space-6); }
.article-title { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2.8vw, 3.25rem); line-height: 1.1; color: var(--navy-900); letter-spacing: -0.015em; margin: var(--space-4) 0; }
.article-lead { font-size: 1.25rem; color: var(--stone); }
.article-author { display: flex; align-items: center; gap: 12px; margin-top: var(--space-5); font-size: var(--fs-sm); }
.article-author strong { display: block; color: var(--navy-900); }
.article-author span span { color: var(--stone); font-size: var(--fs-xs); }
.author-mark { width: 34px; }
.article-cover { margin-bottom: var(--space-6); }
.verify-note, .translation-note { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: #FFF6E0; border: 1px solid #E6CF9F; color: #5B3F0E; font-size: var(--fs-sm); margin-bottom: var(--space-6); }
.verify-note .icon, .translation-note .icon { margin-top: 2px; }
.translation-note a { color: inherit; font-weight: 700; }
.prose { font-size: 1.125rem; line-height: 1.75; color: #2A3442; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); color: var(--navy-900); margin: 2em 0 0.6em; }
.prose p { margin-bottom: 1.2em; }
.prose a { color: var(--navy-900); font-weight: 600; text-decoration-color: var(--brass); }
.data-box { margin: 2em 0; padding: 20px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.data-box figcaption { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-text); margin-bottom: 10px; }
.data-box dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 1rem; }
.data-box dt { color: var(--stone); }
.data-box dd { font-weight: 700; color: var(--navy-900); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 479px) { .data-box dl > div { flex-direction: column; gap: 2px; } .data-box dd { text-align: left; } }
.article-sources { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.article-sources h2 { font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); margin-bottom: var(--space-3); font-family: var(--font-body); }
.article-sources li { margin-bottom: 8px; font-size: var(--fs-sm); }
.article-sources a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy-900); }
.article-cta { margin-block: var(--space-7) var(--section-y); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--navy-900); color: var(--on-navy); }
.article-cta h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); margin-bottom: 10px; }
.article-cta p { color: var(--on-navy-muted); margin-bottom: var(--space-5); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-grid { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-8); } .faq-intro { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; color: var(--navy-900); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { box-shadow: var(--focus); }
.faq-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--navy-900); transition: transform var(--dur) var(--ease-out), background-color var(--dur), border-color var(--dur); }
.faq-item[open] .faq-icon { transform: rotate(180deg); background: var(--navy-900); border-color: var(--navy-900); color: var(--brass-light); }
.faq-answer { padding: 0 52px 22px 0; color: var(--stone); }
.faq-answer a { color: var(--navy-900); font-weight: 600; }
.faq-item[open] .faq-answer { animation: faqIn 320ms var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (hover: hover) { .faq-item summary:hover .faq-icon { border-color: var(--navy-900); } }

/* ── Kontakt ────────────────────────────────────────────── */
.contact-grid { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.contact-list { display: grid; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--white); border: 1px solid var(--line); color: var(--brass-text); }
.contact-label { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); margin-bottom: 2px; }
.contact-list a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy-900); text-decoration: none; font-size: 1.0625rem; overflow-wrap: anywhere; }
@media (hover: hover) { .contact-list a:hover { text-decoration: underline; text-decoration-color: var(--brass); } }
.contact-sub { display: block; font-size: var(--fs-sm); color: var(--stone); }
.contact-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3.5vw, 40px); box-shadow: var(--shadow-sm); }
.contact-form { display: grid; gap: 18px; }

/* ── Stopka ─────────────────────────────────────────────── */
.site-footer { background: var(--navy-900); color: var(--on-navy-muted); padding-block: clamp(3rem, 2rem + 4vw, 5rem) 28px; font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(248, 245, 239, 0.12); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); } }
.site-footer a, .footer-contact li > span { overflow-wrap: anywhere; }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.logo--light { color: var(--on-navy); }
.logo--light .logo-sub { color: var(--brass-light); }
.footer-title { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 12px; }
.site-footer ul li { margin-bottom: 4px; }
.site-footer a { display: inline-block; padding-block: 7px; color: var(--on-navy); text-decoration: none; }
.site-footer a .icon { display: inline-block; vertical-align: -0.2em; margin-left: 4px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact a .icon { margin-left: 0; }
@media (hover: hover) { .site-footer a:hover { color: var(--brass-light); text-decoration: underline; } }
.site-footer :focus-visible { box-shadow: 0 0 0 2px var(--navy-900), 0 0 0 4px var(--brass-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; }
.footer-contact .icon { color: var(--brass-light); }
.footer-contact li > .icon { margin-top: 8px; }
.footer-contact li > span { padding-block: 6px; }
.footer-relation { margin: 24px 0 0; font-size: var(--fs-xs); max-width: 90ch; }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; font-size: var(--fs-xs); }
.footer-bottom ul { display: flex; gap: 20px; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

/* 404 */
.not-found { text-align: center; }
.nf-mark { width: 64px; margin: 0 auto var(--space-5); }
.not-found .hero-actions { justify-content: center; }

/* ── Animacje wejścia (tylko z JS i bez ograniczenia ruchu) ─ */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
  html.js .reveal.is-visible { opacity: 1; transform: none; }
  /* Nagłówek H1 jest widoczny od razu (LCP); animują się tylko elementy pomocnicze. */
  .hero-lead, .hero-actions, .hero-trust { animation: heroIn 600ms var(--ease-out) both; }
  .hero-actions { animation-delay: 80ms; }
  .hero-trust { animation-delay: 160ms; }
  .hero-media { animation: heroMedia 900ms var(--ease-out) 120ms both; }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes heroMedia { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ── Kursor niestandardowy (tylko precyzyjny wskaźnik z hoverem) ─ */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 9999; }
  html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor summary, html.has-cursor .choice input { cursor: none; }
  html.has-cursor input:not([type="radio"]):not([type="checkbox"]), html.has-cursor textarea, html.has-cursor select { cursor: auto; }
  .cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
  .cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--brass); }
  .cursor-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1.5px solid rgba(15, 39, 66, 0.45); transition: width var(--dur) var(--ease-out), height var(--dur) var(--ease-out), margin var(--dur) var(--ease-out), border-color var(--dur), background-color var(--dur), opacity var(--dur); }
  .cursor.is-link .cursor-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--brass); background: rgba(181, 132, 74, 0.12); }
  .cursor.is-text .cursor-dot, .cursor.is-text .cursor-ring, .cursor.is-hidden .cursor-dot, .cursor.is-hidden .cursor-ring { opacity: 0; }
  .cursor.is-dark .cursor-ring { border-color: rgba(248, 245, 239, 0.6); }
  .cursor.is-down .cursor-ring { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
}


/* ── Liga Inwestora ─────────────────────────────────────── */
.investor-teaser { background: var(--navy-900); color: var(--on-navy); position: relative; overflow: hidden; }
.investor-teaser::before { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(216, 180, 127, 0.25); box-shadow: 0 0 0 60px rgba(216, 180, 127, 0.04), 0 0 0 120px rgba(216, 180, 127, 0.025); pointer-events: none; }
.investor-teaser .eyebrow { color: var(--brass-light); }
.investor-teaser .section-title { color: var(--on-navy); }
.investor-teaser .section-title em { color: var(--brass-light); }
.investor-teaser .section-lead { color: var(--on-navy-muted); margin-bottom: var(--space-5); }
.investor-teaser-inner { position: relative; display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: center; }
.teaser-benefits { display: grid; gap: 10px; }
.teaser-benefits li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid rgba(248, 245, 239, 0.16); border-radius: var(--radius); background: rgba(248, 245, 239, 0.05); font-weight: 600; }
.teaser-benefits .icon { color: var(--brass-light); width: 24px; height: 24px; }
@media (min-width: 1024px) { .investor-teaser-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.investor-hero { background: var(--sand-100); border-bottom: 1px solid var(--line); }
.benefit-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.benefit-card { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 10px; }
.benefit-card h3 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--navy-900); }
.benefit-card p { color: var(--stone); font-size: var(--fs-sm); }
.process-list--3 { margin-bottom: 0; }
@media (min-width: 1024px) { .process-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.investor-apply { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: start; }
@media (min-width: 1024px) { .investor-apply { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } .investor-apply > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); } }
.investor-apply .verify-note { margin-top: var(--space-5); margin-bottom: 0; }

/* Wizytówka (site.release = 'info'): karta kontaktu zamiast formularza wyceny / zgłoszenia do Ligi Inwestora */
.val-contact-card, .investor-contact { display: grid; gap: 14px; align-content: start; }
.val-contact-card h3, .investor-contact h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); color: var(--navy-900); }
.val-contact-card p, .investor-contact p { color: var(--stone); }
.val-contact-card .hero-actions, .investor-contact .hero-actions { margin-top: 6px; }
.val-contact-card .btn .icon, .investor-contact .btn .icon { width: 20px; height: 20px; }
.field-group { display: grid; gap: 10px; }
.field-group legend { padding: 0; margin-bottom: 6px; }
.search-fields { display: grid; gap: 10px; padding: 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--paper); }
.search-fields[hidden] { display: none; }
.field-row--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── Z rynku: nagłówki z zewnętrznych serwisów ──────────── */
.news { margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid var(--line-strong); }
.news-head { margin-bottom: var(--space-4); }
.news-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); color: var(--navy-900); margin-bottom: 6px; }
.news-title .icon { color: var(--brass); }
.news-head p { color: var(--stone); font-size: var(--fs-sm); }
.news-list { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
.news-list a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.news-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: var(--fs-xs); font-weight: 600; color: var(--stone); }
.news-source { color: var(--brass-text); text-transform: uppercase; letter-spacing: 0.06em; }
.news-headline { font-weight: 600; color: var(--navy-900); line-height: 1.4; }
.news-go { color: var(--brass); margin-top: 3px; }
@media (hover: hover) { .news-list a:hover .news-headline { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 0.2em; } }
.news-list a:focus-visible { box-shadow: var(--focus); }
.news .fine-print { margin-top: var(--space-4); }

/* ── Propozycja współpracy po wycenie ───────────────────── */
.coop { display: grid; gap: 20px; margin-top: var(--space-6); padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--navy-900); color: var(--on-navy); }
.coop h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-bottom: 10px; }
.coop p { color: var(--on-navy-muted); }
.coop .btn { margin-top: 8px; }
.coop-ask { padding: 20px; border-radius: var(--radius); background: rgba(248, 245, 239, 0.07); border: 1px solid rgba(248, 245, 239, 0.16); align-self: start; }
.coop-question { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.3; color: var(--on-navy) !important; margin-bottom: 16px; }
.coop-buttons { display: flex; gap: 12px; margin-bottom: 12px; }
.coop-buttons .btn { min-width: 112px; }
.coop .btn--primary { --btn-bg: var(--brass-light); --btn-fg: var(--navy-900); --btn-bd: var(--brass-light); }
.coop .btn--outline { --btn-fg: var(--on-navy); --btn-bd: var(--on-navy-muted); }
@media (hover: hover) and (pointer: fine) { .coop .btn--outline:hover { --btn-bg: var(--on-navy); --btn-fg: var(--navy-900); --btn-bd: var(--on-navy); } .coop .btn--primary:hover { --btn-bg: #E3C493; --btn-bd: #E3C493; } }
.coop .hint { font-size: var(--fs-xs); }
.coop-thanks { font-weight: 600; color: var(--on-navy) !important; padding: 6px 0; }
.coop-thanks:focus { outline: none; }
@media (min-width: 900px) { .coop { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
@media print { .coop { display: none !important; } }

/* Dwie granatowe sekcje obok siebie (Wycena → Liga Inwestora) — delikatne rozdzielenie */
.valuation + .investor-teaser { background: var(--navy-800); border-top: 1px solid rgba(216, 180, 127, 0.22); }

/* ── Pływający przycisk „Zadzwoń teraz” ─────────────────── */
.call-fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 8px;
  border-radius: 999px; background: var(--brass-light); color: var(--navy-900); text-decoration: none;
  box-shadow: 0 12px 28px -10px rgba(15, 39, 66, 0.55), 0 2px 6px rgba(15, 39, 66, 0.18);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), background-color var(--dur-fast);
}
.call-fab > .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--navy-900); color: var(--brass-light); }
.call-fab-text { display: flex; flex-direction: column; line-height: 1.15; }
.call-fab-label { font-weight: 700; font-size: var(--fs-sm); }
.call-fab-number { font-size: var(--fs-xs); font-weight: 600; opacity: 0.85; }
.call-fab:focus-visible { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--navy-900); border-radius: 999px; }
@media (hover: hover) and (pointer: fine) { .call-fab:hover { transform: translateY(-2px); background: #E3C493; } }
@media (prefers-reduced-motion: no-preference) {
  .call-fab > .icon { animation: callPulse 2.6s ease-out infinite; }
  @keyframes callPulse { 0% { box-shadow: 0 0 0 0 rgba(15, 39, 66, 0.45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(15, 39, 66, 0); } }
}
@media (max-width: 479px) { .call-fab { padding: 6px 14px 6px 6px; min-height: 48px; } .call-fab-number { display: none; } }
.site-footer { padding-bottom: calc(28px + 72px); }
html.menu-open .call-fab { display: none; }
@media print { .call-fab { display: none !important; } }

/* ── Okno z dokumentem (polityka prywatności, regulamin) ── */
.doc-dialog { width: min(760px, calc(100vw - 24px)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(15, 39, 66, 0.6); display: none; flex-direction: column; }
.doc-dialog[open] { display: flex; }
.doc-dialog::backdrop { background: rgba(15, 39, 66, 0.55); }
@supports (backdrop-filter: blur(2px)) { .doc-dialog::backdrop { backdrop-filter: blur(2px); } }
.doc-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 24px; border-bottom: 1px solid var(--line); background: var(--white); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.doc-dialog-title { margin: 0; font-family: var(--font-display); font-size: 1.375rem; color: var(--navy-900); }
.doc-dialog-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--field-border); border-radius: 50%; background: var(--white); color: var(--navy-900); }
.doc-dialog-close .icon { width: 20px; height: 20px; }
@media (hover: hover) { .doc-dialog-close:hover { background: var(--navy-900); color: var(--on-navy); border-color: var(--navy-900); } }
.doc-dialog-body { overflow-y: auto; padding: 20px 24px 8px; overscroll-behavior: contain; }
.doc-dialog-body .prose { font-size: 1rem; }
.doc-dialog-body .prose h2 { font-size: 1.25rem; margin-top: 1.4em; }
.doc-dialog-body .verify-note { margin-bottom: 16px; }
.doc-dialog-body:focus-visible { box-shadow: inset 0 0 0 2px var(--brass); }
.doc-dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 24px; border-top: 1px solid var(--line); }
.doc-dialog-foot a { font-size: var(--fs-sm); color: var(--navy-900); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .doc-dialog[open] { animation: dlgIn 260ms var(--ease-out); } @keyframes dlgIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } } }

/* ── Okno gotowej wiadomości e-mail ─────────────────────── */
.link-btn { display: inline; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.compose-dialog { width: min(680px, calc(100vw - 24px)); }
.compose-body { display: grid; gap: 14px; padding-bottom: 16px; }
.compose-body input[readonly] { background: var(--sand-100); color: var(--stone); }
.compose-body textarea { min-height: 220px; font-size: 0.9375rem; line-height: 1.55; }
.compose-status { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--success); min-height: 1.2em; }
.compose-actions { justify-content: flex-start; }
@media (max-width: 559px) { .compose-actions .btn { flex: 1 1 100%; } }

/* ── Podziękowanie po wysłaniu formularza (środek ekranu, znika po 3 s) ── */
.thanks-toast { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(15, 39, 66, 0.35); opacity: 0; transition: opacity 220ms ease; }
.thanks-toast.is-visible { opacity: 1; }
.thanks-card { max-width: 440px; padding: 32px 28px 28px; border-radius: var(--radius-lg); background: var(--paper); text-align: center; box-shadow: 0 30px 80px -20px rgba(15, 39, 66, 0.6); transform: translateY(10px) scale(0.97); transition: transform 260ms var(--ease-out); }
.thanks-toast.is-visible .thanks-card { transform: none; }
.thanks-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: var(--navy-900); color: var(--brass-light); }
.thanks-icon .icon { width: 28px; height: 28px; }
.thanks-title { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.5rem; color: var(--navy-900); }
.thanks-text { margin: 0; color: var(--stone); }
/* Druk */
@media print {
  .site-header, .site-footer, .cursor, .val-nav, .filters, .hero-actions, .portal-buttons { display: none !important; }
  body { background: #fff; }
  .valuation, .stats { background: #fff; color: #000; }
}
