:root {
  --bg: #050816;
  --bg-alt: #070b1f;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.15);
  --accent-strong: #0ea5e9;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --danger: #f97373;
  --card: rgba(15, 23, 42, 0.8);
  --border: rgba(148, 163, 184, 0.25);
  --radius-lg: 22px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.55);
  --nav-height: 74px;
  --transition-fast: 0.18s ease-out;
  --transition: 0.25s ease;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 30%, #000 100%);
  color: var(--text);
}

body {
  overflow-x: hidden;
}

/* Pływające tło */
body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.6;
  mix-blend-mode: screen;
}

body::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 60%);
  top: -60px;
  left: -40px;
  animation: float1 22s infinite alternate ease-in-out;
}

body::after {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 65%);
  bottom: -120px;
  right: -80px;
  animation: float2 26s infinite alternate ease-in-out;
}

@keyframes float1 {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(40px,60px,0); }
}

@keyframes float2 {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-40px,-40px,0); }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout */

.page {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* NAV */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.7), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.nav-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent-strong), #0369a1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.5), var(--shadow-soft);
  font-size: 0.9rem;
}

.logo-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  color: var(--muted);
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.nav-phone {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8);
}

.nav-phone i {
  color: var(--accent);
  font-size: 0.9rem;
}

.btn-nav {
  border-radius: 999px;
  padding: 8px 14px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  background: radial-gradient(circle at 0% 0%, var(--accent-strong), #0f172a);
  color: #e5f4ff;
  box-shadow: 0 14px 35px rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(56, 189, 248, 0.6);
}

.btn-nav i {
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
}

.nav-toggle i {
  font-size: 1rem;
}

@media (max-width: 880px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
  }
  .nav-mobile {
    position: fixed;
    inset: var(--nav-height) 12px auto 12px;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    padding: 14px;
    display: none;
    flex-direction: column;
    gap: 12px;
  }
  .nav-mobile.active {
    display: flex;
  }
  .nav-mobile a {
    padding: 8px 4px;
    border-radius: 999px;
    color: var(--muted);
  }
  .nav-mobile a:hover {
    background: rgba(15, 23, 42, 0.95);
    color: var(--text);
  }
  .nav-mobile .btn-nav {
    width: 100%;
    justify-content: center;
  }
}

/* HERO */

.hero {
  padding: 40px 0 70px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

@media (max-width: 880px) {
  .hero {
    padding: 24px 0 56px;
  }
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 4px 10px 4px 4px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.5);
  margin-bottom: 12px;
}

.pill-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, var(--accent-strong), #0f172a);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 1);
}

.pill span {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw + 1.5rem, 3.1rem);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.hero-title span {
  background: linear-gradient(120deg, #e5f4ff, var(--accent-strong));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 520px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-badge {
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: var(--muted);
}

.hero-badge i {
  margin-right: 6px;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.btn {
  border-radius: 999px;
  padding: 11px 18px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.btn-primary {
  background: radial-gradient(circle at 0% 0%, var(--accent-strong), #0f172a);
  color: #e5f4ff;
  box-shadow: 0 18px 45px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(56, 189, 248, 0.8);
}

.btn-outline {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn-outline:hover {
  color: var(--text);
  border-color: var(--accent-strong);
  background: rgba(15, 23, 42, 0.9);
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-note strong {
  color: var(--accent);
  font-weight: 500;
}

.hero-right {
  position: relative;
}

.hero-card {
  position: relative;
  padding: 20px 18px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.35) 0, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.9) 0, transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.hero-card-title {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.hero-chip {
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.hero-chip i {
  color: var(--accent);
  font-size: 0.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

.hero-stat {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 0.75rem;
}

.hero-stat-label {
  color: var(--muted);
  margin-bottom: 4px;
}

.hero-stat-value {
  font-size: 1rem;
  font-weight: 600;
}

.hero-stat-value span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
}

.hero-list {
  font-size: 0.8rem;
  color: var(--muted);
  display: grid;
  gap: 4px;
  margin-top: 6px;
}

.hero-list i {
  color: var(--accent);
  margin-right: 6px;
  font-size: 0.78rem;
}

.hero-cta-bottom {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-cta-bottom a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.hero-avatar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-avatar-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.9);
}

.hero-avatar-info span {
  display: block;
  line-height: 1.1;
}

.hero-avatar-name {
  font-size: 0.8rem;
  font-weight: 500;
}

.hero-avatar-role {
  font-size: 0.7rem;
  color: var(--muted);
}

/* Sekcje */

section {
  padding: 60px 0;
  position: relative;
}

section:nth-of-type(even) {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), #020617);
}

.section-header {
  text-align: left;
  max-width: 640px;
  margin-bottom: 28px;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.section-title span {
  color: var(--accent-strong);
}

.section-lead {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* O FIRMIE / GRID */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Karty */

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 18px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(circle at top, rgba(56, 189, 248, 0.9), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 8px;
}

.card ul {
  margin: 6px 0 0 0;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.card ul li + li {
  margin-top: 3px;
}

.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.about-meta-item {
  font-size: 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.92);
  color: var(--muted);
}

.about-meta-item i {
  color: var(--accent);
}

/* Timeline */

.timeline {
  position: relative;
  padding-left: 20px;
  margin-top: 6px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 6px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.7;
}

.timeline-item {
  position: relative;
  padding-left: 16px;
  margin-bottom: 10px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent-strong), #020617);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 1);
}

.timeline-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2px;
}

.timeline-text {
  font-size: 0.86rem;
}

/* USŁUGI */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 880px) {
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.95));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
  transition: transform 0.22s ease-out, box-shadow 0.22s ease-out, border-color 0.22s ease-out;
}

.service-card:hover {
  transform: translateY(-4px) translateZ(0);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
  border-color: rgba(56, 189, 248, 0.6);
}

.service-emoji {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  font-size: 1rem;
  background: rgba(15, 23, 42, 0.94);
}

.service-title {
  font-size: 1rem;
  margin: 0 0 6px;
}

.service-desc {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.service-list {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  padding-left: 16px;
}

.service-list li + li {
  margin-top: 2px;
}

.service-tag {
  margin-top: 8px;
  font-size: 0.76rem;
  color: var(--accent-strong);
}

/* Badge row */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.badge-soft {
  border-radius: 999px;
  padding: 6px 11px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.96);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.badge-soft i {
  color: var(--accent);
}

/* KONTAKT */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

@media (max-width: 880px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-form {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.field-group {
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
}

.field-group label {
  color: var(--muted);
}

.field-group span {
  color: var(--danger);
  margin-left: 3px;
}

.field,
textarea {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  padding: 9px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.86rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

textarea {
  resize: vertical;
  min-height: 80px;
  border-radius: 16px;
}

.field:focus,
textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 1), 0 0 0 1px rgba(56, 189, 248, 0.7);
  background: rgba(15, 23, 42, 0.98);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 600px) {
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-note {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.5;
}

.contact-note a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* MAPA / PRAWY BOK */

.map-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  padding: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.map-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--text);
}

.map-block {
  border-radius: 16px;
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid rgba(15, 23, 42, 1);
  background: #020617;
}

.map-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--muted);
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.2), #020617);
}

.map-card dl {
  margin: 4px 0 0;
}

.map-card dt {
  font-weight: 500;
  color: var(--text);
  font-size: 0.84rem;
}

.map-card dd {
  margin: 0 0 6px;
  font-size: 0.8rem;
}

.map-card a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* STOPKA */

footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 14px 0 20px;
  font-size: 0.78rem;
  color: var(--muted);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), #020617);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--accent-strong);
}

/* Animacje wejścia */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
