:root {
  --navy: #26374d;
  --blue-door: #536d82;
  --harper: #9db2bf;
  --alice: #dde6ed;
  --white: #ffffff;
  --offwhite: #f7f9fb;
  --dark-navy: #1a2636;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--dark-navy);
  line-height: 1.7;
  background: #ffffff;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
section { padding: 96px 5%; }

.section-h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 48px;
}
.section-h2.light { color: var(--alice); }
.h2-em { font-style: italic; font-weight: 300; color: inherit; }
.h2-em.muted { color: var(--harper); }

.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--blue-door);
  color: var(--alice);
  font-size: 15px;
  font-weight: 700;
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--harper); color: var(--navy); }

.btn-header {
  display: inline-block;
  padding: 8px 20px;
  background: var(--blue-door);
  color: var(--alice);
  font-size: 13px;
  font-weight: 600;
  border-radius: 0;
  transition: background 0.2s;
}
.btn-header:hover { background: var(--navy); }

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(38, 55, 77, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(157, 178, 191, 0.15);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 5%;
}
.header-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--alice);
  letter-spacing: 0.02em;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--harper);
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--alice); }

#hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  min-height: 100vh;
}
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(157,178,191,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157,178,191,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: end;
  gap: 48px;
  position: relative;
  z-index: 1;
  padding-bottom: 0;
  padding-left: 5%;
  padding-right: 5%;
}
.hero-content { padding-top: 48px; padding-bottom: 60px; }
.hero-kicker {
  font-size: 16px;
  font-weight: 500;
  color: var(--harper);
  margin-bottom: 24px;
  line-height: 1.6;
  max-width: 480px;
}
.hero-h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--alice);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-em {
  font-style: italic;
  font-weight: 400;
  color: var(--harper);
}
.hero-sub {
  font-size: 19px;
  font-weight: 400;
  color: var(--harper);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.6;
}
.hero-img { min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  flex: 1;
}

#problem { background: var(--offwhite); }
.problem-inner { max-width: 1100px; margin: 0 auto; }
.cards-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.problem-card {
  background: var(--white);
  padding: 32px;
  border-radius: 0;
  box-shadow: 0 2px 16px rgba(38, 55, 77, 0.07);
}
.card-lead {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
}
.card-body {
  font-size: 15px;
  font-weight: 400;
  color: var(--blue-door);
  line-height: 1.7;
}

#agitation { background: var(--white); }
.agitation-inner { max-width: 1100px; margin: 0 auto; }
.agit-timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 56px;
}
.agit-item {
  display: flex;
  gap: 20px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--alice);
}
.agit-item:nth-child(odd) { border-right: 1px solid var(--alice); }
.agit-item:nth-last-child(-n+2) { border-bottom: none; }
.agit-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--alice);
  width: 48px;
  flex-shrink: 0;
  text-align: right;
  line-height: 1;
  padding-top: 4px;
}
.agit-lead {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.agit-body {
  font-size: 15px;
  color: var(--blue-door);
  line-height: 1.6;
}
.closing-quote {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-size: 19px;
  font-style: italic;
  font-weight: 400;
  color: var(--blue-door);
  padding: 40px 0;
  border-top: 1px solid var(--alice);
}

#rozwiazanie { background: var(--offwhite); }
.rozwiazanie-inner { max-width: 1100px; margin: 0 auto; }
.rozwiazanie-intro {
  max-width: 720px;
  color: var(--blue-door);
  margin-bottom: 60px;
  font-size: 17px;
  line-height: 1.75;
}
.rozwiazanie-intro p { margin-bottom: 16px; }
.rozw-list {
  list-style: none;
  margin: 8px 0;
  padding: 0;
}
.rozw-list li {
  padding: 8px 0;
  color: var(--blue-door);
  font-size: 16px;
  border-bottom: 1px solid var(--alice);
}
.rozw-list li::before {
  content: "— ";
  color: var(--harper);
}
.eyebrow {
  font-weight: 700;
  font-size: 15px;
  color: var(--harper);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  margin-bottom: 64px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--alice);
  z-index: 0;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.timeline-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.timeline-dot.highlight { background: var(--blue-door); }
.timeline-dot-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--alice);
  letter-spacing: 0.04em;
}
.timeline-step-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--harper);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.timeline-step-body {
  font-size: 15px;
  color: var(--navy);
  line-height: 1.5;
  font-weight: 500;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-card {
  background: var(--alice);
  padding: 32px 24px;
  text-align: center;
}
.stat-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-door);
  line-height: 1.5;
}

