/* =====================================================================
   Fotoceramika.pl — strona główna (sekcje)
   Scoped pod body.fc-redesign. Wymaga design.css.
   ===================================================================== */

/* ---------- HERO ---------- */
/* padding-top wiązany z --top-stack-h, by po zamknięciu belki hero zjechał w górę (bez pustego pasa) */
.fc-hero { position: relative; background: var(--paper); padding: calc(var(--top-stack-h, 82px) + 78px) 0 80px; overflow: hidden; }
.fc-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.fc-hero h1 {
  font-family: var(--serif); font-size: clamp(54px, 7vw, 112px);
  line-height: 0.95; font-weight: 400; letter-spacing: -0.025em; color: var(--ink);
  text-wrap: balance; margin: 28px 0 0;
}
.fc-hero h1 .accent-navy { display: block; color: var(--navy); }
.fc-hero h1 .block { display: block; }
.fc-hero-eyebrow { margin-top: 20px; margin-bottom: 8px; display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.22em; font-weight: 600; }
.fc-hero-eyebrow .ln { width: 32px; height: 1px; background: var(--navy); opacity: 0.4; }
.fc-hero-lead { font-size: 19px; line-height: 1.55; color: #3a3f55; margin: 32px 0 52px; }
.fc-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
/* podbita specyficzność (.fc-redesign ...) — inaczej baza .fc-redesign .btn nadpisuje padding/kształt/tło i przycisk wygląda źle/blado */
/* Przycisk „Złóż zamówienie" wg handoffu Claude Design (v2 — mniejszy, górny połysk):
   pill z granatowym gradientem, złote kółko ze strzałką, połysk na górnej połowie + podniesienie na hover. */
.fc-redesign .fc-hero-order {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 12px 12px 24px; font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  background: linear-gradient(135deg, #2c3f8a 0%, var(--navy) 50%, var(--navy-deep) 100%);
  color: #fff; border-radius: 999px; line-height: 1;
  box-shadow: 0 12px 26px -12px rgba(14,32,73,0.55);
  transition: transform .25s ease, box-shadow .25s ease;
}
.fc-hero-order:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(14,32,73,0.65); }
.fc-hero-order:active { transform: translateY(0); }
.fc-hero-order .fc-order-txt { position: relative; }
.fc-hero-order .fc-order-circle {
  position: relative; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--accent); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .25s ease;
}
.fc-hero-order:hover .fc-order-circle { transform: translateX(3px); }
.fc-hero-order .fc-order-gloss {
  position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0));
  pointer-events: none;
}
.fc-hero-stats { margin-top: 56px; display: flex; gap: 40px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--line); }
.fc-hero-stats .k { font-family: var(--serif); font-size: 28px; color: var(--navy); }
.fc-hero-stats .v { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 2px; }
.fc-hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 640px; }

