/* kupakeo.com | Matrix #51 | Taxi do miast przygranicznych */
/* Kolory: grafit #201e1c + bursztynowy #e8a33d + kremowy #f7f1e6 */

/* ═══════════════════════════════════════
   RESET & CUSTOM PROPERTIES
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --grafit: #201e1c;
  --grafit-mid: #2e2b28;
  --grafit-soft: #3d3a36;
  --bursztyn: #e8a33d;
  --bursztyn-light: #f0b95a;
  --bursztyn-dark: #c98a28;
  --krem: #f7f1e6;
  --krem-dark: #ede4d3;
  --biel: #fdfaf5;
  --tekst: #1a1816;
  --tekst-soft: #4a4540;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(32,30,28,0.12);
  --shadow-md: 0 6px 24px rgba(32,30,28,0.18);
  --shadow-lg: 0 12px 48px rgba(32,30,28,0.22);
  --trans: 200ms ease;
  --font-head: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--krem);
  color: var(--tekst);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ═══════════════════════════════════════
   DIAGONAL STRIPES BACKGROUND (Matrix #51)
═══════════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      12deg,
      transparent,
      transparent 120px,
      rgba(232,163,61,0.045) 120px,
      rgba(232,163,61,0.045) 122px
    ),
    repeating-linear-gradient(
      12deg,
      transparent,
      transparent 280px,
      rgba(32,30,28,0.035) 280px,
      rgba(32,30,28,0.035) 282px
    );
}

/* ═══════════════════════════════════════
   SKIP LINK
═══════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--bursztyn);
  color: var(--grafit);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
  transition: top var(--trans);
}
.skip-link:focus { top: 1rem; }

/* ═══════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════ */
h1, h2, h3, h4 { font-family: var(--font-body); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { max-width: 68ch; line-height: 1.65; }

a { color: var(--bursztyn-dark); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--bursztyn); }

/* ═══════════════════════════════════════
   SC-NAV — VERTICAL SIDEBAR (Desktop) / TABBAR (Mobile)
═══════════════════════════════════════ */
.sc-nav {
  position: fixed;
  left: 0; top: 0;
  width: 60px;
  height: 100vh;
  background: var(--grafit);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  border-right: 2px solid rgba(232,163,61,0.2);
  transition: width 250ms ease;
}

.sc-nav:hover { width: 200px; }

.sc-nav__logo {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}
.sc-nav__logo img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; }

.sc-nav__list {
  list-style: none;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sc-nav__item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: rgba(247,241,230,0.65);
  white-space: nowrap;
  overflow: hidden;
  transition: color var(--trans), background var(--trans);
  font-size: 0.85rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  text-decoration: none;
}

.sc-nav__item a:hover,
.sc-nav__item a.aktywna {
  color: var(--bursztyn);
  background: rgba(232,163,61,0.08);
  border-left-color: var(--bursztyn);
}

.sc-nav__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
  transition: transform 200ms ease;
}

.sc-nav__item a:hover .sc-nav__icon,
.sc-nav__item a.aktywna .sc-nav__icon {
  transform: scale(1.2);
}

.sc-nav__label {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.sc-nav:hover .sc-nav__label {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════════════════════════════════════
   MAIN CONTENT OFFSET
═══════════════════════════════════════ */
.sc-main {
  margin-left: 60px;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════
   SCENARIO DIGIT WATERMARKS (Matrix #51)
═══════════════════════════════════════ */
.sc-case {
  position: relative;
  overflow: hidden;
}
.sc-case::before {
  content: attr(data-nr);
  position: absolute;
  right: -0.1em;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(8rem, 18vw, 15rem);
  font-weight: 900;
  color: var(--grafit);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-body);
  z-index: 0;
}

/* ═══════════════════════════════════════
   HERO — SCENARIO LIST (Matrix #51)
═══════════════════════════════════════ */
.sc-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3rem 4rem 3rem;
  background: var(--grafit);
  position: relative;
  overflow: hidden;
}

.sc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    12deg,
    transparent,
    transparent 120px,
    rgba(232,163,61,0.04) 120px,
    rgba(232,163,61,0.04) 121px
  );
  pointer-events: none;
}

