/* =========================================================
   HEADER / NAVIGATION
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header, 1000);

  height: 72px;

  background: rgba(255,255,255,.96);
  border-bottom: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(15,23,42,.04);

  transition:
    background .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.site-header.is-scrolled .header-inner {
  transform: scale(.985);
  transition: transform .25s ease;
}

.site-header.is-scrolled .nav-cta {
  box-shadow: 0 6px 18px rgba(37,99,235,.35);
}


/* stan po scrollu */
.site-header.is-scrolled {
  background: rgba(255,255,255,.85);
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 10px 28px rgba(15,23,42,.12);
}

/* glass effect tylko gdy wspierane */
@supports ((backdrop-filter: blur(6px)) or (-webkit-backdrop-filter: blur(6px))) {
  .site-header.is-scrolled {
    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
  }
}



.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px; /* desktop */
}

/* Mobile */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 5px;
    }
}



/* =========================
   LOGO
========================= */

/* .logo {
  font-weight: 700;
  font-size: 18px;
  color: #293b67;
} */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  -webkit-tap-highlight-color: transparent;
}

.logo img {
  display: block;
  height: 180px;           /* kluczowe */
  width: auto;
}

/* Mobile – trochę mniejsze */
@media (max-width: 768px) {
  .logo img {
    height: 178px;
  }
}


.nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: auto;
}

.nav a {
  position: relative;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width .25s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff !important;
}

.nav-cta::after {
  display: none; /* CTA bez kreski */
}

.nav-cta.active {
  box-shadow: 0 0 0 3px rgba(37,99,235,.25);
}


/* =========================
   BURGER – FINAL FIX
========================= */

.burger {
  display: none;               /* desktop hidden */
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;

  /* reset */
  line-height: 1;
}

.burger span {
  display: block;              
  width: 24px;
  height: 2px;                 
  margin: 6px auto;
  background-color: var(--text); 
  border-radius: 2px;

  transition:
    transform .25s ease,
    opacity .2s ease;
}

/* MOBILE */
@media (max-width: 768px) {
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}


.burger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}




/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  overflow: hidden;
}



/* hero = viewport - header */
.hero--pro {
  min-height: calc(100vh - 72px);
}

/* domknięcie gradientem */
.hero--pro::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 96px;
  background: linear-gradient(
    to bottom,
    rgba(248,250,252,0),
    rgba(248,250,252,1)
  );
  pointer-events: none;
  z-index: 3;
}

/* =========================================================
   HERO BACKGROUND
========================================================= */

/* Domyślnie WYŁĄCZONE (mobile first performance) */
.hero-aurora {
  display: none;
}

/* Desktop premium */
@media (min-width: 1024px) {
  .hero-aurora {
    display: block;
    position: absolute;
    inset: -40%;
    background:
      radial-gradient(40% 30% at 20% 30%, rgba(37,99,235,.35), transparent 60%),
      radial-gradient(35% 30% at 80% 40%, rgba(16,185,129,.28), transparent 60%),
      radial-gradient(30% 30% at 50% 80%, rgba(99,102,241,.22), transparent 60%);
    filter: blur(56px);
    animation: auroraMove 22s ease-in-out infinite;
    z-index: 0;
  }
}

@keyframes auroraMove {
  0%   { transform: translate(0,0) rotate(0deg); }
  50%  { transform: translate(-6%,4%) rotate(180deg); }
  100% { transform: translate(0,0) rotate(360deg); }
}

/* Grid bez maski na mobile */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,23,42,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-grid {
    mask-image: radial-gradient(circle at 30% 20%, black 40%, transparent 75%);
  }
}

/* =========================================================
   HERO CONTENT
========================================================= */

.hero-inner {
  position: relative;
  z-index: 2;
  /* height: 100%; */
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr);
  align-content: center;
  padding-top: clamp(72px, 13vh, 120px);
  padding-bottom: clamp(63px, 16vh, 141px);
}

/* MOBILE uproszczenie layoutu */
@media (max-width: 1023px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-eyebrow {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0d9488;
  text-shadow: 0 0 24px rgba(37, 99, 235, .35);
  opacity: 0.9;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  text-wrap: balance;
  font-size: clamp(36px, 5vw, 55px);
  line-height: 1.05;
  margin-bottom: 72px;
  letter-spacing: -0.03em;
  color: #293b67;
  text-align: center;
}

/* Gradient zostaje – nie zabija LCP */
.gradient-text {
  background: linear-gradient(
    90deg,
    #2f3850,
    #0f8f6b,
    #4f46e5
  );
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0,0,0,.04);
}

.hero p {
  font-size: 20px;
  max-width: 658px;
  margin-bottom: 115px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 7px;
  align-items: center;
  padding-bottom: 30px;
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
  }
}

.hero .btn-primary {
  padding: 16px 32px;
  font-size: 16px;
}

.hero-3d {
  position: relative;
  perspective: 1200px;
  height: 360px;
}



/* =========================================================
   UI FLOATING CARDS
========================================================= */

.ui-card {
  position: absolute;
  width: 260px;
  height: 170px;
  padding: 18px;

  /* glass look */
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.6);

  box-shadow:
    0 40px 80px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.6);

  font-family: Inter, system-ui, sans-serif;
  color: #0f172a;

  overflow: hidden;
  pointer-events: none;

  animation: floatCard 8s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}
/* ===============================
   UI CARD – BRAND LOGO
================================ */

.ui-card {
  position: absolute; /* upewnij się że to masz */
  overflow: hidden;
}

/* kontener logo */
.ui-card-brand {
    position: absolute;
    top: -6px;
    right: -8px;
    width: 49px;
    height: 2px;
    opacity: .70;
    transition: opacity .3s ease, transform .3s ease;
}

/* svg */
.ui-card-brand svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* subtelny hover */
.ui-card:hover .ui-card-brand {
  opacity: .7;
  transform: scale(1.05);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.ui-card-icon {
  font-size: 22px;
  line-height: 1;
  opacity: .9;
}

.ui-card-title {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
}

.ui-card-meta {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(15,23,42,.6);
}

/* fake content lines at bottom with shimmer */
.ui-card-lines {
  position: absolute;
  bottom: 14px;
  left: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ui-card-lines span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(15,23,42,.08);
  position: relative;
  overflow: hidden;
}

.ui-card-lines span.short { width: 60%; }

/* shimmer effect */
.ui-card-lines span::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.4),
    transparent
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* =========================================================
   POSITIONING
========================================================= */

.ui-card:nth-child(1) { top: -55px;   left: 48px;  animation-delay: 0s; }
.ui-card:nth-child(2) { top: 53px;  left: 140px; animation-delay: 1.5s; }
.ui-card:nth-child(3) { top: 160px; left: 20px;  animation-delay: 3s; }
.ui-card:nth-child(4) { top: 285px; left: 110px; animation-delay: 4.5s; }

/* =========================================================
   ANIMATION
========================================================= */

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotateX(2deg) rotateY(-2deg); }
  50%      { transform: translateY(-14px) rotateX(6deg) rotateY(-4deg); }
}

/* =========================================================
   MOBILE – LESS MOTION
========================================================= */

@media (max-width: 768px) {
  .ui-card {
    animation: none;
    transform: none;
  }
  .ui-card-lines span::before {
    animation: none;
  }
}


/* ===== HERO SMOOTH PREMIUM ===== */

