/* ============================================================
   POMOST, Design System
   Warm Split · Crimson Pro display + Syne headings + Outfit body
   Akcent: Bursztyn Amber · Jasna zrównoważona paleta
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,200;0,300;0,400;1,200;1,300;1,400&family=Outfit:wght@300;400;500;600&family=Syne:wght@400;600;700;800&display=swap');

/* === VARIABLES === */
:root {
  /* Jasne tła, ciepłe kremy */
  --c-bg:           #F8F4EE;
  --c-white:        #FFFCF7;
  --c-cream:        #F0E8DC;
  --c-surface:      #EDE5D8;

  /* Ciepłe ciemne tony */
  --c-dark:         #1C1710;
  --c-dark-mid:     #2A2218;

  /* Bursztyn / Amber, główny akcent */
  --c-amber:        #D4851A;
  --c-amber-dim:    rgba(212, 133, 26, 0.60);
  --c-amber-pale:   #FCEFD8;

  /* Tekst */
  --c-text:         #1C1710;
  --c-text-mid:     #5A4D3C;
  --c-text-muted:   #967A68;

  /* Krawędzie */
  --c-border:       #DDD5C4;
  --c-border-dark:  #2E2618;

  /* Fonty */
  --ff-display: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  --ff-heading: 'Syne', system-ui, sans-serif;
  --ff-body:    'Outfit', system-ui, sans-serif;

  /* Krzywe animacji */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);
  --spring:   cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Timing */
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 500ms;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: var(--ff-body); border: none; background: none; cursor: pointer; }

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--c-amber);
  color: var(--c-white);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 2px;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; }

/* === FOCUS STATES === */
:focus-visible {
  outline: 2px solid var(--c-amber);
  outline-offset: 4px;
  border-radius: 2px;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
@media (max-width: 768px) { .container { padding: 0 1.25rem; } }

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.10s; }
.reveal-d2 { transition-delay: 0.22s; }
.reveal-d3 { transition-delay: 0.38s; }
.reveal-d4 { transition-delay: 0.52s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HOME, SINGLE SCREEN LAYOUT
   Jasne oba panele, krem/biel, bursztyn jako akcent
   ============================================================ */

.home-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100dvh;
  height: 100svh;
  /* Jasne kremowe tło, cała strona jasna */
  background-color: var(--c-bg);
  position: relative;
  overflow: hidden;
}

/* --- Siatka w tle, subtelne ciemne linie na jasnym tle --- */
.home-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  /* Ciepłe ciemne linie na kremowym tle */
  background-image:
    linear-gradient(rgba(28, 23, 16, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 23, 16, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(28, 23, 16, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 23, 16, 0.11) 1px, transparent 1px);
  background-size: 22px 22px, 22px 22px, 110px 110px, 110px 110px;
}

/* ============================================================
   LEFT PANEL, Wprowadzenie (jasny kremowy)
   ============================================================ */
.panel-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 4rem 3rem 3.5rem;
  position: relative;
  z-index: 3;
  background-color: transparent;
  border-right: 1px solid rgba(212, 133, 26, 0.25);
}

@media (max-width: 1200px) {
  .panel-intro { padding: 3rem 3rem 3rem 3rem; }
}

.panel-eyebrow {
  font-family: var(--ff-heading);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: 2rem;
}

.panel-brand {
  margin-bottom: 2.25rem;
  display: block;
  line-height: 0;
}

.panel-brand .pomost-logo {
  width: clamp(280px, 38vw, 540px);
}

.panel-rule {
  width: 48px;
  height: 1px;
  background: var(--c-amber);
  margin-bottom: 1.75rem;
}

.panel-body {
  font-size: clamp(0.875rem, 1.3vw, 1rem);
  line-height: 1.82;
  color: var(--c-text-mid);
  max-width: 400px;
  margin-bottom: 2rem;
}

.panel-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(28, 23, 16, 0.18);
  border-radius: 999px;
  font-family: var(--ff-heading);
  font-size: 0.575rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.panel-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  align-self: flex-start;
  font-family: var(--ff-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-text-mid);
  padding: 0.6rem 1.1rem 0.6rem 0.9rem;
  border: 1px solid rgba(28, 23, 16, 0.18);
  border-radius: 4px;
  background: rgba(255, 252, 247, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    background var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}

