:root {
  --paper: #ECEEF0;
  --paper-2: #E2E5E8;
  --paper-3: #D4D8DD;
  --ink: #15181C;
  --ink-2: #2A2A2A;
  --muted: #6B6760;
  --line: #1a1a1a1a;
  --line-strong: #1a1a1a33;
  --accent: oklch(0.78 0.045 200);
  --accent-ink: oklch(0.38 0.04 200);
  /* Bardzo delikatne tła z akcentem (nad bazą --paper / --paper-2) */
  --surface-accent-a: color-mix(in srgb, var(--paper) 94%, var(--accent));
  --surface-accent-b: color-mix(in srgb, var(--paper-2) 91%, var(--accent));
  --radius: 2px;
  --maxw: 1440px;
  --pad: clamp(20px, 4vw, 56px);
  /* Jednakowa odległość od góry i dołu każdej sekcji <section> (−20px vs bazowy clamp) */
  --section-y: calc(clamp(72px, 8vw, 120px) - 20px);
  --serif: "Jost", sans-serif;
  --sans: "Jost", sans-serif;
  --mono: "Jost", sans-serif;
  --text-p: 18px;
  --leading-p: 1.62;
}
@media (max-width: 900px) {
  :root {
    --text-p: 16px;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 400; -webkit-font-smoothing: antialiased; }
body { overflow-x: clip; }
body { font-size: var(--text-p); line-height: var(--leading-p); letter-spacing: -0.005em; }
p { font-size: var(--text-p); line-height: var(--leading-p); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

.wrap { box-sizing: border-box; width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

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

/* FAQ → CTA: dwie pełne wartości --section-y dawały zbyt duży „pusty” pas */
section.faq {
  padding-bottom: calc(var(--section-y) * 0.45);
}
section.final {
  padding-top: calc(var(--section-y) * 0.45);
}

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 0.95; }
.serif em { font-style: italic; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase; font-size: 11px; }
.eyebrow { font-family: var(--mono); font-size: 14px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

/* Wyróżnienie w nagłówkach — kolor jak --accent (jasny akcent, nie --accent-ink) */
.accent-word {
  color: var(--accent);
  font-style: italic;
}

/* Rozświetlenie sekcji: lekki „wash” w tonacji akcentu */
.section-surface-accent {
  background:
    radial-gradient(ellipse 95% 75% at 0% 15%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 52%),
    radial-gradient(ellipse 75% 55% at 100% 85%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 48%),
    var(--surface-accent-a);
}

/* ——— NAV ——— */
.nav { position: sticky; top: 0; z-index: 50; background: #e9ebf0; border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 96px; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand-logo {
  display: block;
  height: clamp(44px, 5.5vw, 58px);
  width: auto;
  max-width: min(280px, 52vw);
  object-fit: contain;
  object-position: left center;
}
.brand-tag { font-family: var(--mono); font-size: 16px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
@media (max-width: 560px) {
  .brand-tag { display: none; }
}
.nav-links { display: flex; gap: clamp(16px, 2vw, 32px); align-items: center; font-size: 24px; font-weight: 500; color: var(--ink-2); }
.nav-links a { position: relative; padding: 12px 2px; margin: -12px -2px; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 18px; align-items: center; }
.phone-nav { font-family: var(--mono); font-size: 22px; font-weight: 500; letter-spacing: 0.02em; }
.nav .btn { font-size: 22px; font-weight: 600; padding: 16px 30px; }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ——— MOBILE BOTTOM NAV (FaHome / FaPhoneAlt paths ≈ react-icons/fa, Font Awesome 5 solid) ——— */
.mob-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  border-top: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mob-nav__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 4px;
  min-height: 56px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.mob-nav__link {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  font-size: clamp(10px, 2.8vw, 12px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  text-align: center;
  line-height: 1.15;
}
.mob-nav__link:hover,
.mob-nav__link:focus-visible {
  color: var(--ink);
}
.mob-nav a:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 2px;
  border-radius: 6px;
}
.mob-nav__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  color: var(--ink-2);
}
.mob-nav__icon:hover,
.mob-nav__icon:focus-visible {
  color: var(--ink);
}
.mob-nav__svg {
  width: 22px;
  height: 22px;
  display: block;
}
@media (max-width: 900px) {
  .mob-nav {
    display: block;
  }
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

/* ——— BUTTONS ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  line-height: 1;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-small { padding: 10px 14px; font-size: 12px; }

/* ——— HERO ——— */
.hero { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: end; min-width: 0; }
.hero-grid > * {
  min-width: 0;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-family: var(--serif); font-size: clamp(44px, 7vw, 96px); line-height: 0.95; letter-spacing: -0.025em; margin: 24px 0 28px; font-weight: 400; text-wrap: pretty; }
.hero h1 em { font-style: italic; color: var(--accent-ink); }
.hero-sub { color: var(--ink-2); max-width: 44ch; margin-bottom: 28px; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-meta { display: flex; gap: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-meta > div { display: flex; flex-direction: column; gap: 6px; }
.hero-meta .num { font-family: var(--serif); font-size: 40px; line-height: 1; }
.hero-meta .lbl { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.hero-media {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4/5;
  background: var(--paper-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-media .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}
.hero-badge { position: absolute; left: 20px; top: 20px; z-index: 2; background: var(--paper); padding: 10px 14px; border-radius: 999px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-caption { position: absolute; right: 20px; bottom: 20px; z-index: 2; background: var(--ink); color: var(--paper); padding: 14px 16px; border-radius: var(--radius); max-width: 260px; }
.hero-caption .t { font-family: var(--serif); font-size: 18px; line-height: 1.15; }
.hero-caption .s { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 60%, transparent); margin-top: 6px; }

/* Image placeholders */
.ph { position: relative; background-image: repeating-linear-gradient(135deg, #d4cdc0 0 1px, transparent 1px 8px); background-color: var(--paper-2); overflow: hidden; }
.ph-dark { background-color: #242420; background-image: repeating-linear-gradient(135deg, #2f2f2a 0 1px, transparent 1px 8px); color: #c9c4b8; }
.ph-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 55%, transparent); text-align: center; padding: 16px; }
.ph-dark .ph-label { color: #8e897c; }

/* Running ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.ticker-track { display: flex; gap: 48px; padding: 16px 0; white-space: nowrap; animation: scroll 40s linear infinite; font-family: var(--mono); font-size: 14px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); }
.ticker-track span { display: inline-flex; align-items: center; gap: 48px; }
.ticker-track span::after { content: "✦"; color: var(--accent-ink); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ——— FLAGSHIP: BALUSTRADY ——— */
.flag {
  position: relative;
  overflow-x: clip;
}
#balustrady { scroll-margin-top: 108px; }
.flag-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.flag-head > * {
  min-width: 0;
}
@media (max-width: 900px) { .flag-head { grid-template-columns: 1fr; } }
.flag-head h2 { font-family: var(--serif); font-size: clamp(42px, 6.2vw, 84px); line-height: 0.95; letter-spacing: -0.02em; margin: 16px 0 0; font-weight: 400; }
.flag-head h2 em { font-style: italic; color: var(--accent-ink); }
.flag-lede { color: var(--ink-2); max-width: 48ch; text-wrap: pretty; }
/* Desktop: jawna siatka 6×4 (jednostki = komórki). Proporcje jak wireframe:
   flag-main   = 2 kolumny × 4 wiersze (lewy słupek)
   flag-a / b  = każdy 2×2 (góra prawa)
   flag-c      = 4×2 (dół prawa). Łącznie: 2+2+2 = 6 kol., 2+2 = 4 wiersze */
.flag-grid {
  display: grid;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(96px, 1fr));
  min-height: clamp(380px, 38vw, 560px);
  gap: clamp(10px, 1.2vw, 14px);
  align-items: stretch;
  align-content: stretch;
  border-radius: var(--radius);
  overflow: hidden;
  contain: layout;
}
.flag-grid > * {
  border-radius: var(--radius);
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
}
.flag-main {
  grid-column: 1 / span 2;
  grid-row: 1 / span 4;
}
.flag-a {
  grid-column: 3 / span 2;
  grid-row: 1 / span 2;
}
.flag-b {
  grid-column: 5 / span 2;
  grid-row: 1 / span 2;
}
.flag-c {
  grid-column: 3 / span 4;
  grid-row: 3 / span 2;
}
.flag-grid .ph {
  width: 100%;
  height: 100%;
  min-height: 0;
}
.flag-grid-img {
  flex: 1 1 auto;
  flex-shrink: 1;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 900px) {
  .flag-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
    min-height: unset;
    gap: 12px;
    border-radius: 0;
    overflow: visible;
    contain: unset;
  }
  .flag-grid > * {
    border-radius: var(--radius);
  }
  .flag-main {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 4/3;
    height: auto;
    min-height: clamp(180px, 48vw, 340px);
  }
  .flag-a {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 4/3;
    height: auto;
  }
  .flag-b {
    grid-column: 2;
    grid-row: auto;
    aspect-ratio: 4/3;
    height: auto;
  }
  .flag-c {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16/7;
    height: auto;
  }
}

.flag-bullets { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeating-auto; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .flag-bullets { grid-template-columns: repeat(2, 1fr); } }
.flag-bullet { padding: 28px 28px 28px 0; border-right: 1px solid var(--line); }
.flag-bullet:last-child { border-right: none; }
@media (min-width: 901px) {
  .flag-bullet:not(:first-child) {
    padding-left: 28px;
  }
}
.flag-bullet .idx { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 24px; }
.flag-bullet h4 { font-family: var(--serif); font-size: 26px; font-weight: 400; margin: 0 0 8px; line-height: 1.1; }
.flag-bullet p { margin: 0; color: var(--muted); }

.flag-applications { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; color: var(--ink-2); }
.chip .d { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); margin-right: 8px; transform: translateY(-2px); }

/* ——— OFFER GRID ——— */
.offer {
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--accent) 9%, var(--paper-2)) 0%, var(--surface-accent-b) 45%, color-mix(in srgb, var(--accent) 5%, var(--paper-2)) 100%);
}
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }
.section-head h2 { font-family: var(--serif); font-size: clamp(38px, 5.2vw, 66px); line-height: 0.98; letter-spacing: -0.02em; margin: 14px 0 0; font-weight: 400; }
.section-head h2 em { font-style: italic; color: var(--accent-ink); }
.section-head .right { color: var(--muted); max-width: 44ch; }

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.offer-grid .offer-card[id] { scroll-margin-top: 108px; }
/* Mozaika: 12 kolumn — wide 8 (⅔), std 4 (⅓); pełne rzędy bez luk przy 2× wide + 8× std */
.offer-grid--mosaic {
  grid-template-columns: repeat(12, 1fr);
}
.offer-grid--mosaic .offer-card.wide { grid-column: span 8; }
.offer-grid--mosaic .offer-card.std { grid-column: span 4; }
.offer-card { background: var(--paper); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 16px; transition: transform .25s ease; position: relative; overflow: hidden; }
.offer-card:hover { transform: translateY(-2px); }
.offer-card:hover .offer-arrow { transform: translate(3px, -3px); }
.offer-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
}
.offer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.offer-card h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; margin: 0; line-height: 1.05; letter-spacing: -0.01em; }
.offer-card p { margin: 0; color: var(--muted); flex: 1; }
.offer-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.offer-foot .l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.offer-arrow { transition: transform .25s ease; }
.offer-card.wide { grid-column: span 2; }
/* Wide ≈ 2× szerokość std; czyste 8/3 bywa ~ kilkanaście px za wysokie (gap siatki / padding). 17/6 lekko niżej ~15–22 px przy typowej szerokości */
.offer-card.wide .offer-img { aspect-ratio: 17/6; }
.offer-card.std { grid-column: span 1; }
.offer-card.std .offer-img { aspect-ratio: 4/3; }
@media (max-width: 900px) {
  .offer-grid { grid-template-columns: repeat(6, 1fr); }
  .offer-grid--mosaic .offer-card.wide { grid-column: span 4; }
  .offer-grid--mosaic .offer-card.std { grid-column: span 2; }
  .offer-grid:not(.offer-grid--mosaic) .offer-card.wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-grid--mosaic .offer-card.wide,
  .offer-grid--mosaic .offer-card.std { grid-column: span 1; }
  .offer-card.wide, .offer-card.std { grid-column: span 1; }
  /* Jedna kolumna = ta sama szerokość — jednakowy kadłub zdjęcia jak std */
  .offer-card.wide .offer-img { aspect-ratio: 4/3; }
}

/* ——— TRUST ——— */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-cell { background: var(--paper); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; min-height: 220px; }
.trust-cell .glyph { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--accent-ink); }
.trust-cell h4 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin: 0; line-height: 1.1; }
.trust-cell p { margin: 0; color: var(--muted); }