.hero-eyebrow,
.hero-title,
.hero p,
.hero-actions {
  transform: translateY(28px);
  animation: heroEnter .85s cubic-bezier(.16,1,.3,1) forwards;
}

.hero-eyebrow { animation-delay: .05s; }
.hero-title   { animation-delay: .15s; }
.hero p       { animation-delay: .28s; }
.hero-actions { animation-delay: .42s; }

@keyframes heroEnter {
  0% {
    opacity: .7;
    transform: translateY(28px);
  }
  55% {
    transform: translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--surface);
    flex-direction: column;
    padding: 60px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform .3s ease;
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    transform: translateY(0);
  }

  .burger {
    display: block;
  }

  .hero--pro {
    height: auto;
    padding: 72px 0 64px;
  }

  .hero-grid,
  .hero-3d {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-content: start;
    padding-top: 24px;
    text-align: center;
    padding-bottom: 48px;
  }

  .hero p {
    font-size: 18px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 45px;
  }

  .hero-actions a {
    width: 61%;
    text-align: center;
  }

  .hero-eyebrow { 
    font-size: 14px;
    letter-spacing: .06em;
  }

  .hero-title {
  font-size: clamp(41px, 5vw, 61px);
  line-height: 1.05;
  margin-bottom: 31px;
  letter-spacing: -0.03em;
}
}



/* =========================================================
   SERVICES SECTION – CLEAN PREMIUM
========================================================= */

.services {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background: #f1f5f9;
}

/* ====== Miękki gradient mesh (bez siatki) ====== */
.services::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(37,99,235,0.10), transparent 45%),
    radial-gradient(circle at 80% 25%, rgba(56,189,248,0.10), transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(15,23,42,0.05), transparent 60%);
  filter: blur(90px);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

/* Zabezpieczenie contentu */
.services > * {
  position: relative;
  z-index: 1;
}

/* =========================================================
   SECTION HEADER
========================================================= */

.section-header {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  color:#21386d
}

.section-lead {
  font-size: 18px;
  color: #475569;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* =========================================================
   GRID
========================================================= */

.services-grid {
  display: grid;
  gap: 36px;
}

/* =========================================================
   CARD – Soft Glass SaaS
========================================================= */

.service-card {
  position: relative;
  padding: 40px;
  border-radius: 22px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(15,23,42,0.05);
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 10px 30px rgba(15,23,42,0.08);
  box-shadow: 0 12px 30px rgba(15,23,42,0.06);
  transition: 
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}


.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(15,23,42,0.12);
  border-color: rgba(37,99,235,0.25);
}

/* =========================================================
   ICON WRAP – Gradient Badge
========================================================= */

.service-card .icon-wrap {
    width: 100px;
    height: 72px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.10);
    transition: transform .35s ease;
    padding: 12px;
}

.service-card:hover .icon-wrap {
  transform: translateY(-4px) scale(1.03);
}

.service-card .card-icon {
  width: 30px;
  height: 30px;
  color: #ffffff;
}

/* =========================================================
   TEXT
========================================================= */

.service-card h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 14px;
  font-weight: 600;
  color: #0f172a;
}

.service-card p {
    color: #334155;
    line-height: 1.7;
    font-size: 15.5px;
    margin: 10px 0px 0px 0px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {
  .services {
    padding: 90px 0;
  }

  .service-card {
    padding: 34px;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .service-card {
    padding: 28px;
    border-radius: 18px;
  }

  .service-card .icon-wrap {
        width: 80px;
        height: 70px;
        border-radius: 16px;
        padding: 3px;
    }
}



.icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform .25s ease;
}

.card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.card:hover .icon {
  transform: scale(1.05);
}


.service-card {
  animation-delay: .1s;
}

.service-card:nth-child(2) { animation-delay: .2s; }
.service-card:nth-child(3) { animation-delay: .3s; }



.ui-card:nth-child(1) { animation-duration: 7s; }
.ui-card:nth-child(2) { animation-duration: 9s; }
.ui-card:nth-child(3) { animation-duration: 8s; }
.ui-card:nth-child(4) { animation-duration: 10s; }


/* =========================
   SERVICE HEADER (ICON + TITLE INLINE)
========================= */

.service-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0px;
}

/* ICON WRAP – mniej glass, bardziej enterprise */
.icon-wrap {
  width: 80px;
  height: 58px;
  border-radius: 14px;
  background: #eef2ff;
  border: 1px solid #e2e8f0;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background .25s ease, border-color .25s ease;
}

/* IKONA */
/* .service-header svg {
  width: 40px;
  height: 40px;
  color: #1e3a8a;
  flex-shrink: 0;
  transition: transform .25s ease, color .25s ease;
} */

/* KARTA */
.service-card {
  padding: 36px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;

  transition: transform .25s ease, 
              border-color .25s ease,
              box-shadow .25s ease;
}

/* HOVER – subtelny, enterprise */
.service-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.service-card:hover svg {
  transform: scale(1.05);
  color: #2563EB;
}

.service-card:hover .icon-wrap {
  background: #e0e7ff;
  border-color: #c7d2fe;
}

/* LINK */
.service-link {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  color: #1e3a8a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .25s ease;
  margin-top: 10px;
}

.service-link:hover {
  color: #2563EB;
}

.service-link .arrow {
  transition: transform .25s ease;
}

.service-link:hover .arrow {
  transform: translateX(4px);
}

.section-badge {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #2563EB;
  margin-bottom: 16px;
  font-weight: 600;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 20px;
}




/* ===============================
   PROCESS SECTION – PREMIUM
================================ */

.process {
  padding: 110px 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(37,99,235,0.07), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(56,189,248,0.06), transparent 50%),
    #f8fafc;
}

/* GRID */
.process-grid {
  position: relative;
  display: grid;
  gap: 56px;
}

/* pionowa linia */
.process-grid::before {
  content: "";
  position: absolute;
  left: 38px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(37,99,235,0.25),
    rgba(56,189,248,0.25),
    transparent
  );
  border-radius: 2px;
}

/* pojedynczy krok */
.process-step {
  position: relative;
  padding-left: 90px;
  padding: 28px 32px 28px 90px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(15,23,42,0.10);
}

/* numer w kółku */
.process-number {
  position: absolute;
  left: 13px;
  top: 24px;
  width: 56px;
  height: 56px;
  border-radius: 16px;

  background: linear-gradient(135deg, #2563EB 0%, #38BDF8 100%);
  color: #ffffff;

  font-weight: 700;
  font-size: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 12px 30px rgba(37,99,235,0.35);
}

/* tytuł */
.process-step h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
}

/* opis */
.process-step p {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
  font-size: 15px;
}

/* ===============================
   PROCESS – ANIMATION
================================ */

.process-number {
  transform: scale(1);
}

/* trigger */
.reveal.is-visible .process-number {
  animation: processPulse .45s ease-out both;
}

@keyframes processPulse {
  0%   { transform: scale(.6); }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ===============================
   MOBILE
================================ */

@media (max-width: 767px) {
  .process {
    padding: 72px 0;
  }

  .process-grid {
    gap: 40px;
  }

  .process-step {
    padding-left: 56px;
  }

  .process-number {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .process-grid::before {
    left: 16px;
  }
}




/* =========================================================
   BUTTONS
========================================================= */

.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37,99,235,.25);
}


