:root {
  --bg: #050607;
  --bg-2: #0d1013;
  --panel: rgba(17, 20, 24, 0.78);
  --panel-strong: #101318;
  --text: #f8f4ed;
  --muted: #b9b0a5;
  --muted-2: #7e766d;
  --orange: #ff6a00;
  --orange-2: #ff8a1d;
  --red: #c61f1f;
  --gold: #f4ae1b;
  --line: rgba(255, 106, 0, 0.28);
  --white-line: rgba(255, 255, 255, 0.09);
  --shadow: 0 30px 80px rgba(0,0,0,.55);
  --radius: 28px;
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  background: var(--bg);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 78% 11%, rgba(255, 106, 0, .25), transparent 30%),
    radial-gradient(circle at 25% 20%, rgba(255, 138, 29, .13), transparent 28%),
    linear-gradient(180deg, #050607 0%, #0d0f12 45%, #060708 100%);
}
.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: .42;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
}
.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .4;
  background: repeating-radial-gradient(circle at 30% 10%, rgba(255,255,255,.05) 0 1px, transparent 1px 10px);
  mix-blend-mode: overlay;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: calc(var(--max) + 64px);
  margin: 0 auto;
  padding: 18px 28px;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(5,6,7,.92), rgba(5,6,7,.55));
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand img { width: 164px; height: auto; filter: drop-shadow(0 10px 30px rgba(255,106,0,.12)); }
.nav { display: flex; gap: 28px; align-items: center; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #d5cec4; }
.nav a { position: relative; opacity: .86; }
.nav a:hover { color: white; opacity: 1; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: .22s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.lang {
  color: #fff;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 900;
  font-size: 12px;
}
.lang.active { background: var(--orange); border-color: var(--orange); color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 950;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 18px 42px rgba(255, 106, 0, .25);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn::after { content: "→"; font-size: 20px; line-height: 0; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 25px 60px rgba(255, 106, 0, .34); }
.btn-small { padding: 11px 18px; font-size: 13px; }
.btn-ghost {
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.section-pad { max-width: var(--max); margin: 0 auto; padding: 88px 28px; }
.section-pad.slim { padding-top: 56px; padding-bottom: 56px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  align-items: center;
  min-height: calc(100vh - 82px);
  gap: 28px;
  padding-top: 62px;
}
.eyebrow {
  margin: 0 0 12px;
  font-weight: 950;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 13px;
}
h1, h2, h3 { margin: 0; line-height: .96; }
h1, h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .025em;
}
h1 {
  font-size: clamp(58px, 9vw, 118px);
  max-width: 720px;
  text-shadow: 0 6px 0 rgba(255,255,255,.035);
}
h1::first-line, .orange-text { color: #fff; }
.lead {
  max-width: 550px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  margin: 28px 0 30px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
  max-width: 620px;
}
.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  background: rgba(255,255,255,.035);
}
.hero-stats strong { display: block; font-family: var(--display); color: var(--orange); font-size: 36px; line-height: 1; }
.hero-stats span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}
.hero-machine {
  position: relative;
  z-index: 2;
  width: min(100%, 650px);
  filter: drop-shadow(0 42px 55px rgba(0,0,0,.78));
}
.machine-glow {
  position: absolute;
  z-index: 1;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,0,.38), rgba(255,106,0,.12) 36%, transparent 67%);
  filter: blur(16px);
}
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 8%; right: 2%; bottom: 38px;
  height: 130px;
  background: radial-gradient(ellipse, rgba(255,106,0,.32), transparent 64%);
  filter: blur(22px);
}
.floating-badge {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255,106,0,.55);
  background: rgba(10,12,14,.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 950;
  color: white;
}
.badge-1 { left: 4%; top: 17%; }
.badge-2 { right: 2%; bottom: 22%; }

