/*
════════════════════════════════════
   SMART EXPAND HOME — spójny z pozostałymi stronami
   RocketB · Gold #BF9A3C / Navy #2E4155
   ═══════════════════════════════════════════ */

:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.3rem + 2vw, 3rem);

  --sp1: 0.25rem;
  --sp2: 0.5rem;
  --sp3: 0.75rem;
  --sp4: 1rem;
  --sp5: 1.25rem;
  --sp6: 1.5rem;
  --sp8: 2rem;
  --sp10: 2.5rem;
  --sp12: 3rem;
  --sp16: 4rem;
  --sp20: 5rem;

  --gold: #BF9A3C;
  --gold-light: #e1c989;
  --gold-pale: #f7f0dc;
  --gold-bg: #fdf9ef;
  --navy: #2E4155;
  --navy-mid: #3d5570;
  --ink: #1e2d3d;
  --text: #2c3e50;
  --text-muted: #5a7080;
  --text-faint: #95aab8;
  --bg: #ffffff;
  --bg-alt: #f8f6f0;
  --bg-warm: #fdf9ef;
  --border: #e8e2d4;
  --border-gold: rgba(191, 154, 60, 0.3);

  --display: 'Montserrat', 'Helvetica Neue', sans-serif;
  --body: 'Open Sans', 'Helvetica Neue', sans-serif;

  --r-sm: 0.375rem;
  --r-md: 0.625rem;
  --r-lg: 1rem;
  --r-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(46, 65, 85, 0.08);
  --shadow-md: 0 4px 16px rgba(46, 65, 85, 0.1);
  --shadow-gold: 0 4px 24px rgba(191, 154, 60, 0.18);
  --transition: 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  text-wrap: balance;
  line-height: 1.15;
  color: var(--ink);
}

p {
  text-wrap: pretty;
  max-width: 66ch;
}

::selection {
  background: rgba(191, 154, 60, 0.18);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

button {
  cursor: pointer;
}

/* ── LAYOUT ── */

.section {
  padding-block: clamp(var(--sp12), 6vw, var(--sp20));
}

.section--alt {
  background: var(--bg-alt);
}

.section--warm {
  background: var(--bg-warm);
}

.tc {
  text-align: center;
}

h2.tc {
  margin-inline: auto;
}

p.sub {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-inline: auto;
  margin-bottom: var(--sp10);
}

/* ── LABELS / PILLS ── */
.label {
  font-family: var(--display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: var(--sp3);
}

.pill {
  display: inline-block;
  font-family: var(--display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--sp1) var(--sp4);
  border-radius: var(--r-full);
  background: var(--gold-pale);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  margin-bottom: var(--sp4);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--r-full);
  padding: var(--sp3) var(--sp6);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, #d4aa50 100%);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  background: linear-gradient(135deg, #d4aa50 0%, var(--gold) 100%);
  box-shadow: 0 6px 28px rgba(191, 154, 60, 0.3);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--navy {
  background: var(--navy);
  color: #fff;
}

.btn--navy:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}

.btn--lg {
  font-size: var(--text-base);
  padding: var(--sp4) var(--sp10);
}

.btn--full {
  width: 100%;
}


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(var(--sp12), 8vw, var(--sp20));
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp10), 5vw, var(--sp16));
  align-items: center;
}

.hero__left h1 {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--sp5);
  letter-spacing: -0.01em;
}

.hero__left h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero__lead {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: var(--sp8);
  line-height: 1.75;
  max-width: 50ch;
}

.hero__lead strong {
  color: var(--text);
}

.hero__ctas {
  display: flex;
  gap: var(--sp3);
  flex-wrap: wrap;
  margin-bottom: var(--sp5);
}

.hero__fine {
  font-size: var(--text-xs);
  color: var(--text-faint);
  max-width: none;
}

.hero__fine a {
  color: var(--gold);
  text-decoration: none;
}

.hero__fine a:hover {
  text-decoration: underline;
}

/* Hero right — Metoda kart */
.method-card {
  background: var(--bg-warm);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-lg);
  padding: var(--sp8);
  box-shadow: var(--shadow-md);
}

.method-card__title {
  font-family: var(--display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp5);
}

.method-steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp2);
  margin-bottom: var(--sp6);
}

.mstep {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--sp4);
  align-items: start;
  padding: var(--sp3) var(--sp4);
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.mstep:hover {
  border-color: var(--border-gold);
}

