/* =========================================================
   GI Małgorzata Bornus — Agentka Nieruchomości
   Granat + złoto, Playfair Display + Inter
   Kolory tekstu złotego dobrane pod kontrast WCAG:
   --gold-ink  (5,7:1) — mały tekst na jasnym tle
   --gold-lg   (3,3:1) — duży tekst / nagłówki na jasnym tle
   --gold      — wypełnienia i akcenty na granacie (6,4:1)
   ========================================================= */

:root {
  --navy: #102238;
  --navy-2: #1b3a5c;
  --navy-3: #234670;
  --gold: #c49f4f;
  --gold-light: #e3c58a;
  --gold-lg: #a8832f;
  --gold-ink: #7b5d12;
  --bg: #f5f7fa;
  --bg-2: #eceff5;
  --card: #ffffff;
  --line: #e1e6ee;
  --ink: #102238;
  --muted: #55657a;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --shadow: 0 1px 2px rgba(16, 34, 56, .05), 0 12px 32px -14px rgba(16, 34, 56, .22);
  --shadow-lg: 0 2px 4px rgba(16, 34, 56, .06), 0 28px 60px -20px rgba(16, 34, 56, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
@media (max-width: 480px) { .container { width: calc(100% - 32px); } }

.ic {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 44px; padding: 0 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 0 1.2em; font-size: .9rem; }
.btn-lg { min-height: 56px; padding: 0 1.9em; font-size: 1rem; }
.btn-gold {
  background: linear-gradient(135deg, #c49f4f 0%, #e3c58a 100%);
  color: var(--navy);
  box-shadow: 0 10px 24px -10px rgba(196, 159, 79, .7);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(196, 159, 79, .85); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); transform: translateY(-2px); }

/* ---------- Nagłówek ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: #fff;
  transition: background .3s, box-shadow .3s, color .3s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 34, 56, .75), rgba(16, 34, 56, 0));
  transition: opacity .3s;
}
.nav-row { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }
.logo {
  font-family: var(--serif); font-weight: 600; font-size: 1.4rem; letter-spacing: -.01em; white-space: nowrap;
}
.logo span { color: var(--gold-light); font-weight: 700; }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: 6px; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 999px; font-size: .93rem; font-weight: 500;
  color: rgba(255, 255, 255, .92); transition: background .2s, color .2s;
}
.nav a:hover, .nav a.is-current { background: rgba(255, 255, 255, .14); color: #fff; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: transparent; }
.burger .ic { width: 26px; height: 26px; }
.burger .ic-close { display: none; }
.burger[aria-expanded="true"] .ic-open { display: none; }
.burger[aria-expanded="true"] .ic-close { display: block; }

.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(16, 34, 56, .3);
  color: var(--navy);
}
.site-header.is-scrolled::before, .site-header.menu-open::before { opacity: 0; }
.site-header.is-scrolled .logo span, .site-header.menu-open .logo span { color: var(--gold-lg); }
.site-header.is-scrolled .nav a, .site-header.menu-open .nav a { color: #3b4a63; }
.site-header.is-scrolled .nav a:hover, .site-header.is-scrolled .nav a.is-current,
.site-header.menu-open .nav a:hover { background: var(--bg-2); color: var(--navy); }

.nav a { white-space: nowrap; }
@media (max-width: 1180px) { .nav a { padding: 10px 10px; } .nav-row { gap: 16px; } }
@media (max-width: 1060px) {
  .burger { display: inline-flex; }
  .nav-cta { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; padding: 12px 16px 24px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(16, 34, 56, .4);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .site-header.menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; color: var(--navy) !important; }
}
@media (max-width: 400px) { .logo { font-size: 1.15rem; } .nav-cta span { display: none; } .nav-cta { padding: 0; width: 44px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: max(100svh, 720px); display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 96px;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 34, 56, .93) 0%, rgba(16, 34, 56, .78) 40%, rgba(16, 34, 56, .22) 100%),
    linear-gradient(0deg, rgba(16, 34, 56, .7) 0%, rgba(16, 34, 56, 0) 32%),
    url("../img/warszawa-zachod-1920.webp") center 55% / cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 24s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
@media (max-width: 960px) {
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(16, 34, 56, .88) 0%, rgba(16, 34, 56, .78) 100%),
      url("../img/warszawa-zachod-1280.webp") center / cover no-repeat;
  }
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.badge {
  display: inline-block; padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light);
}
.hero h1 {
  font-family: var(--serif); font-weight: 700; line-height: 1.08; letter-spacing: -.015em;
  font-size: clamp(2.45rem, 5.4vw, 4.2rem); text-wrap: balance;
}
.hero h1 .gold, .cta h2 .gold { color: var(--gold-light); }
.hero-lead { margin-top: 26px; max-width: 34em; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.65; color: rgba(255, 255, 255, .92); }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 440px); }
.portrait {
  border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .14);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.float-card {
  position: absolute; padding: 14px 20px; border-radius: 18px; max-width: 220px;
  background: rgba(16, 34, 56, .78); backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
  display: grid; gap: 2px;
  animation: floaty 7s ease-in-out infinite;
}
.float-card strong { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; color: #fff; }
.float-card span { font-size: .8rem; line-height: 1.35; color: rgba(255, 255, 255, .88); }
.float-b { bottom: 7%; left: -10%; animation-delay: -3.5s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.scroll-hint {
  position: absolute; bottom: 24px; left: 50%; translate: -50% 0; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%; color: rgba(255, 255, 255, .85);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(6px); } }

@media (max-width: 960px) {
  .hero { min-height: 0; padding-bottom: 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { width: min(82%, 380px); }
  .float-b { left: -6%; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .hero-visual { width: 88%; }
  .float-card { padding: 11px 15px; max-width: 170px; }
  .float-card strong { font-size: 1.3rem; }
  .float-b { left: -4%; }
}

/* ---------- Pasek ---------- */
.ticker { background: #fff; border-block: 1px solid var(--line); padding: 26px 0 28px; overflow: hidden; }
.ticker-label { text-align: center; margin-bottom: 16px; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ticker-viewport { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker-viewport:hover .ticker-track { animation-play-state: paused; }
.ticker-track li {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--navy); white-space: nowrap;
}
.ticker-track li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sekcje ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; scroll-margin-top: calc(var(--header-h) - 8px); }
.section-alt { background: var(--bg-2); }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
h2 { font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: -.012em; font-size: clamp(1.9rem, 3.8vw, 2.9rem); text-wrap: balance; }
.accent { color: var(--gold-lg); }
.lead { margin-top: 20px; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); text-wrap: pretty; }
[id] { scroll-margin-top: calc(var(--header-h) - 8px); }

/* ---------- O mnie ---------- */
.about-body { max-width: 740px; margin: 0 auto; display: grid; gap: 18px; font-size: 1.06rem; color: var(--muted); text-align: center; text-wrap: pretty; }
.about-body strong { color: var(--navy); font-weight: 600; }
.ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 10px; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--gold-ink); }
.ticks .ic { stroke-width: 2.4; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px 26px;
  text-align: center; display: grid; justify-items: center; gap: 6px; box-shadow: var(--shadow);
}
.stat .ic { width: 28px; height: 28px; color: var(--gold-lg); margin-bottom: 6px; }
.stat strong { font-family: var(--serif); font-size: 2.3rem; line-height: 1.1; color: var(--navy); }
.stat span { font-size: .9rem; color: var(--muted); max-width: 18ch; line-height: 1.45; }
.stat strong.stat-text { font-size: 1.3rem; line-height: 1.3; text-wrap: balance; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.principle { padding: 4px 0 4px 24px; border-left: 2px solid var(--gold); }
.principle h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 8px; }
.principle p { color: var(--muted); font-size: .98rem; }

