:root {
  --font-sans: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bs-font-sans-serif: var(--font-sans);
  --bs-body-font-family: var(--font-sans);
  --ink: #142326;
  --muted: #637176;
  --line: #dce5e4;
  --surface: #ffffff;
  --surface-2: #f5f8f7;
  --teal: #0a6f68;
  --teal-2: #0f8f83;
  --amber: #e7a823;
  --green: #2f855a;
  --rose: #b4234a;
  --blue: #2f5f98;
}

body {
  background: #f8faf9;
  color: var(--ink);
  font-family: var(--font-sans);
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

html {
  overflow-x: hidden;
}

a {
  color: var(--teal);
}

.topbar {
  background: #101d20;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  padding: 9px 0;
}

.topbar a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.navbar {
  border-bottom: 1px solid rgba(20, 35, 38, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.navbar-brand {
  color: var(--ink);
  font-weight: 800;
}

.brand-logo {
  display: block;
  height: 52px;
  max-width: min(320px, 64vw);
  width: auto;
}

.brand-mark {
  align-items: center;
  background: var(--teal);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  margin-right: 0.5rem;
  width: 34px;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
  background: var(--teal);
  border-color: var(--teal);
}

.btn-outline-primary {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-outline-primary:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.hero {
  background-color: #f4faf8;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: min(980px, 72vw) auto;
  box-shadow: inset 0 0 0 1000px rgba(248, 250, 249, 0.76);
  overflow: hidden;
  padding: 84px 0 68px;
}

.hero h1 {
  font-size: 4.2rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.02;
  max-width: 100%;
}

.mobile-title-break {
  display: inline;
}

.hero-lead {
  color: #405256;
  font-size: 1.12rem;
  max-width: 680px;
}

.hero-media {
  border: 1px solid rgba(10, 111, 104, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(17, 52, 57, 0.18);
  display: block;
  max-height: 460px;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 1199px) {
  .hero h1 {
    font-size: 3.3rem;
  }
}

@media (max-width: 767px) {
  .hero {
    background-position: center bottom;
    background-size: 620px auto;
    box-shadow: inset 0 0 0 1000px rgba(248, 250, 249, 0.9);
    padding: 40px 0 300px;
  }

  .hero h1 {
    font-size: 2.05rem;
    line-height: 1.08;
  }

  .hero .btn {
    justify-content: center;
    max-width: 100%;
  }

  .hero .btn-lg {
    font-size: 1rem;
    padding: 0.72rem 0.9rem;
  }

  .hero .d-flex {
    width: 100%;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .section {
    padding: 46px 0;
  }

  .display-5,
  .h1 {
    font-size: 2rem;
    line-height: 1.14;
  }

  .filter-panel,
  .card-clean.p-4,
  .summary-tile {
    padding: 18px !important;
  }

  .table-responsive {
    overflow-x: auto;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero .btn {
    width: 100%;
  }

  .display-5,
  .h1 {
    font-size: 1.82rem;
  }
}

.metric-strip {
  background: var(--ink);
  color: #fff;
}

.metric {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding: 22px 20px;
}

.metric:first-child {
  border-left: 0;
}

.metric strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
}

.metric span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.section {
  padding: 68px 0;
}

.section-sm {
  padding: 40px 0;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-clean {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 45, 49, 0.06);
}

.package-card {
  height: 100%;
}

.package-card .price {
  font-size: 1.75rem;
  font-weight: 850;
}

.badge-soft {
  background: #e8f5f3;
  color: var(--teal);
}

.badge-amber {
  background: #fff3d2;
  color: #7a5200;
}

.badge-green {
  background: #e6f4ec;
  color: var(--green);
}

.form-control,
.form-select {
  border-color: #d3dfdd;
  border-radius: 8px;
  min-height: 46px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.2rem rgba(10, 111, 104, 0.12);
}

.filter-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.table {
  color: var(--ink);
}

.table thead th {
  background: #f0f5f4;
  color: #405256;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.42rem 0.62rem;
}

.status-pending_payment {
  background: #fff3d2;
  color: #7a5200;
}

.status-paid,
.status-processing {
  background: #e8f5f3;
  color: var(--teal);
}

.status-running,
.status-registered,
.status-pending {
  background: #e7effa;
  color: var(--blue);
}

.status-ready {
  background: #e6f4ec;
  color: var(--green);
}

.status-cancelled,
.status-refunded,
.status-failed,
.status-new {
  background: #fde7ee;
  color: var(--rose);
}

.status-finished,
.status-verified {
  background: #e6f4ec;
  color: var(--green);
}

.admin-shell {
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--ink);
  color: #fff;
  min-height: 100vh;
  padding: 24px 18px;
}

.admin-sidebar a {
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-weight: 700;
  padding: 11px 12px;
  text-decoration: none;
}

.admin-sidebar a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-sidebar .navbar-brand {
  align-items: center;
  display: flex;
  gap: 10px;
}

.admin-brand-logo,
.footer-logo {
  background: #fff;
  border-radius: 8px;
  display: block;
  height: 48px;
  padding: 5px 7px;
  width: auto;
}

.admin-brand-logo {
  max-width: 170px;
}

.admin-brand-label {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-content {
  padding: 28px;
}

.summary-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.summary-tile span {
  color: var(--muted);
  display: block;
  font-size: 0.88rem;
}

.summary-tile strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1.2;
}

.legal-note {
  background: #fff8e6;
  border: 1px solid #f0d08a;
  border-radius: 8px;
  color: #6b4b0e;
  padding: 16px;
}

.checkout-step {
  align-items: center;
  background: #e8f5f3;
  border-radius: 999px;
  color: var(--teal);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 850;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.checkout-step.is-active {
  background: var(--teal);
  color: #fff;
}

.timeline {
  list-style: none;
  padding-left: 0;
}

.timeline li {
  border-left: 2px solid var(--line);
  color: var(--muted);
  padding: 0 0 18px 18px;
  position: relative;
}

.timeline li::before {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 999px;
  content: "";
  height: 12px;
  left: -7px;
  position: absolute;
  top: 4px;
  width: 12px;
}

.timeline li.is-done {
  border-left-color: var(--teal);
  color: var(--ink);
}

.timeline li.is-done::before {
  background: var(--teal);
  border-color: var(--teal);
}

.footer {
  background: #101d20;
  color: rgba(255, 255, 255, 0.72);
  padding: 36px 0;
}

.footer a {
  color: #fff;
}

.footer-logo {
  max-width: 260px;
}

.copied::after {
  content: " skopiowano";
}

.section-muted {
  background: #eef5f4;
}

.section-cta {
  background: #fff;
  border-top: 1px solid var(--line);
}

.trust-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.logo-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
}

.logo-pill {
  align-items: center;
  background: #f7faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #405256;
  display: flex;
  font-size: 0.85rem;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 10px;
  text-align: center;
}

.logo-pill img {
  max-height: 28px;
  max-width: 120px;
  object-fit: contain;
}

.offer-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 45, 49, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.offer-icon {
  align-items: center;
  background: #e8f5f3;
  border-radius: 8px;
  color: var(--teal);
  display: inline-flex;
  font-size: 1.35rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.offer-stat {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1.15;
}

.offer-stat span {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
}

.sample-preview {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(23, 45, 49, 0.08);
  overflow: hidden;
}

.sample-preview-header {
  align-items: center;
  background: #13262a;
  color: #fff;
  display: flex;
  gap: 8px;
  padding: 12px 14px;
}

.sample-preview-header span {
  background: var(--amber);
  border-radius: 999px;
  display: block;
  height: 10px;
  width: 10px;
}

.sample-preview-header span:nth-child(2) {
  background: var(--teal-2);
}

.sample-preview-header span:nth-child(3) {
  background: var(--blue);
}

.sample-preview-header strong {
  margin-left: 6px;
}

.sample-field-list,
.export-field-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sample-field-list span {
  background: #f0f5f4;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #405256;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 10px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 45, 49, 0.06);
  margin: 0;
  padding: 24px;
}

.testimonial-card blockquote {
  color: #26383c;
  font-size: 1.04rem;
  margin: 0 0 20px;
}

.testimonial-card figcaption {
  align-items: center;
  display: flex;
  gap: 12px;
}

.testimonial-card figcaption span:not(.logo-avatar) {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
}

.logo-avatar {
  align-items: center;
  background: #fff3d2;
  border-radius: 8px;
  color: #7a5200;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 850;
  height: 46px;
  justify-content: center;
  min-width: 46px;
  padding: 0 10px;
}

.content-panel {
  max-width: 760px;
}

.preset-rail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.preset-chip {
  align-items: center;
  background: #f0f7f6;
  border: 1px solid #cce2df;
  border-radius: 999px;
  color: var(--teal);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 8px;
  padding: 9px 13px;
  text-decoration: none;
}

.preset-chip:hover {
  background: var(--teal);
  color: #fff;
}

.faq-accordion .accordion-item {
  border-color: var(--line);
}

.faq-accordion .accordion-button {
  color: var(--ink);
  font-weight: 800;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: #e8f5f3;
  color: var(--teal);
}

.admin-edit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.admin-edit summary {
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 991px) {
  .hero {
    padding-top: 42px;
  }

  .metric {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .metric:first-child {
    border-top: 0;
  }

  .admin-sidebar {
    min-height: auto;
  }

  .admin-content {
    padding: 20px 14px;
  }
}

@media (max-width: 991px) {
  .logo-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 40px 0 300px;
  }

  .hero h1 {
    font-size: 2.05rem;
    line-height: 1.08;
  }

  .mobile-title-break {
    display: block;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero .btn {
    justify-content: center;
    max-width: 100%;
  }

  .hero .btn-lg {
    font-size: 1rem;
    padding: 0.72rem 0.9rem;
  }

  .hero .d-flex,
  .hero .btn {
    width: 100%;
  }

  .section {
    padding: 46px 0;
  }

  .display-5,
  .h1 {
    font-size: 2rem;
    line-height: 1.14;
  }

  .filter-panel,
  .card-clean.p-4,
  .summary-tile,
  .offer-tile,
  .testimonial-card {
    padding: 18px !important;
  }

  .table-responsive {
    overflow-x: auto;
  }
}

@media (max-width: 575px) {
  .logo-strip,
  .sample-field-list,
  .export-field-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    height: 44px;
    max-width: 245px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .display-5,
  .h1 {
    font-size: 1.82rem;
  }
}