.mstep__tag {
  font-family: var(--display);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  border-radius: var(--r-sm);
  padding: 2px 5px;
  line-height: 1.4;
  margin-top: 2px;
  text-align: center;
}

.mstep__body strong {
  display: block;
  font-family: var(--display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.mstep__body span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.4;
}

.method-card__cta {
  border-top: 1px solid var(--border);
  padding-top: var(--sp5);
  display: flex;
  align-items: center;
  gap: var(--sp3);
}

.method-card__cta p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  max-width: none;
  flex: 1;
}

.method-card__cta p strong {
  color: var(--ink);
  display: block;
}

/* ══════════════════════════════════════════
   PASEK ZAUFANIA
══════════════════════════════════════════ */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--sp5);
  background: var(--bg-alt);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(var(--sp8), 5vw, var(--sp16));
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp3);
}

.trust-item__icon {
  font-size: 1.2rem;
}

.trust-item__text {
  font-family: var(--display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.trust-item__text strong {
  color: var(--ink);
  display: block;
}

/* ══════════════════════════════════════════
   DIAGNOZA — SCORE (wolny)
══════════════════════════════════════════ */
.score-section {
  background: var(--navy);
  color: #fff;
}

.score-section .label {
  color: var(--gold-light);
}

.score-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp10), 5vw, var(--sp16));
  align-items: center;
}

.score-left h2 {
  color: #fff;
  font-size: var(--text-xl);
  margin-bottom: var(--sp5);
}

.score-left h2 em {
  font-style: normal;
  color: var(--gold-light);
}

.score-left p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--sp6);
  max-width: 46ch;
}

.score-left p strong {
  color: #fff;
}

.score-left .btn--gold {
  margin-right: var(--sp3);
}

.score-outputs {
  display: flex;
  flex-direction: column;
  gap: var(--sp3);
}

.score-out {
  display: flex;
  align-items: flex-start;
  gap: var(--sp4);
  padding: var(--sp4) var(--sp5);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
}

.score-out__num {
  font-family: var(--display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  min-width: 2ch;
  text-align: right;
}

.score-out__body strong {
  display: block;
  font-family: var(--display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.score-out__body span {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* ══════════════════════════════════════════
   DRABINA PRODUKTÓW — 4 KARTY
══════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp5);
  margin-top: var(--sp8);
}

.prod-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.prod-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.prod-card--featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.prod-card__top {
  padding: var(--sp5) var(--sp6) var(--sp4);
  border-bottom: 1px solid var(--border);
}

.prod-card--featured .prod-card__top {
  background: var(--gold-pale);
  border-bottom-color: var(--border-gold);
}

.prod-badge {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px var(--sp3);
  border-radius: var(--r-full);
  margin-bottom: var(--sp3);
}

.prod-badge--free {
  background: #e8f5e9;
  color: #2e7d32;
}

.prod-badge--entry {
  background: var(--gold-pale);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.prod-badge--core {
  background: var(--gold);
  color: #fff;
}

.prod-badge--premium {
  background: var(--navy);
  color: #fff;
}

.prod-card__top h3 {
  font-family: var(--display);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: var(--sp2);
  letter-spacing: 0.01em;
}

.prod-price {
  font-family: var(--display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.prod-price span {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
}

.prod-price--free {
  color: #2e7d32;
}

.prod-card__body {
  padding: var(--sp5) var(--sp6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp4);
}

.prod-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: none;
}

.prod-for {
  font-size: var(--text-xs);
  color: var(--text-faint);
  max-width: none;
}

.prod-for strong {
  color: var(--text-muted);
  display: block;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp1);
  font-size: 0.6rem;
}

.prod-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp2);
}

.prod-bullets li {
  font-size: var(--text-xs);
  color: var(--text-muted);
  padding-left: var(--sp4);
  position: relative;
  line-height: 1.4;
  max-width: none;
}

.prod-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.prod-card__footer {
  padding: var(--sp4) var(--sp6) var(--sp6);
}

.prod-card__footer .btn {
  width: 100%;
}

/* Strzałki między kartami */
.products-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: var(--sp8);
  position: relative;
}

.products-flow .prod-card {
  flex: 1;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--sp5);
  color: var(--border-gold);
  font-size: 1.2rem;
  margin-top: 60px;
}

/* ══════════════════════════════════════════
   MISSION LITE — wejście decyzyjne
══════════════════════════════════════════ */
.mission-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp10), 5vw, var(--sp16));
  align-items: center;
}

.mission-left h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--sp4);
}

.mission-left h2 em {
  font-style: normal;
  color: var(--gold);
}