#biogram { background: var(--white); }
.bio-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
.bio-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.bio-subtitle {
  font-size: 15px;
  font-weight: 500;
  color: var(--blue-door);
  margin-bottom: 28px;
}
.bio-text p {
  color: var(--blue-door);
  margin-bottom: 20px;
  line-height: 1.75;
}
.bio-checklist-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  margin-top: 8px;
}

#oferta { background: var(--navy); }
.oferta-inner { max-width: 1100px; margin: 0 auto; }
.pakiety {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.pakiet {
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.pakiet-main { background: var(--blue-door); }
.pakiet-secondary {
  background: var(--dark-navy);
  border: 1px solid rgba(157,178,191,0.2);
}
.pakiet-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--alice);
  padding: 4px 10px;
  margin-bottom: 20px;
}
.pakiet-secondary .pakiet-tag {
  background: rgba(157,178,191,0.15);
  color: var(--harper);
}
.pakiet-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--alice);
  margin-bottom: 12px;
}
.pakiet-for {
  font-size: 13px;
  font-weight: 500;
  color: rgba(221,230,237,0.65);
  margin-bottom: 20px;
  line-height: 1.6;
  font-style: italic;
}
.pakiet-desc {
  font-size: 15px;
  color: var(--alice);
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0.9;
}
.pakiet-areas-list {
  font-size: 14px;
  color: var(--harper);
  line-height: 1.8;
  margin-bottom: 24px;
  border-top: 1px solid rgba(157,178,191,0.2);
  padding-top: 20px;
}
.pakiet-areas-list li::before { content: "— "; opacity: 0.6; }
.pakiet-price-note {
  font-size: 13px;
  color: rgba(221,230,237,0.55);
  line-height: 1.6;
  margin-bottom: 28px;
  font-style: italic;
}
.pakiet-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--alice);
  margin-bottom: 24px;
  margin-top: auto;
  letter-spacing: -0.02em;
}
.pakiet-cta {
  display: inline-block;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s;
}
.pakiet-main .pakiet-cta {
  background: var(--alice);
  color: var(--navy);
}
.pakiet-main .pakiet-cta:hover { background: var(--white); }
.pakiet-secondary .pakiet-cta {
  border: 1.5px solid var(--blue-door);
  color: var(--harper);
  background: transparent;
}
.pakiet-secondary .pakiet-cta:hover { background: var(--blue-door); color: var(--alice); }

#wizja { background: var(--navy); padding-top: 80px; padding-bottom: 96px; }
.wizja-inner { max-width: 720px; margin: 0 auto; }
.wizja-inner .section-h2 { margin-bottom: 40px; }
.wizja-inner p {
  color: var(--alice);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 24px;
  opacity: 0.88;
}
.wizja-closing {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(157,178,191,0.2);
  font-size: 16px;
  color: var(--harper);
  font-style: italic;
  line-height: 1.7;
  opacity: 1 !important;
}

#cta-rozmowa { background: var(--offwhite); }
.cta-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cta-lead {
  font-size: 17px;
  color: var(--blue-door);
  margin-bottom: 48px;
  line-height: 1.7;
}
.cta-steps {
  position: relative;
  max-width: 520px;
  margin: 0 auto 48px;
  text-align: left;
}
.cta-steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: var(--alice);
}
.cta-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
}
.cta-step:last-child { margin-bottom: 0; }
.cta-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--alice);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.cta-step-text {
  font-size: 15px;
  color: var(--navy);
  padding-top: 10px;
  line-height: 1.6;
}
.cta-trust {
  font-size: 14px;
  color: var(--blue-door);
  line-height: 1.75;
  margin-bottom: 36px;
  font-style: italic;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

#dla-kogo { background: var(--white); }
.dla-kogo-inner { max-width: 1100px; margin: 0 auto; }
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.fit-card {
  padding: 36px 32px;
  border-radius: 0;
}
.fit-card-yes {
  background: #f0f6f0;
  border-top: 3px solid #4a9469;
}
.fit-card-no {
  background: var(--offwhite);
  border-top: 3px solid var(--harper);
}
.fit-card-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.fit-card-yes .fit-card-title { color: #4a9469; }
.fit-card-no .fit-card-title { color: var(--harper); }
.fit-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--blue-door);
  line-height: 1.5;
}
.fit-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
.fit-card-yes .fit-dot { background: #4a9469; }
.fit-card-no .fit-dot { background: var(--harper); }
.dla-kogo-cta { text-align: center; }

#faq { background: var(--offwhite); }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--alice);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  gap: 16px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ""; }
.faq-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--harper);
}
details[open] .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--blue-door);
  line-height: 1.75;
}
.faq-cta-wrap { text-align:center; margin-top:48px; }

