/* === LSJ Landing — Pracownik produkcji słodyczy === */
/* Brand palette
   1  #b7cbd8  2  #7688a1  3  #bbc274  4  #f7aa47
   5  #a79ecd  6  #008dd2  7  #f08143  8  #333333
   9  #5b5b5b  10 #d1dfe7
*/

:root {
  --c-bg: #fbf8f3;
  --c-bg-2: #ffffff;
  --c-bg-tint: #f4ede1;
  --c-bg-dark: #2a2622;
  --c-ink: #2a2622;
  --c-ink-2: #5b5b5b;
  --c-ink-mute: #8a847d;
  --c-line: #e6dfd1;
  --c-line-2: #d1dfe7;
  --c-accent: #f08143;       /* primary accent — overridable */
  --c-accent-2: #f7aa47;
  --c-secondary: #a79ecd;    /* lavender */
  --c-tertiary: #bbc274;     /* olive */
  --c-blue: #008dd2;
  --c-steel: #7688a1;

  --font-display: "Fraunces", "Source Serif Pro", "Iowan Old Style", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-base: 16px;
  --header-h: 78px;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --radius-xl: 32px;

  --shadow-card: 0 1px 2px rgba(42, 38, 34, 0.04), 0 8px 24px -12px rgba(42, 38, 34, 0.10);
  --shadow-cta: 0 6px 18px -6px rgba(240, 129, 67, 0.55), 0 2px 6px rgba(240, 129, 67, 0.20);

  --max-w: 1180px;
}

html {
  font-size: var(--fs-base);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Type ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin: 0 0 1rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--c-accent);
}

.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  font-variation-settings: "SOFT" 30, "opsz" 144;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

.h-section {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "SOFT" 30, "opsz" 96;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 1rem 0;
  text-wrap: balance;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--c-ink-2);
  max-width: 56ch;
  text-wrap: pretty;
  margin: 0 0 2rem 0;
}

/* ---------- Layout ---------- */

.container {
  max-width: var(--max-w);
  padding: 0 clamp(20px, 4vw, 48px);
  margin: 0 auto;
}

section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}

section.tight { padding: clamp(48px, 6vw, 80px) 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 16, 12, 0.0);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
  --header-fg: #fbf8f3;
  color: var(--header-fg);
}
.header.scrolled {
  border-bottom-color: var(--c-line);
  background: rgba(251, 248, 243, 0.92);
  --header-fg: var(--c-ink);
}
.header .nav a { color: rgba(251, 248, 243, 0.85); }
.header .nav a:hover { background: rgba(255, 255, 255, 0.12); color: white; }
.header.scrolled .nav a { color: var(--c-ink-2); }
.header.scrolled .nav a:hover { background: var(--c-bg-tint); color: var(--c-ink); }
.header .logo-img {
  filter: brightness(0) invert(1);
  transition: filter 0.25s ease;
}
.header.scrolled .logo-img { filter: none; }
.header .lang-switch {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
}
.header .lang-switch button { color: rgba(251, 248, 243, 0.8); }
.header .lang-switch button.active { background: white; color: var(--c-ink); }
.header.scrolled .lang-switch { background: var(--c-bg-tint); }
.header.scrolled .lang-switch button { color: var(--c-ink-2); }
.header.scrolled .lang-switch button.active { background: var(--c-ink); color: white; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent));
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 6px rgba(240, 129, 67, 0.30);
}
.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  font-size: 0.92rem;
  color: var(--c-ink-2);
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav a:hover {
  background: var(--c-bg-tint);
  color: var(--c-ink);
}
@media (max-width: 980px) {
  .nav { display: none; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  background: var(--c-bg-tint);
  border-radius: 999px;
  padding: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--c-ink-2);
  transition: all 0.18s ease;
  font-weight: 600;
}
.lang-switch button.active {
  background: var(--c-ink);
  color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--c-accent);
  color: white;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: #e2733a;
  box-shadow: 0 10px 24px -8px rgba(240, 129, 67, 0.65);
}
.btn-primary .arrow {
  transition: transform 0.18s ease;
}
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-line);
}
.btn-ghost:hover { background: var(--c-bg-2); border-color: var(--c-ink-mute); }

.btn-block { width: 100%; justify-content: center; }
.btn-large { padding: 18px 30px; font-size: 1.05rem; }

/* ---------- Animated background (page-wide) ---------- */