.hero .btn-primary {
  transition: transform .15s ease, box-shadow .15s ease;
}

.hero .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(37,99,235,.35);
}

.btn-secondary {
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: 1px solid #01696e;
  background: #01696e;
  color: #ffffff;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}


.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(25, 185, 137, 0.35);
}



.hero .btn-secondary {
  transition: transform .15s ease, box-shadow .15s ease;
}


/* =========================================================
   ANIMATIONS (GLOBAL)
========================================================= */

.section.is-animated {
  animation: fadeUp .4s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero-eyebrow,
  .hero-title,
  .hero p,
  .hero-actions,
  .gradient-text {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-family: Inter, system-ui, sans-serif;
}

/* Grid */
.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 48px;
}

/* Desktop */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr;
    gap: 56px;
  }
}

/* Titles */
.footer-title {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Text */
.site-footer p {
  margin: 0;
  line-height: 1.6;
  max-width: 660px;
}

/* Lists */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 8px;
}

/* Links */
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.site-footer a:hover {
  color: var(--primary);
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
}

.footer-services {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    margin-bottom: 15px;
    text-align: center;
}

/* Desktop bottom */
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Footer links */
.footer-links a {
  margin-left: 16px;
}

.footer-links a:first-child {
  margin-left: 0;
}

/* Social icons */
.footer-social {
  display: flex;
  align-items: center;
}

.footer-social a {
  color: var(--muted);
  font-size: 18px;
  margin-left: 16px;
  transition: color 0.3s, transform 0.3s;
}

.footer-social a:first-child {
  margin-left: 0;
}

.footer-social a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* Dostosowanie footer-bottom na mobile */
@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column; /* pionowo */
    align-items: center;    /* wyśrodkowanie */
    gap: 12px;
    text-align: center;     /* wycentrowanie tekstu */
  }

  .footer-bottom p {
    margin: 0;
  }

  .footer-links {
    display: flex;
    justify-content: center; /* wycentrowanie linków */
    gap: 16px;               /* odstęp między linkami */
    flex-wrap: wrap;         /* jeśli za dużo linków, przełamiemy wiersz */
  }

  .footer-links a {
    margin-left: 0;          /* reset marginesu, używamy gap */
  }
}




/* =========================================================
   CTA SECTION
========================================================= */

.cta {
  padding: 96px 0;
  color: var(--text);
}

.cta-box {
  background:
    linear-gradient(
      135deg,
      rgba(37,99,235,0.12),
      rgba(70,179,150,0.12)
    );
  border: 1px solid #dbeafe;
  border-radius: var(--radius-lg);
  padding: 64px;
}



/* Desktop */
@media (min-width: 768px) {
  .cta-box {
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
  }
}

.cta-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 720px;
}

/* Actions */
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta .btn-primary {
  background: #428dd8;
  color: #fff;
}


.cta .btn-primary:hover {
  background: #6e9bc7;
}

.cta .btn-secondary {
  border-color: rgba(255,255,255,.4);
  color: #fff;
}

.cta .btn-secondary:hover {
  border-color: #fff;
}

/* Mobile */
@media (max-width: 767px) {
  .cta {
    padding: 72px 0;
  }

  .cta-box {
    padding: 40px 28px;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
    flex-direction: column;
  }

  .cta-actions a {
    width: 100%;
    text-align: center;
  }
}



/* =========================================================
   STATS – INLINE (PREMIUM)
========================================================= */

.stats {
  padding: 96px 0;
  background: #ffffff;
}

.stats-inline {
  display: grid;
  gap: 32px;
}

/* Desktop */
@media (min-width: 768px) {
  .stats-inline {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
}

.stat-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;

  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity .4s ease,
    transform .4s ease;
  transition-delay: var(--delay, 0ms);  

}

.stat-inline.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-icon {
  width: 50px;
  height: 50px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(37,99,235,0.06);
  color: var(--primary);
}


.stat-inline strong {
    font-size: 47px;
    font-weight: 700;
    line-height: 1;
    color: #01696e;
    min-width: 48px;
}

.stat-inline span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}


/* Mobile */
@media (max-width: 767px) {
  .stat-inline {
    justify-content: center;
    text-align: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .stat-inline {
    transition: none;
    opacity: 1;
    transform: none;
  }
}



/* =========================================================
   TESTIMONIALS – SLIDER
========================================================= */

.section.testimonials {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  padding: 120px 0;
  position: relative;
}

.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
  touch-action: pan-y;
}

/* KLUCZOWE */
.testimonials-track {
  display: grid;
}

/* Wszystkie karty leżą w tym samym miejscu */
.testimonial {
  position: relative; /* DODANE */
  grid-area: 1 / 1;

  opacity: 0;
  transform: scale(0.97);
  transition:
    opacity 0.55s cubic-bezier(.4,0,.2,1),
    transform 0.55s cubic-bezier(.4,0,.2,1);

  padding: 60px;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.06);
  text-align: center;
  pointer-events: none;
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: 30px;
  left: 40px;
  font-size: 120px;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

.testimonial.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.testimonial p {
  font-size: 22px;
  line-height: 1.75;
  font-weight: 400;
  color: #0f172a;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.testimonial footer {
  margin-top: 10px;
}

.testimonial footer strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  letter-spacing: 0.3px;
}

.testimonial footer span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #6b7280;
}

.testimonials-nav {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  min-height: 44px;
}

/* Kontener kropek */
.dots {
  display: flex;
  gap: 14px;
}

/* Pasek bazowy */
.dots span {
  position: relative;
  width: 36px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

/* Animowany element wewnętrzny */
.dots span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #2563eb;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}

/* Aktywny */
.dots span.active::after {
  transform: scaleX(1);
}

/* Strzałki */
.nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: white;
  color: #0f172a;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-2px);
}

@media (max-width: 768px) {

  .section.testimonials {
    padding: 80px 0;
  }

  .testimonials-slider {
    margin-top: 40px;
    min-height: auto;
  }

  .testimonial {
    padding: 35px 22px;
    border-radius: 20px;
  }

 .testimonial p {
    font-size: 18px;
    line-height: 1.7;
  }

  .testimonial::before {
    font-size: 80px;
    top: 20px;
    left: 20px;
  }

  .testimonial footer strong {
    font-size: 14px;
  }

  .testimonial footer span {
    font-size: 13px;
  }
}

@media (max-width: 768px) {

  .testimonials-nav {
    margin-top: 30px;
    gap: 18px;
  }

  .nav-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .dots {
    gap: 10px;
  }

  .dots span {
    width: 28px;
    height: 3px;
  }

  .nav-btn {
    display: none;
  }
}


/* ================================
   TRUST SECTION – ENTERPRISE
================================ */

.section.trust {
  padding: 110px 0;
  background: linear-gradient(
    to bottom,
    #f8fafc,
    #eef4fb
  );
}

/* GRID */
.trust-grid {
  display: grid;
  gap: 32px;
}

/* ================================
   CARD
================================ */

.trust-item {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;

  padding: 40px 44px;
  border-radius: 20px;

  background: #ffffff;
  border: 1px solid rgba(15,23,42,.06);

  box-shadow: 0 12px 32px rgba(15,23,42,.05);

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

/* subtelny lift */
.trust-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15,23,42,.08);
  border-color: rgba(37,99,235,.2);
}

/* ================================
   LEFT ACCENT BAR (czysty)
================================ */