.sc-hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bursztyn);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.sc-hero__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--biel);
  margin-bottom: 1rem;
  max-width: 32ch;
}

.sc-hero__subtitle {
  color: rgba(247,241,230,0.6);
  margin-bottom: 3rem;
  font-size: 1.05rem;
  max-width: 52ch;
}

/* Scenario rows */
.sc-hero__scenarios {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sc-hero__row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(247,241,230,0.1);
  cursor: pointer;
  transition: transform 200ms ease, padding-left 200ms ease;
  position: relative;
  text-decoration: none;
}

.sc-hero__row:last-child { border-bottom: 1px solid rgba(247,241,230,0.1); }

.sc-hero__row::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--bursztyn);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 200ms ease;
}

.sc-hero__row:hover::before { transform: scaleY(1); }

.sc-hero__row:hover {
  transform: translateX(12px);
}

.sc-hero__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bursztyn);
  letter-spacing: 0.1em;
  min-width: 2.5rem;
  font-family: monospace;
}

.sc-hero__text {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--krem);
  font-weight: 500;
  flex: 1;
}

.sc-hero__arrow {
  color: var(--bursztyn);
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.sc-hero__row:hover .sc-hero__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Chip filters */
.sc-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.sc-chip {
  padding: 0.4rem 1rem;
  border: 1.5px solid rgba(232,163,61,0.4);
  border-radius: 2rem;
  color: rgba(247,241,230,0.7);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  transition: background var(--trans), color var(--trans), border-color var(--trans);
  letter-spacing: 0.03em;
}

.sc-chip:hover {
  border-color: var(--bursztyn);
  color: var(--bursztyn);
}

.sc-chip.aktywny {
  background: var(--bursztyn);
  color: var(--grafit);
  border-color: var(--bursztyn);
  font-weight: 600;
}

.sc-hero__counter {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(247,241,230,0.5);
  font-family: monospace;
}

/* ═══════════════════════════════════════
   SCENARIO BLOCKS
═══════════════════════════════════════ */
.sc-case {
  padding: 4rem 3rem;
  border-bottom: 1px solid rgba(32,30,28,0.1);
}

.sc-case:nth-child(even) {
  background: rgba(32,30,28,0.025);
}

.sc-case__header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.sc-case__badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--bursztyn);
  color: var(--grafit);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: monospace;
  box-shadow: var(--shadow-sm);
}

.sc-case__title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--grafit);
  line-height: 1.25;
}

.sc-case__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.sc-case__situation {
  background: var(--grafit);
  color: var(--krem);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.sc-case__situation h4 {
  color: var(--bursztyn);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.sc-case__situation p { color: rgba(247,241,230,0.85); max-width: none; font-size: 0.95rem; }

.sc-case__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sc-case__what, .sc-case__timing {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--bursztyn);
  background: var(--biel);
  box-shadow: var(--shadow-sm);
}

.sc-case__what h4, .sc-case__timing h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bursztyn-dark);
  margin-bottom: 0.5rem;
}

.sc-case__what p, .sc-case__timing p { max-width: none; font-size: 0.92rem; color: var(--tekst-soft); }

.sc-case__price {
  padding: 0.6rem 1rem;
  background: rgba(232,163,61,0.1);
  border: 1px solid rgba(232,163,61,0.3);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--bursztyn-dark);
  font-weight: 600;
  display: inline-block;
}

.sc-case__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--bursztyn);
  color: var(--grafit);
  border: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans);
  box-shadow: var(--shadow-sm);
}

.sc-case__btn:hover {
  background: var(--bursztyn-dark);
  color: var(--biel);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,138,40,0.4);
}