.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 8%, rgba(247, 170, 71, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 40% at 8% 30%, rgba(167, 158, 205, 0.18), transparent 70%),
    radial-gradient(ellipse 50% 50% at 90% 75%, rgba(187, 194, 116, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 30% at 15% 90%, rgba(240, 129, 67, 0.14), transparent 70%);
  animation: bgDrift 32s ease-in-out infinite alternate;
}
.bg-fx::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(42, 38, 34, 0.06) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 60%);
  opacity: 0.5;
}
@keyframes bgDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2%, 1.5%, 0) scale(1.04); }
  100% { transform: translate3d(1.5%, -1%, 0) scale(1.02); }
}

/* Floating pastry sprites — subtle, slow */
.float-sprites {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.sprite {
  position: absolute;
  opacity: 0.5;
  filter: drop-shadow(0 6px 12px rgba(42, 38, 34, 0.10));
  will-change: transform;
}
.sprite svg { display: block; width: 100%; height: 100%; }

.sprite.s1 { top: 8%;  left: 4%;   width: 68px;  animation: floatA 18s ease-in-out infinite; }
.sprite.s2 { top: 22%; right: 38%; width: 44px;  animation: floatB 22s ease-in-out infinite; }
.sprite.s3 { top: 60%; left: 8%;   width: 56px;  animation: floatA 24s -6s ease-in-out infinite; }
.sprite.s4 { top: 14%; right: 6%;  width: 86px;  animation: floatC 28s ease-in-out infinite; }
.sprite.s5 { bottom: 8%; right: 30%; width: 52px; animation: floatB 20s -10s ease-in-out infinite; }
.sprite.s6 { top: 48%; right: 4%;  width: 42px;  animation: floatC 26s -4s ease-in-out infinite; }
.sprite.s7 { bottom: 18%; left: 36%; width: 38px; animation: floatA 30s -14s ease-in-out infinite; }

@keyframes floatA {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(18px, -22px) rotate(8deg); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(-20px, 18px) rotate(-12deg); }
}
@keyframes floatC {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(-14px, -10px) rotate(6deg); }
  66%      { transform: translate(12px, 14px) rotate(-6deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-fx::before, .sprite { animation: none !important; }
}

/* ---------- Hero (full-bleed) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  /* Pull the hero up under the sticky header so the photo extends from very top */
  margin-top: calc(-1 * var(--header-h, 78px));
  padding-top: var(--header-h, 78px);
  min-height: clamp(640px, 88vh, 920px);
  display: flex;
  flex-direction: column;
  background: #2a2622;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.hero-bg .ph {
  font-size: 1rem;
  letter-spacing: 0.08em;
  border-radius: 0;
}
.hero-bg::after {
  /* readability gradient — strongest on left where text sits */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(20, 16, 12, 0.78) 0%, rgba(20, 16, 12, 0.55) 38%, rgba(20, 16, 12, 0.15) 65%, rgba(20, 16, 12, 0.35) 100%),
    linear-gradient(to bottom, rgba(20, 16, 12, 0.25) 0%, transparent 18%, transparent 75%, rgba(20, 16, 12, 0.55) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  flex: 1;
  padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 9vw, 120px);
}
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.hero-content { color: #fbf8f3; }

.hero-content .eyebrow {
  color: rgba(251, 248, 243, 0.7);
}
.hero-content .eyebrow::before {
  background: var(--c-accent-2);
}

.hero-title {
  font-size: clamp(2.8rem, 6.4vw, 5.8rem);
  margin-bottom: 1.5rem;
  font-weight: 500;
  color: #fbf8f3;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.hero-title .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--c-accent-2);
  position: relative;
  white-space: nowrap;
}
.hero-title .accent::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.08em;
  height: 0.14em;
  background: var(--c-accent);
  opacity: 0.55;
  border-radius: 2px;
  z-index: -1;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: rgba(251, 248, 243, 0.85);
  max-width: 56ch;
  margin: 0 0 2.25rem 0;
  text-wrap: pretty;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}
.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
}
.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-tags .tag-chip {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(251, 248, 243, 0.9);
}

.hero-badge {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 22px 26px;
  box-shadow: 0 18px 48px -16px rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  align-self: end;
  justify-self: end;
  transform: rotate(-2deg);
  max-width: 260px;
}
.hero-badge .num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--c-accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-badge .label {
  font-size: 0.85rem;
  color: var(--c-ink-2);
  line-height: 1.3;
}

.hero-marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-bg);
  padding: 18px 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.hero-marquee .track {
  display: flex;
  gap: 48px;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.hero-marquee .item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--c-ink-2);
  white-space: nowrap;
}
.hero-marquee .item .star {
  color: var(--c-accent);
  font-style: normal;
  font-size: 1.1rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Floating sprites — re-tune for dark bg */
.hero .sprite { opacity: 0.35; }
.hero .sprite { filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4)); }