.panel-instagram:hover {
  color: var(--c-dark);
  border-color: rgba(212, 133, 26, 0.55);
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 4px 16px rgba(28, 23, 16, 0.08);
}

.panel-instagram-icon {
  flex-shrink: 0;
  transition: transform var(--t-base) var(--spring);
}

.panel-instagram:hover .panel-instagram-icon {
  transform: scale(1.12);
  color: var(--c-amber);
}

/* ============================================================
   RIGHT PANEL, Wybór ankiety (jasny kremowy)
   ============================================================ */
.panel-choice {
  display: flex;
  flex-direction: column;
  padding: 3rem 3.5rem 3rem 4rem;
  position: relative;
  z-index: 3;
  gap: 1.25rem;
  background-color: var(--c-white);
}

@media (max-width: 1200px) {
  .panel-choice { padding: 3rem 3rem 3rem 3rem; }
}

.choice-eyebrow {
  font-family: var(--ff-heading);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  flex-shrink: 0;
}

.choice-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  min-height: 0;
}

/* ============================================================
   CHOICE CARDS
   ============================================================ */
.choice-card {
  flex: 1;
  min-height: 0;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  transition:
    transform var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}

@media (hover: hover) {
  .choice-card:hover { transform: translateY(-3px); }
}

/* Ciemna karta (student), ciepły charcoal */
.choice-card--dark {
  background-color: var(--c-dark);
  border: 1px solid var(--c-border-dark);
  /* Subtelna siatka na ciemnej karcie */
  background-image:
    linear-gradient(rgba(255,248,235,0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,248,235,0.016) 1px, transparent 1px);
  background-size: 28px 28px;
}

@media (hover: hover) {
  .choice-card--dark:hover {
    border-color: rgba(212, 133, 26, 0.42);
    box-shadow: 0 0 52px rgba(212, 133, 26, 0.16), 0 12px 40px rgba(28, 23, 16, 0.45);
  }
}

/* Jasna karta (architekt), ciepła biel */
.choice-card--light {
  background-color: var(--c-white);
  border: 1px solid var(--c-border);
  box-shadow: 0 2px 10px rgba(28, 23, 16, 0.06);
}

@media (hover: hover) {
  .choice-card--light:hover {
    border-color: rgba(28, 23, 16, 0.22);
    box-shadow: 0 8px 32px rgba(28, 23, 16, 0.12);
  }
}

/* Układ wewnętrzny karty */
.cc-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 1.625rem 1.875rem;
  position: relative;
  z-index: 1;
}

.cc-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.cc-indicator {
  width: 28px;
  height: 2px;
  background: var(--c-amber);
  border-radius: 1px;
  flex-shrink: 0;
  transition: width var(--t-slow) var(--ease);
}

.cc-indicator--dark {
  background: var(--c-dark-mid);
}

@media (hover: hover) {
  .choice-card:hover .cc-indicator { width: 52px; }
}

.cc-tag {
  font-family: var(--ff-heading);
  font-size: 0.575rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-amber);
}

.cc-tag--dark {
  color: var(--c-text-muted);
}

.cc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.625rem 0;
}

.cc-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 2.2vw, 2.125rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--c-white);
  margin-bottom: 0.75rem;
  transition: transform var(--t-base) var(--ease);
}

.cc-title--dark {
  color: var(--c-dark);
}

@media (hover: hover) {
  .choice-card:hover .cc-title { transform: translateY(-2px); }
}

.cc-desc {
  font-size: clamp(0.8rem, 1.1vw, 0.875rem);
  line-height: 1.72;
  color: rgba(255, 252, 247, 0.46);
  max-width: 340px;
}

.cc-desc--dark {
  color: var(--c-text-mid);
}

.cc-stats {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.875rem;
  flex-wrap: wrap;
}

.cc-stat {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border: 1px solid rgba(212, 133, 26, 0.32);
  border-radius: 2px;
  font-family: var(--ff-heading);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(212, 133, 26, 0.88);
  background: rgba(212, 133, 26, 0.07);
}

.cc-stat--dark {
  border-color: rgba(28, 23, 16, 0.16);
  color: var(--c-text-mid);
  background: rgba(28, 23, 16, 0.04);
}

.cc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.38);
  padding-top: 0.375rem;
  transition: color var(--t-base) var(--ease);
}

.cc-cta--dark {
  color: var(--c-text-muted);
}