.sc-case__btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Scroll reveal */
.sc-case {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.sc-case.widoczny {
  opacity: 1;
  transform: translateX(0);
}

.sc-case:nth-child(even) {
  transform: translateX(30px);
}

.sc-case:nth-child(even).widoczny {
  transform: translateX(0);
}

/* ═══════════════════════════════════════
   SC-FORM
═══════════════════════════════════════ */
.sc-form-section {
  padding: 5rem 3rem;
  background: var(--grafit);
  position: relative;
  overflow: hidden;
}

.sc-form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    12deg,
    transparent,
    transparent 80px,
    rgba(232,163,61,0.03) 80px,
    rgba(232,163,61,0.03) 81px
  );
  pointer-events: none;
}

.sc-form-section__inner {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.sc-form-section__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--biel);
  margin-bottom: 0.75rem;
}

.sc-form-section__subtitle {
  color: rgba(247,241,230,0.6);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.sc-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sc-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sc-form__field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(247,241,230,0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sc-form__field input,
.sc-form__field select,
.sc-form__field textarea {
  padding: 0.85rem 1rem;
  background: rgba(247,241,230,0.06);
  border: 1.5px solid rgba(247,241,230,0.15);
  border-radius: var(--radius);
  color: var(--krem);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
  outline: none;
}

.sc-form__field input::placeholder,
.sc-form__field textarea::placeholder { color: rgba(247,241,230,0.3); }

.sc-form__field input:focus,
.sc-form__field select:focus,
.sc-form__field textarea:focus {
  border-color: var(--bursztyn);
  background: rgba(247,241,230,0.09);
  box-shadow: 0 0 0 3px rgba(232,163,61,0.18);
}

.sc-form__field select option { background: var(--grafit); color: var(--krem); }

.sc-form__field textarea { resize: vertical; min-height: 110px; }

.sc-form__error {
  font-size: 0.78rem;
  color: #ff7f6b;
  display: none;
}

.sc-form__field.ma-blad .sc-form__error { display: block; }
.sc-form__field.ma-blad input,
.sc-form__field.ma-blad textarea {
  border-color: #ff7f6b;
}

.sc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.sc-form__hidden-field { font-size: 0; height: 0; overflow: hidden; }

.sc-form__contact-note {
  margin-top: 0.5rem;
  padding: 1rem 1.25rem;
  background: rgba(232,163,61,0.08);
  border: 1px solid rgba(232,163,61,0.2);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: rgba(247,241,230,0.7);
}

.sc-form__contact-note a {
  color: var(--bursztyn);
  font-weight: 600;
}

.sc-form__submit {
  padding: 1rem 2rem;
  background: var(--bursztyn);
  color: var(--grafit);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  box-shadow: 0 4px 16px rgba(232,163,61,0.3);
  align-self: flex-start;
  min-width: 200px;
}

.sc-form__submit:hover {
  background: var(--bursztyn-dark);
  color: var(--biel);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,138,40,0.45);
}

.sc-form__submit:active { transform: translateY(0); }
.sc-form__submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.sc-form__submit:focus-visible {
  outline: 3px solid var(--bursztyn-light);
  outline-offset: 3px;
}

/* ═══════════════════════════════════════
   SC-FORM — LIGHT VARIANT (on cream/white bg)
═══════════════════════════════════════ */
.sc-form--light .sc-form__field label {
  color: var(--tekst-soft);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.sc-form--light .sc-form__field input,
.sc-form--light .sc-form__field select,
.sc-form--light .sc-form__field textarea {
  background: var(--biel);
  border: 1.5px solid rgba(32,30,28,0.2);
  color: var(--tekst);
  border-radius: var(--radius);
}

.sc-form--light .sc-form__field input::placeholder,
.sc-form--light .sc-form__field textarea::placeholder {
  color: rgba(32,30,28,0.35);
}

.sc-form--light .sc-form__field input:focus,
.sc-form--light .sc-form__field select:focus,
.sc-form--light .sc-form__field textarea:focus {
  border-color: var(--bursztyn);
  background: var(--biel);
  box-shadow: 0 0 0 3px rgba(232,163,61,0.15);
}

.sc-form--light .sc-form__field.ma-blad input,
.sc-form--light .sc-form__field.ma-blad textarea {
  border-color: #c04040;
}

.sc-form--light .sc-form__submit {
  background: var(--bursztyn);
  color: var(--grafit);
}

.sc-form--light .sc-form__submit:hover {
  background: var(--bursztyn-dark);
  color: var(--biel);
}

/* ═══════════════════════════════════════
   TOAST
═══════════════════════════════════════ */
#toast-container {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sc-toast {
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--biel);
  box-shadow: var(--shadow-lg);
  animation: toastIn 300ms ease;
  max-width: 300px;
}