.trust-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: #0f6e69;

  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

/* ================================
   CONTENT
================================ */

.trust-content {
  flex: 1;
}

.trust-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 14px;
}

.trust-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* ================================
   ICON
================================ */

.trust-icon {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 18px;

  background: rgba(37,99,235,.06);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform .3s ease, background .3s ease;
}

.trust-item:hover .trust-icon {
  transform: scale(1.05);
  background: rgba(37,99,235,.12);
}

.trust-icon img {
  width: 44px;
  height: 44px;
}

/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {

  .trust-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 28px 28px 32px;
    gap: 18px;
  }

  .trust-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .trust-icon img {
    width: 28px;
    height: 28px;
  }

  .trust-content h3 {
    font-size: 18px;
  }

  .trust-content p {
    font-size: 15px;
  }
}

/* ===============================
   RISK SECTION – MEDINECT
================================ */

.section.risk {
  position: relative;
  padding: 96px 0;
  background: #ffffff;
  overflow: hidden;
}

/* TŁO DEKORACYJNE */
.section.risk::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.10), transparent 45%),
    radial-gradient(circle at 80% 25%, rgba(56, 189, 248, 0.10), transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(15, 23, 42, 0.05), transparent 60%);
  filter: blur(90px);
  opacity: 0.7;
  z-index: 0;
}

/* TREŚĆ NAD TŁEM */
.section.risk > .container {
  position: relative;
  z-index: 1;
}




/* subtelny akcent boczny */
.section.risk::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    #2563eb,
    #38bdf8
  );
  opacity: .2;
}

/* GRID */
.risk-grid {
  gap: 32px;
}

/* KARTA */
.risk-item {
  position: relative;
  padding: 36px;
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    #ffffff,
    #f3f7fb
  );
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}


/* HOVER */
.risk-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
}

/* cienka linia akcentu */
.risk-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 36px;
    right: 36px;
    height: 3px;
    border-radius: 4px;
    background: linear-gradient(90deg, #1f4393, #01696e);
    opacity: .8;
}

/* TYTUŁ */
.risk-item h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 14px;
}

/* TEKST */
.risk-item p {
  color: var(--muted);
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .risk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section.risk {
    padding: 72px 0;
  }

  .risk-item {
    padding: 28px;
  }

  .risk-item::before {
    left: 24px;
    right: 24px;
  }

  .risk-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   FAQ SECTION
========================================================= */

.section.faq {
  padding: 96px 0;
   background-color: #f8fafc;
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(0, 0, 0, 0.015),
      rgba(0, 0, 0, 0.015) 1px,
      transparent 1px,
      transparent 30px
    );}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

/* pojedynczy element */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 16px;
  background: #e7f3ea;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
}

/* nagłówek */
.faq-item summary {
  position: relative;
  cursor: pointer;
  font-weight: 600;
  padding: 20px 56px 20px 24px;
  list-style: none;
  outline: none;
}

/* usuń domyślną strzałkę */
.faq-item summary::-webkit-details-marker {
  display: none;
}

/* ikona + / − */
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 500;
  color: var(--primary);
  transition: transform .25s ease;
}

/* po otwarciu */
.faq-item[open] summary::after {
  content: "–";
}

/* treść */
.faq-item p {
  padding: 0 24px 24px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  animation: faqFade .25s ease;
}

/* animacja */
@keyframes faqFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* mobile */
@media (max-width: 768px) {
  .section.faq {
    padding: 64px 0;
  }

  .faq-item summary {
    padding: 18px 52px 18px 20px;
    font-size: 15px;
  }

  .faq-item p {
    padding: 0 20px 20px;
    font-size: 15px;
  }
}




/* =========================
   MOBILE NAV OVERLAY
========================= */

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 900; /* poniżej headera (1000) */
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* mobile only */
@media (min-width: 769px) {
  .nav-overlay {
    display: none;
  }
}





/* =========================================================
   COVERAGE – MAPA POLSKI
========================================================= */

.coverage {
  overflow: visible;
  padding: 96px 0;
  background: linear-gradient(
    to bottom,
    #ffffff,
    #f8fafc
  );
}

.coverage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 64px;

  /* NIE centruj w pionie */
  align-items: start;
}



.coverage-content h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.coverage-content .section-lead {
  max-width: 520px;
  margin-bottom: 32px;
  color: var(--muted);
}

/* Lista województw */
.coverage-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.coverage-list li {
  position: relative;
  padding-left: 20px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}

/* kropka */
.coverage-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transform: translateY(-50%);
}

/* AKTYWNE WOJEWÓDZTWA */
.coverage-list li.active {
  color: var(--text);
  font-weight: 600;
  transition: color .2s ease;
}

.coverage-list li.active::before {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}

.coverage-list li.primary {
  font-weight: 900;
}

.coverage-list li.primary::before {
  background: #1d4ed8;
  box-shadow: 0 0 0 6px rgba(29,78,216,.18);
}



.coverage-map {
  display: flex;
  justify-content: center;
  align-items: center;

  /* KLUCZOWE */
  overflow: visible;
}


.coverage-map svg {
  width: 100%;
  height: auto;
  max-width: 560px;

  /* KLUCZOWE */
  overflow: visible;
}




/* Wszystkie województwa */
.coverage-map path {
  fill: #e5e7eb;
  stroke: #92a4ba;
  stroke-width: 1;
  transition:
    fill .25s ease,
    transform .2s ease,
    stroke .25s ease;
}

/* Aktywne województwa */

/* aktywne */
#PL-LB,
#PL-PM,
#PL-WP {
  fill: #3b82f6;
  stroke: #2563eb;
  stroke-width: 1.2;
}

/* GŁÓWNE – Zachodniopomorskie */
#PL-ZP {
  fill: #01696e;
  /* fill: #1f56ee; */
  stroke: #053133;
  /* stroke: #07278f; */
  stroke-width: 2;
}


/* Hover tylko na aktywnych */
#PL-ZP:hover,
#PL-PM:hover,
#PL-LB:hover,
#PL-WP:hover {
  fill: #01696e;
  cursor: pointer;
  filter: brightness(1.08);

}


/* ================================
   COVERAGE – MOBILE
================================ */

@media (max-width: 768px) {

  .coverage {
    padding: 56px 0;
  }

  .coverage-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    
  }

  /* kolejność: tekst -> mapa */
  .coverage-content {
    order: 1;
    text-align: left;
  }

  .coverage-map {
  width: 100%;
  max-width: 100%;
  overflow: visible;
  margin: 0 auto;
  }

  .coverage-map svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  height: auto;
 }

  /* nagłówek */
  .coverage h2 {
    font-size: clamp(26px, 6vw, 32px);
    line-height: 1.2;
  }

  .coverage .section-lead {
    font-size: 15px;
    line-height: 1.6;
  }

  /* lista województw */
  .coverage-list {
    margin-top: 24px;
    padding-left: 0;
  }

  .coverage-list li {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0px 16px;
    font-size: 15px;
  }

   .coverage-grid {
    grid-template-columns: 1fr;
  }

  .coverage-map {
    order: 2;
  }

  .coverage-content {
    order: 1;
  }

  .coverage-list li::before {
    width: 8px;
    height: 8px;
  }
}


@media (max-width: 420px) {
  .coverage-map svg {
    transform: scale(1.05);
  }
}

/* ======================================
   SVG DRAW ANIMATION – MAPA POLSKI
====================================== */