@media (hover: hover) {
  .choice-card--dark:hover .cc-cta  { color: var(--c-amber); }
  .choice-card--light:hover .cc-cta { color: var(--c-dark); }
}

.cc-arrow {
  transition: transform var(--t-base) var(--ease);
}

@media (hover: hover) {
  .choice-card:hover .cc-arrow { transform: translateX(4px); }
}

/* Watermark, duch numeral */
.cc-watermark {
  position: absolute;
  bottom: -0.625rem;
  right: 1.25rem;
  font-family: var(--ff-display);
  font-size: clamp(5.5rem, 9vw, 10rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 248, 235, 0.045);
  pointer-events: none;
  user-select: none;
  transition: transform var(--t-slow) var(--ease);
}

.cc-watermark--dark {
  color: rgba(28, 23, 16, 0.055);
}

@media (hover: hover) {
  .choice-card:hover .cc-watermark { transform: scale(1.06) translateY(-5px); }
}

/* ============================================================
   HOME, RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .home-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
    min-height: 100dvh;
    overflow: hidden;
  }

  .panel-intro {
    border-right: none;
    border-bottom: 1px solid rgba(212, 133, 26, 0.18);
    padding: 3rem 1.5rem 3rem;
    min-height: 55dvh;
  }

  .panel-instagram {
    align-self: stretch;
    justify-content: center;
    padding: 0.875rem 1.25rem;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    border-color: rgba(28, 23, 16, 0.22);
    background: rgba(255, 252, 247, 0.92);
    margin-top: 1.5rem;
    border-radius: 6px;
  }

  .panel-instagram-icon {
    width: 17px;
    height: 17px;
  }

  .panel-choice {
    padding: 2.5rem 1.5rem 3.5rem;
    min-height: 80dvh;
  }

  .choice-cards {
    flex: none;
    min-height: 0;
  }

  .choice-card { flex: none; min-height: 200px; }
}

/* Mobile: minimalne rozmiary tekstu funkcjonalnego (tagi, etykiety, CTA).
   Wszystko poniżej 12 px na desktop było na granicy czytelności na mobile —
   tu wymusza minimum ~11-12 px tylko dla małych ekranów. */
@media (max-width: 640px) {
  .panel-eyebrow,
  .choice-eyebrow { font-size: 0.7rem; }
  .panel-badge,
  .cc-tag { font-size: 0.68rem; }
  .cc-stat { font-size: 0.65rem; }
  .cc-cta { font-size: 0.7rem; }
  .cc-desc { font-size: 0.875rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-dark);
  border-top: 1px solid var(--c-border-dark);
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* Collaboration lockup: POMOST × ARCHISTATY */
.footer-collab {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}
.footer-collab-pomost {
  display: flex;
  align-items: center;
  line-height: 0;
}
.footer-collab-pomost .pomost-logo {
  width: 96px;
  opacity: 0.70;
  transition: opacity var(--t-base) var(--ease);
}
.footer-collab:hover .footer-collab-pomost .pomost-logo {
  opacity: 0.90;
}
.footer-collab-x {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 252, 247, 0.28);
  line-height: 1;
}
.footer-collab-archistaty-link {
  display: block;
  line-height: 0;
}
.footer-collab-archistaty {
  display: block;
  height: 23px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.70;
  transition: opacity var(--t-base) var(--ease);
}
.footer-collab-archistaty-link:hover .footer-collab-archistaty,
.footer-collab:hover .footer-collab-archistaty {
  opacity: 0.90;
}
.footer-text {
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(255, 252, 247, 0.32);
  max-width: 420px;
}
.footer-copy {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255, 252, 247, 0.16);
  flex-shrink: 0;
}

.footer-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.625rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .footer-end { align-items: flex-start; }
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-heading);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: rgba(255, 252, 247, 0.50);
  padding: 0.35rem 0.8rem 0.35rem 0.65rem;
  border: 1px solid rgba(255, 252, 247, 0.10);
  border-radius: 999px;
  transition:
    color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    background var(--t-base) var(--ease);
}

.footer-instagram:hover {
  color: var(--c-white);
  border-color: rgba(212, 133, 26, 0.55);
  background: rgba(212, 133, 26, 0.09);
}

.footer-instagram-icon {
  flex-shrink: 0;
  transition: transform var(--t-base) var(--spring);
}

