:root {
  --bg: #fafaf7;
  --card: #ffffff;
  --text: #111111;
  --muted: #555555;
  --line: #e5e5e0;
  --accent: #f6c400;
  --dark: #1e1e1e;
  --success: #eaf8ef;
  --error: #ffe8e8;
  --shadow: 0 18px 45px rgba(17, 17, 17, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 120px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", Inter, system-ui, sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

/* Lepki kontener: belka promo + header zawsze na wierzchu */
.site-sticky {
  position: sticky;
  top: 0;
  z-index: 30;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  background: linear-gradient(90deg, #ffd21a, var(--accent) 50%, #ffd21a);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
}

.topbar strong {
  font-weight: 900;
}

@media (max-width: 680px) {
  .topbar {
    font-size: 0.79rem;
    padding: 8px 12px;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 50;
  max-width: 420px;
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.22);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .btn {
  min-height: 42px;
  padding: 10px 18px;
}

@media (max-width: 680px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 84px;
    max-width: none;
  }
}

.site-header {
  position: static;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(229, 229, 224, 0.85);
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 170px;
}

.brand img {
  display: block;
  width: clamp(185px, 18vw, 260px);
  height: auto;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a:hover,
.text-link:hover {
  color: #8f7200;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
}

.phone-link {
  white-space: nowrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1c1c1c;
  color: #fff;
  flex: 0 0 auto;
  transition: background 0.15s ease, color 0.15s ease;
}

.social-link:hover {
  background: var(--accent, #f6c400);
  color: #1c1c1c;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.nav-social {
  display: none;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--dark);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--dark);
  color: #fff;
}

.btn-primary:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--text);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--text);
  color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0;
  border-radius: 2px;
  background: var(--text);
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.compact {
  padding: 30px 0;
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.72fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 74px);
  margin: 0;
  padding: 74px max(18px, calc((100vw - 1160px) / 2)) 64px;
  overflow: hidden;
  background: #111;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero::before {
  background: url("assets/img/hero/hero-baner.webp") center / cover no-repeat;
}

.hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.9) 0%, rgba(17, 17, 17, 0.7) 45%, rgba(17, 17, 17, 0.28) 100%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.5), rgba(17, 17, 17, 0.08));
}

.hero .eyebrow {
  color: var(--accent);
}

.hero h1,
.hero .hero-lead,
.hero .check-list li,
.hero .microcopy {
  color: #fff;
}

.hero .hero-lead,
.hero .microcopy {
  color: rgba(255, 255, 255, 0.82);
}

.hero .text-link {
  color: #fff;
}

.hero .text-link:hover {
  color: var(--accent);
}

.eyebrow {
  margin: 0 0 12px;
  color: #7b6500;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5.1vw, 4.45rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.3vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-lead,
.section-heading p {
  color: var(--muted);
  font-size: 1.07rem;
}

.hero-lead {
  max-width: 680px;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 6px;
}

.hero-stats span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 7px 12px;
  font-size: 0.86rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  max-width: 700px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.product-card li,
.offer-grid li,
.pricing-grid li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.check-list li::before,
.product-card li::before,
.offer-grid li::before,
.pricing-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-bottom: 14px;
}

.helper-cta {
  min-height: 46px;
  padding: 0 2px;
  white-space: nowrap;
}

.microcopy,
.disclaimer {
  color: var(--muted);
  font-size: 0.94rem;
}

.quick-card,
.calculator-card,
.price-result,
.product-card,
.offer-grid article,
.pricing-grid article,
.industry-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.quick-card {
  background: rgba(255, 255, 255, 0.94);
  padding: 26px;
  backdrop-filter: blur(18px);
}

.quick-card h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

label,
fieldset {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  padding: 13px 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(246, 196, 0, 0.2);
}

.mini-calc {
  display: grid;
  gap: 12px;
}

.quick-result {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: var(--success);
}

.quick-result strong,
.quick-result .text-link,
.hero .quick-result .text-link {
  color: var(--text);
}

.quick-result .text-link:hover,
.hero .quick-result .text-link:hover {
  color: #8f7200;
}