.intro-card, .cta-card, .calc-shell, .machine-card, .benefits-row article, .location-grid div {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)),
    rgba(12,14,17,.84);
  box-shadow: var(--shadow);
}
.intro-card {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) 1fr;
  gap: 34px;
  border-radius: var(--radius);
  padding: 26px;
  overflow: hidden;
}
.food-shot {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(255,106,0,.7);
  min-height: 380px;
}
.food-shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.intro-copy { align-self: center; padding: 18px; }
.intro-copy h2, .section-head h2, .locations h2, .cta h2 { font-size: clamp(42px, 5vw, 72px); }
.intro-copy p:not(.eyebrow), .section-head p:not(.eyebrow), .locations-copy p, .cta-card p { color: var(--muted); line-height: 1.7; font-size: 16px; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 24px 0 0; list-style: none; color: #e8dfd4; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before { content: "✓"; color: var(--orange); font-weight: 900; }

.section-head { text-align: center; max-width: 790px; margin: 0 auto 42px; }
.section-head h2 { margin-bottom: 20px; }
.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.machine-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: 22px;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.machine-card:hover { transform: translateY(-8px); border-color: rgba(255,106,0,.72); box-shadow: 0 34px 90px rgba(255,106,0,.12), var(--shadow); }
.machine-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, var(--accentGlow), transparent 42%);
  opacity: .42;
}
.machine-img-wrap {
  height: 330px;
  display: grid;
  place-items: end center;
  position: relative;
  z-index: 1;
  margin: -10px -10px 10px;
}
.machine-img-wrap img { max-height: 330px; object-fit: contain; filter: drop-shadow(0 25px 28px rgba(0,0,0,.62)); }
.machine-card h3 { position: relative; z-index: 1; font-family: var(--display); font-size: 35px; text-transform: uppercase; letter-spacing: .04em; }
.machine-card p { position: relative; z-index: 1; color: var(--muted); line-height: 1.55; margin: 14px 0 16px; }
.machine-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.machine-tags span { padding: 8px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: #f2e9df; font-size: 12px; font-weight: 800; }
.machine-card .btn { position: relative; z-index: 1; margin-top: auto; width: fit-content; padding: 12px 18px; font-size: 13px; }

.benefits-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.benefits-row article { border-radius: 24px; padding: 24px; }
.benefit-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255,106,0,.12); color: var(--orange); font-size: 26px; margin-bottom: 18px; }
.benefits-row h3 { font-size: 18px; margin-bottom: 10px; }
.benefits-row p { color: var(--muted); line-height: 1.5; margin: 0; }

.calculator { position: relative; }
.calc-shell {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 24px;
  border-radius: var(--radius);
  padding: 24px;
}
.calc-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.calc-form label { display: grid; gap: 8px; color: #f7efe4; font-size: 13px; font-weight: 800; }
.calc-form input, .lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  color: #fff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  padding: 14px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.calc-form input:focus, .lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  border-color: rgba(255,106,0,.76);
  box-shadow: 0 0 0 4px rgba(255,106,0,.12);
  background: rgba(255,255,255,.09);
}
.calc-btn { grid-column: 1 / -1; width: 100%; margin-top: 6px; }
.calc-results {
  display: grid;
  gap: 16px;
  align-content: start;
}
.result-main {
  border-radius: 24px;
  padding: 26px;
  min-height: 180px;
  display: grid;
  align-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(255,106,0,.22), rgba(255,255,255,.04));
  border: 1px solid rgba(255,106,0,.42);
}
.result-main span, .result-main small { color: #f5d6bf; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.result-main strong { display: block; font-family: var(--display); font-size: clamp(54px, 6vw, 86px); color: #fff; line-height: .95; }
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.result-grid div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
}
.result-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; margin-bottom: 7px; }
.result-grid strong { font-size: 22px; }
.calc-note { margin: 0; color: var(--muted-2); font-size: 12px; line-height: 1.6; }