.footer-instagram:hover .footer-instagram-icon {
  transform: scale(1.15);
}

/* ============================================================
   SURVEY SPLIT LAYOUT, jasna, zrównoważona paleta
   ============================================================ */
.survey-page {
  height: 100dvh;
  height: 100svh;
  overflow: hidden;
}

.survey-layout {
  display: grid;
  grid-template-columns: 38% 62%;
  height: 100%;
}

/* Bursztynowy pasek akcentu dla studentów */
.survey-layout--students   { border-top: 3px solid var(--c-amber); }
.survey-layout--architects { border-top: 3px solid var(--c-dark); }

/* ---- Lewy panel info ---- */
.survey-side {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Studenci, jasne kremowe tło */
.survey-side--students {
  background: var(--c-bg);
  border-right: 1px solid var(--c-border);
}

/* Siatka na jasnym tle, ciemne subtelne linie */
.survey-side--students::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(28, 23, 16, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 23, 16, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(28, 23, 16, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 23, 16, 0.11) 1px, transparent 1px);
  background-size: 22px 22px, 22px 22px, 110px 110px, 110px 110px;
}

/* Architekci, ciepła biel */
.survey-side--architects {
  background: var(--c-white);
  border-right: 1px solid var(--c-border);
}

/* Nav */
.survey-side-nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.625rem 2.5rem;
  flex-shrink: 0;
}

.survey-side-logo {
  display: flex;
  align-items: center;
  line-height: 0;
  transition: opacity var(--t-fast) var(--ease);
}
.survey-side-logo:hover { opacity: 0.65; }
.survey-side-logo .pomost-logo {
  width: 100px;
}

.survey-side-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  transition: color var(--t-fast) var(--ease);
}
.survey-side-back:hover { color: var(--c-dark); }

.survey-side-back-arrow { transition: transform var(--t-base) var(--ease); }
.survey-side-back:hover .survey-side-back-arrow { transform: translateX(-3px); }

/* Content */
.survey-side-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 2.5rem 2.5rem;
}