.quick-result strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.quick-result p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-strip article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.calc-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-right: max(18px, calc((100vw - 1160px) / 2));
  padding-left: max(18px, calc((100vw - 1160px) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 20%, rgba(246, 196, 0, 0.12), transparent 28%),
    linear-gradient(180deg, #fff, var(--bg));
}

.calc-section .section-heading {
  max-width: 780px;
  margin-bottom: 22px;
}

.calc-section .section-heading h2 {
  max-width: 700px;
}

.calc-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.calc-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 7px 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.72fr);
  gap: 24px;
  align-items: stretch;
}

.calculator-card,
.price-result,
.contact-form {
  padding: 24px;
}

.calculator-card {
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.06);
}

.calc-card-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.calc-card-head span {
  display: grid;
  width: 38px;
  min-width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  font-weight: 900;
}

.calc-card-head h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.calc-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.calc-help-box {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(246, 196, 0, 0.13), rgba(255, 255, 255, 0.86));
  padding: 16px;
}

.calc-help-box strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.calc-help-box div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.calc-help-box span {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  padding: 6px 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Dymek/opis przy wyborze projektu */
.design-field {
  position: relative;
}

.field-hint {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.field-hint:empty {
  display: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0;
}

.checkbox-row label,
.rodo,
fieldset label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.price-result {
  position: sticky;
  top: 96px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-color: #111;
  background:
    linear-gradient(135deg, rgba(246, 196, 0, 0.16), transparent 34%),
    var(--dark);
  color: #fff;
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.18);
}

.price-result::before {
  content: "";
  display: block;
  height: 5px;
  margin: -24px -24px 22px;
  background: var(--accent);
}

.price-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.price-result-head small {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.result-label {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price-result > strong {
  display: block;
  margin: 6px 0 24px;
  font-size: clamp(2.65rem, 4.7vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

.price-result dl {
  display: grid;
  gap: 0;
  margin: 0 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
}

.price-result dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.price-result dl div:last-child {
  border-bottom: 0;
}

.price-result dt {
  color: rgba(255, 255, 255, 0.66);
}

.price-result dd {
  margin: 0;
  font-weight: 800;
}

.price-result p {
  color: rgba(255, 255, 255, 0.7);
}

.shipping-note {
  margin: 0 0 14px;
  font-size: 0.82rem;
}

.ship-progress {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff8d6;
  border: 1px solid var(--accent, #f6c400);
  font-size: 0.9rem;
  font-weight: 700;
  color: #1c1c1c !important;
}

.ship-progress strong {
  color: #8a6d00 !important;
}

.ship-progress.is-free {
  background: #e7f7ea;
  border-color: #2e9e57;
  color: #1f7a41 !important;
}

.ship-progress.is-free strong {
  color: #1f7a41 !important;
}

.discount-row dt,
.discount-row dd {
  color: #1f7a41 !important;
  font-weight: 800;
}

.shipping-note strong {
  color: var(--accent);
}

[data-delivery-row].is-free dt,
[data-delivery-row].is-free dd {
  color: var(--accent);
}

.next-steps-mini {
  margin: 18px 0 22px;
  border: 1px solid rgba(246, 196, 0, 0.26);
  border-radius: 16px;
  background: rgba(246, 196, 0, 0.08);
  padding: 14px;
}

.next-steps-mini span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.next-steps-mini ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.price-result .btn {
  width: 100%;
  margin-top: auto;
  border-color: var(--accent);
  background: var(--accent);
  color: var(--text);
}

.price-result .btn:hover {
  border-color: #fff;
  background: #fff;
}

/* Sekcja rodzajów banerów — szersza na desktopie, żeby 5 kart miało oddech */
#banery {
  width: min(1440px, calc(100% - 48px));
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mockup-grid-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  padding: 24px;
}

.badge-recommended {
  position: absolute;
  top: -13px;
  right: 20px;
  background: var(--dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(17,17,17,0.18);
}

.product-card span,
.offer-grid span,
.pricing-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--accent);
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 900;
}

.product-card ul,
.offer-grid ul,
.pricing-grid ul {
  display: grid;
  gap: 7px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.design-section {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1160px) / 2));
  padding-left: max(18px, calc((100vw - 1160px) / 2));
  background: linear-gradient(180deg, #fff 0%, #fff8d6 55%, #fff3a8 100%);
}

.design-section .section-heading p {
  color: rgba(17, 17, 17, 0.72);
}

.offer-grid,
.pricing-grid,
.steps-grid {
  display: grid;
  gap: 18px;
}

.three {
  grid-template-columns: repeat(3, 1fr);
}

.offer-grid article,
.pricing-grid article,
.industry-grid article {
  padding: 24px;
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 24px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: var(--radius);
  padding: 24px 28px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.08);
}

.callout-text {
  min-width: 0;
}

.callout strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.18rem;
}

.callout p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.callout .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .callout {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
  }

  .callout .btn {
    width: 100%;
  }
}