/* ——— PROCESS ——— */
.process { background: var(--ink); color: var(--paper); position: relative; }
.process .section-head h2 { color: var(--paper); }
.process .section-head h2 em { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.process .section-head h2 .accent-word { color: var(--accent); }
.process .section-head .right { color: color-mix(in srgb, var(--paper) 65%, transparent); }
.process .eyebrow { color: color-mix(in srgb, var(--paper) 60%, transparent); }
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid color-mix(in srgb, var(--paper) 15%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--paper) 15%, transparent); }
.process-steps .step { border-right: 1px solid color-mix(in srgb, var(--paper) 15%, transparent); }
.process-steps .step:last-child { border-right: none; }
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-steps .step { border-right: none; border-bottom: 1px solid color-mix(in srgb, var(--paper) 15%, transparent); }
  .process-steps .step:last-child { border-bottom: none; }
}
.step { background: var(--ink); padding: 40px 24px 40px; display: flex; flex-direction: column; gap: 20px; min-height: 300px; position: relative; }
.step-num { font-family: var(--serif); font-size: 64px; line-height: 0.8; color: var(--accent); font-style: italic; font-weight: 400; }
.step h4 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin: 0; line-height: 1.1; color: var(--paper); }
.step p { margin: 0; color: color-mix(in srgb, var(--paper) 60%, transparent); }
.step-time { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 50%, transparent); margin-top: auto; }