.coverage-map svg path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw-map 1.4s ease-out forwards;
}

/* lekkie opóźnienie dla całej mapy */
.coverage-map svg {
  animation-delay: .15s;
}

@keyframes draw-map {
  to {
    stroke-dashoffset: 0;
  }
}


/* aktywne – rysują się szybciej */
#PL-ZP,
#PL-LB,
#PL-WP {
  animation-duration: 1s;
  animation-delay: .1s;
}


#PL-ZP {
  animation:
    draw-map 2s ease-out forwards,
    pulse-region 1.8s ease-in-out 1.1s infinite;
}

@keyframes pulse-region {
  0%   { filter: brightness(1); }
  50%  { filter: brightness(1.12); }
  100% { filter: brightness(1); }
}


@media (max-width: 768px) {
  #PL-ZP {
    animation:
      draw-map 1s ease-out forwards;
  }
}


#PL-ZP { animation-delay: .05s; }
#PL-LB { animation-delay: .12s; }
#PL-WP { animation-delay: .18s; }


/* ======================================
   SVG TOOLTIP – WOJEWÓDZTWA
====================================== */

.map-tooltip {
  position: fixed;
  z-index: 9999;
  pointer-events: none;

  background: rgba(15, 23, 42, 0.95);
  color: #fff;
  font-size: 13px;
  font-weight: 500;

  padding: 6px 10px;
  border-radius: 6px;

  opacity: 0;
  transform: translate(-50%, -140%);
  transition: opacity .15s ease, transform .15s ease;

  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

/* mobile — OFF */
@media (max-width: 768px) {
  .map-tooltip {
    display: none;
  }
}


/* kliknięte województwo */
.coverage-map path.is-selected {
  fill: #0f172a;          /* ciemniejszy akcent */
  stroke: #020617;
  stroke-width: 2.5;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.25));
}

/* kliknięty element listy */
.coverage-list li.is-selected {
  color: var(--primary);
  font-weight: 700;
}

.coverage-list li.is-selected::before {
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(37,99,235,.25);
}

.coverage-subtitle {
  margin: 32px 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}


.coverage-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}

@media (max-width: 768px) {
    .coverage-secondary {
    max-height: 140px;
    overflow: hidden;
    transition: max-height .35s ease;
  }

  

  .coverage-toggle {
    margin-top: 12px;
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
  }

  .coverage-toggle:hover {
    text-decoration: underline;
  }

}



/* ================================
   COVERAGE – TOGGLE LIST (FINAL)
================================ */

.coverage-more {
  margin-top: 16px;
}

/* lista DOMYŚLNIE zwinięta */
.coverage-secondary {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

/* lista po kliknięciu */
.coverage-more.is-open .coverage-secondary {
  max-height: 900px; /* bezpieczny limit */
}

/* przycisk */
.coverage-toggle {
  margin-top: 14px;
  background: none;
  border: none;
  padding: 0;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  cursor: pointer;
}

.coverage-toggle:hover {
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
  .coverage-secondary {
    max-height: 0; /* ZAWSZE 0 na start */
  }
}

/* =========================================================
   HERO SUBPAGE – BACKGROUND ACCENTS
========================================================= */

.hero--subpage .hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
      padding-top: clamp(72px, 13vh, 120px);
}

.hero--subpage .hero-blob {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37,99,235,.12),
    rgba(37,99,235,0)
  );
  filter: blur(40px);
}

.hero--subpage .blob-1 {
  top: -120px;
  right: -120px;
}

.hero--subpage .blob-2 {
  bottom: -160px;
  left: -160px;
  background: radial-gradient(
    circle,
    rgba(14,165,233,.10),
    rgba(14,165,233,0)
  );
}


.hero--subpage .hero-title {
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.15;
  margin-bottom: 32px;
}

.hero--subpage .hero-lead {
    font-size: clamp(15px, 1.8vw, 18px);
    line-height: 1.65;
    max-width: 600px;
    margin-top: 32px;
    margin-bottom: clamp(48px, 8vw, 56px);
    opacity: 0.9;
}




/* =========================================================
   HERO SUBPAGE – POINTS
========================================================= */

.hero--subpage .hero-points {
  margin-top: 24px;
  margin-bottom: 32px;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero--subpage .hero-points li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text);
}

.hero--subpage .hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}


/* =========================================================
   HERO SUBPAGE – SPLIT LAYOUT
========================================================= */

.hero--subpage .hero-split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 64px;
}


/* ===============================
   HERO CARD – BRAND LOGO
================================ */

.hero-card {
  position: relative; /* upewnij się że to masz */
  overflow: hidden;
}

/* kontener logo */
.hero-card-brand {
    position: absolute;
    top: -13px;
    right: -13px;
    width: 74px;
    height: 83px;
    opacity: .85;
    transition: opacity .3s ease, transform .3s ease;
}

/* svg */
.hero-card-brand svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* subtelna reakcja */
.hero-card:hover .hero-card-brand {
  opacity: .35;
  transform: scale(1.05);
}


/* =========================================================
   HERO CARD
========================================================= */

.hero-card {
  position: relative;
  width: 500px;
  padding: 32px 28px;
  background: linear-gradient(
    to bottom,
    #ffffff,
    #f8fafc
  );
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow:
    0 24px 64px rgba(15,23,42,.12),
    inset 0 1px 0 rgba(255,255,255,.6);
  animation: float 6s ease-in-out infinite;
}

.hero-card h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hero-card-list li {
  font-size: 14px;
  color: var(--text);
}

.hero-card-list strong {
  color: var(--primary);
  font-weight: 600;
}

.hero-card-note {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

/* =========================================================
   FLOAT ANIMATION
========================================================= */

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}


@media (max-width: 768px) {
  .hero--subpage .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-card {
    animation: none;
    width: auto;
  }

  .hero--subpage .hero-points {
  margin-top: 24px;
  margin-bottom: 32px;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  justify-content: center;
}
}





/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

/* Pole */
.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Label */
.contact-form label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
}


/* Input + textarea */
.contact-form input,
.contact-form textarea {
  appearance: none;
  width: 100%;
  padding: 10px 10px;
  font-size: 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

/* Placeholder */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a3b8;
}

/* Focus */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
  background: #fff;
}

/* Textarea */
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Button */
.contact-form button {
  margin-top: 12px;
  align-self: flex-start;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition:
    transform .15s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.contact-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(37,99,235,.25);
}

.contact-form button:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(37,99,235,.25);
}

/* =========================================================
   CONTACT FORM
========================================================= */

.section.contact {
  padding: 96px 0;
  background: linear-gradient(
    to bottom,
    #ffffff,
    #f8fafc
  );
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* =========================================================
   LEFT CONTENT
========================================================= */

.contact-content h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 16px;
}

.contact-benefits {
  list-style: none;
  padding: 0;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.contact-benefits li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
}

.contact-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* =========================================================
   FORM CONTAINER
========================================================= */

.contact-form {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 43px 10px 43px;
  box-shadow: 0 16px 40px rgba(15,23,42,.06);
}

/* =========================================================
   FORM FIELDS
========================================================= */

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}

/* =========================================================
   CONSENT / CHECKBOX
========================================================= */

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
      margin: 0px 0 0px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s ease, background .2s ease;
}

/* subtle hover całego bloku */
.form-consent:hover {
  border-color: var(--primary);
  background: #f1f5f9;
}

