* { box-sizing: border-box; }

:root {
  --bg: #0f172a;
  --bg-soft: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --white: #ffffff;
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --container: 1180px;
  --success-bg: #dcfce7;
  --success-text: #166534;
  --error-bg: #fee2e2;
  --error-text: #991b1b;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.topbar {
  background: #111827;
  color: rgba(255,255,255,.92);
  font-size: 14px;
}

.topbar-inner {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sep {
  margin: 0 10px;
  opacity: .4;
}

.topbar-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.hero {
  background:
    linear-gradient(135deg, rgba(15,23,42,.92), rgba(30,41,59,.88)),
    radial-gradient(circle at top right, rgba(234,88,12,.35), transparent 30%);
  color: #fff;
  padding: 80px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 36px;
  align-items: center;
}

/* LOGO */
.hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.hero-logo img {
  display: block;
  max-width: 120px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 10px;
}

.section-label.light {
  color: #fdba74;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  margin: 0 0 18px;
}

.lead {
  font-size: 18px;
  color: rgba(255,255,255,.86);
  max-width: 720px;
  margin-bottom: 26px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.badges span {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.hero-actions,
.cta-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-details {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  color: rgba(255,255,255,.86);
}

.hero-details li {
  margin-bottom: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 800;
  transition: .2s ease;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}

.btn-light {
  background: #fff;
  color: var(--text);
}

.hero-card,
.card,
.info-box,
.contact-box,
.map-box {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
}

.hero-card h2 {
  margin-top: 0;
  font-size: 28px;
  line-height: 1.15;
}

.premium-card {
  border: 1px solid rgba(234,88,12,.18);
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #ea580c, #fb923c);
}

.premium-badge {
  display: inline-flex;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fdba74;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.section {
  padding: 78px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-heading.left {
  text-align: left;
  margin: 0 0 24px;
}

.section h2,
.section h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 12px;
}

.grid.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.step span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffedd5;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 14px;
}

.two-col,
.contact-grid,
.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.ticks {
  margin: 0;
  padding-left: 20px;
}

.ticks li {
  margin-bottom: 10px;
  color: var(--muted);
}

.info-box,
.contact-box,
.map-box {
  padding: 28px;
  border: 1px solid var(--line);
}

.cta-band {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
}

.cta-band h2 {
  margin-top: 0;
}

.map-note {
  color: var(--muted);
  margin-top: 0;
}

/* FORMULARZ */
.premium-form-layout {
  align-items: start;
}

.premium-form-box {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-grid-fixed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.form-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.form-field label {
  display: block;
  height: 22px;
  margin: 0 0 8px 0;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
  line-height: 22px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  display: block;
  margin: 0;
  font: inherit;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.98);
  color: #0f172a;
  box-shadow: none;
  outline: none;
}

.form-field input {
  height: 56px;
  padding: 14px 16px;
}

.form-field textarea {
  min-height: 140px;
  padding: 14px 16px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #64748b;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #fdba74;
}

.form-field-full {
  width: 100%;
}

.form-bottom-row {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 18px;
  align-items: center;
}

.checkbox-group {
  display: block;
}

.checkbox-group label {
  display: inline;
  height: auto;
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}

.checkbox-group input {
  width: auto;
  height: auto;
  min-height: auto;
  margin-right: 8px;
  transform: translateY(1px);
}

.checkbox-group a {
  color: #fdba74;
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  min-height: 56px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-alert {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
}

.form-alert-success {
  background: var(--success-bg);
  color: var(--success-text);
}

.form-alert-error {
  background: var(--error-bg);
  color: var(--error-text);
}

/* STOPKA */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,.86);
  padding: 28px 0;
}

.footer a {
  color: rgba(255,255,255,.92);
}

.footer a:hover {
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 1100px) {
  .form-grid-fixed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .hero-grid,
  .grid.cards-4,
  .steps,
  .two-col,
  .contact-grid,
  .cta-band-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .form-bottom-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px 0;
  }

  .footer-inner,
  .hero-grid,
  .grid.cards-4,
  .steps,
  .two-col,
  .contact-grid,
  .cta-band-inner,
  .form-grid-fixed {
    grid-template-columns: 1fr;
  }

  .topbar-cta {
    width: 100%;
    text-align: center;
  }

  .hero-logo {
    padding: 6px 10px;
    border-radius: 16px;
  }

  .hero-logo img {
    max-width: 96px;
  }

  .hero {
    padding: 58px 0;
  }

  .section {
    padding: 58px 0;
  }

  .hero-card,
  .card,
  .step,
  .info-box,
  .contact-box,
  .map-box,
  .premium-form-box {
    padding: 22px;
  }

  .hero-actions,
  .cta-actions,
  .card-actions {
    flex-direction: column;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-light {
    width: 100%;
  }
}