/* ——— GALLERY ——— */
.gallery-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0 28px; }
.tab { padding: 10px 16px; border-radius: 999px; font-size: 13px; background: transparent; color: var(--ink-2); border: 1px solid var(--line-strong); transition: all .2s ease; font-family: inherit; }
.tab:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tab .count { font-family: var(--mono); font-size: 10px; margin-left: 6px; opacity: 0.6; }

.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 110px; gap: 10px; }
.mosaic > .tile { border-radius: var(--radius); position: relative; overflow: hidden; cursor: pointer; transition: transform .3s ease; }
.mosaic > .tile:hover { transform: scale(0.99); }
.mosaic > .tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 40%); opacity: 0; transition: opacity .3s ease; }
.mosaic > .tile:hover::after { opacity: 1; }
.tile-cap { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper); z-index: 2; opacity: 0; transition: opacity .3s ease; }
.mosaic > .tile:hover .tile-cap { opacity: 1; }
.t-a { grid-column: span 6; grid-row: span 4; }
.t-b { grid-column: span 3; grid-row: span 2; }
.t-c { grid-column: span 3; grid-row: span 2; }
.t-d { grid-column: span 3; grid-row: span 2; }
.t-e { grid-column: span 3; grid-row: span 2; }
.t-f { grid-column: span 4; grid-row: span 3; }
.t-g { grid-column: span 4; grid-row: span 3; }
.t-h { grid-column: span 4; grid-row: span 3; }
.t-i { grid-column: span 6; grid-row: span 3; }
.t-j { grid-column: span 6; grid-row: span 3; }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 80px; }
  .t-a { grid-column: span 6; grid-row: span 3; }
  .t-b, .t-c, .t-d, .t-e { grid-column: span 3; grid-row: span 2; }
  .t-f, .t-g, .t-h, .t-i, .t-j { grid-column: span 6; grid-row: span 2; }
}