/* custom checkbox */
.form-consent input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all .2s ease;
}

/* focus accessibility */
.form-consent input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,.2);
}

/* checked */
.form-consent input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
}

/* animowany check */
.form-consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  animation: checkFade .15s ease-in-out;
}

@keyframes checkFade {
  from {
    opacity: 0;
    transform: rotate(45deg) scale(.6);
  }
  to {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

.form-consent label {
  cursor: pointer;
  line-height: 1.5;
}

/* link w zgodzie */
.form-consent a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.form-consent a:hover {
  text-decoration: underline;
}


/* =========================================================
   FORM NOTE
========================================================= */

.form-note {
    margin-top: 3px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 28px;
  }
}




/* label */
.form-consent label {
  cursor: pointer;
  line-height: 1.5;
  user-select: none;
}


/* ===============================
   CONSENT – ERROR STATE
================================ */

.form-consent.error {
  color: #dc2626;
}

.form-consent.error input[type="checkbox"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220,38,38,.15);
}

.form-consent-error {
  margin-top: 6px;
  font-size: 13px;
  color: #dc2626;
}


/* ===============================
   FORM – STATES (ERROR / SUCCESS)
================================ */

/* FIELD ERROR */
.form-field.error input,
.form-field.error textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220,38,38,.15);
}

.form-field.error label {
  color: #dc2626;
}

/* ERROR MESSAGE */
.form-error {
  margin-top: 6px;
  font-size: 13px;
  color: #dc2626;
}

/* SUCCESS BOX */
.form-success {
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  color: #166534;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s ease;
}

.form-success.show-success {
  opacity: 1;
  transform: translateY(0);
}


/* GLOBAL FORM ERROR */
.form-global-error {
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: rgba(220,38,38,.08);
  border: 1px solid rgba(220,38,38,.3);
  color: #7f1d1d;
  font-size: 14px;
  font-weight: 500;
}

/* DISABLED BUTTON */
.contact-form button[disabled] {
  opacity: .6;
  cursor: not-allowed;
}


/* success */
.form-field.success input,
.form-field.success textarea {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}


#phone {
  font-family: inherit;
  letter-spacing: .5px;
}



.form-field {
  position: relative;
}

/* input – robimy miejsce na ptaszka */
.form-field input,
.form-field textarea {
  padding-right: 44px;
}

/* PTASZEK */
.input-check {
  position: absolute;
  right: 13px;
  top: 62%;
  transform: translateY(-50%) scale(0.6);

  width: 22px;
  height: 22px;
  border-radius: 32%;

  background: #16a34a;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  font-weight: 800;

  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
}

/* SUKCES */
.form-field.success .input-check {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.form-field.success input,
.form-field.success textarea {
  border-color: #16a34a;
}

/* BŁĄD */
.form-field.error input,
.form-field.error textarea {
  border-color: #dc2626;
}


/* ===============================
   TOAST
================================ */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all .3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   BUTTON SPINNER
================================ */
.btn-primary {
  position: relative;
}

.btn-spinner {
  display: none;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  left: 47%;
  top: 11px;
}

.btn-primary.loading .btn-text {
  visibility: hidden;
}

.btn-primary.loading .btn-spinner {
  display: inline-block;
  position: absolute;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}



/* =========================================================
COOKIE BANNER
========================================================= */

.cookie-banner {
  display:none;
  position: fixed;
  bottom: 24px;
  left:0;
  right:0;
  margin:auto;

  width: calc(100% - 32px);
  max-width: 880px;

  padding: 22px 26px;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;

  box-shadow:
  0 8px 20px rgba(0,0,0,.06),
  0 20px 40px rgba(0,0,0,.08);

  z-index: 9999;

  animation: cookieSlideUp .45s ease;

  gap:18px;
  align-items:flex-start;
}

.cookie-icon{
flex-shrink:0;
font-size:22px;
margin-top:4px;
flex-shrink:0;
}

.cookie-content {

  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;

}

.cookie-text strong {
  display:block;
  font-size: 16px;
  display: block;
  margin-bottom: 6px;
  color: #111827;

}

.cookie-text p {

  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  max-width: 520px;

}

.cookie-text a {

  color: #2f5cc8;
  text-decoration: none;
  font-weight: 500;

}

.cookie-text a:hover {

  text-decoration: underline;

}

.cookie-actions {

  display: flex;
  gap: 10px;
  align-items: center;
}

/* =========================================================
PRZYCISKI
========================================================= */

.cookie-actions button {

  height: 42px;
  padding: 0 18px;

  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;

  cursor: pointer;
  transition: all .2s ease;

}

/* Odrzuć */

#cookieDecline {

  background: transparent;
  border: 1px solid #d1d5db;

}

#cookieDecline:hover {

  background: #f3f4f6;

}

/* Ustawienia */

#cookieSettings {

  background: #f8fafc;
  border: 1px solid #e2e8f0;

}

#cookieSettings:hover {

  background: #f1f5f9;

}

/* Akceptuj */

#cookieAccept {

  background: #2f5cc8;
  border: none;
  color: white;
  font-weight: 600;

}

#cookieAccept:hover {

  background: #264fb1;
  transform: translateY(-1px);

}

/* =========================================================
COOKIE MODAL
========================================================= */

.cookie-modal {

  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(2px);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 10000;

}

.cookie-modal-box {

  width: 420px;

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8fafc 100%
  );

  padding: 28px;
  border-radius: 16px;

  border: 1px solid #e5e7eb;

  box-shadow:
  0 20px 40px rgba(0,0,0,.18);

}

.cookie-modal-box h3{

margin:0 0 10px;
font-size:18px;
color:#111827;

}

.cookie-option {

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 18px;

}

.cookie-option p {

  margin: 4px 0 0;
  font-size: 13px;
  color: #64748b;

}

.cookie-modal-actions {

  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;

}

.cookie-modal-actions button{

height:40px;
padding:0 16px;

border-radius:10px;
font-size:14px;
font-weight:500;

cursor:pointer;
transition:all .2s ease;

}

#cookieSave{

background:#f8fafc;
border:1px solid #e2e8f0;

}

#cookieSave:hover{

background:#f1f5f9;

}

#cookieAcceptAll{

background:#2f5cc8;
border:none;
color:white;
font-weight:600;

}

#cookieAcceptAll:hover{

background:#264fb1;
transform:translateY(-1px);

}

/* =========================================================
MOBILE
========================================================= */

@media (max-width:768px){

.cookie-banner{
left:16px;
right:16px;
bottom:12px;
transform:none;

padding:20px;

flex-direction:column;
gap:14px;

}

.cookie-icon{
font-size:18px;
margin-top:2px;
line-height:1;
}

.cookie-content{

grid-template-columns:1fr;
gap:16px;

}

.cookie-text strong{
display:flex;
align-items:center;
gap:8px;
}

.cookie-text p{
font-size:13px;
}

.cookie-actions{

display:flex;
flex-wrap:wrap;
gap:8px;
width:100%;

}

#cookieDecline,
#cookieSettings{
flex:1;
}

#cookieAccept{
flex:0 0 100%;
}

#cookieAccept{

font-weight:600;
letter-spacing:.2px;

}

#cookieAccept:hover{

transform:translateY(-1px);

}

.cookie-actions button{

height:38px;

font-size:13px;
border-radius:10px;

}

}