/* ---------- Placeholder (image stand-in) ---------- */

.ph {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(45deg,
      rgba(42, 38, 34, 0.04) 0 8px,
      transparent 8px 16px),
    linear-gradient(135deg, var(--ph-c1, #efe7d4), var(--ph-c2, #e7dec6));
  display: grid;
  place-items: center;
  color: rgba(42, 38, 34, 0.55);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
  overflow: hidden;
}
.ph-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.ph-tag {
  font-size: 0.62rem;
  padding: 3px 8px;
  background: rgba(42, 38, 34, 0.08);
  border-radius: 999px;
  letter-spacing: 0.14em;
}

/* placeholder color variants for variety */
.ph.v-orange { --ph-c1: #f9d9b6; --ph-c2: #f3bf85; }
.ph.v-lavender { --ph-c1: #e2dcef; --ph-c2: #cdc4e3; }
.ph.v-olive { --ph-c1: #e3e5c2; --ph-c2: #cbcf99; }
.ph.v-steel { --ph-c1: #dde4ec; --ph-c2: #c1cddc; }
.ph.v-cream { --ph-c1: #f2e8d4; --ph-c2: #e4d2ac; }

/* ---------- About section ---------- */

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
@media (max-width: 760px) { .fact-grid { grid-template-columns: repeat(2, 1fr); } }
.fact-cell {
  background: var(--c-bg-2);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fact-cell .lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
}
.fact-cell .val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.25;
}

/* ---------- Offer ---------- */

.offer-section {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .offer-grid { grid-template-columns: 1fr; } }

.offer-card {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.offer-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--c-ink-mute);
}
.offer-card .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.offer-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
}
.offer-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--c-ink-2);
}

.shifts-card {
  margin-top: 32px;
  background: linear-gradient(135deg, var(--c-bg-dark), #3a342e);
  color: #f7f3ec;
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 760px) { .shifts-card { grid-template-columns: 1fr; } }
.shifts-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.8rem;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}
.shifts-card .shift-note {
  font-size: 0.9rem;
  color: rgba(247, 243, 236, 0.65);
  max-width: 26ch;
}
.shifts-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 600px) { .shifts-list { grid-template-columns: 1fr; } }
.shift {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-m);
  padding: 18px 20px;
}
.shift .name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent-2);
  margin-bottom: 8px;
}
.shift .time {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ---------- Requirements ---------- */

.req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
@media (max-width: 760px) { .req-grid { grid-template-columns: 1fr; } }
.req-cell {
  background: var(--c-bg-2);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.req-cell .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--c-accent);
  line-height: 1;
}
.req-cell h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0;
  letter-spacing: -0.01em;
}
.req-cell p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--c-ink-2);
}

/* ---------- Tasks ---------- */

.tasks-section {
  background: var(--c-bg-tint);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.tasks-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
@media (max-width: 960px) { .tasks-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tasks-list { grid-template-columns: 1fr; } }
.task-item {
  background: var(--c-bg-2);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.task-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--c-accent);
  background: rgba(240, 129, 67, 0.10);
  border-radius: 999px;
  padding: 4px 10px;
  flex-shrink: 0;
  margin-top: 2px;
}
.task-body {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--c-ink);
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.gallery-item {
  border-radius: var(--radius-m);
  overflow: hidden;
  position: relative;
  background: var(--c-bg-tint);
  margin: 0;
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  padding: 6px 10px;
  background: rgba(20, 16, 12, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* 9-photo layout — 3 rows × 12 cols */
.gi-1 { grid-column: span 5; grid-row: span 2; }
.gi-2 { grid-column: span 4; grid-row: span 2; }
.gi-3 { grid-column: span 3; grid-row: span 2; }
.gi-4 { grid-column: span 3; grid-row: span 2; }
.gi-5 { grid-column: span 6; grid-row: span 2; }
.gi-6 { grid-column: span 3; grid-row: span 2; }
.gi-7 { grid-column: span 4; grid-row: span 2; }
.gi-8 { grid-column: span 4; grid-row: span 2; }
.gi-9 { grid-column: span 4; grid-row: span 2; }

@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 160px; }
  .gi-1, .gi-2, .gi-3, .gi-4, .gi-5, .gi-6, .gi-7, .gi-8, .gi-9 {
    grid-column: span 3; grid-row: span 1;
  }
  .gi-1, .gi-5 { grid-column: span 6; }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gi-1, .gi-2, .gi-3, .gi-4, .gi-5, .gi-6, .gi-7, .gi-8, .gi-9 {
    grid-column: span 1; grid-row: span 1;
  }
  .gi-1, .gi-5 { grid-column: span 2; }
}