/* ——— TESTIMONIALS ——— */
.reviews {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 55%),
    linear-gradient(180deg, var(--surface-accent-b) 0%, color-mix(in srgb, var(--accent) 4%, var(--paper-2)) 100%);
}
/* Karuzela opinii: 3 widoczne (desktop), 1 na wąskim ekranie */
.reviews-carousel { position: relative; }
.reviews-carousel__inner {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 16px);
  min-width: 0;
}
.reviews-carousel__btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  z-index: 2;
}
.reviews-carousel__btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.reviews-carousel__btn:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 2px;
}
.reviews-carousel__btn svg {
  display: block;
}
.reviews-carousel__viewport {
  container-type: inline-size;
  container-name: reviews-carousel;
  overflow: hidden;
  position: relative;
  flex: 1;
  min-width: 0;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.reviews-carousel__viewport.is-dragging {
  cursor: grabbing;
}
.reviews-carousel__track {
  display: flex;
  gap: 12px;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.reviews-carousel__track.is-no-transition {
  transition: none;
}
.reviews-carousel__slide.review {
  flex: 0 0 calc((100cqi - 24px) / 3);
  min-width: 0;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .reviews-carousel__slide.review {
    flex: 0 0 100%;
  }
}
/* prefers-reduced-motion: statyczna siatka zamiast karuzeli (JS nie inicjuje animacji) */
.reviews-carousel--static .reviews-carousel__btn {
  display: none;
}
.reviews-carousel--static .reviews-carousel__inner {
  display: block;
}
.reviews-carousel--static .reviews-carousel__viewport {
  touch-action: auto;
  cursor: default;
  user-select: auto;
  -webkit-user-select: auto;
}
.reviews-carousel--static .reviews-carousel__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  transform: none !important;
  transition: none !important;
}
@media (max-width: 900px) {
  .reviews-carousel--static .reviews-carousel__track {
    grid-template-columns: 1fr;
  }
}
.reviews-carousel--static .reviews-carousel__slide.review {
  flex: none;
  width: auto;
}

.review { background: var(--paper); padding: 32px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 20px; min-height: 300px; }
.review .stars { display: flex; gap: 2px; color: var(--accent-ink); font-size: 14px; letter-spacing: 2px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; flex: 1; text-wrap: pretty; }
.review blockquote::before { content: "“"; }
.review blockquote::after { content: "”"; }
.review-foot { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--paper-3); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink-2); }
.review-foot .n { font-size: 13px; font-weight: 500; }
.review-foot .m { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* ——— FAQ ——— */
.faq {
  background:
    radial-gradient(ellipse 70% 50% at 100% 30%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 50%),
    var(--surface-accent-a);
}
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-q { width: 100%; text-align: left; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 20px; font-family: var(--serif); line-height: 1.2; letter-spacing: -0.01em; font-weight: 500; color: var(--ink); }
.faq-q:hover { color: var(--accent-ink); }
.faq-ic { width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; font-weight: 500; transition: transform .25s ease, background .25s ease, color .25s ease; font-family: var(--sans); }
.faq-item[open] .faq-ic { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .25s ease; color: var(--ink-2); }
.faq-item[open] .faq-a { max-height: 800px; padding: 0 0 28px; }
.faq-a p { margin: 0; max-width: 56ch; color: var(--ink-2); }

/* ——— FINAL CTA ——— */
.final { position: relative; }
.final-card { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: clamp(40px, 7vw, 96px); position: relative; overflow: hidden; }
.final-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 30%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 60%); pointer-events: none; }
.final-card h2 { font-family: var(--serif); font-size: clamp(40px, 6.5vw, 88px); line-height: 0.95; letter-spacing: -0.025em; margin: 0 0 24px; font-weight: 400; max-width: 14ch; position: relative; }
.final-card h2 em { font-style: italic; color: var(--accent); }
.final-card p { color: color-mix(in srgb, var(--paper) 72%, transparent); max-width: 48ch; margin: 0 0 36px; position: relative; }
.final-ctas { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.final-card .btn-primary { background: var(--paper); color: var(--ink); }
.final-card .btn-primary:hover { background: color-mix(in srgb, var(--paper) 90%, var(--accent)); }
.final-card .btn-ghost { border-color: color-mix(in srgb, var(--paper) 30%, transparent); color: var(--paper); }
.final-card .btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ——— CONTACT / FOOTER ——— */
.contact { border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { font-family: var(--serif); font-size: clamp(38px, 5.2vw, 58px); line-height: 1; letter-spacing: -0.02em; margin: 16px 0 24px; font-weight: 400; }
.contact-info h2 em { font-style: italic; color: var(--accent-ink); }
.contact-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin: 32px 0; }
.contact-rows .row .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-rows .row .v { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.contact-rows .row .v.mono-v { font-family: var(--mono); font-size: 15px; text-transform: none; letter-spacing: 0.02em; }
.contact-map { aspect-ratio: 16/10; margin-top: 16px; border-radius: var(--radius); position: relative; }
.map-pin { position: absolute; left: 42%; top: 48%; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 30%, transparent); }
.map-pulse { position: absolute; left: 42%; top: 48%; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(5); opacity: 0; } }