#formularz { background: var(--navy); }
.form-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.form-grid .section-h2 { margin-bottom: 20px; }
.form-lead {
  font-size: 16px;
  color: var(--harper);
  line-height: 1.7;
  margin-bottom: 0;
}
.tally-placeholder {
  background: rgba(157,178,191,0.08);
  border: 1px solid rgba(157,178,191,0.2);
  padding: 48px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.tally-placeholder span {
  font-family: monospace;
  font-size: 12px;
  color: var(--harper);
  opacity: 0.6;
}
.tally-icon {
  width: 40px;
  height: 40px;
  border: 1.5px solid #9db2bf;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9db2bf;
  font-weight: 700;
  opacity: 0.5;
}

#zamkniecie { background: var(--dark-navy); padding-bottom: 0; }
.zamkniecie-inner { max-width: 800px; margin: 0 auto; padding-bottom: 96px; }
.zamk-intro {
  font-size: 19px;
  color: var(--harper);
  line-height: 1.7;
  margin-bottom: 56px;
  font-style: italic;
}
.anafora-visual {
  margin-bottom: 56px;
  border-top: 1px solid rgba(157,178,191,0.15);
}
.anafora-visual li {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(157,178,191,0.15);
}
.placi-big {
  font-size: 42px;
  font-weight: 800;
  color: var(--blue-door);
  min-width: 160px;
  text-align: right;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  line-height: 1;
}
.placi-rest {
  font-size: 19px;
  color: var(--alice);
  line-height: 1.5;
}
.zamk-mid {
  font-size: 17px;
  color: var(--alice);
  opacity: 0.7;
  line-height: 1.75;
  margin-bottom: 32px;
}
.zamk-final {
  font-size: 17px;
  color: var(--alice);
  line-height: 1.75;
  margin-bottom: 48px;
  opacity: 0.85;
}
.zamk-tally { max-width: 600px; margin: 0 auto; }

.placeholder-section { background: var(--white); }
.placeholder-section.alt { background: var(--offwhite); }
.placeholder-inner { max-width: 1100px; margin: 0 auto; }
.placeholder-card {
  max-width: 760px;
  padding: 32px;
  border: 1px solid var(--alice);
  background: rgba(221, 230, 237, 0.35);
}
.placeholder-card p { color: var(--blue-door); }

footer {
  background: var(--dark-navy);
  border-top: 1px solid rgba(157,178,191,0.1);
  padding: 32px 5%;
  text-align: center;
}
.footer-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--alice);
  margin-bottom: 6px;
}
.footer-email {
  font-size: 14px;
  color: var(--harper);
}

@media (max-width: 900px) {
  .hero-h1 { font-size: 40px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .hero-content { padding-bottom: 64px; }
  .cards-2x2, .pakiety, .fit-grid, .form-grid { grid-template-columns: 1fr; }
  .bio-grid { grid-template-columns: 1fr; }
  .agit-timeline { grid-template-columns: 1fr; }
  .agit-item:nth-child(odd) { border-right: none; }
  .stats-row { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .header-nav { display: none; }
  .placi-big { font-size: 28px; min-width: 110px; }
}

@media (max-width: 600px) {
  .hero-h1 { font-size: 32px; }
  section { padding: 64px 5%; }
  .section-h2 { font-size: 28px; }
  .stat-number { font-size: 40px; }
  .agit-num { font-size: 28px; }
}