.pricing-grid {
  grid-template-columns: repeat(4, 1fr);
}

.pricing-grid article {
  position: relative;
}

.pricing-grid .featured,
.product-card.featured {
  position: relative;
  border: 2px solid var(--dark);
  transform: translateY(-8px);
}

/* Wyróżnienie sekcji pakietów */
.pricing-section {
  background:
    radial-gradient(circle at 50% -10%, rgba(246, 196, 0, 0.16), transparent 45%);
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pricing-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 32px;
  border: 1px solid rgba(246, 196, 0, 0.55);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(246, 196, 0, 0.18), rgba(255, 255, 255, 0.7));
  padding: 16px 22px;
}

.pricing-banner-icon {
  display: grid;
  place-items: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  font-size: 1.3rem;
}

.pricing-banner p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.45;
}

.steps-grid {
  grid-template-columns: repeat(4, 1fr);
  counter-reset: steps;
}

.steps-grid.steps-six {
  grid-template-columns: repeat(3, 1fr);
}

.steps-grid article {
  padding: 22px;
  border-top: 3px solid var(--dark);
}

.steps-grid span {
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: 900;
}

.centered {
  width: fit-content;
  margin: 26px auto 0;
}

.industry-grid article {
  box-shadow: none;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--dark);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tbody tr {
  transition: background 0.18s ease;
}

tbody tr:nth-child(even) {
  background: #faf9f5;
}

tbody tr:hover {
  background: rgba(246, 196, 0, 0.1);
}

tbody tr:last-child td {
  border-bottom: 0;
}

td:first-child {
  font-weight: 900;
}

/* Cena w tabeli — wyróżniona */
td:nth-child(4) {
  color: var(--text);
  font-weight: 900;
  white-space: nowrap;
}

/* Rekomendacja — chip */
td:last-child {
  color: var(--muted);
  font-weight: 700;
}

/* ===== Strona: Dziękujemy ===== */
.thankyou-section {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 240px);
}

.thankyou {
  max-width: 640px;
  margin: 0 auto;
  padding: 44px 32px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.thankyou-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  font-size: 2.4rem;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(246, 196, 0, 0.4);
}

.thankyou h1 {
  margin-bottom: 14px;
}

.thankyou p {
  max-width: 540px;
  margin: 0 auto 10px;
  color: var(--muted);
}

.thankyou .button-row {
  justify-content: center;
  margin-top: 26px;
  margin-bottom: 0;
}

@media (max-width: 680px) {
  .thankyou {
    padding: 32px 20px;
  }
  .thankyou-section {
    min-height: auto;
    padding: 30px 0 60px;
  }
}

/* ===== Opinie klientów (pełna szerokość, przewijane w bok) ===== */
.reviews-section {
  width: 100%;
  max-width: none;
  margin: 0;
}

.reviews-section .section-heading,
.reviews-section .reviews-cta {
  width: min(1160px, calc(100% - 36px));
  margin-left: auto;
  margin-right: auto;
}

.reviews-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding: 6px 24px 22px max(18px, calc((100vw - 1160px) / 2));
  cursor: grab;
  scrollbar-width: thin;
}

.reviews-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.reviews-track::-webkit-scrollbar {
  height: 8px;
}

.reviews-track::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.18);
  border-radius: 999px;
}

.reviews-track::-webkit-scrollbar-track {
  background: transparent;
}