.form { background: var(--paper-2); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); min-height: 100%; display: flex; flex-direction: column; }
.form h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin: 0 0 8px; line-height: 1.1; }
.form .sub { color: var(--muted); font-size: 13px; line-height: 1.5; margin-bottom: 24px; }
.form-stack { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.form-stack > .field-row { margin-bottom: 16px; }
.form-stack .field-row .field { margin-bottom: 0; }
.form-stack > .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-stack > .field.field--grow { margin-bottom: 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { background: var(--paper); border: 1px solid var(--line-strong); padding: 14px 14px; border-radius: var(--radius); font-family: inherit; font-size: 14px; color: var(--ink); width: 100%; transition: border-color .2s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { resize: vertical; }
.field--grow { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.field--grow textarea { flex: 1; min-height: 12rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-promise { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-strong); flex-shrink: 0; }
.form-promise__title { font-size: 13px; margin: 0 0 10px; color: var(--ink-2); font-weight: 500; }
.form-promise ol { margin: 0; padding: 0 0 0 1.1em; color: var(--muted); font-size: 13px; line-height: 1.5; }
.form-promise li { margin-bottom: 6px; }
.form-promise li:last-child { margin-bottom: 0; }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; flex-wrap: wrap; }
.form-note { font-size: 11px; color: var(--muted); max-width: 28ch; }
.sent { padding: 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); display: flex; gap: 14px; align-items: center; font-size: 14px; }
.sent .ok { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 600; }

footer { border-top: 1px solid var(--line); padding: calc(clamp(32px, 4vw, 48px) - 10px) 0; margin-top: 0; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.foot-links { display: flex; gap: 20px; }

/* ——— Tweaks panel ——— */
.tweaks { position: fixed; right: 16px; bottom: 16px; z-index: 80; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 10px; padding: 14px; width: 260px; box-shadow: 0 20px 60px rgba(0,0,0,0.12); font-size: 12px; display: none; }
.tweaks.show { display: block; }
.tweaks h5 { margin: 0 0 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tweaks .tk { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tweaks .tk:last-child { border-bottom: none; }
.tweaks .tk label { font-size: 12px; }
.tweaks input[type="color"] { width: 40px; height: 28px; border: none; padding: 0; background: none; cursor: pointer; }
.tweaks select, .tweaks input[type="text"] { font-family: inherit; font-size: 12px; padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--paper); }
.tk-swatches { display: flex; gap: 6px; }
.tk-swatches button { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-strong); cursor: pointer; }
.tk-swatches button[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }

/* small utility */
.hr { height: 1px; background: var(--line); border: none; }

/* Desktop (layout jak na szerokim ekranie — od 901px, spójnie z max-width: 900px w layoutcie) */
@media (min-width: 901px) {
  .hero-sub {
    font-size: 21px;
    line-height: 1.55;
  }
  .hero .hero-ctas .btn {
    font-size: 17px;
    padding: 16px 26px;
  }

  .ticker-track {
    font-size: 18px;
    padding-block: 20px;
  }

  .eyebrow {
    font-size: 15px;
  }

  .hero-meta .num {
    font-size: 48px;
  }
  .hero-meta .lbl {
    font-size: 14px;
  }

  .flag-lede {
    font-size: 20px;
    line-height: 1.55;
  }
  .chip {
    font-size: 16px;
    padding: 10px 16px;
  }

  .section-head .right {
    font-size: 21px;
    line-height: 1.55;
  }

  .offer-card h3 {
    font-size: 34px;
  }

  .trust-cell .glyph {
    width: 46px;
    height: 46px;
    font-size: 24px;
  }

  .step-num {
    font-size: 88px;
    line-height: 0.78;
  }

  .gallery-tabs .tab {
    font-size: 16px;
    padding: 12px 18px;
  }
  .gallery-tabs .tab .count {
    font-size: 13px;
    margin-left: 8px;
  }

  .faq-callout {
    font-size: 19px;
    line-height: 1.55;
  }

  .form-promise__title {
    font-size: 16px;
  }
  .form-promise ol {
    font-size: 16px;
    line-height: 1.55;
  }
}