.sc-toast--ok { background: #3a9d6b; }
.sc-toast--err { background: #c04040; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   CONDITIONS / TRUST SECTION
═══════════════════════════════════════ */
.sc-conditions {
  padding: 4rem 3rem;
  background: var(--krem-dark);
}

.sc-conditions__title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 2rem;
  color: var(--grafit);
}

.sc-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(32,30,28,0.1);
  border: 1px solid rgba(32,30,28,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 900px;
}

.sc-trust__col {
  background: var(--biel);
  padding: 1.75rem;
}

.sc-trust__col h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid;
  font-weight: 700;
}

.sc-trust__col--tak h3 { color: #3a9d6b; border-color: #3a9d6b; }
.sc-trust__col--nie h3 { color: #c04040; border-color: #c04040; }

.sc-trust__list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.sc-trust__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--tekst-soft);
  line-height: 1.4;
}

.sc-trust__list li::before {
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 0.1rem;
}

.sc-trust__col--tak .sc-trust__list li::before { content: '✓'; color: #3a9d6b; font-weight: 700; }
.sc-trust__col--nie .sc-trust__list li::before { content: '—'; color: #c04040; font-weight: 700; }

/* ═══════════════════════════════════════
   FLOATING WIDGET (Matrix #51)
═══════════════════════════════════════ */
.sc-widget {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 500;
}

.sc-widget__btn {
  width: 52px;
  height: 52px;
  background: var(--bursztyn);
  color: var(--grafit);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232,163,61,0.45);
  transition: transform var(--trans), box-shadow var(--trans);
}

.sc-widget__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(232,163,61,0.6);
}

.sc-widget__panel {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  right: 0;
  width: 280px;
  background: var(--grafit);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  transform-origin: bottom right;
  transform: scale(0.85) translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
  border: 1px solid rgba(232,163,61,0.2);
}

.sc-widget__panel.otwarty {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sc-widget__panel h4 {
  color: var(--bursztyn);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.sc-widget__mini-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sc-widget__mini-form input {
  padding: 0.65rem 0.85rem;
  background: rgba(247,241,230,0.07);
  border: 1.5px solid rgba(247,241,230,0.15);
  border-radius: 8px;
  color: var(--krem);
  font-size: 0.85rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 200ms ease;
}

.sc-widget__mini-form input:focus { border-color: var(--bursztyn); }
.sc-widget__mini-form input::placeholder { color: rgba(247,241,230,0.35); }

.sc-widget__mini-submit {
  padding: 0.65rem;
  background: var(--bursztyn);
  color: var(--grafit);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--trans);
}

.sc-widget__mini-submit:hover { background: var(--bursztyn-dark); color: var(--biel); }

/* ═══════════════════════════════════════
   SECTION TRANSITIONS (scroll reveal)
═══════════════════════════════════════ */
.objawia-sie {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 400ms ease, transform 400ms ease;
}
.objawia-sie.widoczny {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.sc-footer {
  background: var(--grafit);
  color: rgba(247,241,230,0.6);
  padding: 3rem 3rem 2rem;
  border-top: 1px solid rgba(232,163,61,0.15);
}

.sc-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.sc-footer__brand { color: var(--krem); }
.sc-footer__brand p { margin-top: 0.75rem; font-size: 0.88rem; color: rgba(247,241,230,0.55); max-width: 36ch; line-height: 1.55; }

.sc-footer__col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bursztyn);
  margin-bottom: 1rem;
}

