:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef3fb;
  --ink: #08142d;
  --ink-2: #142544;
  --muted: #5e6b84;
  --line: #dce5f3;
  --blue: #1760f0;
  --blue-2: #0d42b8;
  --night: #071126;
  --night-2: #0b1734;
  --glow: rgba(41, 111, 255, .28);
  --shadow: 0 28px 90px rgba(7, 17, 38, .15);
  --radius-lg: 38px;
  --radius-md: 28px;
  --radius-sm: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 98px 0; }
.section.compact { padding-top: 48px; padding-bottom: 72px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 229, 243, .95);
  background: rgba(246, 248, 252, .88);
  backdrop-filter: blur(18px);
}
.topbar-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-link img { width: auto; height: 58px; object-fit: contain; }
.desktop-nav, .desktop-actions, .footer-nav { display: flex; align-items: center; }
.desktop-nav { gap: 28px; }
.desktop-nav a, .footer-nav a, .mail-link {
  color: var(--muted);
  font-weight: 800;
  transition: color .2s ease;
}
.desktop-nav a:hover, .footer-nav a:hover, .mail-link:hover { color: var(--ink); }
.desktop-actions { gap: 18px; }

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.mobile-toggle span { width: 20px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  padding: 8px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.mobile-menu a, .mobile-menu button {
  width: 100%;
  display: block;
  margin-top: 8px;
}
.mobile-menu > a {
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--ink-2);
  font-weight: 850;
}
.mobile-menu > a:hover { background: var(--surface-2); }
.mobile-menu .mobile-mail { background: var(--night); color: #fff; }

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 28px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--night); color: #fff; box-shadow: 0 18px 42px rgba(7,17,38,.18); }
.button-light { background: #fff; color: var(--night); box-shadow: 0 18px 42px rgba(7,17,38,.16); }
.button-outline-light { border-color: rgba(255,255,255,.28); color: #fff; background: transparent; }
.button-outline-light:hover { background: rgba(255,255,255,.11); }
.button-soft { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
.button.wide { width: 100%; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(41,111,255,.35), transparent 30rem),
    radial-gradient(circle at 85% 88%, rgba(34, 197, 254, .16), transparent 34rem),
    linear-gradient(135deg, #071126 0%, #081b46 56%, #0a2e79 100%);
  color: #fff;
  padding: 86px 0 90px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 58px 58px;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.07fr .93fr;
  gap: 50px;
  align-items: center;
}
.hero-copy { display: grid; gap: 28px; }
.pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  padding: 11px 16px;
  color: #eaf2ff;
  font-weight: 850;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #6fb0ff; box-shadow: 0 0 0 5px rgba(111,176,255,.15); }
.hero h1 {
  margin: 0;
  max-width: 930px;
  font-size: clamp(3rem, 5.8vw, 5.8rem);
  line-height: .95;
  letter-spacing: -.07em;
}
.hero p {
  margin: 0;
  max-width: 780px;
  color: #c9d8f2;
  font-size: 1.18rem;
  line-height: 1.8;
}
.hero-actions, .contact-actions, .form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.signal-grid article {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 26px;
  background: rgba(255,255,255,.10);
  padding: 17px;
}
.signal-grid strong { font-size: 1.02rem; }
.signal-grid span { color: #c9d8f2; font-weight: 750; }

.hero-panel {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.11);
  padding: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.panel-head, .status-card div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.panel-head span, .panel-list span, .status-card span, .contact-data span, .news-card span, .modal-heading span {
  display: block;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .73rem;
  font-weight: 950;
}
.panel-head span, .panel-list span, .status-card span { color: #c9d8f2; }
.panel-head strong, .panel-list strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  line-height: 1.5;
}
.panel-mark {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #fff;
  color: var(--blue-2);
  font-weight: 950;
  font-size: 1.2rem;
}
.panel-list { display: grid; gap: 13px; margin-top: 24px; }
.panel-list div, .status-card {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 26px;
  background: rgba(255,255,255,.10);
  padding: 18px;
}
.status-card { margin-top: 16px; background: rgba(3, 11, 28, .48); }
.status-card i {
  display: block;
  height: 9px;
  overflow: hidden;
  margin-top: 17px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}
.status-card b { display: block; width: 84%; height: 100%; border-radius: inherit; background: #fff; }
.hero-panel .button { margin-top: 18px; }

.feature-grid, .services-grid, .special-grid, .audience-grid, .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card, .service-card, .reason-card, .process-card, .news-card, .faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(8, 20, 45, .06);
}
.card, .service-card, .news-card { padding: 30px; }
.card h3, .service-card h3, .reason-card h3, .process-card h3, .dark-card h3, .news-card h3 {
  margin: 22px 0 0;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -.04em;
}
.card p, .service-card p, .reason-card p, .process-card p, .dark-card p, .news-card p, .faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}
.icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--night);
  color: #fff;
  font-weight: 950;
  letter-spacing: -.03em;
}
.icon.light { background: #fff; color: var(--blue-2); }

.section-heading {
  max-width: 940px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-heading.left { max-width: 720px; margin-left: 0; text-align: left; }
.section-heading > span {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 9px 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .73rem;
  font-weight: 950;
}
.section-heading h2 {
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -.06em;
}
.section-heading p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}
.section-heading.inverse h2 { color: #fff; }
.section-heading.inverse p { color: #c8d7f0; }
.section-heading.inverse > span { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.11); color: #e8f1ff; }

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.split-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: start;
  gap: 44px;
}
.sticky-copy { position: sticky; top: 128px; }
.reason-stack { display: grid; gap: 20px; }
.reason-card { padding: 34px; background: var(--bg); }
.reason-card > span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--night);
  color: #fff;
  font-weight: 950;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
}
.process-card strong {
  position: absolute;
  right: 22px;
  top: 12px;
  color: #e5edf9;
  font-size: 3.4rem;
  font-weight: 950;
  letter-spacing: -.07em;
}
.process-card h3 { margin-top: 48px; }

.dark-section {
  background:
    radial-gradient(circle at 15% 12%, rgba(41,111,255,.27), transparent 30rem),
    linear-gradient(135deg, #071126 0%, #091a43 100%);
  color: #fff;
}
.dark-card {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.10);
  padding: 30px;
  backdrop-filter: blur(14px);
}
.dark-card h3 { color: #fff; }
.dark-card p { color: #c8d7f0; }

.soft-section { background: #edf3fd; }
.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.filter {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 19px;
  color: var(--muted);
  font-weight: 950;
}
.filter.active { border-color: var(--night); background: var(--night); color: #fff; }
.news-card[hidden] { display: none; }
.news-card span {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  padding: 8px 12px;
  color: var(--muted);
}
.news-card h3 { margin-top: 22px; }

.faq-section { background: #fff; border-top: 1px solid var(--line); }
.faq-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 42px;
  align-items: start;
}
.faq-list { display: grid; gap: 16px; }
.faq-list details { padding: 22px 24px; }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 950;
}
.faq-list summary::-webkit-details-marker { display: none; }

.contact-section { padding-top: 42px; }
.contact-panel {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 42px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 18% 20%, rgba(41,111,255,.28), transparent 26rem),
    var(--night);
  padding: 46px;
  color: #fff;
  box-shadow: var(--shadow);
}
.contact-data {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.10);
  padding: 22px;
}
.contact-data article {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 26px;
  background: rgba(255,255,255,.10);
  padding: 18px;
}
.contact-data span { color: #c8d7f0; }
.contact-data strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  line-height: 1.5;
}
.contact-actions { margin-top: 32px; }

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 34px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-weight: 800;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: auto; height: 36px; object-fit: contain; }
.footer-nav { gap: 18px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 24, .76);
  backdrop-filter: blur(8px);
}
.modal-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(92vh, 980px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 38px;
  background: #fff;
  padding: 36px;
  box-shadow: 0 34px 120px rgba(0,0,0,.32);
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}
.modal-heading span { color: var(--muted); }
.modal-heading h2 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.modal-heading p { margin: 16px 0 0; color: var(--muted); line-height: 1.75; }
#service-form { margin-top: 28px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
label {
  display: grid;
  gap: 9px;
  color: var(--ink-2);
  font-weight: 900;
}
label.full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  padding: 15px 16px;
  color: var(--ink);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(23,96,240,.12);
}
textarea { resize: vertical; min-height: 140px; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 750;
}
.consent input { width: 20px; height: 20px; margin-top: 2px; padding: 0; }
.form-error { min-height: 24px; margin: 14px 0 0; color: #c62828; font-weight: 900; }
.form-actions { margin-top: 20px; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .desktop-nav, .desktop-actions { display: none; }
  .mobile-toggle { display: flex; }
  .hero-layout, .split-layout, .faq-layout, .contact-panel { grid-template-columns: 1fr; }
  .sticky-copy { position: static; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .special-grid, .audience-grid, .feature-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 30px, 1200px); }
  .section { padding: 76px 0; }
  .brand-link img { height: 48px; }
  .hero { padding: 62px 0 68px; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero p { font-size: 1.02rem; }
  .hero-actions, .contact-actions, .form-actions { display: grid; }
  .button { width: 100%; }
  .signal-grid, .services-grid, .special-grid, .audience-grid, .feature-grid, .news-grid, .process-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .hero-panel, .contact-panel, .modal-panel { border-radius: 28px; }
  .hero-panel, .contact-panel, .modal-panel, .card, .service-card, .news-card, .dark-card, .reason-card, .process-card {
    padding: 22px;
  }
  .section-heading { margin-bottom: 40px; }
  .footer-inner, .footer-brand { align-items: flex-start; flex-direction: column; }
  .footer-nav { flex-wrap: wrap; }
  label.full { grid-column: auto; }
}


/* Aktualizacja premium: rzeczywiste logo, piktogramy i formularz wysyłany automatycznie */
.panel-mark {
  overflow: hidden;
  padding: 8px;
}
.panel-logo-mark {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pictogram {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon .pictogram {
  color: #fff;
}
.icon.light .pictogram {
  color: var(--blue-2);
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form-success {
  margin-top: 20px;
  border: 1px solid rgba(23, 96, 240, .18);
  border-radius: 22px;
  background: #edf4ff;
  padding: 18px 20px;
  color: var(--ink);
}
.form-success strong,
.form-success span {
  display: block;
}
.form-success strong {
  font-weight: 950;
  font-size: 1.08rem;
}
.form-success span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 750;
}
.button[disabled] {
  cursor: wait;
  opacity: .72;
  transform: none;
}
