:root {
  --yellow: #f2c230;
  --yellow-dark: #dca817;
  --brown: #6a3f28;
  --brown-dark: #53301f;
  --cream: #f8e6b5;
  --orange: #f2541b;
  --orange-dark: #da4410;
  --text-dark: #402517;
  --white: #ffffff;
  --line-warm: rgba(249, 214, 126, 0.75);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--yellow);
  color: var(--text-dark);
}
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--yellow);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.topbar-inner {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand-wordmark {
  color: var(--white);
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}
.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.nav a {
  color: #9a4c16;
  font-weight: 800;
  font-size: 0.93rem;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-top-cta,
.btn-hero-cta,
.btn-submit-warm {
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  padding: 0 28px;
  min-height: 48px;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(99, 36, 10, 0.18);
}
.btn-hero-cta { min-height: 64px; padding: 0 44px; font-size: 1.25rem; }
.btn-outline-warm {
  min-height: 56px;
  padding: 0 34px;
  border-radius: 999px;
  border: 3px solid var(--orange);
  color: var(--orange);
  background: transparent;
  text-transform: uppercase;
}

.hero-leibnizish {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-bg {
  background:
    linear-gradient(
      90deg,
      rgba(70, 56, 30, 0.28) 0%,
      rgba(70, 56, 30, 0.08) 45%,
      rgba(70, 56, 30, 0.05) 100%
    ),
    url("https://grupa-mokwa.pl/express.jpg") center / cover no-repeat;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.03) 50%,
    rgba(242,194,48,0.0) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 78px;
  padding-bottom: 170px;
}
.headline-stack {
  width: fit-content;
  margin-top: 12px;
}
.headline-strip {
  display: inline-block;
  width: fit-content;
  padding: 14px 22px;
  margin-bottom: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.headline-strip-red {
  background: #e9451a;
  color: #fff;
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  letter-spacing: -0.05em;
}
.headline-strip-yellow {
  background: #f6c22d;
  color: #5a300f;
  font-size: clamp(1.5rem, 2.8vw, 2.6rem);
  letter-spacing: -0.04em;
}
.headline-strip.small {
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
}
.rotate-a { transform: rotate(-6deg); transform-origin: left center; }
.rotate-b { transform: rotate(-6deg); margin-left: 86px; }
.rotate-c { transform: rotate(-6deg); margin-left: 206px; }

.hero-copy-wrap {
  margin-top: 78px;
  max-width: 580px;
}
.hero-copy-wrap h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.hero-copy-wrap p {
  margin: 18px 0 0;
  color: #fff8eb;
  font-size: 1.12rem;
  max-width: 540px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.hero-copy-wrap .btn-hero-cta { margin-top: 28px; }

.scallop-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 62px;
  background:
    radial-gradient(circle at 31px 0, var(--yellow) 31px, transparent 32px) repeat-x;
  background-size: 62px 62px;
  background-position: 0 0;
}

.yellow-stage {
  background: var(--yellow);
  padding: 44px 0 34px;
}
.logo-stage {
  text-align: center;
}
.big-wordmark {
  color: #fff7df;
  font-weight: 900;
  font-size: clamp(4.5rem, 10vw, 9rem);
  letter-spacing: -0.08em;
  line-height: 0.9;
  text-shadow: 0 5px 0 rgba(182, 132, 10, 0.08);
}
.steps-three {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-plain {
  text-align: center;
  padding: 10px 20px;
}
.step-num {
  display: block;
  margin-bottom: 10px;
  font-weight: 900;
  font-size: 2rem;
  color: #6b3f22;
}
.step-plain h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #6b3f22;
}
.step-plain p {
  margin: 12px 0 0;
  font-size: 1.02rem;
  color: #6b3f22;
}
.center-actions { margin-top: 30px; text-align: center; }
.micro-copy {
  max-width: 860px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: #6b3f22;
}

.form-brown-stage {
  background: var(--brown);
  padding: 48px 0 40px;
}
.form-container-narrow { max-width: 880px; }
.form-title-block h2 {
  margin: 0 0 22px;
  text-align: center;
  color: #f6cd69;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 900;
}
.contest-form {
  width: 100%;
}
.full-span { width: 100%; }
.two-cols-tight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block;
  margin-bottom: 8px;
  color: #f6d77e;
  font-size: 0.98rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-warm);
  background: rgba(255,255,255,0.04);
  color: #fff7e7;
  border-radius: 0;
  outline: none;
  font: inherit;
}

.form-field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-warm);
  background: #fff7e7;
  color: #2f231d;
  border-radius: 0;
  outline: none;
  font: inherit;
}

