/* ==========================================================================
   AM NIERUCHOMOŚCI & FINANSE - one-page (pozyskiwanie sprzedających mieszkania)
   Wrocław i okolice do 30 km. Paleta: złoto #c69f59, grafit #32373c.
   Cormorant Garamond + Poppins, ikony inline SVG (Phosphor).
   ========================================================================== */

:root {
  --gold:        #c69f59;
  --gold-dark:   #a9803b;
  /* Zloto do malych tekstow na jasnym tle - spelnia WCAG AA (4.7:1 na kremowym) */
  --gold-text:   #8a6526;
  --gold-soft:   #e6d2a8;
  --gold-tint:   #f3ead8;

  --ink:         #1b1e22;
  --graphite:    #24292e;
  --charcoal:    #32373c;
  --muted:       #5f6469;
  --muted-light: #9aa0a6;

  --cream:       #f6f2ea;
  --ivory:       #fbf9f4;
  --white:       #ffffff;

  --line:        rgba(27, 30, 34, 0.12);
  --line-light:  rgba(255, 255, 255, 0.16);

  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans:  "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --container-narrow: 920px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  /* Premium editorial: same kwadraty i prostokaty - zero zaokraglen */
  --radius: 0px;
  --radius-sm: 0px;

  --shadow-sm: 0 6px 24px rgba(27, 30, 34, 0.07);
  --shadow-md: 0 18px 48px rgba(27, 30, 34, 0.12);
  --shadow-lg: 0 30px 80px rgba(27, 30, 34, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* A11y: skip-link + ukryty tekst dla czytnikow ekranu */
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 9999; width: auto; height: auto; clip: auto; margin: 0; padding: 0.7rem 1.2rem; background: #fff; color: var(--ink); border-radius: 0; box-shadow: var(--shadow-md); }
/* Kotwice one-page nie chowaja sie pod sticky headerem */
section[id], span[id] { scroll-margin-top: 90px; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
/* Imagify owija <img> w <picture> z AVIF/WebP. display:contents sprawia, ze <picture>
   nie zaklocala layoutu - <img> dziedziczy pozycjonowanie/flex/grid rodzica jak wczesniej. */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
/* Inline SVG ikony w <i class="ph ..."> - rozmiar dziedziczy z font-size rodzica (1em) */
i.ph { display: inline-flex; align-items: center; justify-content: center; line-height: 0; vertical-align: middle; }
i.ph > svg { width: 1em; height: 1em; display: block; fill: currentColor; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--cream { background: var(--cream); }
.section--ivory { background: var(--ivory); }
.center { text-align: center; }

/* ----- Typografia ----- */
.kicker {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-text);
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.85rem; line-height: 1.4;
}
/* Sygnet marki z liniami w prawo i lewo, nad tekstem kickera */
.kicker__deco { position: relative; width: 116px; height: 26px; display: flex; align-items: center; justify-content: center; }
.kicker__deco svg { height: 22px; width: 22px; display: block; color: var(--gold); }
.kicker--light .kicker__deco svg { color: var(--gold-soft); }
.kicker__deco::before, .kicker__deco::after { content: ""; position: absolute; top: 50%; width: 34px; height: 1px; }
.kicker__deco::before { right: calc(50% + 20px); background: linear-gradient(90deg, transparent, var(--gold)); }
.kicker__deco::after { left: calc(50% + 20px); background: linear-gradient(90deg, var(--gold), transparent); }
.kicker--center { align-self: center; }
.kicker--light { color: var(--gold-soft); }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
.display { font-size: clamp(2.6rem, 5.6vw, 4.7rem); font-weight: 500; }
.h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); font-weight: 300; }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .kicker { margin-bottom: 1.25rem; }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 1.25rem; }

/* ----- Buttons ----- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 1.05rem 2.1rem; border-radius: var(--radius);
  transition: all 0.35s var(--ease); border: 1px solid transparent; white-space: nowrap; line-height: 1;
}
.btn i { font-size: 1.1em; transition: transform 0.35s var(--ease); }
.btn:hover i.ph-arrow-right { transform: translateX(4px); }
/* shine sweep */
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-20deg); transition: left 0.7s var(--ease);
}
.btn:hover::after { left: 130%; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); box-shadow: 0 12px 30px rgba(169,128,59,0.32); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }
.btn--ghost-light { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.45); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
.btn--lg { padding: 1.2rem 2.4rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-text); padding-bottom: 3px; border-bottom: 1px solid var(--gold);
  transition: gap 0.3s var(--ease), color 0.3s;
}
.link-arrow:hover { gap: 0.9rem; color: var(--ink); }

/* ----- Animowane wzorce tła (sekcje ciemne) ----- */
.bg-pattern {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55;
  background-image: radial-gradient(rgba(198,159,89,0.16) 1px, transparent 1.5px);
  background-size: 26px 26px; animation: drift 34s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 35%, transparent 100%);
}
@keyframes drift { from { background-position: 0 0; } to { background-position: 260px 260px; } }
.trust-strip .container, .process .container, .quote .container { position: relative; z-index: 1; }

/* ==========================================================================
   ZLOTE NAROZNIKI - ramka akcentowa wokol zdjecia (uzywana w kilku sekcjach)
   ========================================================================== */
.gold-frame { position: relative; }
/* Imagify owija <img> w <picture> - dlatego selektor potomka, nie dziecka */
.gold-frame img { position: relative; z-index: 1; }
.gold-frame::before, .gold-frame::after {
  content: ""; position: absolute; z-index: 2; pointer-events: none;
  width: clamp(46px, 6vw, 78px); height: clamp(46px, 6vw, 78px);
  border: 2px solid var(--gold);
}
.gold-frame::before { top: clamp(-16px, -1.2vw, -10px); left: clamp(-16px, -1.2vw, -10px); border-right: 0; border-bottom: 0; }
.gold-frame::after  { bottom: clamp(-16px, -1.2vw, -10px); right: clamp(-16px, -1.2vw, -10px); border-left: 0; border-top: 0; }
/* Wariant ciasny - dla ciemnych ramek (shorts), narozniki tuz przy krawedzi */
.gold-frame--tight::before { top: -7px; left: -7px; }
.gold-frame--tight::after  { bottom: -7px; right: -7px; }
/* Zeby narozniki nie byly przycinane przez otoczenie */
.split__media, .services-row, .shorts-grid { overflow: visible; }

/* ==========================================================================
   KRESKI AKCENTOWE - jedyna dekoracja w tym motywie. Zero zaokragleni,
   zamiast nich cienkie zlote linie: pod naglowkiem sekcji, na krawedzi karty,
   przy liczbie, przy otwartym pytaniu FAQ.
   ========================================================================== */
/* Krotka kreska pod tytulem sekcji */
.section-head h2::after,
.split__body h2::after,
.contact__aside h2::after {
  content: ""; display: block; width: 56px; height: 2px; background: var(--gold); margin-top: 1.5rem;
}
.section-head.center h2::after { margin-inline: auto; }
.process h2::after, .quote h2::after { background: var(--gold); }
.section-head p { margin-top: 1.25rem; }

/* Karta z kreska, ktora wysuwa sie po najechaniu */
.value-card, .service { position: relative; }
.value-card::before, .service::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.value-card:hover::before, .service:hover::before { transform: scaleX(1); }

/* Liczby z pionowa kreska */
.stat { padding-left: 1.1rem; border-left: 1px solid var(--gold); }