.review-card {
  flex: 0 0 clamp(280px, 80vw, 360px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Podniesienie karty na hover (gdy nie przeciągamy) */
.reviews-track:not(.is-dragging) .review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(17, 17, 17, 0.12);
}

/* Płynne dociąganie kart przy przewijaniu dotykiem */
@media (hover: none) {
  .review-card:hover {
    transform: none;
  }
}

.review-stars {
  color: var(--accent);
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.review-card p {
  margin: 0;
  line-height: 1.55;
}

.review-author {
  margin-top: auto;
  font-weight: 800;
}

.review-author span {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted);
}

.reviews-cta {
  margin-top: 26px;
  text-align: center;
}

@media (max-width: 1050px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Blog: lista wpisów ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(17, 17, 17, 0.1);
}

.blog-card .tag {
  align-self: flex-start;
  border-radius: 999px;
  background: rgba(246, 196, 0, 0.18);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #6f5a00;
}

.blog-card h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.blog-card .text-link {
  margin-top: auto;
}

/* ===== Blog: pojedynczy artykuł ===== */
.article {
  max-width: 760px;
  margin: 0 auto;
}

.article-meta {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.article-cover {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 6px 0 24px;
}

.article figure {
  margin: 24px 0;
}

.article figure img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

.article figure figcaption {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--muted);
  text-align: center;
}

.article h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.article h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.article p,
.article li {
  color: #2a2a2a;
  font-size: 1.04rem;
  line-height: 1.7;
}

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

.article ul li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 24px;
}

.article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.article-cta {
  margin-top: 40px;
  padding: 26px;
  border: 2px solid var(--dark);
  border-radius: var(--radius);
  background: rgba(246, 196, 0, 0.1);
  text-align: center;
}

.article-cta strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.article-cta p {
  margin: 0 auto 16px;
  max-width: 520px;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: #8f7200;
}

@media (max-width: 1050px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Strona: Realizacje ===== */
.realization-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.realization-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.realization-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.realization-card .realization-body {
  flex: 1 1 auto;
}

.realization-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.realization-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.realization-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(246, 196, 0, 0.16);
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #6f5a00;
}

.realization-card h3 {
  margin: 2px 0 0;
  font-size: 1.15rem;
}

.realization-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.realization-cta {
  margin-top: 8px;
  text-align: center;
}

@media (max-width: 1050px) {
  .realization-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .realization-grid {
    grid-template-columns: 1fr;
  }
}

.mockup-grid-list article {
  min-height: 300px;
  position: relative;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mockup-grid-list article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.72));
  pointer-events: none;
}

.mockup-grid-list article.is-placeholder {
  background:
    linear-gradient(135deg, rgba(246, 196, 0, 0.78), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(17, 17, 17, 0.08) 24px 25px);
}

.mockup-grid-list article.is-placeholder::after {
  display: none;
}

.mockup-grid-list img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-grid-list div {
  position: relative;
  z-index: 1;
  width: fit-content;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  padding: 6px 10px;
  font-weight: 900;
}

.mockup-grid-list span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
}

.mockup-grid-list article.is-placeholder span {
  color: var(--text);
  text-shadow: none;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.04);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  animation: faq-open 0.22s ease;
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.contact-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.contact-section .section-heading {
  margin-bottom: 22px;
}