.survey-side-tag {
  font-family: var(--ff-heading);
  font-size: 0.575rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.survey-side--students .survey-side-tag   { color: var(--c-amber); }
.survey-side--architects .survey-side-tag { color: var(--c-text-muted); }

.survey-side-title {
  font-family: var(--ff-display);
  font-weight: 200;
  font-style: italic;
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-size: clamp(2.75rem, 4.5vw, 5.5rem);
  margin-bottom: 0.625rem;
  color: var(--c-dark);
}

.survey-side-subtitle {
  font-family: var(--ff-heading);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.875rem;
  color: var(--c-text-muted);
}

.survey-side-rule {
  width: 40px;
  height: 1px;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}
.survey-side--students .survey-side-rule   { background: var(--c-amber); }
.survey-side--architects .survey-side-rule { background: var(--c-dark); }

.survey-side-text {
  font-size: clamp(0.8rem, 1.05vw, 0.9375rem);
  line-height: 1.82;
  color: var(--c-text-mid);
  margin-bottom: 2rem;
}

.survey-side-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.survey-side-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 2px;
  font-family: var(--ff-heading);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Bursztynowe chipy dla studentów */
.survey-side--students .survey-side-badge {
  border: 1px solid rgba(212, 133, 26, 0.30);
  color: rgba(212, 133, 26, 0.88);
  background: rgba(212, 133, 26, 0.07);
}

/* Neutralne chipy dla architektów */
.survey-side--architects .survey-side-badge {
  border: 1px solid rgba(28, 23, 16, 0.16);
  color: var(--c-text-mid);
  background: rgba(28, 23, 16, 0.04);
}

/* Ghost numeral, ciemny duch na jasnym tle */
.survey-side-number {
  position: absolute;
  bottom: -1.25rem;
  right: 1.25rem;
  font-family: var(--ff-display);
  font-size: clamp(7rem, 13vw, 15rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(28, 23, 16, 0.05);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* ---- Prawy panel formularza ---- */
.survey-main {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  overflow: hidden;
  height: 100%;
}

.survey-iframe {
  flex: 1;
  min-height: 0;
  width: 100%;
  border: none;
  display: block;
}

.survey-notice {
  flex-shrink: 0;
  padding: 0.625rem 2rem;
  font-size: 0.7875rem;
  color: var(--c-text-muted);
  text-align: center;
  background: var(--c-white);
  border-top: 1px solid var(--c-border);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .survey-page {
    height: auto;
    overflow-y: auto;
  }

  .survey-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .survey-side { min-height: 55vw; }

  .survey-side-content { padding: 1rem 1.5rem 2rem; }
  .survey-side-nav { padding: 1.25rem 1.5rem; }

  .survey-main { min-height: 80dvh; }
}

@media (max-width: 640px) {
  .survey-side { min-height: 60vw; }
  .survey-side-title { font-size: clamp(2.25rem, 10vw, 3.5rem); }
}

/* ============================================================
   POMOST LOGO, wspolny komponent
   Plik logo/logo_pomost.svg to czysty wektor (viewBox 2277x292),
   tresc wypelnia caly viewBox. Renderujemy jako <img>, dimensje
   przez `width` na klasach kontekstowych (height auto z proporcji).
   ============================================================ */
.pomost-logo {
  display: block;
  height: auto;
  flex-shrink: 0;
  /* Domyslny kolor (czarne sciezki w SVG) — pasuje na jasne tlo */
}

/* Wariant inverse: bialy wypelnienie, dla ciemnego tla */
.pomost-logo--inverse {
  filter: invert(1) brightness(1.05);
}

/* ============================================================
   RESULTS BLOB, plywajacy CTA do strony wynikow
   Free-floating, organiczny, zawsze na 1. planie
   ============================================================ */
.results-blob {
  --blob-size: clamp(150px, 16vw, 195px);
  --float-x: 50vw;
  --float-y: 30vh;

  position: fixed;
  top: 6vh;
  left: 4vw;
  width: var(--blob-size);
  height: var(--blob-size);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  isolation: isolate;
  animation: blob-drift 48s ease-in-out infinite;
  will-change: transform;
}

/* Powierzchnia bloba: PREMIUM GLASS ILLUSION
   - mocny frosted blur tla = mleczne szklo
   - chromatic aberration na krawedzi (cyjan + magenta) = dispersja swiatla w szkle
   - mirror highlight (statyczny refleks "okna") = swiatlo na powierzchni
   - multi-layer rim z inset shadows = glebia, faktura krawedzi
   - drobny noise = subtelna tekstura zmrozonego szkla */
.results-blob::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 64% 36% 58% 42% / 52% 48% 56% 44%;

  background:
    /* Ziarno frosted glass - drobny szum SVG */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='5' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0.10 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    /* MIRROR HIGHLIGHT - jasny refleks "okna" w lewym gornym rogu */
    radial-gradient(60% 38% at 24% 18%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.35) 35%, rgba(255, 255, 255, 0.05) 65%, transparent 80%),
    /* Drugi subtelny refleks (kontra-swiatlo) prawy dol */
    radial-gradient(40% 25% at 78% 88%, rgba(255, 255, 255, 0.22) 0%, transparent 70%),
    /* Bazowa mleczna powierzchnia szkla */
    linear-gradient(145deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.20) 100%);
  background-size: 180px 180px, 100% 100%, 100% 100%, 100% 100%;

  /* Frosted blur tla - polowa wczesniejszej intensywnosci */
  backdrop-filter: blur(7px) saturate(1.45) brightness(1.06) contrast(1.04);
  -webkit-backdrop-filter: blur(7px) saturate(1.45) brightness(1.06) contrast(1.04);

  /* Cienka biala krawedz szkla */
  border: 1px solid rgba(255, 255, 255, 0.5);

  box-shadow:
    /* === DROP SHADOWS === glebia bloba na stronie */
    0 26px 60px -16px rgba(0, 0, 0, 0.55),
    0 10px 24px -8px rgba(0, 0, 0, 0.38),

    /* === INSET LIGHTING === wnetrze szkla */
    /* Gorna krawedz - jasny rant szkla */
    inset 0 2px 0.5px rgba(255, 255, 255, 0.9),
    /* Dolna krawedz - ciemny rant (cien wewnetrzny) */
    inset 0 -2px 0.5px rgba(0, 0, 0, 0.15),
    /* Glebokie inset bottom - smolisty cien w dolnej polowie wnetrza */
    inset 0 -12px 28px -12px rgba(0, 0, 0, 0.28),
    /* Gorne inset highlight - rozswietlenie wnetrza pod gorna krawedzia */
    inset 0 8px 20px -10px rgba(255, 255, 255, 0.5),
    /* Wewnetrzny rim - subtelne pociemnienie tuz przy krawedzi */
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);

  animation: blob-morph 14s ease-in-out infinite;
  z-index: -1;
  transition: transform var(--t-base) var(--spring), box-shadow var(--t-base) var(--ease);
}