/* Podpis pod zdjeciem osoby */
.duo__body { position: relative; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.duo__body::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--gold); }

/* Podpis pod opinia wideo */
.vrev__meta { position: relative; padding-top: 1.3rem; }
.vrev__meta::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 2px; background: var(--gold); }

/* Otwarte pytanie FAQ dostaje kreske z boku */
.faq__item { position: relative; padding-left: 0; transition: padding-left 0.45s var(--ease); }
.faq__item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold);
  transform: scaleY(0); transform-origin: top; transition: transform 0.45s var(--ease);
}
.faq__item.open { padding-left: 1.3rem; }
.faq__item.open::before { transform: scaleY(1); }

/* Karta formularza - zlota belka u gory */
.form-card { border-top: 2px solid var(--gold); }

/* ==========================================================================
   PRELOADER - logo na ciemnym tle + zlota kreska, ktora sie wypelnia
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: var(--ink);
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader.is-off { display: none; }
/* Bez JS nie zaslaniamy strony */
.no-js .preloader { display: none; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.preloader__logo { height: clamp(48px, 8vw, 68px); width: auto; object-fit: contain; animation: am-pre-in 0.7s var(--ease) both; }
.preloader__line { display: block; width: clamp(120px, 22vw, 190px); height: 2px; background: rgba(198,159,89,0.22); overflow: hidden; }
.preloader__line i { display: block; width: 100%; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: am-pre-line 1.5s var(--ease) infinite; }
@keyframes am-pre-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes am-pre-line {
  0%   { transform: scaleX(0); transform-origin: left; }
  48%  { transform: scaleX(1); transform-origin: left; }
  52%  { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader__logo { animation: none; }
  .preloader__line i { animation: none; transform: scaleX(1); }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header { position: fixed; inset: 0 0 auto 0; z-index: 120; padding-block: 1.5rem;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header__logo img, .header__logo .am-logo { height: 46px; width: auto; display: block; }
.header__logo img { object-fit: contain; }
/* Logo jako inline SVG (gdy klient nie wgra wlasnego pliku) - dziedziczy kolor */
.am-logo { color: #fff; }
.am-logo__mark { font-family: var(--font-serif); font-size: 52px; font-weight: 500; fill: currentColor; }
.am-logo__word { font-family: var(--font-sans); font-size: 12.5px; font-weight: 500; fill: currentColor; }
.am-logo__rule { stroke: currentColor; stroke-width: 1; opacity: 0.45; }
.header.scrolled .am-logo { color: var(--ink); }
.header.scrolled .am-logo .am-logo__mark { fill: var(--gold-dark); }
/* Hero ciemny → domyślnie białe logo/nawigacja; po scrollu ciemne */
.header__logo .logo--light { display: block; }
.header__logo .logo--dark { display: none; }

.header.scrolled {
  background: rgba(251, 249, 244, 0.94); backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(27,30,34,0.06); padding-block: 0.85rem;
}
.header.scrolled .header__logo .logo--light { display: none; }
.header.scrolled .header__logo--single .logo--light { display: block; }
.header.scrolled .header__logo .logo--dark { display: block; }
/* Inline SVG: jedno logo, zmienia sie tylko kolor - drugi egzemplarz chowamy */
.header__logo svg.logo--dark { display: none !important; }
.header.scrolled .nav__link { color: var(--ink); text-shadow: none; }
.header.scrolled .burger span { background: var(--ink); }

.nav { display: flex; align-items: center; gap: clamp(1.05rem, 1.6vw, 1.9rem); flex-wrap: nowrap; }
.header__logo, .header__right { flex-shrink: 0; }
.nav__link {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; color: rgba(255,255,255,0.92);
  position: relative; transition: color 0.3s; text-shadow: 0 1px 14px rgba(0,0,0,0.35);
  white-space: nowrap;
}
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--gold); transition: width 0.3s var(--ease); }
.nav__link:hover { color: var(--gold); }
.nav__link:hover::after { width: 100%; }

.header__right { display: flex; align-items: center; gap: 1.6rem; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 6px; z-index: 120; }
.burger span { width: 26px; height: 2px; background: #fff; transition: all 0.3s var(--ease); }
.burger[aria-expanded="true"] span { background: #fff; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 110; background: var(--graphite);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  transform: translateX(100%); transition: transform 0.5s var(--ease); visibility: hidden;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav a { color: #fff; }
.mobile-nav .m-links { display: flex; flex-direction: column; gap: 1.4rem; margin-bottom: 2.5rem; }
.mobile-nav .m-links a { font-family: var(--font-serif); font-size: 2rem; }
.mobile-nav .m-links a:hover { color: var(--gold); }
.mobile-nav .m-contact a { display: block; color: var(--gold-soft); margin-bottom: 0.4rem; }
.mobile-nav .m-contact .big { font-size: 1.3rem; color: #fff; font-weight: 600; }
.mobile-nav .m-contact .who { color: var(--gold); font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; margin-right: 0.5rem; }

/* Menu otwarte: nagłówek przezroczysty, białe logo i „X" nad ciemnym panelem */
body.menu-open .header { background: transparent; box-shadow: none; }
body.menu-open .header__logo .logo--light { display: block; }
body.menu-open .header__logo .logo--dark { display: none; }
body.menu-open .burger span { background: #fff; }

/* ==========================================================================
   HERO - pełnoekranowe zdjęcie w tle + nakładka + animacje
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--graphite); }
/* Desktop: zdjęcie zajmuje prawą część kadru, lewa to ciemny panel na tekst */
.hero__bg { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: kenburns 26s ease-in-out infinite alternate; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, var(--graphite) 0%, var(--graphite) 34%, rgba(36,41,46,0.80) 45%, rgba(36,41,46,0.22) 59%, rgba(36,41,46,0) 73%),
    linear-gradient(to bottom, rgba(20,22,25,0.40) 0%, transparent 16%, transparent 74%, rgba(20,22,25,0.5) 100%);
}
.hero__particles { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; opacity: 0.7; pointer-events: none; }
.hero__particles .pt { opacity: 0.55; animation: floaty 8s ease-in-out infinite alternate; }
.hero__particles .pt:nth-child(2n) { animation-duration: 11s; }
.hero__particles .pt:nth-child(3n) { animation-duration: 9.5s; animation-direction: alternate-reverse; }
.hero__particles .pt:nth-child(4n) { animation-duration: 13s; }

.hero__inner { position: relative; z-index: 3; width: 100%; padding-top: 5rem; }
.hero__content { max-width: 700px; }
.hero__content .kicker { margin-bottom: 1.6rem; }
.hero h1.display { color: #fff; margin-bottom: 1.6rem; }
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero__lead { color: rgba(255,255,255,0.86); font-weight: 300; font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 560px; margin-bottom: 2.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; font-size: 0.82rem; color: rgba(255,255,255,0.82); padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,0.16); }
.hero__trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__trust i { color: var(--gold); font-size: 0.7rem; }

@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.13); } }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-20px); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip { background: var(--graphite); color: #fff; position: relative; overflow: hidden; }
.trust-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip__item { padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1rem,2.5vw,2rem); border-left: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 0.7rem; }
.trust-strip__item:first-child { border-left: none; }
.trust-strip__item .ico i { color: var(--gold); font-size: 1.85rem; }
.trust-strip__item p { font-size: 0.92rem; color: rgba(255,255,255,0.88); font-weight: 300; }

/* ==========================================================================
   VALUE PROPS
   ========================================================================== */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value-card { background: var(--ivory); padding: clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-direction: column; gap: 1rem; transition: background 0.4s var(--ease); }
.value-card:hover { background: #fff; }
.value-card .num { font-family: var(--font-serif); font-size: 1rem; color: var(--gold); letter-spacing: 0.1em; }
.value-card .ico i { color: var(--gold-dark); font-size: 2.1rem; }
.value-card h3 { font-size: 1.4rem; }
.value-card p { font-size: 0.94rem; color: var(--muted); font-weight: 300; }

/* Sekcja wartości + formularz (2 kolumny) */
.values-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.values-split .values-grid { grid-template-columns: repeat(2, 1fr); }
.values-split__right { position: sticky; top: 96px; }
.form-card--compact { padding: clamp(1.6rem, 2.5vw, 2.2rem); }
.form-card--compact .kicker { margin-bottom: 0.9rem; }
.form-card__title { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 1.4rem; line-height: 1.18; }
.form-card--compact .field { margin-bottom: 0.85rem; }
.form-card--compact .field input, .form-card--compact .field textarea { padding: 0.75rem 0.9rem; }
.form-card--compact .consent { margin: 0.2rem 0 1.1rem; }

/* CTA sekcyjne */
.section-cta { text-align: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.section-cta__lead { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.55rem); color: var(--ink); margin-bottom: 1.3rem; }

/* ==========================================================================
   SPLIT (dyskrecja)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media { padding: 16px 16px 0; }
.split__media { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.split__media .gold-frame { width: 100%; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; box-shadow: var(--shadow-md); }
.split__media .tag { background: var(--gold); color: #fff; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; padding: 0.85rem 1.5rem; line-height: 1; }
.split__todo { margin-top: 0.7rem; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); }
.split__body .kicker { margin-bottom: 1.4rem; }
.split__body h2 { margin-bottom: 1.5rem; }
.split__body p { color: var(--muted); margin-bottom: 1.2rem; font-weight: 300; }
.split__body .link-arrow { margin-top: 0.8rem; }

/* ==========================================================================
   PROCESS (dark)
   ========================================================================== */
.process { background: var(--graphite); color: #fff; overflow: hidden; }
.process h2, .process h3 { color: #fff; }
.process .lead { color: rgba(255,255,255,0.7); }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 1rem; }
.step { position: relative; padding-top: 2.4rem; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 1px; background: var(--gold); }
.step .num { font-family: var(--font-serif); font-size: 3.2rem; color: rgba(198,159,89,0.85); line-height: 0.8; display: block; margin-bottom: 1.1rem; }
.step h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.step p { font-size: 0.9rem; color: rgba(255,255,255,0.66); font-weight: 300; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(1.4rem, 2.6vw, 2.4rem); align-items: stretch; }
.services-row--rev { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
.services-row + .services-row { margin-top: clamp(1.4rem, 2.6vw, 2.4rem); }
.services-media { position: relative; min-height: 100%; }
.services-media img { display: block; }
.services-media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.services-media:hover img { transform: scale(1.04); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.1rem, 2vw, 1.4rem); }
.service { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.6rem; display: flex; flex-direction: column; gap: 0.9rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; }
.service:hover { transform: translateY(-5px); border-color: var(--gold); }
.service .ico { width: 52px; height: 52px; border: 1px solid var(--gold); display: grid; place-items: center; transition: background 0.4s, border-color 0.4s; }
.service:hover .ico { background: var(--gold); border-color: var(--gold); }
.service .ico i { font-size: 1.5rem; color: var(--gold-dark); transition: color 0.4s; }
.service:hover .ico i { color: #fff; }
.service h3 { font-size: 1.18rem; }
.service p { font-size: 0.88rem; color: var(--muted); font-weight: 300; line-height: 1.6; }

/* ==========================================================================
   LICZBY, KTORE ROBIA ROZNICE - cztery kolumny rozdzielone cienkimi kreskami
   ========================================================================== */
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.number { position: relative; padding: clamp(1.4rem, 2.6vw, 2.2rem) clamp(1.2rem, 2.2vw, 2rem); border-left: 1px solid var(--line); }
.number:first-child { border-left: 0; padding-left: 0; }
.number:last-child { padding-right: 0; }
/* Zlota kreska nad kazda liczba */
.number::before { content: ""; position: absolute; top: 0; left: clamp(1.2rem, 2.2vw, 2rem); width: 34px; height: 2px; background: var(--gold); }
.number:first-child::before { left: 0; }
.number__value { display: block; font-family: var(--font-serif); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; font-weight: 500; color: var(--gold-dark); }
.number__label { display: block; margin-top: 0.7rem; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.number__text { margin-top: 0.7rem; font-size: 0.86rem; line-height: 1.65; font-weight: 300; color: var(--muted); }

/* Zdjecie w sekcji Kontakt (opcjonalne) */
.contact__media { margin-bottom: 1.8rem; }
.contact__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow-sm); }

/* ==========================================================================
   "CO DOSTAJESZ" - dwie listy + klaster zdjec (crossfade przez pule)
   ========================================================================== */
.mkt-stage { position: relative; max-width: 1080px; margin: clamp(2rem, 4vw, 3rem) auto 0; min-height: 620px; }
.mkt-copy { width: 300px; }
.mkt-copy--a { position: absolute; left: 0; bottom: 0; z-index: 5; }
.mkt-copy--b { position: absolute; right: 0; top: 0; z-index: 5; }
.mkt-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.mkt-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.88rem; line-height: 1.55; color: var(--ink); font-weight: 300; }
.mkt-list__mark { flex-shrink: 0; display: block; margin-top: 3px; color: var(--gold); line-height: 0; }
.mkt-list__mark svg { display: block; width: 15px; height: 15px; }

/* Klaster po przekatnej: tl (gora-lewo) -> main (srodek, pionowy) -> br (dol-prawo). */
.mkt-photos { position: absolute; inset: 0; z-index: 1; }
.mkt-photos::before {
  content: ""; position: absolute; z-index: 0;
  width: clamp(210px, 22vw, 290px); aspect-ratio: 3 / 4; top: 50%; left: 50%;
  transform: translate(calc(-50% + 26px), calc(-50% + 24px));
  background: var(--gold-tint); border-radius: var(--radius);
}
.mkt-photo { position: absolute; overflow: hidden; background: var(--cream); border: 8px solid #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.mkt-photo--main { width: clamp(210px, 22vw, 290px); aspect-ratio: 3 / 4; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 4; }
.mkt-photo--tl   { width: clamp(230px, 27vw, 350px); aspect-ratio: 4 / 3; top: 0; left: 0; z-index: 2; }
.mkt-photo--br   { width: clamp(220px, 25vw, 320px); aspect-ratio: 4 / 3; bottom: 0; right: 0; z-index: 3; }
.mkt-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 1.6s ease-in-out; will-change: opacity; }
.mkt-img.is-active { opacity: 1; }
/* Imagify owija <img> w <picture class="mkt-img"> - wewnetrzny <img> musi wypelnic kadr. */
.mkt-img > img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   ZESPOL - dwie duze karty, opis po najechaniu
   ========================================================================== */
.team-duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.6rem); max-width: 1000px; margin-inline: auto; }
.duo { position: relative; }
.duo__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--cream); box-shadow: var(--shadow-sm); transition: box-shadow 0.5s var(--ease); }
.duo:hover .duo__media { box-shadow: var(--shadow-lg); }
.duo__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1s var(--ease); }
.duo:hover .duo__media img { transform: scale(1.05); }
/* Placeholder, dopoki klient nie wgra zdjecia */
.duo__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem; background: linear-gradient(150deg, var(--cream) 0%, var(--gold-tint) 100%); }
.duo__ph-mark { font-family: var(--font-serif); font-size: clamp(3.5rem, 8vw, 5.5rem); color: rgba(169,128,59,0.35); letter-spacing: 0.06em; line-height: 1; }
.duo__ph-hint { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); text-align: center; padding-inline: 1.5rem; font-weight: 600; }
/* Zaslona + panel z opisem */
.duo__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,22,25,0.94) 0%, rgba(20,22,25,0.72) 46%, rgba(20,22,25,0.12) 100%); opacity: 0; transition: opacity 0.55s var(--ease); pointer-events: none; }
.duo__panel { position: absolute; inset: auto 0 0 0; padding: clamp(1.4rem, 2.4vw, 2.1rem); color: #fff; opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease), transform 0.55s var(--ease); pointer-events: none; }
.duo__bio { font-size: 0.92rem; line-height: 1.7; font-weight: 300; color: rgba(255,255,255,0.92); }
.duo__contact { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,0.22); }
.duo__contact a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.86rem; font-weight: 500; color: #fff; transition: color 0.3s; }
.duo__contact a:hover { color: var(--gold-soft); }
.duo__contact i { color: var(--gold); font-size: 1.05rem; }
.duo:hover .duo__veil, .duo:focus-within .duo__veil, .duo.is-open .duo__veil { opacity: 1; }
.duo:hover .duo__panel, .duo:focus-within .duo__panel, .duo.is-open .duo__panel { opacity: 1; transform: none; pointer-events: auto; }
/* Przycisk "Poznaj mnie" - tylko dotyk/mobile */
.duo__more { display: none; position: absolute; right: 1rem; bottom: 1rem; z-index: 3; background: rgba(255,255,255,0.94); color: var(--ink); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.6rem 1.05rem; border-radius: 0; box-shadow: var(--shadow-sm); }
.duo__more-close { display: none; }
.duo.is-open .duo__more-open { display: none; }
.duo.is-open .duo__more-close { display: inline; }
.duo__body { padding: 1.4rem 0.2rem 0; }
.duo__body h3 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-bottom: 0.3rem; }
.duo__body .role { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.team-hint { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-top: 1.8rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); font-weight: 500; }
.team-hint i { color: var(--gold); font-size: 0.6rem; }