@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, 1fr); } .principles { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 480px) { .stats { gap: 12px; } .stat { padding: 22px 12px; } .stat strong { font-size: 1.8rem; } .stat strong.stat-text { font-size: 1.02rem; } }

/* ---------- Oferta (sprzedaż / kupno / wynajem) ---------- */
.service {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(18px, 2.4vw, 28px);
  box-shadow: var(--shadow);
}
.service + .service { margin-top: 32px; }
.service-rev { grid-template-columns: 7fr 5fr; }
.service-rev .service-media { order: 2; }
.service-media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover .service-media img { transform: scale(1.04); }
.service:nth-of-type(1) .service-media img { object-position: 78% 50%; }
.service:nth-of-type(3) .service-media img { object-position: 50% 40%; }
.service-num {
  position: absolute; left: 18px; top: 16px; font-family: var(--serif); font-size: 1.1rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; background: rgba(16, 34, 56, .82); color: var(--gold-light); backdrop-filter: blur(6px);
}
.service-body { padding: clamp(0px, 1vw, 12px) clamp(0px, 1.5vw, 16px) clamp(0px, 1vw, 12px) 0; }
.service-rev .service-body { padding: clamp(0px, 1vw, 12px) 0 clamp(0px, 1vw, 12px) clamp(0px, 1.5vw, 16px); }
.service-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px;
  background: linear-gradient(135deg, #c49f4f, #e3c58a); color: var(--navy);
}
.service-icon .ic { width: 26px; height: 26px; }
.service-body h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.18; margin-bottom: 14px; text-wrap: balance; }
.service-intro { color: var(--muted); font-size: 1.05rem; margin-bottom: 22px; }
.checks { display: grid; gap: 16px; margin-bottom: 26px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.checks .ic {
  width: 28px; height: 28px; padding: 6px; border-radius: 50%; stroke-width: 2.6;
  background: rgba(196, 159, 79, .2); color: var(--gold-ink); margin-top: 1px;
}
.checks p { font-size: .98rem; color: var(--muted); }
.checks strong { color: var(--navy); font-weight: 600; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
.duo-card { padding: 20px 22px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.duo-card h4 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 8px; }
.duo-card h4 small { font-family: var(--sans); font-weight: 500; font-size: .8rem; color: var(--muted); }
.duo-card p { font-size: .95rem; color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: .95rem; color: var(--gold-ink); }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(5px); }
.link-arrow:hover { color: var(--navy); }

@media (max-width: 960px) {
  .service, .service-rev { grid-template-columns: 1fr; }
  .service-rev .service-media { order: 0; }
  .service-media { aspect-ratio: 16 / 10; }
  .service-body, .service-rev .service-body { padding: 4px 6px 8px; }
  .duo { grid-template-columns: 1fr; }
}

/* ---------- Typy nieruchomości ---------- */
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.types > li { display: flex; }
.type-card {
  display: flex; flex-direction: column; width: 100%; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .5s cubic-bezier(0, 0, .2, 1), box-shadow .5s cubic-bezier(0, 0, .2, 1);
}
@media (hover: hover) {
  .type-card:hover { transform: translateY(-12px) scale(1.03); box-shadow: var(--shadow-lg); }
}
.type-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.type-img img { width: 100%; height: 100%; object-fit: cover; }
.type-icon {
  position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, #c49f4f, #e3c58a); color: var(--navy); box-shadow: 0 8px 18px -8px rgba(16, 34, 56, .6);
}
.type-body { padding: 22px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.type-body h3 { font-family: var(--serif); font-size: 1.45rem; margin-bottom: 8px; }
.type-body > p:not(.tags) { font-size: .94rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 14px; }
.tags span { font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--navy-3); }
.type-body .link-arrow { margin-top: auto; }

@media (max-width: 1080px) { .types { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .types { grid-template-columns: 1fr; } }

/* ---------- Dlaczego ja ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px 34px; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.why:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why > .ic { width: 30px; height: 30px; color: var(--gold-lg); margin-bottom: 20px; }
.why h3 { font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; margin-bottom: 10px; }
.why p { color: var(--muted); font-size: .97rem; }
.why-cta { background: linear-gradient(145deg, var(--navy) 0%, var(--navy-3) 100%); border-color: transparent; color: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.why-cta h3 { color: #fff; }
.why-cta p { color: rgba(255, 255, 255, .88); margin-bottom: 22px; }
.why-cta .btn { margin-top: auto; }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Opinie ---------- */
.testi {
  max-width: 880px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 32px;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 64px) 32px; box-shadow: var(--shadow-lg); text-align: center;
}
.testi-note {
  margin: 0 auto 28px; padding: 10px 16px; border-radius: 12px; max-width: 620px;
  background: #fff6dc; border: 1px dashed #c49f4f; color: #5c4508; font-size: .85rem; line-height: 1.5;
}
.stars { display: inline-flex; gap: 4px; color: var(--gold); margin-bottom: 22px; }
.stars .ic { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.slide blockquote { font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-style: italic; line-height: 1.7; color: #26364d; text-wrap: pretty; }
.slide figcaption { margin-top: 26px; display: grid; gap: 2px; }
.slide figcaption strong { font-family: var(--serif); font-size: 1.1rem; }
.slide figcaption span { font-size: .9rem; color: var(--muted); }
.slide.is-active { animation: slideIn .6s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } }
.testi-nav { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.round-btn:hover { background: var(--bg-2); border-color: var(--gold); }
.dots { display: flex; align-items: center; gap: 4px; }
.dots button { width: 28px; height: 28px; border: 0; background: transparent; display: grid; place-items: center; padding: 0; }
.dots button::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: #c5ccd8; transition: width .3s var(--ease), background .3s; }
.dots button[aria-selected="true"]::before { width: 28px; background: var(--gold); }

/* ---------- Proces ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1040px; margin: 0 auto; }
.steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 32px; border-top: 2px dashed rgba(168, 131, 47, .45); }
.step { position: relative; text-align: center; display: grid; justify-items: center; gap: 10px; }
.step-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(135deg, #c49f4f, #e3c58a); color: var(--navy); box-shadow: 0 14px 28px -14px rgba(168, 131, 47, .9); }
.step-icon .ic { width: 28px; height: 28px; }
.step-no { margin-top: 10px; font-weight: 700; font-size: .85rem; letter-spacing: .14em; color: var(--gold-ink); }
.step h3 { font-family: var(--serif); font-size: 1.4rem; }
.step p { color: var(--muted); font-size: .98rem; max-width: 30ch; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps::before { display: none; }
}

/* ---------- CTA ---------- */
.cta-wrap { padding: clamp(24px, 4vw, 48px) 0 clamp(72px, 9vw, 120px); }
.cta {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; color: #fff;
  padding: clamp(44px, 7vw, 92px) clamp(24px, 6vw, 80px);
  background: linear-gradient(120deg, var(--navy) 0%, #172f4c 100%);
  box-shadow: var(--shadow-lg);
}
.cta::after {
  content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 52%;
  background: url("../img/klucze.webp") 62% center / cover no-repeat;
  opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
@media (max-width: 760px) {
  .cta::after { width: 100%; opacity: .22; -webkit-mask-image: none; mask-image: none; }
}
.cta-copy { max-width: 620px; display: grid; gap: 18px; justify-items: start; }
.cta h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); }
.cta p { color: rgba(255, 255, 255, .9); font-size: 1.1rem; max-width: 34em; }
.cta .btn { margin-top: 10px; }
@media (max-width: 600px) { .cta { border-radius: 24px; } .cta .btn { width: 100%; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 56px); align-items: start; max-width: 1080px; margin: 0 auto; }
.contact-info { display: grid; gap: 14px; }
.info-card {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 18px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s var(--ease), border-color .25s;
}
a.info-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.info-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #f4efe2; color: var(--gold-ink); flex: none; }
.info-card small { display: block; font-size: .8rem; color: var(--muted); }
.info-card strong { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-note { margin-top: 8px; font-size: .92rem; color: var(--muted); }

.form { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); display: grid; gap: 18px; }
.form h3 { font-family: var(--serif); font-size: 1.6rem; }
.form-sub { margin-top: -10px; color: var(--muted); font-size: .96rem; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { font-size: .85rem; font-weight: 600; margin-bottom: 10px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: .95rem; background: #fff; transition: all .2s; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #cfd6e2; border-radius: 12px; background: #fff; color: var(--ink);
  font: inherit; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-lg); box-shadow: 0 0 0 4px rgba(196, 159, 79, .25); }
.field input.is-invalid { border-color: #b3261e; }
.form .btn { justify-self: start; }
.form-status { min-height: 1.4em; font-size: .92rem; color: var(--navy-3); font-weight: 500; }
.form-status.is-error { color: #b3261e; }
.form-legal { font-size: .8rem; color: var(--muted); margin-top: -8px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .form .btn { width: 100%; } }

/* ---------- Stopka ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .85); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.logo-light span { color: var(--gold-light); }
.logo-light { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 32em; font-size: .96rem; color: rgba(255, 255, 255, .78); }
.footer h2 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-light); margin-bottom: 18px; }
.footer li + li { margin-top: 4px; }
.footer li { font-size: .96rem; }
.footer li a { display: inline-block; padding: 6px 0; color: rgba(255, 255, 255, .85); transition: color .2s; overflow-wrap: anywhere; }
.footer li a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; color: rgba(255, 255, 255, .7); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Przycisk telefonu ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: var(--navy); background: linear-gradient(135deg, #c49f4f, #e3c58a);
  box-shadow: 0 16px 34px -10px rgba(16, 34, 56, .55); transition: transform .25s var(--ease);
}
.fab .ic { width: 26px; height: 26px; }
.fab:hover { transform: scale(1.08); }
@media (max-width: 1060px) { .fab { display: none; } } /* na telefonie przycisk „Zadzwoń” jest już w nagłówku */

/* ---------- Pojawianie się ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

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