.sc-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }

.sc-footer__col ul a {
  font-size: 0.88rem;
  color: rgba(247,241,230,0.6);
  text-decoration: none;
  transition: color var(--trans);
  position: relative;
  display: inline-block;
}

.sc-footer__col ul a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  right: 50%;
  height: 1px;
  background: var(--bursztyn);
  transition: left 200ms ease, right 200ms ease;
}

.sc-footer__col ul a:hover { color: var(--bursztyn); }
.sc-footer__col ul a:hover::after { left: 0; right: 0; }

.sc-footer__bottom {
  border-top: 1px solid rgba(247,241,230,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(247,241,230,0.4);
}

/* ═══════════════════════════════════════
   SECTION TITLES
═══════════════════════════════════════ */
.sc-section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bursztyn);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

/* ═══════════════════════════════════════
   INNER PAGE STYLES
═══════════════════════════════════════ */
.sc-page-header {
  background: var(--grafit);
  padding: 3rem 3rem 2.5rem;
  border-bottom: 2px solid rgba(232,163,61,0.2);
}

.sc-page-header h1 { color: var(--biel); }

.sc-breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(247,241,230,0.5);
  margin-bottom: 1rem;
  list-style: none;
}

.sc-breadcrumb a { color: var(--bursztyn); text-decoration: none; }
.sc-breadcrumb a:hover { text-decoration: underline; }
.sc-breadcrumb li + li::before { content: '›'; margin-right: 0.5rem; }

.sc-content {
  padding: 3rem;
  max-width: 860px;
}

.sc-content h2 { margin: 2rem 0 1rem; color: var(--grafit); }
.sc-content h3 { margin: 1.5rem 0 0.75rem; color: var(--grafit); }
.sc-content p { margin-bottom: 1rem; }
.sc-content ul, .sc-content ol { margin: 0.75rem 0 1rem 1.5rem; }
.sc-content li { margin-bottom: 0.4rem; line-height: 1.6; }

/* Numbered policy sections */
.sc-policy-toc {
  background: var(--biel);
  border: 1px solid rgba(32,30,28,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.sc-policy-toc h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.75rem; color: var(--bursztyn-dark); }
.sc-policy-toc ol { margin-left: 1.2rem; }
.sc-policy-toc li { margin-bottom: 0.3rem; }
.sc-policy-toc a { color: var(--bursztyn-dark); font-size: 0.88rem; }
.sc-policy-toc a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 60px;
  right: 0;
  z-index: 800;
  background: var(--grafit);
  border-top: 2px solid rgba(232,163,61,0.25);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(32,30,28,0.3);
  transform: translateY(100%);
  transition: transform 350ms ease;
}

#cookie-banner.widoczny { transform: translateY(0); }

#cookie-banner p {
  font-size: 0.85rem;
  color: rgba(247,241,230,0.75);
  flex: 1;
  min-width: 200px;
  max-width: none;
  margin: 0;
}

#cookie-banner a { color: var(--bursztyn); }

.cookie-btns { display: flex; gap: 0.6rem; flex-shrink: 0; }

.cookie-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid;
  transition: background var(--trans), color var(--trans);
}

.cookie-btn--accept {
  background: var(--bursztyn);
  color: var(--grafit);
  border-color: var(--bursztyn);
}
.cookie-btn--accept:hover { background: var(--bursztyn-dark); color: var(--biel); border-color: var(--bursztyn-dark); }