/* Aura/glow za blobem - delikatna, dodaje glebie */
.results-blob::after {
  content: '';
  position: absolute;
  inset: -25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(0, 0, 0, 0.18) 35%, transparent 65%);
  filter: blur(34px);
  z-index: -2;
  animation: blob-glow 6s ease-in-out infinite;
  pointer-events: none;
}

.results-blob:hover::before,
.results-blob:focus-visible::before {
  transform: scale(1.06);
  box-shadow:
    /* Mocniejszy drop shadow */
    0 32px 70px -14px rgba(0, 0, 0, 0.6),
    0 12px 28px -8px rgba(0, 0, 0, 0.42),
    /* Inset lighting - intensyfikacja */
    inset 0 2.5px 0.5px rgba(255, 255, 255, 1),
    inset 0 -2px 0.5px rgba(0, 0, 0, 0.2),
    inset 0 -14px 32px -12px rgba(0, 0, 0, 0.32),
    inset 0 10px 24px -10px rgba(255, 255, 255, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.results-blob:hover {
  animation-play-state: paused;
}

.results-blob-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1rem;
  color: var(--c-white);
  font-family: var(--ff-body);
  max-width: 86%;
  isolation: isolate;
}

/* Tytuł = jedyna treść bloba. Spójna typografia: Crimson Pro italic.
   Amber bez obwodki — czysty kolor brand na frosted glass. */
.results-blob-title {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--c-amber);
  text-align: center;
  transition: transform var(--t-base) var(--spring);
}

.results-blob:hover .results-blob-title,
.results-blob:focus-visible .results-blob-title {
  transform: translateY(-2px);
}

/* Tor pomijajacy centra kart wyboru — pelza po lewym panelu + dolny pas + powrot gora.
   Bazowa pozycja: top: 6vh, left: 4vw. Ruch przez transform translate3d. */
@keyframes blob-drift {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }            /* (4, 6)  lewy gora */
  14%  { transform: translate3d(14vw, 10vh, 0) rotate(2deg); }      /* (18, 16) panel intro */
  28%  { transform: translate3d(2vw, 34vh, 0) rotate(-2deg); }      /* (6, 40)  lewy bok */
  42%  { transform: translate3d(18vw, 58vh, 0) rotate(1deg); }      /* (22, 64) panel intro dol */
  57%  { transform: translate3d(38vw, 76vh, 0) rotate(-1deg); }     /* (42, 82) srodek dol */
  71%  { transform: translate3d(70vw, 80vh, 0) rotate(3deg); }      /* (74, 86) prawy dol */
  85%  { transform: translate3d(34vw, 8vh, 0) rotate(-2deg); }      /* (38, 14) srodek gora */
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

@keyframes blob-morph {
  0%, 100% { border-radius: 64% 36% 58% 42% / 52% 48% 56% 44%; }
  25%      { border-radius: 42% 58% 38% 62% / 60% 40% 60% 40%; }
  50%      { border-radius: 56% 44% 64% 36% / 38% 62% 38% 62%; }
  75%      { border-radius: 38% 62% 52% 48% / 56% 44% 50% 50%; }
}

@keyframes blob-glow {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.12); }
}

@media (max-width: 900px) {
  .results-blob {
    --blob-size: clamp(96px, 28vw, 124px);
    top: auto;
    bottom: 1rem;
    left: auto;
    right: 1rem;
    /* Mobile: staly punkt zaczepienia w prawym dolnym rogu (zaslania jedynie
       dekoracyjny watermark karty, nie cc-cta po lewej) + delikatne unoszenie.
       Morfowanie ksztaltu zostaje na ::before. */
    animation: blob-bob 5s ease-in-out infinite;
  }
  .results-blob-title { font-size: clamp(1.05rem, 4.2vw, 1.3rem); }
}

@keyframes blob-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-7px) rotate(1.2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .results-blob,
  .results-blob::before,
  .results-blob::after {
    animation: none !important;
  }
}