/* ==========================================================================
   OPINIE WIDEO (3 pionowe nagrania 9:16)
   ========================================================================== */
.vreviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); justify-items: center; }
.vrev { width: 100%; max-width: 320px; }
.vrev__phone { display: block; width: 100%; padding: 10px; background: var(--graphite); border: 1px solid rgba(198,159,89,0.35); box-shadow: var(--shadow-md); position: relative; transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease); }
button.vrev__phone { cursor: pointer; border: 0; }
button.vrev__phone:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.vrev__screen { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: #0c0d0f; }
.vrev__screen img, .vrev__screen picture { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
button.vrev__phone:hover .vrev__screen img { transform: scale(1.06); }
.vrev__ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, #32373c 0%, #1b1e22 100%); }
.vrev__ph-mark { font-family: var(--font-serif); font-size: 3.4rem; color: rgba(198,159,89,0.4); letter-spacing: 0.06em; }
.vrev__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 58px; height: 58px; background: rgba(255,255,255,0.12); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.55); display: grid; place-items: center; transition: all 0.4s var(--ease); }
button.vrev__phone:hover .vrev__play { background: var(--gold); border-color: var(--gold); transform: translate(-50%,-50%) scale(1.08); }
.vrev__play i { color: #fff; font-size: 1.45rem; margin-left: 3px; }
.vrev__todo { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); width: max-content; max-width: 88%; text-align: center; font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--gold-soft); background: rgba(20,22,25,0.7); padding: 0.5rem 0.8rem; border-radius: 0; }
.vrev__meta { text-align: center; margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.2rem; }
.vrev__meta strong { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.vrev__meta span { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }

/* ==========================================================================
   SPRZEDANE - slider (2 karty na desktopie, 1 na telefonie)
   Biale nazwy na ciemnej zaslonie + zlota cena i zlote kreski akcentowe.
   ========================================================================== */
.sold__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.sold__head .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); flex: 1 1 auto; }
.sold__nav { display: flex; align-items: center; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); flex-shrink: 0; }
.sold__arrow {
  position: relative; width: 54px; height: 54px; display: grid; place-items: center;
  border: 1px solid var(--gold); background: transparent; color: var(--gold-text);
  transition: color 0.35s var(--ease), border-color 0.35s, opacity 0.35s;
}
/* Zlote wypelnienie wjezdza od dolu */
.sold__arrow::before {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s var(--ease);
}
.sold__arrow i { position: relative; z-index: 1; font-size: 1.15rem; }
.sold__arrow:hover:not(:disabled) { color: #fff; }
.sold__arrow:hover:not(:disabled)::before { transform: scaleY(1); }
.sold__arrow:disabled { opacity: 0.22; border-color: var(--line); color: var(--muted-light); cursor: default; }
/* Licznik 01 / 05 */
.sold__counter { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-serif); font-size: 1.05rem; color: var(--muted-light); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.sold__counter em { font-style: normal; color: var(--gold-text); font-size: 1.35rem; font-weight: 500; }
.sold__counter i { display: block; width: 26px; height: 1px; background: var(--line); }

.sold__viewport { overflow: hidden; }
/* Bez JS slider zamienia sie w zwykle przewijanie w bok */
.no-js .sold__viewport { overflow-x: auto; }
.no-js .sold__nav, .no-js .sold__dots { display: none; }
.sold__track { display: flex; gap: clamp(1.2rem, 2.4vw, 2rem); transition: transform 0.65s var(--ease); will-change: transform; }
.sold-card { flex: 0 0 calc((100% - clamp(1.2rem, 2.4vw, 2rem)) / 2); }

.sold-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.sold-card__media img, .sold-card__media picture, .sold-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity 1.4s ease-in-out, transform 1.2s var(--ease);
}
.sold-img.is-active { opacity: 1; }
.sold-img > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sold-card:hover .sold-img.is-active { transform: scale(1.04); }
.sold-card__ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-serif); font-size: 3rem; color: rgba(169,128,59,0.35); background: linear-gradient(150deg, var(--cream), var(--gold-tint)); }