.cookie-btn--reject {
  background: transparent;
  color: rgba(247,241,230,0.7);
  border-color: rgba(247,241,230,0.2);
}
.cookie-btn--reject:hover { border-color: rgba(247,241,230,0.5); color: var(--krem); }

/* ═══════════════════════════════════════
   404 PAGE
═══════════════════════════════════════ */
.sc-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
}

.sc-404__code {
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 900;
  color: rgba(232,163,61,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.sc-404__title { font-size: 1.8rem; margin-bottom: 1rem; }
.sc-404__text { color: var(--tekst-soft); margin-bottom: 2rem; }

.sc-404__links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }
.sc-404__links li a {
  padding: 0.5rem 1rem;
  border: 1.5px solid rgba(32,30,28,0.15);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--tekst-soft);
  transition: border-color var(--trans), color var(--trans);
}
.sc-404__links li a:hover { border-color: var(--bursztyn); color: var(--bursztyn-dark); }

.sc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--bursztyn);
  color: var(--grafit);
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  box-shadow: 0 4px 16px rgba(232,163,61,0.3);
}
.sc-btn-primary:hover {
  background: var(--bursztyn-dark);
  color: var(--biel);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,138,40,0.4);
}

/* ═══════════════════════════════════════
   INNER PAGE NAV (reuse sc-nav)
═══════════════════════════════════════ */

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════ */
@media (max-width: 768px) {
  .sc-nav {
    width: 100%;
    height: 56px;
    top: auto;
    bottom: 0;
    left: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 0 0.5rem;
    border-right: none;
    border-top: 2px solid rgba(232,163,61,0.2);
  }

  .sc-nav:hover { width: 100%; }

  .sc-nav__logo { display: none; }

  .sc-nav__list {
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
    gap: 0;
  }

  .sc-nav__item a {
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.4rem 0.5rem;
    border-left: none;
    border-top: 3px solid transparent;
    font-size: 0.65rem;
    align-items: center;
  }

  .sc-nav__item a.aktywna, .sc-nav__item a:hover {
    border-left: none;
    border-top-color: var(--bursztyn);
  }

  .sc-nav__label {
    opacity: 1;
    transform: none;
    font-size: 0.62rem;
  }

  .sc-nav__icon { font-size: 1rem; width: auto; }

  .sc-main { margin-left: 0; padding-bottom: 56px; }

  #cookie-banner { left: 0; bottom: 56px; }

  .sc-case__body { grid-template-columns: 1fr; }
  .sc-trust { grid-template-columns: 1fr; }
  .sc-footer__grid { grid-template-columns: 1fr; }
  .sc-form__row { grid-template-columns: 1fr; }

  .sc-hero { padding: 2.5rem 1.5rem 3rem; }
  .sc-case { padding: 2.5rem 1.5rem; }
  .sc-form-section { padding: 3rem 1.5rem; }
  .sc-conditions { padding: 2.5rem 1.5rem; }
  .sc-footer { padding: 2rem 1.5rem 1.5rem; }
  .sc-content { padding: 2rem 1.5rem; }
  .sc-page-header { padding: 2rem 1.5rem; }

  .sc-widget { bottom: 4.5rem; }
  #toast-container { bottom: 4.5rem; }
}

@media (max-width: 480px) {
  .sc-case__body { grid-template-columns: 1fr; }
  h1 { font-size: 1.75rem; }
}

/* ═══════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0ms !important; }
  .sc-case { opacity: 1 !important; transform: none !important; }
  .objawia-sie { opacity: 1 !important; transform: none !important; }
}

/* ═══════════════════════════════════════
   FOCUS VISIBLE
═══════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--bursztyn);
  outline-offset: 3px;
  border-radius: 4px;
}

/* inner page contact block */
.sc-contact-block {
  background: var(--biel);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(32,30,28,0.1);
  margin-top: 1.5rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sc-contact-block a { font-weight: 600; font-size: 1rem; color: var(--bursztyn-dark); }
.sc-contact-block a:hover { color: var(--bursztyn); }
