:root {
  --blue: #007BFF;
  --dark: #111827;
  --green: #22C55E;
  --light: #F8FAFC;
  --muted: #64748B;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.topbar { background: var(--dark); color: white; font-size: 14px; padding: 8px 0; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { font-weight: 900; color: white; }
.nav { background: white; border-bottom: 1px solid #E5E7EB; position: sticky; top: 0; z-index: 10; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 18px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 28px; letter-spacing: -1px; }
.logo img { width: 44px; height: 44px; }
.logo span { color: var(--blue); }
.menu { display: flex; gap: 18px; font-weight: 700; color: #334155; font-size: 15px; }
.cta { background: var(--blue); color: white; padding: 12px 18px; border-radius: 999px; font-weight: 900; box-shadow: 0 8px 24px rgba(0,123,255,.25); white-space: nowrap; }
.hero {
  background: radial-gradient(circle at top right, rgba(0,123,255,.20), transparent 35%), linear-gradient(135deg, var(--dark), #0f172a 65%, #062a4f);
  color: white;
  padding: 84px 0;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.badge, .section-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--green);
  font-weight: 900;
  letter-spacing: .03em;
}
.badge {
  background: rgba(34,197,94,.14);
  color: #BBF7D0;
  border: 1px solid rgba(34,197,94,.35);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
}
h1 { font-size: clamp(36px, 5.8vw, 66px); line-height: 1.05; margin: 22px 0; letter-spacing: -2px; }
.hero p { font-size: 20px; color: #CBD5E1; max-width: 680px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 14px; font-weight: 900; border: 0; cursor: pointer; font: inherit; }
.btn-primary { background: var(--green); color: #052e16; }
.btn-secondary { background: rgba(255,255,255,.10); color: white; border: 1px solid rgba(255,255,255,.18); }
.hero-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 28px; padding: 18px; backdrop-filter: blur(10px); overflow: visible; }
.hero-card img, .hero-logo-img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; border-radius: 18px; background: transparent; }
.section { padding: 72px 0; }
.section h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; margin: 10px 0 14px; letter-spacing: -1px; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 760px; margin-bottom: 34px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card, .faq-item { background: white; border: 1px solid #E5E7EB; border-radius: 22px; padding: 24px; box-shadow: 0 14px 40px rgba(15, 23, 42, .06); }
.card .icon { width: 46px; height: 46px; border-radius: 14px; background: #EFF6FF; display: grid; place-items: center; color: var(--blue); font-weight: 900; margin-bottom: 14px; }
.card h3, .faq-item h3 { margin: 0 0 8px; font-size: 22px; }
.card p, .faq-item p { color: var(--muted); margin: 0; }
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.price-row { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid #E5E7EB; align-items: center; }
.price-row:last-child { border-bottom: 0; }
.price { font-weight: 900; color: var(--blue); white-space: nowrap; }
.pricing-note { color: var(--muted); font-size: 17px; margin-top: 26px; }
.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: white; border-radius: 20px; padding: 22px; border: 1px solid #E5E7EB; }
.step:before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; background: var(--dark); color: white; border-radius: 999px; font-weight: 900; margin-bottom: 14px; }
.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact { background: var(--dark); color: white; border-radius: 32px; padding: 42px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact p { color: #CBD5E1; }
.contact a { color: white; font-weight: 900; }
.form { display: grid; gap: 12px; }
input, textarea { width: 100%; border: 1px solid #334155; background: #0f172a; color: white; border-radius: 14px; padding: 14px; font: inherit; }
textarea { min-height: 120px; resize: vertical; }
.footer { padding: 28px 0; color: #64748B; text-align: center; }
.footer a { color: var(--blue); font-weight: 900; }
@media (max-width: 980px) {
  .menu { display: none; }
  .nav .cta { display: none; }
}
@media (max-width: 860px) {
  .hero-grid, .contact { grid-template-columns: 1fr; }
  .cards, .pricing, .process, .faq-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .price-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .price { white-space: normal; }
}


/* ------------------------------------------------------------------
   Subtelne animacje kafelkow
   - hover: uslugi, proces, realizacje, opinie i FAQ
   - auto-pulse: uslugi, proces i realizacje (sterowane przez script.js)
   ------------------------------------------------------------------ */
.card,
.step,
.faq-item {
  position: relative;
  transform-origin: center;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover,
  .step:hover,
  .faq-item:hover {
    transform: scale(1.052);
    border-color: rgba(0, 123, 255, .22);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .10);
    z-index: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .step,
  .faq-item {
    transition: none;
  }

  .tile-pulse-active {
    animation: none;
  }
}

.rounded-svg {
    border-radius: 16px; /* wartość zaokrąglenia */
    overflow: hidden;    /* przycina zawartość do zaokrąglonych rogów */
  }


/* animacja logo */
.hero-card-outbound {
  /* Kontener dopasowuje się do ekranu lub rodzica */
  width: 100%; 
  max-width: 600px; /* Opcjonalnie: maksymalna szerokość, żeby karta nie była za wielka na monitorach ultra-wide */
  height: auto; 
  aspect-ratio: 456 / 212; /* Utrzymuje oryginalne proporcje karty */
}

.hero-card {
  /* Karta zajmuje całą dostępną przestrzeń kontenera */
  width: 100%;
  height: 100%;
  animation: rjlan-core-pulse 1s ease-in-out infinite;
}

@keyframes rjlan-core-pulse {
  /* Skalowanie zamiast sztywnych pikseli – działa idealnie na każdym ekranie */
  0%, 100% {
    transform: scale(0.99);
  }
  50% {
    transform: scale(1.01);
  }
}