.form-field select option {
  background: #fff7e7;
  color: #2f231d;
}
.form-field textarea { min-height: 132px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #ffd878;
  box-shadow: 0 0 0 1px #ffd878 inset;
}
.char-counter {
  text-align: right;
  color: #f0c874;
  font-size: 0.85rem;
  margin-top: 4px;
}
.checkboxes {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #f1d282;
  font-size: 0.84rem;
  line-height: 1.5;
}
.checkbox input { margin-top: 4px; }
.checkbox a { text-decoration: underline; }
.form-message { margin-top: 14px; padding: 12px 14px; display: none; }
.form-message.error { display: block; background: rgba(255,0,0,0.12); color: #fff0f0; }
.form-message.success { display: block; background: rgba(64,171,90,0.18); color: #f1ffe6; }
.centered-submit {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.btn-submit-warm {
  min-height: 62px;
  padding: 0 44px;
  font-size: 1.15rem;
}
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; }

.footer-yellow-band {
  background: var(--yellow);
  padding: 34px 0 46px;
}
.footer-band-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.small-footer-logo {
  font-size: clamp(3rem, 7vw, 5rem);
}
.copyright {
  margin: 18px 0 0;
  color: #8f6520;
  font-size: 0.9rem;
}
.footer-links-card {
  min-width: 320px;
  padding: 28px 34px;
  border-radius: 34px 0 0 34px;
  background: rgba(255,255,255,0.22);
  display: grid;
  gap: 16px;
  justify-items: end;
  color: #8d5c1f;
  font-size: 1.02rem;
}
.footer-links-card a { font-weight: 700; }

.legal-page,
.thankyou-page {
  background: #fff7ea;
  min-height: 70vh;
}
.legal-content,
.cta-section { padding: 40px 0; }
.legal-box-large,
.cta-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.section-label {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffe5a0;
  color: #8a5c13;
  font-weight: 800;
}
.section-title { margin: 16px 0 0; color: #5f351e; }

@media (max-width: 1024px) {
  .topbar-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 14px 0;
  }
  .hero-inner { padding-top: 50px; padding-bottom: 130px; }
  .steps-three,
  .footer-band-grid,
  .two-cols-tight { grid-template-columns: 1fr; }
  .footer-links-card { justify-items: start; min-width: auto; border-radius: 24px; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 20px), var(--container)); }
  .nav { gap: 10px 14px; }
  .nav a { font-size: 0.82rem; }
  .headline-strip { padding: 10px 14px; }
  .rotate-b { margin-left: 28px; }
  .rotate-c { margin-left: 14px; }
  .hero-copy-wrap { margin-top: 42px; }
  .hero-copy-wrap p { font-size: 1rem; }
  .big-wordmark { font-size: 3.5rem; }
  .step-plain { padding: 0; }
  .btn-top-cta,
  .btn-hero-cta,
  .btn-submit-warm,
  .btn-outline-warm { width: 100%; }
}
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
}

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(47, 35, 29, 0.96);
  color: #fff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__content p {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.88);
}

.cookie-banner__content a {
  color: #ffd7a6;
  text-decoration: underline;
}

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

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.cookie-modal__box {
  width: min(680px, 100%);
  background: #fff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

.cookie-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.cookie-option:first-of-type {
  margin-top: 18px;
}

.cookie-modal__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

@media (max-width: 720px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__actions,
  .cookie-modal__actions {
    width: 100%;
    flex-direction: column;
  }
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none !important;
}

.cookies-modal-open {
  overflow: hidden;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
}

.cookie-banner__inner {
  max-width: 1120px;
  margin: 0 auto;
  background: linear-gradient(135deg, #5d311a, #7a4321 55%, #8a4f21);
  color: #fff7ec;
  border-radius: 30px;
  padding: 24px 24px 22px;
  box-shadow: 0 24px 60px rgba(76, 43, 20, 0.35);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  position: relative;
  border: 1px solid rgba(255,255,255,0.12);
}

.cookie-kicker {
  display: inline-block;
  background: rgba(255, 214, 105, 0.18);
  color: #ffd767;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

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

.cookie-banner__content p {
  margin: 0;
  color: rgba(255,247,236,0.9);
  max-width: 760px;
}

.cookie-banner__content a {
  color: #ffe39b;
  text-decoration: underline;
}

.cookie-banner__actions,
.cookie-modal__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  font-family: inherit;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn--primary {
  background: linear-gradient(180deg, #ffd84f, #f4bf27);
  color: #5c3406;
  box-shadow: 0 10px 24px rgba(255, 216, 79, 0.25);
}
.cookie-btn--light {
  background: #fff7ec;
  color: #6a3a13;
}
.cookie-btn--ghost {
  background: rgba(255,255,255,0.12);
  color: #fff8ef;
  border: 1px solid rgba(255,255,255,0.18);
}

.cookie-icon-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
}
.cookie-icon-btn:hover { background: rgba(255,255,255,0.2); }

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(52, 28, 15, 0.58);
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.cookie-modal__box {
  width: min(740px, 100%);
  background: linear-gradient(180deg, #fff7ea, #ffffff);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 30px 90px rgba(42, 22, 10, 0.28);
  position: relative;
}
.cookie-modal__close {
  background: rgba(95,53,30,0.08);
  color: #6a3a13;
}
.cookie-modal__lead {
  margin: 0 0 18px;
  color: #7a5b46;
}
.cookie-option {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid rgba(95,53,30,0.08);
}
.cookie-option input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: #b56a22;
}
.cookie-option--locked {
  opacity: 0.95;
}
.cookie-option span { color: #6f5648; }
.cookie-option strong { color: #5f351e; }

@media (max-width: 900px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }
}

@media (max-width: 720px) {
  .cookie-banner,
  .cookie-modal {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .cookie-banner__actions,
  .cookie-modal__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-btn { width: 100%; }
  .cookie-modal__box { padding: 22px; }
}