.contact-form {
  display: grid;
  gap: 14px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-form.is-prefilled {
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(246, 196, 0, 0.18), var(--shadow);
}

.prefill-message {
  display: none;
  margin: 0;
  border: 1px solid rgba(246, 196, 0, 0.45);
  border-radius: 16px;
  background: rgba(246, 196, 0, 0.14);
  padding: 14px 16px;
  color: var(--text);
  font-weight: 900;
}

.prefill-message.is-visible {
  display: block;
}

@keyframes field-flash {
  0% {
    background-color: #fff;
    border-color: var(--line);
    box-shadow: none;
  }
  15% {
    background-color: rgba(246, 196, 0, 0.75);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(246, 196, 0, 0.3);
  }
  45% {
    background-color: rgba(246, 196, 0, 0.75);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(246, 196, 0, 0.3);
  }
  100% {
    background-color: #fff;
    border-color: var(--line);
    box-shadow: none;
  }
}

.field-flash {
  animation: field-flash 1.9s ease;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

legend {
  padding: 0 8px;
  color: var(--text);
  font-weight: 900;
}

.file-field span {
  color: var(--muted);
  font-size: 0.88rem;
}

.form-message {
  display: none;
  margin: 0;
  border-radius: 14px;
  padding: 14px;
  font-weight: 800;
}

.form-message.is-success {
  display: block;
  background: var(--success);
}

.form-message.is-error {
  display: block;
  background: var(--error);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 0.9fr;
  align-items: start;
  gap: 22px 40px;
  padding: 36px clamp(18px, 4vw, 56px) 40px;
  border-top: 1px solid var(--line);
  background: #111;
  color: #fff;
}

.site-footer nav a,
.footer-links a {
  font-size: 0.9rem;
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav,
.site-footer address,
.footer-links {
  display: grid;
  align-content: start;
  gap: 7px;
  font-style: normal;
}

.footer-logo {
  display: block;
  width: min(200px, 100%);
  height: auto;
  margin-bottom: 10px;
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: flex;
    justify-self: end;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .main-nav.is-open {
    position: absolute;
    top: calc(100% + 6px);
    right: 12px;
    left: 12px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    padding: 18px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open a {
    padding: 13px;
  }

  .main-nav.is-open .nav-social {
    display: block;
    color: var(--accent, #f6c400);
    font-weight: 800;
  }

  .hero,
  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    gap: 28px;
  }

  .price-result {
    position: static;
    align-self: auto;
  }

  .trust-strip,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid,
  .industry-grid,
  .mockup-grid-list,
  .three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card.featured {
    transform: none;
  }

  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 86px;
  }

  [id] {
    scroll-margin-top: 112px;
  }

  .site-header {
    min-height: 76px;
    gap: 12px;
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: clamp(170px, 52vw, 210px);
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
    box-shadow: 0 4px 14px rgba(17, 17, 17, 0.08);
  }

  .section {
    width: min(100% - 32px, 1160px);
    padding: 46px 0;
  }

  .calc-section {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  /* ---- HERO MOBILE: pełnoekranowy, czysty układ blokowy ---- */
  .hero {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 0;
    padding: 36px 18px 40px;
    background-position: center;
  }

  .hero::before {
    background-image: url("assets/img/hero/hero-baner-mobile.jpg");
  }

  .hero::after {
    background: rgba(17, 17, 17, 0.82);
  }

  .hero-copy {
    max-width: 100%;
  }

  /* Ukryj mini-kalkulator w hero — sticky CTA na dole wystarczy */
  .quick-card {
    display: none;
  }

  /* Hero — uproszczony na mobile */
  .check-list {
    display: none;
  }

  .hero .microcopy {
    display: none;
  }

  /* Zostaw tylko główny przycisk CTA, ukryj secondary */
  .hero .btn-secondary {
    display: none;
  }

  /* Hero stats — mniejsze chipy w jednej linii */
  .hero-stats {
    gap: 8px;
    margin: 16px 0 18px;
  }

  .hero-stats span {
    min-height: 32px;
    padding: 6px 11px;
    font-size: 0.82rem;
  }

  h1 {
    margin-bottom: 16px;
    font-size: clamp(2.15rem, 10.8vw, 3.05rem);
    line-height: 1.03;
  }

  h2 {
    font-size: clamp(1.85rem, 8.8vw, 2.55rem);
    line-height: 1.04;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* 1 kolumna */
  .check-list,
  .form-grid,
  .steps-grid,
  .site-footer,
  .pricing-grid,
  .three {
    grid-template-columns: 1fr;
  }

  /* 2 kolumny — wystarczająco szerokie */
  .trust-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trust-strip.compact {
    width: 100%;
    padding: 12px 16px 102px !important;
    background: #fff;
  }

  .trust-strip article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 12px;
    align-items: start;
    padding: 14px 16px;
    border-radius: 16px;
    box-shadow: none;
  }

  .trust-strip article::before {
    content: "";
    grid-row: span 2;
    width: 9px;
    height: 9px;
    margin-top: 0.55em;
    border-radius: 50%;
    background: var(--accent);
  }

  .trust-strip strong {
    font-size: 0.98rem;
    line-height: 1.2;
  }

  .trust-strip span {
    margin-top: 0;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .product-grid,
  .industry-grid,
  .offer-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* Mockupy — 1 kolumna, niższa karta */
  .mockup-grid-list {
    grid-template-columns: 1fr;
  }

  .mockup-grid-list article {
    min-height: 200px;
  }

  /* Przyciski w kartach pakietów i projektów — pełna szerokość */
  .pricing-grid .btn,
  .product-card .text-link,
  .offer-grid .btn {
    width: 100%;
    justify-content: center;
  }

  .button-row .btn {
    width: 100%;
  }

  .button-row {
    gap: 10px;
    margin-bottom: 0;
  }

  .hero-lead {
    max-width: 34rem;
    margin-bottom: 6px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .calculator-card,
  .price-result,
  .contact-form {
    padding: 18px;
  }

  .price-result::before {
    margin: -18px -18px 18px;
  }

  /* Duża liczba ceny w kalkulatorze — mniejsza na mobile */
  .price-result > strong {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }

  .calc-card-head {
    gap: 12px;
  }

  .calc-points span {
    width: 100%;
  }

  .pricing-grid .featured,
  .product-card.featured {
    transform: none;
  }

  .product-card,
  .pricing-grid article,
  .offer-grid article,
  .industry-grid article {
    padding: 22px;
  }

  .product-card p,
  .pricing-grid p,
  .offer-grid p,
  .industry-grid p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .product-card ul,
  .pricing-grid ul,
  .offer-grid ul {
    gap: 8px;
    margin: 16px 0;
  }

  .product-card li,
  .pricing-grid li,
  .offer-grid li {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .product-card span,
  .offer-grid span,
  .pricing-grid span {
    margin-bottom: 16px;
    padding: 7px 12px;
    font-size: 0.86rem;
  }

  .badge-recommended {
    top: -12px;
    right: 18px;
  }

  .callout {
    width: calc(100% - 24px);
    margin: 20px auto 0;
    padding: 18px;
  }

  /* Sticky CTA nie zasłania treści na dole */
  .contact-section {
    padding-bottom: 120px;
  }

  .calc-section {
    padding-bottom: 108px;
  }

  .site-footer {
    padding-bottom: 120px;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 16px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 8px;
    min-height: 50px;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    padding: 5px;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 38px rgba(17, 17, 17, 0.24);
    backdrop-filter: blur(14px);
  }

  .mobile-sticky-cta a {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--dark);
    font-size: 0.98rem;
  }

  .mobile-sticky-cta a + a {
    background: var(--accent);
    color: var(--text);
  }
}

/* ===== Pasek promocyjny ===== */
.promo-strip {
  max-width: var(--maxw, 1180px);
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  background: #1c1c1c;
  color: #fff;
  border-radius: 14px;
  font-size: 0.95rem;
  text-align: center;
}
.promo-strip strong { color: var(--accent, #f6c400); }
.promo-strip .promo-sep { color: #6a6a6a; }

/* ===== Gwarancje ===== */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.guarantee-card {
  background: var(--card, #fff);
  border: 1px solid var(--line, #e8e8e2);
  border-radius: 16px;
  padding: 22px;
}
.guarantee-card .guarantee-ico { font-size: 1.8rem; line-height: 1; }
.guarantee-card h3 { margin: 12px 0 6px; font-size: 1.05rem; }
.guarantee-card p { margin: 0; color: var(--muted, #555); font-size: 0.92rem; line-height: 1.55; }

/* ===== O nas ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
  background: linear-gradient(135deg, #1c1c1c 0%, #3a3a3a 100%);
}
.about-photo img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #cfcfc8;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 20px;
}
.about-copy h2 { margin: 6px 0 14px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

@media (max-width: 900px) {
  .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { min-height: 260px; }
}
@media (max-width: 520px) {
  .guarantees-grid { grid-template-columns: 1fr; }
}