/* Zaslona - im nizej, tym ciemniej, zeby bialy tekst byl zawsze czytelny */
.sold-card__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,18,20,0.92) 0%, rgba(16,18,20,0.55) 34%, rgba(16,18,20,0.06) 66%, rgba(16,18,20,0.24) 100%); }

/* Zlota plakietka "Sprzedane" */
.sold-card__badge {
  position: absolute; top: 0; left: 0; z-index: 2;
  background: var(--gold); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.62rem 1.15rem; line-height: 1;
}

.sold-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(1.3rem, 2.4vw, 1.9rem); display: flex; flex-direction: column; }
.sold-card__city { font-family: var(--font-serif); font-size: clamp(1.35rem, 2.1vw, 1.7rem); font-weight: 500; color: #fff; line-height: 1.15; }
.sold-card__street { font-size: 0.84rem; font-weight: 300; color: rgba(255,255,255,0.78); margin-top: 0.2rem; }
/* Zlota kreska miedzy adresem a cena */
.sold-card__price {
  position: relative; margin-top: 1rem; padding-top: 0.95rem;
  font-size: 1.02rem; font-weight: 600; letter-spacing: 0.06em; color: var(--gold-soft);
}
.sold-card__price::before { content: ""; position: absolute; top: 0; left: 0; width: 42px; height: 2px; background: var(--gold); }

.sold__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: clamp(1.6rem, 3vw, 2.2rem); }
.sold__dots button {
  width: 22px; height: 1px; padding: 0; border: 0; background: var(--line);
  transition: background 0.4s var(--ease), width 0.4s var(--ease), height 0.4s var(--ease);
  /* cienka kreska, ale palec trafia w 44 px */
  background-clip: content-box; box-sizing: content-box;
  padding-block: 22px; margin-block: -22px;
}
.sold__dots button:hover { background: var(--gold-soft); }
.sold__dots button[aria-selected="true"] { background: var(--gold); width: 54px; height: 2px; }

