:root {
  --bg: #0c0c0c;
  --fg: #f5f5f5;
  --muted: #b5b5b5;
  --card: #111;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #fff;
  --font-sans: "Space Grotesk", "Manrope", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

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

.grid-bg {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at 50% 20%, rgba(0, 0, 0, 0.55), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.halo {
  position: absolute;
  pointer-events: none;
  filter: blur(44px);
  opacity: 0.75;
  mix-blend-mode: screen;
  z-index: 0;
}

.halo-hero-1 {
  width: 360px;
  height: 360px;
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
}

.halo-hero-2 {
  width: 280px;
  height: 280px;
  bottom: 80px;
  right: 10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.halo-oferta {
  width: 320px;
  height: 320px;
  top: -30px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

.halo-zakres {
  width: 280px;
  height: 280px;
  bottom: -60px;
  left: -100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
}

.halo-model {
  width: 320px;
  height: 320px;
  top: -70px;
  left: 55%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.halo-bio {
  width: 300px;
  height: 300px;
  top: -40px;
  right: -80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}

.section {
  position: relative;
  padding: 96px clamp(20px, 5vw, 72px);
  max-width: 1240px;
  margin: 0 auto;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(80% 80% at 20% 20%, rgba(255, 255, 255, 0.08), transparent 50%),
    radial-gradient(60% 60% at 80% 10%, rgba(255, 255, 255, 0.06), transparent 40%),
    #000;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
  gap: clamp(24px, 5vw, 46px);
  align-items: center;
  position: relative;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px clamp(20px, 5vw, 72px) 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--fg);
  color: #000;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.ghost {
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--fg);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ghost:hover {
  border-color: var(--fg);
  color: #fff;
}

.hero-content {
  max-width: 880px;
  padding: 0 clamp(20px, 5vw, 72px) 120px;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  justify-self: end;
}

.hero-portrait {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-ornament {
  position: absolute;
  inset: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-caption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.15;
}

h1 {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 700;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
}

h3 {
  font-size: 22px;
}

.lede {
  font-size: 18px;
  color: #e3e3e3;
  max-width: 720px;
  margin-bottom: 32px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.micro {
  font-size: 13px;
  color: var(--muted);
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  color: var(--muted);
}

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.copy-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.copy-block h3 {
  margin: 0;
}

.copy-block p {
  margin: 0;
  color: #e0e0e0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -40%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 45%);
  transform: translate3d(0, 0, 0);
}

.card-head {
  position: relative;
  z-index: 1;
}

.tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.card p,
.card ul {
  position: relative;
  z-index: 1;
  margin: 0;
}

.card ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  color: #d7d7d7;
}

.card li {
  display: flex;
  gap: 8px;
}

.card li::before {
  content: "-";
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: start;
}

.list-block {
  display: grid;
  gap: 18px;
}

.list-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06);
}

.metrics {
  background: #0a0a0a;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.metric-value {
  display: block;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.testimonials {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.testimony-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.testimony {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #0f0f0f;
  color: #eaeaea;
  position: relative;
}

.testimony::before {
  content: "“";
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 38px;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.author {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.cta {
  padding: 80px clamp(20px, 5vw, 72px);
}

.cta-inner {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 36px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: center;
  background: radial-gradient(120% 120% at 100% 0%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)) #0c0c0c;
}

.cta-form {
  display: grid;
  gap: 12px;
}

.cta-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #e8e8e8;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0d0d0d;
  color: var(--fg);
  font-family: var(--font-sans);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

textarea {
  resize: vertical;
}

.footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px clamp(20px, 5vw, 72px) 60px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero {
    min-height: unset;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-content {
    padding: 0 clamp(20px, 5vw, 72px);
  }

  .hero-visual {
    justify-self: start;
    max-width: 360px;
  }
}

@media (max-width: 720px) {
  .hero-content {
    padding: 0 clamp(20px, 6vw, 48px);
  }

  .hero-visual {
    max-width: 300px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .halo {
    filter: blur(36px);
  }

  .halo-hero-1,
  .halo-hero-2,
  .halo-oferta,
  .halo-zakres,
  .halo-model,
  .halo-bio {
    width: 220px;
    height: 220px;
  }
}