.mission-left p {
  color: var(--text-muted);
  margin-bottom: var(--sp6);
  max-width: 46ch;
}

.decision-card {
  background: #fff;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}

.decision-card__head {
  background: var(--gold-pale);
  padding: var(--sp5) var(--sp6);
  border-bottom: 1px solid var(--border-gold);
}

.decision-card__head h4 {
  font-family: var(--display);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--ink);
}

.decision-card__head p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--sp1);
  max-width: none;
}

.decision-outputs {
  list-style: none;
  padding: var(--sp5) var(--sp6);
  display: flex;
  flex-direction: column;
  gap: var(--sp3);
  border-bottom: 1px solid var(--border);
}

.decision-outputs li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp3);
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: none;
}

.decision-outputs li::before {
  content: '→';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.decision-footer {
  padding: var(--sp4) var(--sp6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp3);
}

.decision-price {
  font-family: var(--display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gold);
}

.decision-price span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 400;
  margin-left: var(--sp1);
}

/* ══════════════════════════════════════════
   1:1 PREMIUM SECTION
══════════════════════════════════════════ */
.oneone-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp10), 5vw, var(--sp16));
  align-items: start;
}

.oneone-left h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--sp4);
}

.oneone-left h2 em {
  font-style: normal;
  color: var(--gold);
}

.oneone-left p {
  color: var(--text-muted);
  margin-bottom: var(--sp6);
  max-width: 46ch;
}

.variants-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp3);
}

.variant-row {
  display: flex;
  align-items: center;
  gap: var(--sp4);
  padding: var(--sp4) var(--sp5);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--transition);
}

.variant-row:hover {
  border-color: var(--border-gold);
}

.variant-tag {
  font-family: var(--display);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--sp1) var(--sp3);
  border-radius: var(--r-full);
  min-width: 80px;
  text-align: center;
}

.variant-tag--guided {
  background: #e3f2fd;
  color: #1565c0;
}

.variant-tag--pilot {
  background: var(--gold-pale);
  color: var(--gold);
}

.variant-tag--execute {
  background: var(--navy);
  color: #fff;
}

.variant-info {
  flex: 1;
}

.variant-info strong {
  display: block;
  font-family: var(--display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.variant-info span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.variant-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--text-base);
  color: var(--gold);
  white-space: nowrap;
}

/* ══════════════════════════════════════════
   ROKSANA
══════════════════════════════════════════ */
.roksana-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(var(--sp8), 5vw, var(--sp16));
  align-items: start;
}

.avatar-circle {
  width: 100%;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 2px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.roksana-text h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--sp4);
}

.roksana-text p {
  color: var(--text-muted);
  margin-bottom: var(--sp4);
  max-width: 58ch;
}

.creds {
  display: flex;
  gap: var(--sp4);
  flex-wrap: wrap;
  margin-bottom: var(--sp5);
}

.cred {
  font-size: var(--text-sm);
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp2) var(--sp4);
}

.cred span {
  font-family: var(--display);
  font-weight: 800;
  color: var(--gold);
  margin-right: var(--sp1);
}

.roksana-text blockquote {
  border-left: 3px solid var(--gold);
  padding: var(--sp3) var(--sp5);
  background: var(--gold-pale);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--navy-mid);
  max-width: 58ch;
}

/* ══════════════════════════════════════════
   CTA KOŃCOWE
══════════════════════════════════════════ */
.final-cta {
  text-align: center;
}

.final-cta h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--sp4);
}

.final-cta h2 em {
  font-style: normal;
  color: var(--gold);
}

.final-cta p {
  color: var(--text-muted);
  margin-inline: auto;
  margin-bottom: var(--sp8);
}

.final-cta__btns {
  display: flex;
  justify-content: center;
  gap: var(--sp4);
  flex-wrap: wrap;
}

.final-cta__fine {
  font-size: var(--text-xs);
  color: var(--text-faint);
  margin-top: var(--sp4);
  max-width: none;
}


/* ══════════════════════════════════════════
   REVEAL
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1040px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-flow {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
    margin-top: 0;
    width: 100%;
    height: var(--sp5);
  }
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .score-inner {
    grid-template-columns: 1fr;
  }

  .mission-strip {
    grid-template-columns: 1fr;
  }

  .oneone-inner {
    grid-template-columns: 1fr;
  }

  .roksana-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
    text-align: center;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar__inner {
    gap: var(--sp5);
  }

  .final-cta__btns .btn {
    width: 100%;
  }
}