/* hero carousel (3D peek) */
.fc-carousel { position: relative; width: 100%; height: 640px; perspective: 1600px; display: flex; align-items: center; justify-content: center; }
.fc-carousel-glow { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); width: 380px; height: 60px; border-radius: 50%; background: radial-gradient(ellipse, rgba(14,32,73,0.18) 0%, rgba(14,32,73,0) 70%); filter: blur(10px); }
.fc-carousel-stage { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.fc-carousel-card {
  position: absolute; top: 50%; left: 50%; width: 280px; height: 380px; margin: 0; padding: 0;
  background: transparent; border: none; cursor: pointer;
  transform: translate(-50%, -50%); transition: transform .8s cubic-bezier(.22,.61,.36,1), opacity .8s ease, filter .8s ease;
  will-change: transform, opacity, filter;
}
/* Przed gotowością JS karty są spiętrzone na środku (opacity:1) i prześwitują — pokaż tylko
   środkową, bez animacji startowej, żeby uniknąć efektu przezroczystości przy wolniejszym ładowaniu. */
.fc-carousel:not(.is-ready) .fc-carousel-card { opacity: 0; transition: none; }
.fc-carousel:not(.is-ready) .fc-carousel-card:first-child { opacity: 1; }
.fc-carousel-card .img-wrap { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 16px 30px rgba(14,32,73,0.25)); }
.fc-carousel-card.is-center .img-wrap { filter: drop-shadow(0 30px 60px rgba(14,32,73,0.35)) drop-shadow(0 10px 20px rgba(14,32,73,0.15)); }
.fc-carousel-card img { width: 100%; height: 100%; object-fit: contain; user-select: none; pointer-events: none; }
.fc-carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 99px; background: #fff; border: 1px solid rgba(14,32,73,0.08); box-shadow: 0 10px 30px -8px rgba(14,32,73,0.25), 0 0 0 1px rgba(14,32,73,0.04); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--navy); z-index: 40; transition: transform .2s, background .2s; }
.fc-carousel-arrow:hover { transform: translateY(-50%) scale(1.06); }
.fc-carousel-arrow.left { left: 8px; }
.fc-carousel-arrow.right { right: 8px; }
.fc-carousel-foot { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fc-carousel-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; background: #fff; border: 1px solid var(--line); border-radius: 99px; box-shadow: 0 4px 12px -4px rgba(14,32,73,0.15); white-space: nowrap; }
.fc-carousel-chip .mat { width: 22px; height: 22px; border-radius: 99px; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-carousel-chip .mat-lbl { font-size: 11px; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.14em; }
.fc-carousel-chip .vsep { width: 1px; height: 12px; background: var(--line); }
.fc-carousel-chip .name { font-family: var(--serif); font-size: 14px; color: var(--ink); font-style: italic; }
.fc-carousel-dots { display: flex; gap: 8px; }
.fc-carousel-dots button { width: 6px; height: 6px; border-radius: 99px; border: none; padding: 0; background: rgba(14,32,73,0.2); cursor: pointer; transition: width .3s, background .3s; }
.fc-carousel-dots button.active { width: 24px; background: var(--navy); }

@media (max-width: 1024px) {
  .fc-hero-grid { grid-template-columns: 1fr; }
  /* karuzela ZOSTAJE widoczna na mobile — tylko niższa, by zmieścić się na ekranie */
  .fc-hero-visual { min-height: 460px; margin-top: 8px; }
  .fc-carousel { height: 460px; }
  .fc-carousel-glow { bottom: 20px; }
}
/* top-bar zawija się na mobile (wyższy) → hero startuje poniżej całego stacka */
@media (max-width: 980px) {
  .fc-hero { padding-top: calc(var(--top-stack-h, 82px) + 96px); }
}

/* ---------- PRODUKTY SHOWCASE ---------- */
.fc-ps { position: relative; overflow: hidden; padding: 120px 0 60px; }
.fc-ps-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: flex-end; margin-bottom: 56px; }
.fc-ps-head h2 { font-family: var(--serif); font-size: clamp(36px, 4.5vw, 60px); line-height: 1; letter-spacing: -0.01em; }
.fc-ps-head h2 em { font-style: italic; color: var(--accent); }
.fc-ps-head p { font-size: 17px; color: var(--muted-light); line-height: 1.6; margin-bottom: 8px; }
.fc-ps-stack { display: flex; flex-direction: column; gap: 28px; }
.fc-ps-card { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,0.5); display: grid; grid-template-columns: 1.15fr 1fr; min-height: 460px; }
.fc-ps-card.reverse { grid-template-columns: 1fr 1.15fr; }
.fc-ps-img { position: relative; min-height: 360px; background-size: cover; background-repeat: no-repeat; background-position: center 25%; grid-column: 1; grid-row: 1; }
.fc-ps-card.reverse .fc-ps-img { grid-column: 2; }
.fc-ps-img.contain { background-size: contain; background-position: center center; }
/* laser: kwadratowy render → powiększony o 35% (auto 135% = 135% wys. boxu), kostka wyśrodkowana i cała widoczna */
.fc-ps-img.contain.big { background-size: auto 135%; }
.fc-ps-tag { position: absolute; top: 20px; left: 20px; padding: 6px 12px; background: rgba(0,0,0,0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; border-radius: 99px; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.fc-ps-num { position: absolute; bottom: 20px; right: 24px; font-family: var(--serif); font-size: 80px; font-style: italic; color: rgba(255,255,255,0.5); line-height: 1; letter-spacing: -0.02em; }
.fc-ps-img.dark .fc-ps-num { color: rgba(255,255,255,0.15); }
.fc-ps-body { padding: 44px; display: flex; flex-direction: column; gap: 16px; grid-column: 2; grid-row: 1; }
.fc-ps-card.reverse .fc-ps-body { grid-column: 1; }
.fc-ps-lat { font-family: var(--serif); font-size: 13px; font-style: italic; opacity: 0.55; }
.fc-ps-title { font-family: var(--serif); font-size: clamp(30px, 2.6vw, 38px); font-weight: 400; letter-spacing: -0.015em; line-height: 1; }
.fc-ps-tagline { font-family: var(--serif); font-size: 17px; font-style: italic; color: var(--navy); line-height: 1.35; }
.fc-ps-card.dark .fc-ps-tagline { color: var(--accent); }
.fc-ps-desc { font-size: 14px; line-height: 1.6; opacity: 0.82; }
.fc-ps-when { padding: 12px 14px; border-radius: 10px; font-size: 12.5px; line-height: 1.55; background: rgba(0,0,0,0.05); border-left: 3px solid var(--navy); }
.fc-ps-card.dark .fc-ps-when { background: rgba(255,255,255,0.06); border-left-color: var(--accent); }
.fc-ps-when strong { font-weight: 700; }
.fc-ps-props { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.fc-ps-props li { font-size: 12px; display: flex; align-items: center; gap: 8px; opacity: 0.9; }
.fc-ps-props .ico { width: 22px; height: 22px; border-radius: 6px; background: rgba(14,32,73,0.08); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-ps-card.dark .fc-ps-props .ico { background: rgba(255,255,255,0.1); color: var(--accent); }
.fc-ps-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 14px; flex-wrap: wrap; }
.fc-ps-actions .btn { padding: 11px 20px; font-size: 13px; }
.fc-ps-actions .b-primary { background: var(--ink); color: #fff; font-weight: 600; }
.fc-ps-card.dark .fc-ps-actions .b-primary { background: var(--accent); color: var(--navy); }
/* jasne karty leżą w ciemnej sekcji (.dark) -> .btn.ghost dziedziczył biały tekst i białą
   ramkę na jasnym tle (nieczytelny „Zamów"). Na kartach bez .dark: granat #0E2049.
   Lekko rozjaśnione tło przycisku trzyma kontrast >= 4,5:1 także na ciemniejszym końcu
   gradientu niebieskiej karty (sam granat dawał tam 4,4:1). */
.fc-redesign .fc-ps-card:not(.dark) .btn.ghost { color: #0E2049; border-color: #0E2049; background: rgba(255,255,255,0.3); }
.fc-redesign .fc-ps-card:not(.dark) .btn.ghost:hover { border-color: #0E2049; background: rgba(255,255,255,0.55); }

@media (max-width: 1024px) {
  .fc-ps-head { grid-template-columns: 1fr; gap: 24px; }
  .fc-ps-card, .fc-ps-card.reverse { grid-template-columns: 1fr; }
  .fc-ps-img, .fc-ps-card.reverse .fc-ps-img { grid-column: 1; grid-row: 1; min-height: 280px; }
  .fc-ps-body, .fc-ps-card.reverse .fc-ps-body { grid-column: 1; grid-row: 2; padding: 32px; }
}

/* ---------- HOW TO ORDER ---------- */
.fc-hto { position: relative; overflow: hidden; padding: 120px 0; }
.fc-hto-head { text-align: center; margin: 0 auto 72px; max-width: 720px; }
.fc-hto-head .tag { justify-content: center; margin-bottom: 20px; }
.fc-hto-head h2 { font-family: var(--serif); font-size: clamp(34px, 4.5vw, 60px); line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.fc-hto-head p { font-size: 17px; color: var(--muted); margin-top: 20px; line-height: 1.6; }
.fc-hto-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.fc-hto-card { position: relative; padding: 32px 24px; display: flex; flex-direction: column; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.fc-hto-card:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(14,32,73,0.18); border-color: var(--navy); }
.fc-hto-card .num-row { display: flex; align-items: baseline; gap: 6px; }
.fc-hto-card .krok { font-size: 10px; color: var(--muted); letter-spacing: 0.2em; font-weight: 600; text-transform: uppercase; }
.fc-hto-card .num { font-family: var(--serif); font-size: 42px; line-height: 1; color: var(--navy); font-style: italic; letter-spacing: -0.02em; }
.fc-hto-card .illu { height: 110px; display: flex; align-items: center; justify-content: center; background: var(--paper-warm); border-radius: 12px; overflow: hidden; }
.fc-hto-card .illu svg { max-height: 110px; width: 100%; }
.fc-hto-card h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 8px; color: var(--ink); letter-spacing: -0.005em; line-height: 1.25; }
.fc-hto-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.fc-hto-dots { position: absolute; top: 50%; right: -10px; transform: translateY(-50%); display: flex; gap: 3px; color: var(--muted); opacity: 0.4; z-index: 2; }
.fc-hto-dots span { width: 4px; height: 4px; border-radius: 99px; background: currentColor; }
.fc-hto-extra { background: var(--paper-warm); border-style: dashed; }
.fc-hto-extra .illu { background: #fff; }
.fc-hto-cta { margin-top: 56px; padding: 32px 40px; background: var(--ink); border-radius: 18px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; box-shadow: 0 30px 60px -30px rgba(14,32,73,0.4); }
.fc-hto-cta .l { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.fc-hto-cta .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-hto-cta .eyebrow { font-size: 11px; color: var(--accent); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.fc-hto-cta .title { font-family: var(--serif); font-size: 22px; margin-top: 4px; }
.fc-hto-cta .sub { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 6px; }
.fc-hto-cta .r { display: flex; gap: 10px; flex-wrap: wrap; }
.fc-hto-cta .r .btn.primary { background: var(--accent); color: var(--ink); }
.fc-hto-cta .r .btn.ghost { border-color: rgba(255,255,255,0.3); color: #fff; }

@media (max-width: 1399px) {
  .fc-hto-grid { grid-template-columns: repeat(3, 1fr); }
  .fc-hto-dots { display: none; }
}
@media (max-width: 1200px) {
  .fc-hto-dots { display: none; }
}
@media (max-width: 700px) { .fc-hto-grid { grid-template-columns: 1fr; } }

/* ---------- PHOTO EDITING (before/after) ---------- */
.fc-pe { padding: 120px 0; }
.fc-pe-head { text-align: center; margin: 0 auto 48px; max-width: 760px; }
.fc-pe-head .tag { justify-content: center; margin-bottom: 18px; }
.fc-pe-head h2 { font-family: var(--serif); font-size: clamp(34px, 4.5vw, 60px); line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.fc-pe-head h2 em { font-style: italic; color: var(--navy); }
.fc-pe-head p { font-size: 17px; color: var(--muted); margin-top: 20px; line-height: 1.6; }
.fc-pe-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.fc-pe-tab { padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; }
.fc-pe-tab .n { width: 18px; height: 18px; border-radius: 99px; background: var(--paper-warm); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; font-family: ui-monospace, monospace; }
.fc-pe-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.fc-pe-tab.active .n { background: var(--accent); color: var(--navy); }
.fc-pe-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.fc-pe-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; color: var(--navy); letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }
.fc-pe-meta .ln { width: 18px; height: 1px; background: var(--accent); }
.fc-pe-desc { font-size: 16px; color: var(--ink); line-height: 1.65; }
.fc-pe-list { display: grid; gap: 20px; margin-top: 28px; }
.fc-pe-list .it { display: flex; gap: 18px; align-items: flex-start; }
.fc-pe-list .it .ico { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-pe-list .it .tx { padding-top: 8px; font-size: 15px; line-height: 1.55; }
.fc-pe-list .it .tx b { color: var(--ink); }
.fc-pe-list .it .tx span { color: var(--muted); }
.fc-pe-note { margin-top: 28px; padding: 14px 18px; background: var(--paper-warm); border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.fc-pe-note .star { font-size: 22px; color: var(--accent); }
.fc-pe-note b { color: var(--ink); }
.fc-pe-note-quote { margin-top: 44px; }
.fc-pe-note-quote + .fc-pe-note { margin-top: 12px; }
.fc-pe-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.fc-pe-slider { position: relative; aspect-ratio: 3/4; max-height: 640px; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(14,32,73,0.35), 0 0 0 1px rgba(14,32,73,0.08); cursor: ew-resize; user-select: none; touch-action: none; background: var(--paper-warm); }
.fc-pe-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.fc-pe-before { position: absolute; inset: 0; pointer-events: none; clip-path: inset(0 50% 0 0); }
.fc-pe-lbl { position: absolute; top: 20px; padding: 8px 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; border-radius: 6px; pointer-events: none; }
.fc-pe-lbl.l { left: 20px; background: rgba(14,32,73,0.88); color: #fff; }
.fc-pe-lbl.r { right: 20px; background: rgba(201,168,106,0.95); color: var(--navy); }
.fc-pe-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255,255,255,0.92); box-shadow: 0 0 0 1px rgba(14,32,73,0.1), 0 0 12px rgba(0,0,0,0.3); transform: translateX(-1px); pointer-events: none; }
.fc-pe-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 99px; background: #fff; box-shadow: 0 6px 14px rgba(0,0,0,0.25), 0 0 0 1px rgba(14,32,73,0.1); display: flex; align-items: center; justify-content: center; color: var(--navy); }
@media (max-width: 900px) { .fc-pe-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- MINI GALLERY ---------- */
.fc-mg { padding: 120px 0; position: relative; overflow: hidden; }
.fc-mg-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: flex-end; margin-bottom: 56px; }
.fc-mg-head h2 { font-family: var(--serif); font-size: clamp(36px, 4.5vw, 60px); line-height: 1; letter-spacing: -0.01em; }
.fc-mg-head h2 em { font-style: italic; color: var(--accent); }
.fc-mg-head .r { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.fc-mg-head .r p { font-size: 17px; color: var(--muted-light); line-height: 1.6; text-align: right; }
.fc-mg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fc-mg-tile { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3/4; text-decoration: none; color: var(--ink); display: block; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.25); transition: transform .35s ease, box-shadow .35s ease; }
.fc-mg-tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4); }
/* ciemne kafle: granatowy gradient wygrywa z inline tonacją jasną ($galTones) */
.fc-mg-tile.dark { color: #fff; background: linear-gradient(165deg, #1E2340 0%, #10142A 100%) !important; }
.fc-mg-tile .idx { position: absolute; top: 14px; right: 16px; font-family: ui-monospace, monospace; font-size: 11px; font-style: italic; opacity: 0.5; font-weight: 600; }
.fc-mg-tile .pic { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 40px 24px 70px; }
.fc-mg-tile.dark .pic { padding: 0; }
.fc-mg-tile .pic img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 16px 30px rgba(0,0,0,0.25)); }
.fc-mg-tile.dark .pic img { width: 100%; height: 100%; object-fit: cover; filter: none; }
/* wariant contain — wycinanka (np. książka fala) na ciemnym kaflu ma być widoczna W CAŁOŚCI */
.fc-mg-tile.dark.contain .pic { padding: 40px 20px 70px; }
.fc-mg-tile.dark.contain .pic img {
    width: auto; height: auto; max-width: 100%; max-height: 100%;
    object-fit: contain; filter: drop-shadow(0 16px 30px rgba(0,0,0,0.35));
}
.fc-mg-tile .lbl { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.fc-mg-tile.dark .lbl { background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 80%); }
.fc-mg-tile .lbl .nm { font-family: var(--serif); font-size: 16px; line-height: 1.15; }
.fc-mg-tile .lbl .mt { display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.fc-mg-tile.dark .lbl .mt { color: rgba(255,255,255,0.65); }
.fc-mg-tile .lbl .mt .sz { font-family: ui-monospace, monospace; }
@media (max-width: 1024px) { .fc-mg-head { grid-template-columns: 1fr; gap: 24px; align-items: flex-start; } .fc-mg-head .r { align-items: flex-start; } .fc-mg-head .r p { text-align: left; } .fc-mg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) {
  /* 2 kolumny także na telefonie — 16 kafli w 1 kolumnie dawało ~8000px scrolla */
  .fc-mg-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fc-mg-tile .lbl b { font-size: 12.5px; }
  .fc-mg-tile .lbl span { font-size: 8.5px; }
  /* metka materiał/rozmiar: zamiast łamać 'KRYSZTAŁ 5 / MM' i '9 × 12 / CM' w dwóch
     ściśniętych kolumnach — całe frazy, rozmiar w nowej linii gdy brak miejsca */
  .fc-mg-tile .lbl .mt { flex-wrap: wrap; justify-content: flex-start; gap: 1px 8px; letter-spacing: 0.06em; }
  .fc-mg-tile .lbl .mt span { font-size: 10px; white-space: nowrap; }
}

/* ---------- PERSONALIZACJA ---------- */
.fc-pz { padding: 100px 0; }
.fc-pz-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.fc-pz-head .tag { justify-content: center; margin-bottom: 18px; }
.fc-pz-head h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 50px); line-height: 1.05; color: var(--ink); letter-spacing: -0.01em; }
.fc-pz-head h2 em { font-style: italic; color: var(--navy); }
.fc-pz-head p { font-size: 16px; color: var(--muted); margin-top: 18px; line-height: 1.6; }
.fc-pz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fc-pz-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; transition: transform .25s, box-shadow .25s, border-color .2s; }
.fc-pz-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -20px rgba(14,32,73,0.18); border-color: var(--navy); }
.fc-pz-card .ill { width: 72px; height: 72px; border-radius: 14px; background: var(--paper-warm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-pz-card .sub { font-size: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; margin-bottom: 6px; }
.fc-pz-card h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; color: var(--ink); }
.fc-pz-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.fc-pz-card .more { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--navy); text-decoration: none; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; letter-spacing: 0.04em; text-transform: uppercase; width: fit-content; }
@media (max-width: 900px) { .fc-pz-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- KLUCZOWE PUNKTY ---------- */
.fc-kp { padding: 100px 0; }
.fc-kp-head { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: flex-end; margin-bottom: 56px; }
.fc-kp-head h2 { font-family: var(--serif); font-size: clamp(36px, 4.5vw, 60px); line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.fc-kp-head h2 em { font-style: italic; color: var(--navy); }
.fc-kp-head p { font-size: 17px; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.fc-kp-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.fc-kp-cell { padding: 36px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fc-kp-cell:nth-child(3n) { border-right: none; }
.fc-kp-cell:nth-child(n+4) { border-bottom: none; }
.fc-kp-cell .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.fc-kp-cell h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 8px; color: var(--ink); }
.fc-kp-cell p { font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .fc-kp-head { grid-template-columns: 1fr; } .fc-kp-grid { grid-template-columns: 1fr; } .fc-kp-cell { border-right: none; padding-left: 0; } }

/* ---------- QUICK LINKS ---------- */
.fc-ql { padding: 80px 0; }
.fc-ql-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fc-ql-tile { position: relative; border-radius: 18px; padding: 32px 32px 28px; text-decoration: none; display: flex; flex-direction: column; gap: 14px; min-height: 260px; overflow: hidden; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 8px 24px -12px rgba(14,32,73,0.18); }
.fc-ql-tile:hover { transform: translateY(-4px); }
.fc-ql-tile.navy { background: var(--navy); color: #fff; border-color: transparent; box-shadow: 0 20px 50px -16px rgba(14,32,73,0.45); }
.fc-ql-tile.accent { background: var(--accent); color: var(--navy); border-color: transparent; box-shadow: 0 20px 50px -16px rgba(201,168,106,0.35); }
.fc-ql-tile .wm { position: absolute; right: 22px; bottom: -28px; font-family: var(--serif); font-size: 180px; font-style: italic; line-height: 1; color: currentColor; opacity: 0.06; pointer-events: none; letter-spacing: -0.04em; }
.fc-ql-tile.accent .wm { opacity: 0.12; }
.fc-ql-tile .top { display: flex; align-items: center; justify-content: space-between; position: relative; }
.fc-ql-tile .eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; color: var(--navy); }
.fc-ql-tile.navy .eyebrow { color: var(--accent); }
.fc-ql-tile .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--paper-warm); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-ql-tile.navy .ico { background: rgba(255,255,255,0.1); color: var(--accent); }
.fc-ql-tile.accent .ico { background: rgba(14,32,73,0.08); color: var(--navy); }
.fc-ql-tile h3 { font-family: var(--serif); font-size: 28px; letter-spacing: -0.01em; line-height: 1.1; position: relative; }
.fc-ql-tile p { font-size: 14px; line-height: 1.55; position: relative; opacity: 0.75; }
.fc-ql-tile .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding-bottom: 4px; border-bottom: 1px solid currentColor; width: fit-content; position: relative; }
@media (max-width: 1024px) { .fc-ql-grid { grid-template-columns: 1fr; } }

/* ---------- PRACOWNIA ---------- */
.fc-pr { padding: 120px 0; position: relative; overflow: hidden; }
.fc-pr-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: flex-end; margin-bottom: 56px; }
.fc-pr-head h2 { font-family: var(--serif); font-size: clamp(36px, 4.5vw, 60px); line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.fc-pr-head h2 em { font-style: italic; color: var(--navy); }
.fc-pr-head p { font-size: 17px; color: var(--muted); line-height: 1.65; }
.fc-pr-visual { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(14,32,73,0.22), 0 0 0 1px rgba(14,32,73,0.06); }
.fc-pr-visual img { width: 100%; height: auto; display: block; }
.fc-pr-badge { position: absolute; top: 20px; right: 20px; padding: 10px 16px; background: rgba(255,255,255,0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 10px; box-shadow: 0 12px 30px -10px rgba(14,32,73,0.25); }
.fc-pr-badge .t { font-family: var(--serif); font-size: 18px; color: var(--navy); }
.fc-pr-badge .s { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 2px; }
.fc-pr-stats { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 40px; border-top: 1px solid var(--line); }
.fc-pr-stats .k { font-family: var(--serif); font-size: 36px; color: var(--navy); font-style: italic; line-height: 1; }
.fc-pr-stats .v { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 10px; }
.fc-pr-actions { margin-top: 48px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.fc-pr-actions .note { font-size: 13px; color: var(--muted); }
@media (max-width: 1024px) { .fc-pr-head { grid-template-columns: 1fr; gap: 24px; } .fc-pr-stats { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

/* ---------- SZYBKIE ZAMÓWIENIE ---------- */

/* ---------- WSPÓŁPRACA TEASER ---------- */
.fc-wt { padding: 120px 0; position: relative; overflow: hidden; }
.fc-wt-grid { display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center; }
.fc-wt h2 { font-family: var(--serif); font-size: clamp(36px, 4.5vw, 60px); line-height: 1; letter-spacing: -0.01em; }
.fc-wt h2 em { font-style: italic; color: var(--accent); }
.fc-wt-grid > div { text-align: center; max-width: 920px; margin: 0 auto; }
.fc-wt .tag { justify-content: center; }
.fc-wt .lead { font-size: 17px; color: var(--muted-light); margin-top: 28px; line-height: 1.65; }
.fc-wt-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }

/* ---------- FAQ ---------- */
.fc-faq { padding: 120px 0; }
.fc-faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: flex-start; }
.fc-faq-aside { position: sticky; top: 120px; }
.fc-faq-aside h2 { font-family: var(--serif); font-size: clamp(34px, 4.5vw, 54px); line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.fc-faq-aside h2 em { font-style: italic; color: var(--navy); }
.fc-faq-aside p { font-size: 16px; color: var(--muted); margin-top: 24px; line-height: 1.6; }
.fc-faq-aside .acts { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.fc-faq-item { border-bottom: 1px solid var(--line); }
.fc-faq-item:first-child { border-top: 1px solid var(--line); }
.fc-faq-q { width: 100%; text-align: left; background: transparent; border: none; padding: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; color: var(--ink); font: inherit; }
.fc-faq-q span.q { font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.fc-faq-q .ico { width: 36px; height: 36px; border-radius: 99px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s, background .2s, color .2s; }
.fc-faq-item.open .fc-faq-q .ico { transform: rotate(45deg); background: var(--ink); color: #fff; }
.fc-faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.fc-faq-item.open .fc-faq-a { max-height: 520px; }
.fc-faq-a p { font-size: 16px; color: var(--muted); line-height: 1.65; margin: 0 0 28px; }
@media (max-width: 900px) { .fc-faq-grid { grid-template-columns: 1fr; gap: 40px; } .fc-faq-aside { position: static; } }

/* ---------- GOOGLE REVIEWS ---------- */
.fc-gr { padding: 120px 0; position: relative; overflow: hidden; }
.fc-gr-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: flex-end; margin-bottom: 56px; }
.fc-gr-head h2 { font-family: var(--serif); font-size: clamp(34px, 4.5vw, 56px); line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.fc-gr-head h2 em { font-style: italic; color: var(--navy); }
.fc-gr-head .r { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.fc-gr-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--ink); box-shadow: 0 4px 12px -4px rgba(14,32,73,0.1); }
.fc-gr-badge .s { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; }
.fc-gr-badge .b { font-size: 13px; font-weight: 600; }
.fc-gr-nav { display: flex; gap: 8px; }
.fc-gr-nav button { width: 42px; height: 42px; border-radius: 99px; background: #fff; border: 1px solid var(--line); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--navy); box-shadow: 0 4px 12px -4px rgba(14,32,73,0.1); transition: transform .15s; }
.fc-gr-nav button:hover { transform: translateY(-2px); }
.fc-gr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fc-gr-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 18px; min-height: 280px; }
.fc-gr-card .hd { display: flex; align-items: center; justify-content: space-between; }
.fc-gr-card .who { display: flex; align-items: center; gap: 12px; }
.fc-gr-card .av { width: 44px; height: 44px; border-radius: 99px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; }
.fc-gr-card .nm { font-size: 14px; font-weight: 600; color: var(--ink); }
.fc-gr-card .dt { font-size: 11px; color: var(--muted); }
.fc-gr-card .stars { display: flex; gap: 2px; color: #FFB400; }
.fc-gr-card .tx { font-size: 14.5px; line-height: 1.6; color: var(--ink); flex: 1; }
/* prawdziwe opinie z Google bywają długie — przycinamy, pełna treść w Google */
.fc-gr-card .tx { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.fc-gr--bez-opinii .fc-gr-head { margin-bottom: 0; }
.fc-gr-card .nm a { color: inherit; text-decoration: none; }
.fc-gr-card .nm a:hover { text-decoration: underline; }
.fc-gr-dots { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.fc-gr-dots button { width: 6px; height: 6px; border-radius: 99px; border: none; padding: 0; background: rgba(14,32,73,0.2); cursor: pointer; transition: width .3s, background .3s; }
.fc-gr-dots button.active { width: 24px; background: var(--navy); }
@media (max-width: 1024px) { .fc-gr-head { grid-template-columns: 1fr; gap: 24px; align-items: flex-start; } .fc-gr-head .r { align-items: flex-start; } .fc-gr-grid { grid-template-columns: 1fr 1fr; } .fc-gr-card:nth-child(3) { display: none; } }
@media (max-width: 700px) { .fc-gr-grid { grid-template-columns: 1fr; } .fc-gr-card:nth-child(2), .fc-gr-card:nth-child(3) { display: none; } }

/* ---------- KONTAKT CTA ---------- */
.fc-kc { padding: 100px 0; }
.fc-kc-card { background: var(--navy); color: #fff; border-radius: 24px; padding: 80px 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; position: relative; overflow: hidden; }
.fc-kc-card::before { content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft) 0%, transparent 60%); opacity: 0.25; }
.fc-kc-card .tag { color: var(--accent-soft); margin-bottom: 20px; }
.fc-kc-card h2 { font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -0.01em; position: relative; }
.fc-kc-card h2 em { font-style: italic; color: var(--accent); }
.fc-kc-card .lead { font-size: 17px; color: var(--muted-light); margin-top: 24px; line-height: 1.6; position: relative; }
.fc-kc-contacts { position: relative; display: flex; flex-direction: column; gap: 8px; }
.fc-kc-contacts a { padding: 12px 20px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; transition: background .2s; }
.fc-kc-contacts a:hover { background: rgba(255,255,255,0.1); }
.fc-kc-contacts .s { font-size: 10px; color: var(--muted-light); letter-spacing: 0.14em; text-transform: uppercase; }
.fc-kc-contacts .v { font-family: var(--serif); font-size: 18px; }
@media (max-width: 900px) { .fc-kc-card { grid-template-columns: 1fr; padding: 48px 32px; } }

/* ---------- FLOATING UPLOAD (FAB jak w projekcie) ---------- */
/* okrągły złoty przycisk z granatową obwódką + plakietka „Zamów" — wg components/floating-upload.jsx */
.fc-float {
  position: fixed; right: 24px; bottom: 9px; z-index: 70;
  width: 72px; height: 72px; border-radius: 99px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--navy);
  border: 3px solid var(--navy); text-decoration: none;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5), 0 0 0 4px rgba(255,255,255,0.15);
  transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .2s;
}
.fc-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 26px 56px -10px rgba(0,0,0,0.6), 0 0 0 4px rgba(255,255,255,0.2); }
.fc-float .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  text-align: center;
  padding: 5px 10px; background: var(--navy); color: var(--accent);
  border: 2px solid #fff; border-radius: 99px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
@media (max-width: 600px) { .fc-float { width: 64px; height: 64px; } }

/* film z drona w sekcji Pracownia — pełna szerokość karty, przycięty na wysokości
   (kadr 16:9 był za wysoki w layoucie sekcji; object-fit kadruje środek ujęcia) */
.fc-pr-visual video { width: 100%; height: auto; max-height: 460px; object-fit: cover; display: block; background: #0B1026; }
@media (max-width: 900px) { .fc-pr-visual video { max-height: 320px; } }
/* galeria „Nasze realizacje": jednolite tła — porcelana ciut jaśniejszy granat, kryształ ciemniejszy */
.fc-mg-tile.dark.porc { background: linear-gradient(165deg, #2C3459 0%, #171C38 100%) !important; }
.fc-mg-tile.dark.kryst { background: linear-gradient(165deg, #1E2340 0%, #10142A 100%) !important; }

/* telefon: sekcje miały 100–120px odstępu góra/dół (do 240px pustego pasa między
   sekcjami) — na ekranie 390px to prawie 1/3 wysokości. Tylko mobile. */
@media (max-width: 600px) {
  .fc-hto, .fc-pe, .fc-mg, .fc-pr, .fc-wt, .fc-faq, .fc-gr { padding: 72px 0; }
  .fc-ps { padding: 72px 0 40px; }
  .fc-pz, .fc-kp, .fc-kc { padding: 64px 0; }
  .fc-ql { padding: 56px 0; }
}

/* telefon: kropki karuzeli/opinii 6×6px — praktycznie nie do trafienia palcem.
   Niewidoczne powiększenie pola dotyku (wygląd bez zmian). */
@media (max-width: 980px) {
  .fc-carousel-dots button, .fc-gr-dots button { position: relative; }
  .fc-carousel-dots button::after, .fc-gr-dots button::after { content: ""; position: absolute; inset: -16px -4px; }
}