/* =========================================================
ANIMATION
========================================================= */

@keyframes cookieSlideUp {

from{
opacity:0;
transform:translateY(40px);
}

to{
opacity:1;
transform:translateY(0);
}

}


/* ===============================
   REVEAL ON SCROLL
================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* delikatne opóźnienia */
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .3s; }
.reveal.delay-3 { transition-delay: .5s; }
.reveal.delay-4 { transition-delay: .7s; }
.reveal.delay-5 { transition-delay: .9s; }
.reveal.delay-6 { transition-delay: 1.1s; }




/* ===============================
   CARD HOVER – PREMIUM
================================ */

.service-card,
.trust-item {
  position: relative;
  overflow: hidden;
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

/* delikatny lift */
.service-card:hover,
.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(15,23,42,.1);
}

/* świetlista poświata */
.service-card::before,
.trust-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #0f6e69;
}

.service-card:hover::before,
.trust-item:hover::before {
  opacity: 1;
}



@media (hover: none) {
  .service-card:hover,
  .trust-item:hover {
    transform: none;
    box-shadow: none;
  }
}


/* layout 2-kolumnowy */
.process-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 64px;
  align-items: center;
}

/* prawa strona */
.process-visual {
  display: flex;
  justify-content: center;
}

.process-system {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 60px auto;
}

/* SVG linie */
.connections {
    position: absolute;
    width: 100%;
    height: 100%;
}

.connections line {
    stroke: rgba(30, 64, 175, 0.15);
    stroke-width: 1.5;
}

/* RDZEŃ */
.core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 60px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(15,43,70,0.08);
    box-shadow: 0 25px 60px rgba(15,43,70,0.08);
    font-weight: 700;
    letter-spacing: 4px;
    color: #0F2B46;
    animation: pulse 4s ease-in-out infinite;
}

/* NODE */
.node {
    position: absolute;
    padding: 10px 18px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(15,43,70,0.08);
    font-size: 13px;
    font-weight: 600;
    color: #1E3A8A;
    white-space: nowrap;
    box-shadow: 0 15px 30px rgba(15,43,70,0.05);
    transition: 0.3s ease;
}

.node:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(15,43,70,0.12);
}

/* POZYCJE */
.n1 { top: 40px; left: 38%; transform: translateY(-50%); }
.n2 { top: 117px; right: 60px; }
.n3 { top: 46%; right: -58px; transform: translateX(-30%); }
.n4 { bottom: 88px; right: 49px; }
.n5 { bottom: 17px; left: 45%; transform: translateY(-50%); }
.n6 { bottom: 109px; left: 39px; }
.n7 { top: 46%; left: 47px; transform: translateX(-30%); }
.n8 { top: 114px; left: 67px; }

/* Animacja */
@keyframes pulse {
    0%   { box-shadow: 0 25px 60px rgba(15,43,70,0.08); }
    50%  { box-shadow: 0 30px 80px rgba(30,64,175,0.15); }
    100% { box-shadow: 0 25px 60px rgba(15,43,70,0.08); }
}


.process-graphic span {
    display: block;
    opacity: 0.85;
    transition: 0.3s ease;
}

.process-graphic span:hover {
    opacity: 1;
    color: #1E40AF;
}


/* animacja */
@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* mobile – ukrywamy grafikę */
@media (max-width: 768px) {
  .process-layout {
    grid-template-columns: 1fr;
  }

  .process-visual {
    display: none;
  }
}

/* ===== PROGRESS RING ===== */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 950;

  width: 44px;
  height: 44px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,.85);
  border: 1px solid rgba(15,23,42,.08);

  color: #1d4ed8;

  box-shadow: 0 10px 30px rgba(15,23,42,.18);
  backdrop-filter: blur(6px);

  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;

  transition: opacity .25s ease, transform .25s ease;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.progress-ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
  pointer-events: none;
}

.progress-ring-bg {
  fill: none;
  stroke: rgba(15,23,42,.08);
  stroke-width: 2;
}

.progress-ring-circle {
  fill: none;
  stroke: #01696e;
  stroke-width: 2;
  stroke-linecap: round;

  stroke-dasharray: 113; /* 2πr = 2 * 3.14 * 18 ≈ 113 */
  stroke-dashoffset: 113;

  transition: stroke-dashoffset .15s linear;
}

.back-to-top-icon {
  width: 18px;
  height: 18px;
  z-index: 1;
  transition: transform .25s ease;
}

@media (hover: hover) {
  .back-to-top:hover .back-to-top-icon {
    transform: translateY(-2px);
  }
}


/* ============================= */
/* PARTNER PREMIUM SECTION */
/* ============================= */

.partner-highlight--premium {
  background: linear-gradient(135deg, #f8fafc, #eef4ff);
  color: #1e293b;
  border-radius: 28px;
  padding: 90px 70px;
  margin: 100px auto;
  position: relative;
}


.partner-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}


/* ============================= */
/* LOGO SIDE */
/* ============================= */

.partner-logo-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 70px 40px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,.05);
  border: 1px solid #e2e8f0;
}

.partner-logo-text {
  font-size: 42px;
  font-weight: 700;
  color: #19773c;
}

.partner-logo-sub {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  color: #64748b;
}


/* ============================= */
/* CONTENT SIDE */
/* ============================= */

.partner-content h2 {
  font-size: 34px;
  margin-bottom: 20px;
  color: #293b67;
}

.partner-content p {
  font-size: 17px;
  color: #475569;
  margin-bottom: 28px;
}


/* ============================= */
/* BADGE */
/* ============================= */

.partner-badge {
  display: inline-block;
  padding: 6px 14px;
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 600;
  font-size: 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}


/* ============================= */
/* CHECKLIST LIGHT */
/* ============================= */

.check-list--light li {
  color: #334155;
  margin-bottom: 12px;
}


.check-list--light li::marker {
  color: #60a5fa;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1024px) {
  .partner-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .partner-highlight--premium {
    padding: 70px 40px;
  }
}


.hero-trust {
  margin-top: 24px;
  font-size: 14px;
  opacity: .85;
  line-height: 1.6;
}

/* ============================= */
/* HERO CARD PREMIUM */
/* ============================= */

.hero-card--premium {
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
  border: 1px solid rgba(255,255,255,.2);
  transition: transform .3s ease, box-shadow .3s ease;
}

.hero-card--premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0,0,0,.25);
}

/* ============================= */
/* DUAL OFFER SECTION */
/* ============================= */

.dual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
  gap: 50px;
}

.dual-box {
  padding: 45px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  box-shadow: 0 20px 50px rgba(0,0,0,.07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.dual-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,.12);
}

.dual-box--new {
  border-top: 6px solid #386cff;
}

.dual-box--support {
  border-top: 6px solid #198754;
}

.partner-actions {
  margin-top: 24px;
}

.partner-note {
  margin-top: 24px;
  opacity: .8;
  font-size: 15px;
}

.partner-logo-img {
  max-width: 220px;
  height: auto;
  display: block;
}

.partner-eyebrow {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .6;
  margin-bottom: 6px;
}

.partner-content h2 {
  font-size: 34px;
  font-weight: 700;
}

.contact-direct {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  border: 1px solid #eef2f7;
  max-width: 420px;
}

.contact-direct-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #0f172a;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-list a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease;
}

.contact-list a:hover {
  color: var(--primary);
}