/* ---------- Location ---------- */

.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 880px) { .loc-grid { grid-template-columns: 1fr; } }

.loc-map {
  border-radius: var(--radius-l);
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--c-line);
  background: var(--c-bg-tint);
  display: flex;
}
.loc-map iframe {
  flex: 1;
  border: 0;
}

.loc-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.loc-detail {
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
}
.loc-detail:last-child { border-bottom: 0; }
.loc-detail .k {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin-bottom: 4px;
}
.loc-detail .v {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ---------- FAQ ---------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.faq-item {
  border-bottom: 1px solid var(--c-line);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 24px 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.faq-q .toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-bg-tint);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--c-ink-2);
  transition: transform 0.25s ease, background 0.18s ease;
}
.faq-item.open .toggle {
  transform: rotate(45deg);
  background: var(--c-accent);
  color: white;
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.25s ease;
  padding: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-ink-2);
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 0 24px 0;
}

/* ---------- About LSJ + Recruiter ---------- */

.about-lsj {
  background: var(--c-bg-dark);
  color: #f7f3ec;
}
.about-lsj .eyebrow { color: rgba(247, 243, 236, 0.55); }
.about-lsj .eyebrow::before { background: var(--c-accent-2); }
.about-lsj .lead { color: rgba(247, 243, 236, 0.75); }

.about-lsj-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 880px) { .about-lsj-grid { grid-template-columns: 1fr; } }

.lsj-facts {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lsj-fact {
  padding: 18px 0;
  border-bottom: 1px solid rgba(247, 243, 236, 0.12);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 16px;
  align-items: baseline;
}
.lsj-fact .k {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.6);
}
.lsj-fact .v {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

.recruiter-card {
  background: var(--c-bg-2);
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 40px);
  color: var(--c-ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}
.recruiter-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--c-secondary) 0%, transparent 70%);
  opacity: 0.25;
  z-index: 0;
}

.recruiter-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.recruiter-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent));
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(240, 129, 67, 0.30);
}
.recruiter-meta { flex: 1; }
.recruiter-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin-bottom: 4px;
}
.recruiter-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}
.recruiter-role {
  font-size: 0.95rem;
  color: var(--c-ink-2);
  margin-top: 2px;
}

.recruiter-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
  align-items: baseline;
}
.contact-row:last-child { border-bottom: 0; }
.contact-row .k {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
}
.contact-row .v {
  font-size: 1rem;
  color: var(--c-ink);
  text-align: right;
  font-weight: 500;
}
.contact-row a.v:hover { color: var(--c-accent); }

/* ---------- Form ---------- */

.form-section {
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
}
.form-section::before {
  content: "";
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--c-accent-2) 0%, transparent 60%);
  opacity: 0.10;
  pointer-events: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) { .form-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--c-bg-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-card);
}

/* Traffit iframe wrapper */
.traffit-frame {
  background: var(--c-bg-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  min-height: 720px;
  display: flex;
}
.traffit-frame iframe {
  flex: 1;
  width: 100%;
  border: 0;
  display: block;
  min-height: 720px;
  background: white;
}
@media (max-width: 880px) {
  .traffit-frame, .traffit-frame iframe { min-height: 900px; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-row.full { grid-template-columns: 1fr; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  display: flex;
  align-items: center;
  gap: 6px;
}
.field label .req-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-accent);
}
.field input,
.field textarea,
.field select {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-s);
  padding: 14px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--c-ink);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--c-ink-mute); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--c-accent);
  background: var(--c-bg-2);
  box-shadow: 0 0 0 3px rgba(240, 129, 67, 0.12);
}
.field textarea {
  resize: vertical;
  min-height: 96px;
}
.field.error input,
.field.error textarea,
.field.error select {
  border-color: #d8503a;
  background: #fdf5f3;
}
.field-error {
  color: #c9412b;
  font-size: 0.82rem;
  margin-top: 4px;
  font-family: var(--font-sans);
}

/* radio-group for sanepid */
.radio-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.radio-chip {
  flex: 1;
  min-width: 120px;
  position: relative;
}
.radio-chip input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chip span {
  display: block;
  text-align: center;
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-bg);
  font-size: 0.92rem;
  color: var(--c-ink-2);
  transition: all 0.15s ease;
  cursor: pointer;
}
.radio-chip input:checked + span {
  border-color: var(--c-accent);
  background: rgba(240, 129, 67, 0.08);
  color: var(--c-ink);
  font-weight: 600;
}