@media (max-width: 900px) {
  .sold__head { flex-direction: column; align-items: stretch; gap: 0; }
  .sold__nav { margin: 0 0 1.8rem; }
  .sold__arrow { width: 48px; height: 48px; }
}
@media (max-width: 700px) {
  .sold-card { flex: 0 0 100%; }
  .sold-card__media { aspect-ratio: 3 / 4; }
}

/* ==========================================================================
   QUOTE
   ========================================================================== */
.quote { position: relative; background: var(--graphite); color: #fff; text-align: center; overflow: hidden; }
/* Zdjecie tla jako <img> (Imagify-friendly, bez background-image) */
.quote__bg { position: absolute; inset: 0; z-index: 0; }
.quote__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.quote__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20,22,25,0.86), rgba(20,22,25,0.80)); }
.quote::before { content: "\201C"; position: absolute; top: -0.2em; left: 50%; transform: translateX(-50%); font-family: var(--font-serif); font-size: 16rem; color: rgba(198,159,89,0.16); line-height: 1; pointer-events: none; z-index: 1; }
.quote__inner { max-width: 880px; margin-inline: auto; position: relative; z-index: 2; }
.quote p { font-family: var(--font-serif); font-size: clamp(1.7rem, 3.4vw, 2.8rem); font-weight: 500; line-height: 1.25; font-style: italic; }
.quote .author { font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); margin-top: 1.8rem; font-weight: 600; }

/* ==========================================================================
   FEATURE BAND (parallax, premium wnętrze)
   ========================================================================== */
.feature-band { background: var(--ivory); }
.feature-band__deco { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 2.5vw, 1.6rem); padding: clamp(1.4rem, 3vw, 2.2rem) var(--gutter); }
.feature-band__deco .deco-line { height: 1px; width: clamp(50px, 12vw, 150px); background: linear-gradient(90deg, transparent, var(--gold)); }
.feature-band__deco .deco-line:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.feature-band__deco .deco-sygnet { display: block; color: var(--gold); flex-shrink: 0; }
.feature-band__deco .deco-sygnet svg { width: 34px; height: 34px; display: block; }
/* Zdjecie pasa jako <img> (Imagify-friendly, bez background-image) */
.feature-band__img { position: relative; height: clamp(230px, 28vw, 360px); overflow: hidden; }
.feature-band__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* mniejszy odstęp nad i pod bloczkiem */
#dlaczego { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.feature-band + .section { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* ==========================================================================
   PARALLAX na <img> (efekt "zdjecie stoi w miejscu, tresc przewija sie po nim")
   Odtwarza background-attachment:fixed bez background-image (Imagify-friendly).
   Zdjecie jest position:fixed (stoi wzgledem okna), a clip-path przycina je
   do obszaru sekcji. Imagify dalej owija <img> w <picture>.
   ========================================================================== */
.am-parallax { overflow: hidden; clip-path: inset(0); }
.am-parallax img { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; object-fit: cover; object-position: center; }
/* Na mobile (i przy reduced-motion) wracamy do zwyklego, statycznego kadru -
   position:fixed na telefonach potrafi skakac. */
@media (max-width: 900px) {
  .am-parallax img { position: absolute; inset: 0; width: 100%; height: 100%; }
}
/* ==========================================================================
   CELE DOTYKOWE - na telefonie kazdy link/przycisk ma co najmniej 44 px wysokosci
   ========================================================================== */
@media (max-width: 900px) {
  .burger { min-width: 44px; min-height: 44px; padding: 0; align-items: center; justify-content: center; }
  .duo__more { padding: 0.85rem 1.2rem; }
  .duo__contact { gap: 0 1.4rem; }
  .duo__contact a { min-height: 44px; }
  .contact__direct { gap: 0.2rem; }
  .contact__direct a { min-height: 44px; padding-block: 0.35rem; }
  .link-arrow { min-height: 44px; }
  .footer ul { gap: 0.1rem; }
  .footer ul li { display: flex; }
  .footer ul a, .footer ul .ic { min-height: 44px; display: inline-flex; align-items: center; }
  .footer__socials a { width: 44px; height: 44px; }
  .footer__bottom a, .footer__credit a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__bottom { text-align: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .am-parallax img { position: absolute; inset: 0; width: 100%; height: 100%; }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
/* Karty opinii */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; align-items: stretch; }
.review { position: relative; background: #fff; border-radius: var(--radius); padding: 1.9rem 1.8rem; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.review::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease); }
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review:hover::before { transform: scaleX(1); }
.review__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.1rem; }
.review__avatar { flex-shrink: 0; width: 46px; height: 46px; border-radius: 0; background: var(--graphite); color: var(--gold); display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.1rem; }
.review__who { display: flex; flex-direction: column; line-height: 1.35; flex-grow: 1; min-width: 0; }
.review__who strong { font-size: 0.95rem; color: var(--ink); font-weight: 600; }
.review__who span { font-size: 0.74rem; color: var(--muted-light); }
.review__stars { display: flex; gap: 0.15rem; color: var(--gold); font-size: 0.9rem; margin-bottom: 0.9rem; }
.review p { font-size: 0.94rem; line-height: 1.7; color: var(--muted); font-weight: 300; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: var(--container-narrow); margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; font-family: var(--font-serif); font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--ink); font-weight: 500; }
.faq__q .pm { flex-shrink: 0; width: 26px; height: 26px; position: relative; }
.faq__q .pm::before, .faq__q .pm::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--gold-dark); }
.faq__q .pm::before { width: 14px; height: 1.5px; }
.faq__q .pm::after { width: 1.5px; height: 14px; transition: transform 0.4s var(--ease); }
.faq__item.open .pm::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height 0.45s var(--ease); }
.faq__a p { padding: 0 0 1.6rem; color: var(--muted); font-weight: 300; max-width: 90%; }

/* ==========================================================================
   CONTACT / FORM
   ========================================================================== */