.contact-seo-text {
  margin-top: 60px;
  padding: 24px;
  background: rgba(0,0,0,0.03);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
}

.section.system {
  padding: 96px 0;

  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(37, 99, 235, 0.07),
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(70, 179, 150, 0.06),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #eef4fb 100%
    );
}


.systems-grid {
    display: grid;
    grid-template-columns: 1fr; /* MOBILE */
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 60px 0 80px 0;
}

/* większy mobile */
@media (min-width: 480px) {
    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* tablet */
@media (min-width: 768px) {
    .systems-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* desktop */
@media (min-width: 1200px) {
    .systems-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


.system-name {
    font-size: 17px;
    color: #1F4E78;
    font-weight: 700;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.system-tile {
    background-color: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    padding: 14px 12px;
    display: flex;
    align-items: flex-start;

    transition: 
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease,
        background-color .25s ease;
}

/* HOVER */
.system-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(37,99,235,.35);
    box-shadow: 
        0 14px 30px rgba(15,23,42,.08),
        0 0 0 1px rgba(37,99,235,.08);
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f8fbff 100%
    );
}

/* IKONA – micro animation */
.system-tile:hover .system-icon {
    transform: scale(1.15);
    color: #2563eb;
}

.system-icon {
    color: #27ae60;
    font-weight: bold;
    font-size: 20px;
    margin-right: 10px;
    line-height: 1.2;
    transition: transform .25s ease, color .25s ease;
}

/* Nazwa systemu – lekki akcent */
.system-tile:hover .system-name {
    color: #2563eb;
}


.system-producer {
    font-size: 11px;
    color: #7f8c8d;
    margin: 0;
}

.system-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.systems-section {
    background: radial-gradient(
        circle at 20% 10%,
        rgba(37,99,235,.04),
        transparent 40%
    ),
    #f8fafc;
}


.lead-magnet {
  padding: 96px 0;

  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(37, 99, 235, 0.07),
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(70, 179, 150, 0.06),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #eef4fb 100%
    );
}


.lead-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;

  background: rgba(37,99,235,.1);
  color: #2563eb;

  margin-bottom: 16px;
}

.lead-box h3 {
  font-size: 28px;
  margin-bottom: 18px;
}

.lead-intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 28px;
}

.check-list--premium {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.check-list--premium li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  line-height: 1.5;
  transition: transform .2s ease;
}

.check-list--premium li::before {
    content: "✓";
    position: absolute;
    left: 5px;
    top: -4px;
    font-weight: 900;
    color: #2563eb;
    font-size: 21px;
}

.check-list--premium li:hover {
  transform: translateX(4px);
}




.error-404 {
  padding: 140px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(37,99,235,.06), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(70,179,150,.06), transparent 45%),
    #f8fafc;
  text-align: center;
}







/* =====================================
   404 PREMIUM – MED TECH CENTERED
===================================== */

.error-404-premium {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f8fafc;
  overflow: hidden;
  padding: 40px 20px;
}

/* ANIMOWANE TŁO */
.error-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(37,99,235,.08), transparent 45%),
    radial-gradient(circle at 80% 40%, rgba(70,179,150,.08), transparent 50%);
  animation: bgFloat 14s ease-in-out infinite alternate;
}

@keyframes bgFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-40px); }
}

/* BOX */
.error-premium-box {
  position: relative;
  z-index: 2;
  max-width: 720px;
  width: 100%;
}

/* CYFRY */
.error-code-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.error-digit {
  font-size: clamp(72px, 15vw, 140px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, #2563eb, #46b396);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: floatDigit 6s ease-in-out infinite;
}

.error-digit:nth-child(1) { animation-delay: 0s; }
.error-digit:nth-child(2) { animation-delay: .5s; }
.error-digit:nth-child(3) { animation-delay: 1s; }

@keyframes floatDigit {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ŚRODKOWA CYFRA – subtelny glow */
.error-digit--pulse {
  text-shadow: 0 0 24px rgba(37,99,235,.25);
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { text-shadow: 0 0 12px rgba(37,99,235,.15); }
  50% { text-shadow: 0 0 40px rgba(37,99,235,.35); }
}

.error-404-premium h1 {
  font-size: 32px;
  margin-bottom: 16px;
}

.error-lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Mobile fine tuning */
@media (max-width: 480px) {
  .error-404-premium h1 {
    font-size: 24px;
  }

  .error-lead {
    font-size: 15px;
  }
}

.section.results {
  position: relative;
  padding: 110px 0;
  background: #f8fafc;
  overflow: hidden;
}

/* główna warstwa mesh */
.section.results::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 25%, rgba(37,99,235,0.15), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(56,189,248,0.15), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(15,23,42,0.08), transparent 50%);
  filter: blur(70px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.results-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.result-main {
  background: #fff;
  padding: 40px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 15px 40px rgba(15,23,42,.05);
}

.result-main h3 {
  margin-bottom: 18px;
}

.result-list {
  margin: 20px 0;
  padding-left: 20px;
}

.result-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 20px;
}

.result-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-stat {
  background: #cadae9;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.05);
}

.stat-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  margin-bottom: 6px;
}

.stat-value {
  font-weight: 600;
}

/* mobile */
@media (max-width: 900px) {
  .results-layout {
    grid-template-columns: 1fr;
  }
}




/* =========================================
   NEWS SECTION STYLES
========================================= */

.hero--news {
  background: radial-gradient(circle at 20% 30%, rgba(37,99,235,.12), transparent 45%),
              radial-gradient(circle at 80% 20%, rgba(56,189,248,.12), transparent 50%),
              #f8fafc;
}

.news-featured-card {
  background: linear-gradient(135deg,#0f172a,#1e293b);
  color: #fff;
  padding: 60px;
  border-radius: 28px;
  box-shadow: 0 40px 100px rgba(15,23,42,.35);
}

.news-category {
  display: inline-block;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  margin-bottom: 16px;
}

.news-card {
  padding: 32px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(15,23,42,.08);
  transition: .3s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(15,23,42,.15);
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.news-tags span {
  padding: 10px 18px;
  border-radius: 999px;
  background: #e2e8f0;
  font-size: 14px;
}



/* =========================================
   ARTICLE TEMPLATE – PREMIUM
========================================= */

.article-hero {
  padding: 120px 0 80px;
  background:
    radial-gradient(circle at 20% 30%, rgba(37,99,235,.12), transparent 45%),
    #f8fafc;
}

.article-category {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 20px;
}

.article-hero h1 {
  font-size: clamp(32px,4vw,52px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.article-excerpt {
  font-size: 18px;
  color: #475569;
  margin-bottom: 24px;
}

.article-meta {
    font-size: 14px;
    color: #153d77;
    display: flex;
    gap: 12px;
    background: #d0e8d0;
    max-width: 323px;
    border: solid 1px green;
    border-radius: 10px;
    padding: 0 9px;
    font-weight: 400;

}

.article-content {
  font-size: 18px;
  line-height: 1.8;
  color: #1e293b;
}

.article-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 26px;
}

.article-content p {
  margin-bottom: 20px;
}

.summary-box {
  padding: 40px;
  background: linear-gradient(135deg,#0f172a,#1e293b);
  color: #fff;
  border-radius: 24px;
}

.summary-box h3 {
  margin-bottom: 20px;
}

.summary-box ul {
  padding-left: 20px;
}