/* CV uploader */
.cv-uploader {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px dashed var(--c-line);
  border-radius: var(--radius-s);
  background: var(--c-bg);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.cv-uploader.has-file { border-style: solid; border-color: var(--c-accent); background: rgba(240, 129, 67, 0.06); }
.cv-uploader .cv-btn {
  border: 1px solid var(--c-line);
  background: var(--c-bg-2);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-ink);
  white-space: nowrap;
}
.cv-uploader .cv-btn:hover { background: var(--c-bg-tint); }
.cv-uploader .cv-name {
  font-size: 0.92rem;
  color: var(--c-ink-2);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cv-uploader .cv-hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-ink-mute);
  letter-spacing: 0.08em;
}
.cv-uploader .cv-clear {
  background: transparent;
  border: 0;
  color: var(--c-ink-mute);
  font-size: 1.1rem;
  padding: 4px 8px;
}
.cv-uploader .cv-clear:hover { color: var(--c-accent); }

/* rodo checkbox */
.rodo-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-s);
  margin: 8px 0 18px 0;
}
.rodo-row.error { border-color: #d8503a; background: #fdf5f3; }
.rodo-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--c-accent);
}
.rodo-row label {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--c-ink-2);
}

.form-footnote {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--c-ink-mute);
  text-align: center;
}
.form-footnote a {
  color: var(--c-accent);
  font-weight: 500;
}
.form-footnote a:hover { text-decoration: underline; }

/* Sent overlay */
.sent-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 38, 34, 0.55);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 100;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.sent-modal {
  background: var(--c-bg-2);
  border-radius: var(--radius-l);
  padding: clamp(32px, 4vw, 48px);
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  animation: popIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes popIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.sent-modal .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent));
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(240, 129, 67, 0.4);
}
.sent-modal h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}
.sent-modal p {
  color: var(--c-ink-2);
  line-height: 1.6;
  margin: 0 0 24px 0;
}

/* ---------- RODO + Footer ---------- */

.rodo-block {
  border-top: 1px solid var(--c-line);
  background: var(--c-bg);
  padding: 56px 0 40px 0;
}
.rodo-block .body {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--c-ink-2);
  max-width: 76ch;
  margin: 0;
}
.rodo-block h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin: 0 0 14px 0;
  font-weight: 500;
}

.footer {
  background: var(--c-bg-dark);
  color: rgba(247, 243, 236, 0.6);
  padding: 36px 0;
  font-size: 0.85rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  align-items: center;
  gap: 24px;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
}
.footer-left { display: flex; flex-direction: column; gap: 4px; }
.footer-cert { font-size: 0.78rem; opacity: 0.7; }
.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: rgba(247, 243, 236, 0.85);
  position: relative;
  padding: 4px 0;
  transition: color 0.18s ease;
}
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(247, 243, 236, 0.4);
  transform: scaleX(0.6);
  transform-origin: left;
  transition: transform 0.2s ease, background 0.2s ease;
}
.footer-links a:hover { color: var(--c-accent-2); }
.footer-links a:hover::after { background: var(--c-accent-2); transform: scaleX(1); }
.footer .footer-ad {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  justify-self: end;
}
@media (max-width: 760px) {
  .footer .footer-ad { justify-self: center; }
}

/* ---------- Mini map (svg) ---------- */
.map-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.map-svg .roads { stroke: rgba(42,38,34,0.10); fill: none; stroke-width: 4; }
.map-svg .road-major { stroke: rgba(42,38,34,0.18); stroke-width: 6; }
.map-svg .blocks { fill: rgba(42,38,34,0.04); }
.map-svg .green { fill: rgba(187, 194, 116, 0.30); }
.map-svg .water { fill: rgba(0, 141, 210, 0.18); }
.map-svg .pin {
  filter: drop-shadow(0 4px 8px rgba(240, 129, 67, 0.4));
}
.map-svg .pin circle:nth-child(1) { fill: var(--c-accent); }
.map-svg .pin circle:nth-child(2) { fill: white; }
.map-svg .label {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--c-ink-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 540px) {
  .header-inner { gap: 10px; }
  .logo-sub { display: none; }
  .lang-switch button { padding: 6px 10px; }
  .header .btn { padding: 10px 14px; font-size: 0.88rem; }
}