.contact { background: var(--cream); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contact__aside .kicker { margin-bottom: 1.4rem; }
.contact__aside h2 { margin-bottom: 1.4rem; }
.contact__aside .lead { margin-bottom: 2.4rem; }
.steps { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.6rem; }
.steps li { display: flex; gap: 1.1rem; align-items: flex-start; }
.steps .n { flex-shrink: 0; width: 38px; height: 38px; border-radius: 0; border: 1px solid var(--gold); color: var(--gold-text); display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.1rem; }
.steps .t strong { display: block; font-weight: 600; font-size: 0.98rem; margin-bottom: 0.15rem; }
.steps .t span { font-size: 0.88rem; color: var(--muted); font-weight: 300; }
.contact__direct { display: flex; flex-direction: column; gap: 0.9rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.contact__direct a { display: inline-flex; align-items: center; gap: 0.8rem; font-size: 1.02rem; color: var(--ink); font-weight: 500; transition: color 0.3s; }
.contact__direct a:hover { color: var(--gold-text); }
.contact__direct i { color: var(--gold); font-size: 1.3rem; flex-shrink: 0; }
.contact__direct a > span { display: flex; flex-direction: column; line-height: 1.25; }
.contact__direct em { font-style: normal; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; }

.form-card { background: #fff; border-radius: var(--radius); padding: clamp(1.8rem, 3vw, 2.8rem); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
/* Karta formularza zanim admin wklei shortcode CF7 */
.form-fallback__lead { font-size: 0.95rem; color: var(--muted); font-weight: 300; margin-bottom: 1.4rem; }
.form-fallback__list { display: flex; flex-direction: column; gap: 0.8rem; }
.form-fallback__item { display: flex; align-items: center; gap: 0.85rem; padding: 0.9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease); }
.form-fallback__item:hover { border-color: var(--gold); background: #fff; transform: translateY(-2px); }
.form-fallback__item i { color: var(--gold); font-size: 1.25rem; flex-shrink: 0; }
.form-fallback__item span { display: flex; flex-direction: column; line-height: 1.25; font-weight: 600; color: var(--ink); word-break: break-word; }
.form-fallback__item em { font-style: normal; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field label .req { color: var(--gold-text); }
.field input, .field select, .field textarea { font-family: var(--font-sans); font-size: 0.95rem; color: var(--ink); padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); transition: border-color 0.3s, background 0.3s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.field textarea { resize: vertical; min-height: 96px; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0.4rem 0 1.4rem; }
.consent input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }
.consent label { font-size: 0.76rem; color: var(--muted); font-weight: 300; line-height: 1.5; }
.consent a { color: var(--gold-text); text-decoration: underline; }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.field label .opt { color: var(--muted-light); text-transform: none; letter-spacing: 0; font-weight: 400; }
.form-rodo { font-size: 0.7rem; line-height: 1.55; color: var(--muted-light); margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.form-rodo strong { color: var(--muted); font-weight: 600; }
.form-rodo a { color: var(--gold-text); text-decoration: underline; }
.form-msg { display: none; padding: 1rem 1.2rem; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 1.2rem; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(103,166,113,0.12); color: #2f6b3a; border: 1px solid rgba(103,166,113,0.4); }
.form-msg.err { background: rgba(207,46,46,0.08); color: #a32424; border: 1px solid rgba(207,46,46,0.3); }

/* ----- Contact Form 7 (formularz wklejany shortcodem; uzywa klas .field/.consent) ----- */
.wpcf7-form p { margin: 0; }
.wpcf7 .field input, .wpcf7 .field select, .wpcf7 .field textarea { width: 100%; }
.wpcf7-spinner { margin: 0 0 0 0.6rem; }
.wpcf7 .consent .wpcf7-list-item { margin: 0; display: flex; gap: 0.7rem; align-items: flex-start; }
.wpcf7 .consent .wpcf7-list-item-label { font-size: 0.76rem; color: var(--muted); font-weight: 300; line-height: 1.5; }
.wpcf7-not-valid { border-color: #cf2e2e !important; }
.wpcf7-not-valid-tip { color: #a32424; font-size: 0.74rem; margin-top: 0.3rem; }
/* Komunikat CF7 pod przyciskiem (nad RODO), a nie na samym koncu formularza */
.wpcf7-form { display: flex; flex-direction: column; }
.wpcf7-form > * { order: 0; }
.wpcf7-form .wpcf7-response-output { order: 1; }
.wpcf7-form .form-rodo { order: 2; }
.wpcf7-response-output { margin: 1.1rem 0 0 !important; padding: 0.9rem 1.1rem !important; border-radius: var(--radius); font-size: 0.88rem; border-width: 1px !important; }
.wpcf7-response-output:empty { display: none !important; padding: 0 !important; border: 0 !important; margin: 0 !important; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output { background: rgba(207,46,46,0.08); color: #a32424; border-color: rgba(207,46,46,0.3) !important; }
.wpcf7 form.sent .wpcf7-response-output { background: rgba(103,166,113,0.12); color: #2f6b3a; border-color: rgba(103,166,113,0.4) !important; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: rgba(255,255,255,0.72); padding-block: clamp(3.5rem,6vw,5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
.footer__brand img, .footer__brand .am-logo { height: 58px; width: auto; margin-bottom: 1.4rem; color: #fff; object-fit: contain; }
.footer__brand svg.logo--dark { display: none; }
.footer__col .ic em { font-style: normal; color: var(--gold-soft); font-weight: 600; margin-right: 0.15rem; }
.footer__brand p { font-size: 0.9rem; font-weight: 300; max-width: 280px; }
.footer h4 { font-family: var(--font-sans); color: #fff; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.3rem; font-weight: 600; }
.footer ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer a { font-size: 0.9rem; transition: color 0.3s; }
.footer a:hover { color: var(--gold); }
.footer__col .ic { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer__col .ic i { color: var(--gold); font-size: 1.05rem; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; font-size: 0.78rem; color: var(--muted-light); }
.footer__bottom a { color: var(--muted-light); }
.footer__bottom a:hover { color: var(--gold); }
.footer__socials { display: flex; gap: 0.8rem; }
.footer__socials a { width: 38px; height: 38px; border: 1px solid var(--line-light); border-radius: 0; display: grid; place-items: center; }
.footer__socials a i { font-size: 1.1rem; }
.footer__socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer__credit { text-align: center; margin-top: 1.3rem; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted-light); }
.footer__credit a { color: var(--gold); transition: color 0.3s; }
.footer__credit a:hover { color: #fff; }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,16,18,0.92); display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; backdrop-filter: blur(6px); }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__inner { position: relative; width: 100%; max-width: 1000px; }
.lightbox__inner.vertical { max-width: 420px; }
.lightbox__frame { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.lightbox__inner.vertical .lightbox__frame { aspect-ratio: 9/16; }
.lightbox__frame iframe, .lightbox__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; }
.lightbox__close { position: absolute; top: -3rem; right: 0; color: #fff; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.lightbox__close:hover { color: var(--gold); }
.lightbox__close i { font-size: 1.3rem; }

/* Floating widget: telefon + wideo (auto-play wyciszone → klik = dźwięk + powiększenie) */
.fab-stack { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 0.85rem; }
.fab-call-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; }
.fab-call-wrap[hidden] { display: none; }
.fab-call { position: relative; align-self: flex-end; height: 54px; min-width: 54px; border-radius: 0; background: var(--gold); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); overflow: hidden; white-space: nowrap; transition: background 0.3s var(--ease), border-radius 0.4s var(--ease), padding 0.4s var(--ease); }
.fab-call i { font-size: 1.5rem; position: relative; z-index: 1; flex-shrink: 0; width: 54px; text-align: center; }
.fab-call__num { max-width: 0; opacity: 0; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; overflow: hidden; transition: max-width 0.45s var(--ease), opacity 0.3s; }
.fab-call::after { content: ""; position: absolute; inset: 0; border-radius: 0; border: 2px solid var(--gold); animation: pulsering 2.2s ease-out infinite; }
/* Desktop: najazd rozwija pełny numer telefonu */
@media (hover: hover) and (pointer: fine) {
  .fab-call:hover { background: var(--gold-dark); border-radius: 0; padding-right: 1.3rem; }
  .fab-call:hover .fab-call__num { max-width: 220px; opacity: 1; }
  .fab-call:hover::after { opacity: 0; }
}
/* Wybor numeru: Ania / Kasia */
.fab-choices { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end; margin-bottom: 0.1rem; }
.fab-choices[hidden] { display: none; }
.fab-choice { display: inline-flex; align-items: center; gap: 0.65rem; background: #fff; color: var(--ink); border-radius: 0; padding: 0.6rem 1.1rem 0.6rem 0.85rem; box-shadow: var(--shadow-md); font-size: 0.92rem; font-weight: 600; white-space: nowrap; transition: background 0.3s, color 0.3s, transform 0.3s var(--ease); }
.fab-choice:hover { background: var(--gold); color: #fff; transform: translateX(-3px); }
.fab-choice i { color: var(--gold); font-size: 1.15rem; transition: color 0.3s; }
.fab-choice:hover i { color: #fff; }
.fab-choice span { display: flex; flex-direction: column; line-height: 1.2; }
.fab-choice em { font-style: normal; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; }
.fab-choice:hover em { color: rgba(255,255,255,0.85); }
/* Etykieta "Zadzwoń do nas" - domyślnie ukryta (pokazywana na mobile) */
.fab-label { display: none; }
@keyframes pulsering { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.8); opacity: 0; } }

/* ==========================================================================
   SHORTS - dwa pionowe filmy 9:16
   ========================================================================== */
.shorts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.8rem); justify-items: center; }
.short { width: 100%; max-width: 380px; }
.short__frame { position: relative; padding: 10px; background: var(--graphite); border: 1px solid rgba(198,159,89,0.35); box-shadow: var(--shadow-md); transition: border-color 0.45s var(--ease), box-shadow 0.45s var(--ease), transform 0.45s var(--ease); }
.short:hover .short__frame { border-color: var(--gold); box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.short__player { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: #0c0d0f; cursor: pointer; }
.short__player img, .short__player picture, .short__poster, .short__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.short__poster { transition: transform 0.8s var(--ease), opacity 0.4s; }
.short:hover .short__poster { transform: scale(1.05); }
.short__video { z-index: 2; background: #000; }
.short__ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, #32373c 0%, #1b1e22 100%); }
.short__ph-mark { font-family: var(--font-serif); font-size: 3.2rem; color: rgba(198,159,89,0.4); letter-spacing: 0.06em; }
.short__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3; width: 58px; height: 58px; background: rgba(255,255,255,0.12); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.55); display: grid; place-items: center; transition: all 0.4s var(--ease); }
.short:hover .short__play { background: var(--gold); border-color: var(--gold); transform: translate(-50%,-50%) scale(1.06); }
.short__play i { color: #fff; font-size: 1.45rem; margin-left: 3px; }
.short__player.is-playing .short__play, .short__player.is-playing .short__poster, .short__player.is-playing .short__ph { opacity: 0; pointer-events: none; }
.short__todo { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); z-index: 3; width: max-content; max-width: 88%; text-align: center; font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--gold-soft); background: rgba(20,22,25,0.7); padding: 0.5rem 0.8rem; }
@media (max-width: 760px) {
  .shorts-grid { grid-template-columns: 1fr; }
  .short { max-width: 320px; }
}

/* ==========================================================================
   WIDGET "TELEFON" - pionowy film, dymek, przycisk polaczenia i zamkniecia
   ========================================================================== */
.phone-fab { position: relative; display: flex; flex-direction: column; align-items: flex-end; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.phone-fab.is-hidden { opacity: 0; transform: translateY(14px) scale(0.96); pointer-events: none; }

/* Dymek */
.phone-fab__bubble {
  position: absolute; z-index: 5; top: -16px; left: -62px;
  background: #fff; color: var(--ink);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1;
  padding: 0.72rem 1rem; box-shadow: var(--shadow-md); white-space: nowrap;
  border-left: 2px solid var(--gold);
  animation: am-bubble 4.5s ease-in-out infinite;
}
/* Ogonek skierowany w dol, w strone telefonu - jakby to on mowil */
.phone-fab__bubble::after { content: ""; position: absolute; bottom: -6px; right: 24px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
@keyframes am-bubble { 0%, 88%, 100% { transform: translateY(0); } 92% { transform: translateY(-4px); } 96% { transform: translateY(0); } }

/* Ramka telefonu - ostre krawedzie + cienka zlota linia */
.phone-fab__frame {
  position: relative; width: 156px; aspect-ratio: 9 / 16; overflow: hidden; cursor: pointer;
  background: #000; padding: 0; border: 1px solid rgba(198,159,89,0.55);
  box-shadow: var(--shadow-lg); transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.phone-fab__frame:hover { border-color: var(--gold); transform: translateY(-3px); }
.phone-fab__frame:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.phone-fab__video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Kadr zastepczy, dopoki nie ma filmu */
.phone-fab__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem; background: linear-gradient(165deg, #32373c 0%, #1b1e22 100%); }
.phone-fab__ph-mark { font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; color: rgba(198,159,89,0.55); letter-spacing: 0.06em; }
.phone-fab__ph-hint { max-width: 86%; text-align: center; font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--gold-soft); line-height: 1.4; }
/* Delikatny cien u gory i dolu, zeby ikony byly czytelne na kazdym kadrze */
.phone-fab__glow { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(16,18,20,0.55) 0%, rgba(16,18,20,0) 26%, rgba(16,18,20,0) 62%, rgba(16,18,20,0.72) 100%); }

/* X w prawym gornym rogu */
.phone-fab__close {
  position: absolute; top: 0; right: 0; z-index: 3; width: 30px; height: 30px;
  display: grid; place-items: center; background: rgba(16,18,20,0.62); color: #fff;
  border: 0; border-left: 1px solid rgba(255,255,255,0.22); border-bottom: 1px solid rgba(255,255,255,0.22);
  transition: background 0.3s, color 0.3s;
}
.phone-fab__close:hover { background: var(--gold); color: #fff; }
.phone-fab__close i { font-size: 1rem; }

/* Telefon w lewym dolnym rogu */
.phone-fab__call {
  position: absolute; left: 0; bottom: 0; z-index: 3; width: 38px; height: 38px;
  display: grid; place-items: center; background: var(--gold); color: #fff; border: 0;
  transition: background 0.3s, transform 0.3s var(--ease);
}
.phone-fab__call:hover { background: var(--gold-dark); transform: scale(1.06); }
.phone-fab__call i { font-size: 1.15rem; }

@media (max-width: 620px) {
  /* Wezszy telefon, ale przyciski w rogach nadal wygodne do trafienia palcem */
  .phone-fab__frame { width: 126px; }
  .phone-fab__bubble { font-size: 0.72rem; padding: 0.6rem 0.85rem; top: -14px; left: -50px; }
  .phone-fab__bubble::after { right: 20px; }
  .phone-fab__close { width: 36px; height: 36px; }
  .phone-fab__call { width: 40px; height: 40px; }
  .phone-fab__call i { font-size: 1.2rem; }
}

/* ==========================================================================
   PREMIUM KURSOR (desktop)
   ========================================================================== */
.cursor-ring, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; opacity: 0; transform: translate(-50%, -50%); will-change: transform; }
.cursor-ring { width: 36px; height: 36px; border: 1.5px solid var(--gold); transition: width 0.28s var(--ease), height 0.28s var(--ease), background-color 0.28s, border-color 0.28s, opacity 0.3s; }
.cursor-ring.active { width: 58px; height: 58px; background: rgba(198, 159, 89, 0.16); }
.cursor-dot { width: 6px; height: 6px; background: var(--gold); transition: opacity 0.3s; }
@media (hover: none), (pointer: coarse) { .cursor-ring, .cursor-dot { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .cursor-ring, .cursor-dot { display: none !important; } }
/* Gdy nasz premium-kursor dziala (klasa dodawana przez JS) - chowamy natywna
   strzalke, zostaje samo animowane kolko. Tylko desktop z myszka. */
@media (hover: hover) and (pointer: fine) {
  body.am-cursor-on, body.am-cursor-on * { cursor: none !important; }
}

/* ==========================================================================
   REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* Bez JS pokazujemy tresc od razu (zamiast trzymac ja niewidoczna) */
.no-js .reveal { opacity: 1; transform: none; }

/* Animacje reveal NIEZALEZNE od JS - scroll-driven CSS. Dzialaja nawet gdy
   cache (LiteSpeed/WP Rocket) opozni JavaScript. Gdy JS zdazy dodac .in,
   przejmuje on kontrole (selektor :not(.in)). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal:not(.in) {
      animation: am-reveal-in both linear;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
  }
}
@keyframes am-reveal-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ==========================================================================
   LEGAL (polityka prywatności)
   ========================================================================== */
.legal-hero { background: var(--graphite); color: #fff; position: relative; overflow: hidden; padding: clamp(8rem,14vw,11rem) 0 clamp(2.5rem,5vw,4rem); }
.legal-hero h1 { color: #fff; font-size: clamp(2.2rem,5vw,3.6rem); }
.legal-hero .kicker { margin-bottom: 1.2rem; }
.legal-wrap { max-width: 880px; margin-inline: auto; padding-block: clamp(3rem,6vw,5rem); }
.legal h2 { font-size: clamp(1.4rem,2.6vw,2rem); margin: 2.6rem 0 1rem; }
.legal h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; margin: 1.8rem 0 0.6rem; color: var(--ink); letter-spacing: 0.01em; }
.legal p, .legal li { color: var(--muted); font-weight: 300; margin-bottom: 0.9rem; line-height: 1.8; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.legal ul li { margin-bottom: 0.4rem; }
.legal a { color: var(--gold-text); text-decoration: underline; word-break: break-word; }
.legal .lead-box { background: var(--cream); border-left: 3px solid var(--gold); padding: 1.4rem 1.6rem; margin-bottom: 2rem; border-radius: var(--radius); }
.legal .lead-box p { color: var(--ink); margin-bottom: 0.5rem; }
.legal .back { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 2.5rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number:nth-child(3) { border-left: 0; padding-left: 0; }
  .number:nth-child(3)::before { left: 0; }
  .number:nth-child(2) { padding-right: 0; }
  .mkt-copy { width: 260px; }
  .mkt-stage { min-height: 580px; }
  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .trust-strip__item:nth-child(3) { border-left: none; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
/* "Co dostajesz": na tablecie i mobile - lista, zdjecie, lista */
@media (max-width: 1024px) {
  .mkt-stage { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: clamp(2rem, 5vw, 3rem); }
  .mkt-copy { position: static; width: 100%; max-width: 520px; }
  .mkt-copy--a { order: 1; }
  .mkt-photos { position: relative; order: 2; width: min(84vw, 360px); aspect-ratio: 3 / 4; height: auto; margin: 0 auto; }
  .mkt-copy--b { order: 3; }
  .mkt-photos::before { display: none; }
  .mkt-photo--tl, .mkt-photo--br { display: none; }
  .mkt-photo--main { position: absolute; inset: 0; width: auto; transform: none; aspect-ratio: auto; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  /* Kafelki, potem zdjecie - w obu rzedach tak samo */
  .services-row, .services-row--rev { grid-template-columns: 1fr; }
  .services-row .services-grid { order: 1; }
  .services-row .services-media { order: 2; }
  .services-media img { min-height: 220px; max-height: 340px; aspect-ratio: 3 / 2; height: auto; }
  .vreviews-grid { grid-template-columns: 1fr; }
  .vrev { max-width: 300px; }
  /* Dotyk zamiast najechania: opis rozwija przycisk "Poznaj mnie" */
  .duo__more { display: inline-flex; }
  .team-hint { display: none; }
  .duo:hover .duo__veil, .duo:hover .duo__panel { opacity: 0; }
  .duo:hover .duo__panel { transform: translateY(18px); pointer-events: none; }
  .duo.is-open .duo__veil { opacity: 1; }
  .duo.is-open .duo__panel { opacity: 1; transform: none; pointer-events: auto; }
  .duo.is-open .duo__more { background: var(--gold); color: #fff; }
  .header__right .btn--gold { display: none; }
  .burger { display: flex; }
  .split, .contact__grid, .values-split { grid-template-columns: 1fr; }
  .values-split__right { position: static; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  /* Etykieta "Zadzwoń do nas" nad widgetem (mobile/tablet) */
  .fab-label { display: inline-flex; align-items: center; align-self: flex-end; position: relative; background: var(--graphite); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.45rem 0.9rem; border-radius: 0; box-shadow: var(--shadow-sm); }
  .fab-label::after { content: ""; position: absolute; bottom: -4px; right: 20px; width: 9px; height: 9px; background: var(--graphite); transform: rotate(45deg); }
  .reviews { grid-template-columns: 1fr; }
  .quote, .feature-band__img { background-attachment: scroll; }
  .hero { min-height: 88svh; }
  .hero__bg { width: 100%; }
  .hero__overlay { background: linear-gradient(to bottom, rgba(20,22,25,0.55) 0%, rgba(20,22,25,0.35) 30%, rgba(20,22,25,0.55) 70%, rgba(20,22,25,0.82) 100%); }
}
@media (max-width: 700px) {
  .team-duo { grid-template-columns: 1fr; gap: 2.5rem; }
  .duo { max-width: 460px; margin-inline: auto; width: 100%; }
}
@media (max-width: 620px) {
  .values-grid, .process__steps, .trust-strip__inner, .values-split .values-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr; }
  .number { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .number:first-child { border-top: 0; }
  .number::before { left: 0; }
  .stats { gap: 1.2rem 2rem; }
  .stat__label { max-width: none; }
  .mkt-list li { font-size: 0.86rem; }
  .trust-strip__item { border-left: none; border-top: 1px solid var(--line-light); }
  .trust-strip__item:first-child { border-top: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .reviews { gap: 1rem; }
  .btn { white-space: normal; }
  /* Mobile hero: chowamy kicker i pasek zaufania (mniej zatłoczone) */
  .hero .kicker, .hero__trust { display: none; }
  .hero h1.display { margin-top: 0.5rem; }
  .fab-stack { right: 0.9rem; bottom: 1.6rem; gap: 0.7rem; }
  .fab-call { min-width: 48px; height: 48px; }
  .fab-call i { width: 48px; font-size: 1.35rem; }
  .video-fab { width: 108px; }
  .video-fab.expanded { width: min(240px, 74vw); }
}

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