.locations {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 34px;
  align-items: center;
}
.location-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.location-grid div { border-radius: 20px; padding: 24px; color: #f7efe4; font-weight: 900; display: flex; align-items: center; gap: 12px; min-height: 82px; }
.cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 36px;
  border-radius: 34px;
  padding: clamp(26px, 5vw, 56px);
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 20%, rgba(255,106,0,.22), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(255,106,0,.18), transparent 34%);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.lead-form { display: grid; gap: 12px; }
.lead-form select { color: #fff; }
.lead-form option { color: #111; }
.form-note { margin: 0; color: var(--muted-2); font-size: 12px; }
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 38px 28px 52px;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
}
.footer-brand img { width: 150px; }
.footer p { margin: 0; line-height: 1.5; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; color: #fff; font-weight: 800; }
.footer-contact a:hover { color: var(--orange); }

.reveal { opacity: 0; transform: translateY(18px); animation: show .75s ease forwards; }
.delay-1 { animation-delay: .15s; }
@keyframes show { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1020px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 54px; }
  .hero-visual { min-height: 500px; order: -1; }
  .hero-machine { width: min(100%, 560px); }
  .intro-card, .calc-shell, .locations, .cta-card { grid-template-columns: 1fr; }
  .machine-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .benefits-row { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .topbar { padding: 14px 16px; gap: 12px; }
  .brand img { width: 132px; }
  .btn-small { display: none; }
  .section-pad { padding-left: 18px; padding-right: 18px; }
  h1 { font-size: clamp(48px, 16vw, 72px); }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-visual { min-height: 390px; }
  .floating-badge { display: none; }
  .intro-card { padding: 16px; }
  .food-shot { min-height: 280px; }
  .calc-form, .result-grid, .location-grid, .benefits-row { grid-template-columns: 1fr; }
  .machine-card { min-height: auto; }
  .machine-img-wrap { height: 280px; }
  .machine-img-wrap img { max-height: 280px; }
}

/* Oferta — paginacja po dodaniu więcej niż 9 maszyn */
.offer-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.offer-pagination[hidden] { display: none !important; }
.page-numbers { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.page-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 0, .35);
  background: rgba(255,255,255,.055);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
  transition: .2s ease;
}
.page-btn:hover:not(:disabled), .page-btn.active {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-color: transparent;
  box-shadow: 0 15px 35px rgba(255,106,0,.24);
}
.page-btn:disabled { opacity: .38; cursor: not-allowed; }
.page-arrow { width: auto; }

/* Linki i informacje o prywatności */
.text-link, .footer-privacy {
  border: 0;
  background: transparent;
  color: var(--orange-2);
  cursor: pointer;
  padding: 0;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(255, 138, 29, .45);
  text-underline-offset: 3px;
}
.text-link:hover, .footer-privacy:hover { color: #fff; }
.privacy-form-note {
  margin: 2px 0 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.footer-privacy {
  width: fit-content;
  color: var(--muted);
  text-align: left;
}

/* Baner prywatności */
.privacy-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255,106,0,.42);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18,20,24,.96), rgba(8,9,11,.96));
  box-shadow: 0 24px 80px rgba(0,0,0,.62), 0 0 0 1px rgba(255,255,255,.04) inset;
  backdrop-filter: blur(18px);
}
.privacy-banner[hidden] { display: none !important; }
.privacy-banner__content strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 16px;
}
.privacy-banner__content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}
.privacy-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.privacy-banner .btn {
  padding: 11px 16px;
  font-size: 13px;
  box-shadow: none;
}
.privacy-banner .btn::after { display: none; }
.privacy-decline { color: #ddd; }

/* Modal polityki prywatności */
body.privacy-open { overflow: hidden; }
.privacy-modal[hidden] { display: none !important; }
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
}
.privacy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
}
.privacy-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(82vh, 820px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid rgba(255,106,0,.4);
  background: linear-gradient(180deg, rgba(18,20,24,.98), rgba(8,9,11,.98));
  box-shadow: 0 34px 120px rgba(0,0,0,.72);
  padding: clamp(22px, 4vw, 44px);
}
.privacy-modal__close {
  position: sticky;
  float: right;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}
.privacy-modal__close:hover { background: var(--orange); }
.privacy-modal h2 {
  margin: 0 0 20px;
  padding-right: 52px;
  font-size: clamp(34px, 5vw, 58px);
  color: #fff;
}
.privacy-modal__body {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}
.privacy-modal__body h3 {
  color: #fff;
  margin: 24px 0 8px;
  font-size: 19px;
}
.privacy-modal__body p { margin: 0 0 12px; }
.privacy-modal__body ul { margin: 0 0 14px 18px; padding: 0; }
.privacy-modal__body a { color: var(--orange-2); font-weight: 900; }

@media (max-width: 1020px) {
  .privacy-banner { grid-template-columns: 1fr; }
  .privacy-banner__actions { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .privacy-banner { left: 12px; right: 12px; bottom: 12px; border-radius: 20px; }
  .privacy-banner__actions { display: grid; grid-template-columns: 1fr; }
  .privacy-banner .btn { width: 100%; }
  .page-arrow { width: 100%; }
  .privacy-modal { padding: 12px; }
  .privacy-modal__dialog { border-radius: 22px; max-height: 88vh; }
}
