@charset "UTF-8";
/* ================================================================
   Centoro - stylesheet entrypoint.
   Assembled from SCSS partials in ./styles, compiled to CSS at build.
   Order matters: partials are emitted in the order @use'd below, which
   matches the original source order so the cascade is unchanged.
   ================================================================ */
/* ================================================================
   Design tokens - kept as CSS custom properties (NOT Sass $vars) because
   they are consumed at runtime via var(...) in JSX inline styles and in
   data.js HTML strings. Converting them to Sass variables would break those.
   ================================================================ */
:root {
  /* ---- Brand palette ---- */
  --primary-color: #fd5934;
  --primary-hover: #e04622;
  --primary-glow: rgba(253, 89, 52, 0.5);
  --dark-color: #0b1120;
  --dark-color-2: #1a2332;
  --light-color: #f8fafc;
  --light-alt: #f1f5f9;
  --text-color: #334155;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --bg-white: #ffffff;
  --radius: 12px;
  --transition: color 0.3s ease, background-color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  /* ---- Helpers ---- */
  --primary-soft: rgba(253, 89, 52, 0.08);
  --primary-tint: rgba(253, 89, 52, 0.14);
  --radius-sm: 8px;
  --radius-lg: 20px;
  --container: 1200px;
  --header-height: 70px;
  --logo-width: 153px;
  /* Alpha variants */
  --primary-ultra-soft: rgba(253, 89, 52, 0.05);
  --primary-glow-soft: rgba(253, 89, 52, 0.10);
  --primary-ring: rgba(253, 89, 52, 0.12);
  --dark-soft: rgba(11, 17, 32, 0.04);
  --gradient-dark: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-color-2) 100%);
  /* Footer tokens */
  --footer-text: rgba(255, 255, 255, 0.7);
  --footer-text-muted: rgba(255, 255, 255, 0.5);
  --footer-text-dim: rgba(255, 255, 255, 0.4);
  --footer-border: rgba(255, 255, 255, 0.1);
  --footer-text-bright: rgba(255, 255, 255, 0.92);
  --font-display: var(--font-rubik), system-ui, sans-serif;
  --font-body: var(--font-rubik), system-ui, sans-serif;
  --font-label: var(--font-rubik), system-ui, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 700px 500px at 15% -5%, rgba(253, 89, 52, 0.07), transparent 60%), radial-gradient(ellipse 600px 400px at 90% 10%, rgba(253, 89, 52, 0.04), transparent 60%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(11, 17, 32, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 17, 32, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--dark-color);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--primary-color);
  color: var(--bg-white);
}

/* Brand wordmark inside copy: bold, "cen" dark, "toro" orange.
   .cn-dot is the trailing orange period; service names (centoro.activate …)
   wrap the whole token in .cn-name so the suffix stays bold + dark. */
.cn {
  font-weight: 700;
  color: var(--dark-color);
  white-space: nowrap;
  text-transform: none;
}

.cn > span {
  color: var(--primary-color);
}

.cn-dot {
  color: var(--dark-color);
  font-weight: 700;
  text-transform: none;
  /* Chowamy glif kropki i rysujemy własną, okrągłą (jak w logo) - niezależnie od tego,
     jak wygląda kropka w aktualnym foncie. text-fill-color zamiast color, aby currentColor
     w ::after dziedziczył kolor kontekstu. */
  position: relative;
  -webkit-text-fill-color: transparent;
}

.cn-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  /* 0.29em ≈ descent Sory - kółko siada na linii bazowej jak glif kropki */
  bottom: 0.29em;
  transform: translateX(-50%);
  width: 0.17em;
  height: 0.17em;
  border-radius: 50%;
  background: currentColor;
}

.cn-name {
  font-weight: 700;
  color: var(--dark-color);
  white-space: nowrap;
  text-transform: none;
}

/* Keep the wordmark legible on dark backgrounds (footer, dark cards). */
footer .cn, .request-card .cn, .calc-result .cn,
footer .cn-name, .request-card .cn-name, .calc-result .cn-name,
footer .cn-dot, .request-card .cn-dot, .calc-result .cn-dot {
  color: rgba(255, 255, 255, 0.92);
}

/* On the orange primary button the whole wordmark must be white (orange "toro"/dot would vanish). */
.btn-primary .cn, .btn-primary .cn > span, .btn-primary .cn-dot, .btn-primary .cn-name {
  color: var(--bg-white);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 60px 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 20px 0;
  }
}
/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 8px 24px -8px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px var(--primary-ring), 0 16px 32px -8px var(--primary-glow);
}

.btn-submit {
  width: 100%;
  padding: 16px;
}

.btn-ghost {
  background: transparent;
  color: var(--dark-color);
  border-color: var(--border-color);
}

.btn-ghost:hover {
  background: var(--light-alt);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn .arrow {
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* Na wąskich ekranach pozwól długim etykietom przycisków się zawijać
   zamiast rozpychać layout poza ekran (bazowo .btn ma white-space:nowrap). */
@media (max-width: 540px) {
  .btn {
    white-space: normal;
    text-align: center;
  }
}
/* ---------- Header / Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

/* Belka pełnej szerokości: logo (lewa) i przyciski (prawa) siedzą POZA kolumną
   1200px, przy krawędziach okna. Tylko menu (`.nav-links`) jest wyrównane do
   lewej krawędzi kolumny treści - patrz `margin-left` w `.nav-links`. */
header .container {
  max-width: none;
  padding-left: 24px;
  padding-right: 24px;
}

.nav {
  display: flex;
  align-items: center;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--dark-color);
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  display: grid;
  place-items: center;
  color: var(--bg-white);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px -2px var(--primary-glow);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
  /* Menu wyrównane do lewej krawędzi kolumny 1200px (jak treść strony).
     1. człon (clamp od progu menu $bp-xl) = minimalny odstęp od logo, który
        zwija się tuż nad progiem, by nie wypchnąć CTA poza ekran;
     2. człon dosuwa menu do krawędzi containera na szerokich ekranach
        (153px ≈ szerokość logo). max() wybiera większy → brak nachodzenia. */
  margin-left: max(clamp(0px, (100vw - 1024px) / 5, 40px), (100vw - var(--container)) / 2 - var(--logo-width));
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-color);
  transition: color 0.2s ease;
  position: relative;
  font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.25s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-text-link {
  font-weight: 500;
  color: var(--text-color);
  margin-right: 24px;
  text-decoration: none;
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
}

.nav-actions .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
}
@media (max-width: 540px) {
  .nav-actions .btn-ghost {
    display: none;
  }
}
/* ---------- Mobile nav (≤1024px) ---------- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--dark-color);
  border-radius: 2px;
  transition: transform 0.25s ease, background 0.2s ease;
}

.nav-toggle-bars {
  transform: translate(-50%, -50%);
}

.nav-toggle-bars::before {
  transform: translate(-50%, -8px);
}

.nav-toggle-bars::after {
  transform: translate(-50%, 6px);
}

.nav-toggle-bars.is-open {
  background: transparent;
}

.nav-toggle-bars.is-open::before {
  transform: translate(-50%, -1px) rotate(45deg);
}

.nav-toggle-bars.is-open::after {
  transform: translate(-50%, -1px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 16px 28px -16px rgba(11, 17, 32, 0.25);
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-nav {
  list-style: none;
  padding: 8px 24px 0;
}

.mobile-nav > li {
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav > li > a,
.mobile-parent-row > a {
  display: block;
  padding: 15px 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark-color);
}

.mobile-nav > li > a:hover,
.mobile-parent-row > a:hover {
  color: var(--primary-color);
}

.mobile-parent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-parent-row > a {
  flex: 1;
}

.mobile-caret {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 15px 15px 15px 16px;
  color: var(--text-muted);
}

.mobile-caret .dd-caret {
  display: inline-block;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.mobile-caret .dd-caret.is-open {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.mobile-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.mobile-sub.is-open {
  grid-template-rows: 1fr;
}

.mobile-sub-list {
  list-style: none;
  overflow: hidden;
  min-height: 0;
}

.mobile-sub li a {
  display: block;
  padding: 11px 0 11px 14px;
  color: var(--text-color);
  font-size: 0.95rem;
  border-top: 1px solid var(--border-color);
}

.mobile-sub li:first-child a {
  border-top: none;
}

.mobile-sub li a:hover {
  color: var(--primary-color);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px 24px;
}

.mobile-actions .btn {
  width: 100%;
}

@media (max-width: 1024px) {
  .nav-actions {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}
/* ---------- Hero ---------- */
.hero {
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: left;
}

.hero.subpage {
  padding-bottom: 30px;
}

.badge {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-tint);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 32px;
  font-family: var(--font-label);
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}
.hero h1 {
  max-width: 950px;
  margin: 28px 0;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  margin: 44px 0;
  font-size: 1.15rem;
  color: var(--text-color);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero.subpage .hero-actions {
  margin-bottom: 0;
}

.hero.subpage .hero-actions + .hero-meta {
  margin-top: 40px;
}

.hero-meta {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-label);
  margin-bottom: 48px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span::before {
  content: "✓";
  color: var(--primary-color);
  font-weight: 700;
}

/* ---------- Hero split (home): tekst po lewej, panel po prawej, kontener 100% szerokości ---------- */
.hero.hero--split {
  padding-top: 72px;
  padding-bottom: 72px;
}

/* Tekst po lewej zajmuje resztę, panel po prawej ma stałą, ograniczoną szerokość
   (mieści się w standardowym containerze 1200px - nie wychodzi poza sekcję). */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 700px);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  text-align: left;
}

.hero.hero--split .badge {
  margin-bottom: 0;
}

.hero.hero--split h1 {
  max-width: 13ch;
  margin: 22px 0 0;
  font-size: clamp(2.5rem, 6vw, 3rem);
}

.hero.hero--split .hero-sub {
  margin-top: 14px;
}

.hero.hero--split .hero-actions {
  justify-content: flex-start;
  margin: 34px 0 0;
}

/* ---------- Panel Centoro: zdjęcie z efektem przechylania 3D za kursorem ---------- */
.hero-showcase {
  --rx: 0deg;
  --ry: 0deg;
  --tx: 0px;
  --ty: 0px;
  --gx: 50%;
  --gy: 30%;
  position: relative;
  perspective: 1400px;
  width: 100%;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: -8% -4%;
  background: radial-gradient(ellipse at center, rgba(253, 89, 52, 0.2), transparent 70%);
  filter: blur(46px);
  z-index: -1;
}

.hero-showcase-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 34px 64px -24px rgba(11, 17, 32, 0.3);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translate3d(var(--tx), var(--ty), 0);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}
@media (hover: hover) and (pointer: fine) {
  .hero-showcase-inner {
    will-change: transform;
  }
}

.hero-showcase-inner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Refleks światła podążający za kursorem (pojawia się na hover). */
.hero-showcase-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.28), transparent 42%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-showcase:hover .hero-showcase-inner::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 32px;
    padding-bottom: 40px;
  }
  .hero h1 {
    margin: 20px 0;
  }
  .hero p.lede {
    margin: 24px 0;
  }
  .hero-actions {
    margin-bottom: 40px;
  }
  .hero-meta {
    gap: 14px;
    margin-bottom: 32px;
  }
}
/* Poniżej 900px hero składa się do jednej kolumny: panel ląduje pod tekstem. */
@media (max-width: 900px) {
  .hero.hero--split {
    padding-top: 40px;
    padding-bottom: 48px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero.hero--split h1 {
    max-width: none;
  }
  /* Po złożeniu do jednej kolumny panel wyśrodkowany pod tekstem. */
  .hero-showcase {
    margin-left: auto;
    margin-right: auto;
  }
}
/* Na telefonie (≤768px) hero home dostaje te same zmniejszone odstępy co reszta sekcji.
   Osobny blok, bo `.hero.hero--split` (0,2,0) ma wyższą specyficzność niż `.hero` z bloku bp-md. */
@media (max-width: 768px) {
  .hero.hero--split {
    padding-top: 32px;
    padding-bottom: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-showcase-inner {
    transform: none !important;
  }
  .hero-showcase-inner::after {
    display: none;
  }
}
/* ---------- Hero subline (home) ---------- */
.hero-sub {
  font-family: var(--font-label);
  font-size: 1.05rem;
  color: var(--primary-color);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-top: -6px;
}

/* ---------- Section heading ---------- */
.section-eyebrow {
  display: none;
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-bottom: 16px;
  padding: 4px 12px;
  background: var(--primary-soft);
  border-radius: 999px;
  border: 1px solid var(--primary-tint);
  font-weight: 500;
}

.section-title {
  margin-bottom: 20px;
  color: var(--dark-color);
}

.section-lede {
  margin-bottom: 64px;
  font-size: 1.1rem;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .section-lede {
    margin-bottom: 28px;
  }
}
/* ---------- Generic light section ---------- */
.bg-light {
  background: var(--light-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* ---------- Integrations grid ---------- */
.int-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.int-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.int-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 16px 32px -16px var(--primary-glow);
}

.int-icon {
  font-size: 1.75rem;
  margin-bottom: 16px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
}

.int-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.int-card ul {
  list-style: none;
}

.int-card li {
  font-size: 0.88rem;
  color: var(--text-color);
  padding: 5px 0;
  border-bottom: 1px dashed var(--border-color);
}

.int-card li:last-child {
  border-bottom: none;
  color: var(--primary-color);
  font-weight: 600;
  padding-top: 8px;
}

@media (max-width: 900px) {
  .int-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .int-grid {
    grid-template-columns: 1fr;
  }
}
/* ---------- Benefits grid ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.benefit {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.benefit:hover {
  border-color: var(--primary-color);
  box-shadow: 0 16px 40px -20px var(--primary-glow);
  transform: translateY(-2px);
}

.benefit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  right: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit:hover::before {
  opacity: 1;
}

.benefit-num {
  font-family: var(--font-label);
  color: var(--primary-color);
  font-size: 0.85rem;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.benefit h3 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.benefit p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
}

.benefit-stat {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.benefit-stat strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 700;
}

.benefit-stat span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}
/* ---------- Two paths ---------- */
.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.path {
  padding: 44px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.path:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.path-1 {
  background: linear-gradient(160deg, var(--primary-ultra-soft), var(--bg-white) 60%);
}

.path-2 {
  background: linear-gradient(160deg, var(--dark-soft), var(--bg-white) 60%);
}

.path-tag {
  font-family: var(--font-label);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  margin-bottom: 24px;
  padding: 6px 12px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-tint);
  border-radius: 999px;
  display: inline-block;
  font-weight: 600;
}

.path h3 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.path p {
  line-height: 1.7;
  margin-bottom: 28px;
  color: var(--text-color);
}

.path-features {
  list-style: none;
}

.path-features li {
  padding: 10px 0;
  color: var(--dark-color);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.path-features li::before {
  content: "→";
  color: var(--primary-color);
  font-weight: 700;
}

@media (max-width: 768px) {
  .paths {
    grid-template-columns: 1fr;
  }
}
/* ---------- Tiles ---------- */
.tiles-band {
  background: var(--light-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tile {
  padding: 22px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--dark-color);
  line-height: 1.4;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.tile:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -16px var(--primary-glow);
}

.tile-num {
  font-family: var(--font-label);
  font-size: 0.75rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  display: block;
  font-weight: 500;
}

@media (max-width: 900px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .tiles {
    grid-template-columns: 1fr;
  }
}
/* ---------- Tech section ---------- */
.tech-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* SVG/media column slightly wider than text column */
  gap: 80px;
  align-items: center;
}

.tech-vis {
  aspect-ratio: 1/1;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.tech-vis svg {
  width: 100%;
  height: 100%;
}

.tech-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.tech-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.tech-stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .tech-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 56px auto 0;
}

details {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

details[open] {
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px -16px var(--primary-glow);
}

summary {
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 1.05rem;
  font-family: var(--font-display);
  color: var(--dark-color);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 300;
  transition: transform 0.25s ease;
  line-height: 1;
}

details[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 28px 24px;
  color: var(--text-color);
  line-height: 1.7;
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  padding: 100px 0;
  background: radial-gradient(ellipse at center, var(--primary-glow-soft), transparent 70%), var(--light-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.final-cta h2 {
  max-width: 780px;
  margin: 0 auto 28px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.final-cta p {
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--text-color);
}

.final-meta {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-label);
}

/* ---------- Footer ---------- */
footer {
  padding: 60px 0 40px;
  background: var(--dark-color);
  color: var(--light-alt);
}

footer .logo {
  color: var(--bg-white);
}

footer .logo img {
  max-width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  font-family: var(--font-label);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--footer-text-muted);
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: var(--footer-text);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: var(--primary-color);
}

.footer-tagline {
  color: var(--footer-text-muted);
  margin-top: 16px;
  font-size: 0.95rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-social {
  list-style: none;
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--footer-text);
  background: var(--footer-border);
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: var(--bg-white);
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--footer-text-dim);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* logo + tagline na pełną szerokość; kolumny linków układają się 2×2 poniżej.
     Inaczej szerokie logo nie mieści się w wąskiej kolumnie i rozpycha stopkę. */
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
}
/* ================================================================
   Subpage-specific: Pricing
   ================================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  align-items: stretch;
}

.plan {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.plan:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 24px 48px -24px var(--primary-glow);
}

.plan.featured {
  border-color: var(--primary-color);
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg-white) 30%);
  box-shadow: 0 24px 48px -24px var(--primary-glow);
}

.plan-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--bg-white);
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px -2px var(--primary-glow);
}

.plan-name {
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 600;
}

/* The plan label is the brand wordmark itself - render it in the brand font,
   not the mono label font it would otherwise inherit. */
.plan-name .cn-name, .plan-name .cn, .plan-name .cn-dot {
  font-family: var(--font-display);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.plan-price .amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark-color);
  letter-spacing: -0.03em;
}

.plan-price .period {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.plan-tagline {
  color: var(--text-color);
  margin-bottom: 28px;
  font-size: 0.95rem;
  min-height: 48px;
}

.plan-divider {
  height: 1px;
  background: var(--border-color);
  margin-bottom: 24px;
}

.plan ul {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.plan li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--dark-color);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.plan li::before {
  content: "✓";
  color: var(--primary-color);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan li.muted {
  color: var(--text-muted);
}

.plan li.muted::before {
  content: "–";
  color: var(--text-muted);
}

.plan .btn {
  width: 100%;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
/* ---------- Compare table ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 56px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.compare-table th {
  background: var(--light-color);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--dark-color);
  font-size: 0.95rem;
}

.compare-table th:not(:first-child) {
  text-align: center;
}

.compare-table td:not(:first-child) {
  text-align: center;
  color: var(--text-color);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table .check {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.2rem;
}

.compare-table .dash {
  color: var(--text-muted);
}

.compare-table .row-feature {
  font-weight: 500;
  color: var(--dark-color);
}

@media (max-width: 768px) {
  .compare-table {
    font-size: 0.85rem;
  }
  .compare-table th, .compare-table td {
    padding: 12px 10px;
    font-size: 0.8rem;
  }
}
/* ================================================================
   Subpage-specific: Features
   ================================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 16px 32px -16px var(--primary-glow);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.feature-card p {
  color: var(--text-color);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  border-top: 1px dashed var(--border-color);
  padding-top: 16px;
}

.feature-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.feature-list li::before {
  content: "•";
  color: var(--primary-color);
  font-weight: 700;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
/* ---------- Workflow visualization ---------- */
.workflow {
  margin-top: 56px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  margin: 24px auto;
  position: relative;
}

.workflow-step:last-child {
  margin-bottom: 0;
}

.workflow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 60px;
  bottom: -24px;
  width: 1px;
  background: var(--primary-tint);
}

.workflow-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-tint);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  z-index: 1;
}

.workflow-content {
  padding-top: 12px;
}

.workflow-tag {
  font-family: var(--font-label);
  font-size: 0.72rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  font-weight: 600;
}

.workflow-content h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--dark-color);
}

.workflow-content p {
  font-size: 0.95rem;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .workflow {
    padding: 32px 24px;
  }
}
/* ================================================================
   Subpage-specific: Integrations
   ================================================================ */
.int-categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.int-cat {
  padding: 8px 18px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.int-cat:hover, .int-cat.active {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--primary-soft);
}

.int-cat-count {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-label);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.int-cat.active .int-cat-count {
  color: var(--primary-color);
}

.int-section {
  margin-bottom: 80px;
  scroll-margin-top: var(--header-height, 80px);
}

.int-section:last-child {
  margin-bottom: 0;
}

.int-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.int-section-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.int-section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.int-section-header p {
  font-size: 0.9rem;
  margin: 0;
}

.int-tile-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.int-tile {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}

.int-tile:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -12px var(--primary-glow);
}

.int-tile-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--light-alt);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-display);
  flex-shrink: 0;
}

.int-tile-info {
  min-width: 0;
  flex: 1;
}

.int-tile-name {
  font-weight: 600;
  color: var(--dark-color);
  font-size: 0.95rem;
  font-family: var(--font-display);
}

.int-tile-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-label);
}

@media (max-width: 900px) {
  .int-tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .int-tile-grid {
    grid-template-columns: 1fr;
  }
}
.request-card {
  margin-top: 80px;
  padding: 48px;
  background: var(--gradient-dark);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  color: var(--bg-white);
}

.request-card h3 {
  color: var(--bg-white);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.request-card p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

@media (max-width: 768px) {
  .request-card {
    grid-template-columns: 1fr;
    padding: 32px;
    text-align: center;
  }
}
/* ================================================================
   Subpage-specific: Contact
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
}

/* Wariant z samym formularzem i danymi spółki - wyśrodkowany na stronie */
.contact-single {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  /* pozwól kolumnie siatki zwęzić się poniżej min-content kontrolek formularza */
  min-width: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.form-field label .req {
  color: var(--primary-color);
}

.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  min-width: 0;
  padding: 12px 16px;
  background: var(--light-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-color);
  transition: var(--transition);
}

.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}

/* Customowy dropdown tematu - wygląda jak select, ale renderuje brand graficznie w opcjach */
.form-select {
  position: relative;
}

.form-select-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: var(--light-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-color);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.form-select-btn:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-select-btn .dd-caret {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.form-select.is-open .form-select-btn .dd-caret {
  transform: rotate(180deg);
}

.form-select-placeholder {
  color: var(--text-muted);
}

.form-select-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 28px -16px rgba(11, 17, 32, 0.25);
  max-height: 300px;
  overflow-y: auto;
}

.form-select-list button {
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-color);
  text-align: left;
  cursor: pointer;
}

.form-select-list button:hover,
.form-select-list button.is-selected,
.form-select-list button.is-active {
  background: var(--primary-soft);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.form-checkbox input {
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: var(--primary-color);
}

@media (max-width: 540px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px;
  }
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.info-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--primary-color);
}

.info-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark-color);
  margin-bottom: 12px;
}

.info-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.info-card-body {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.7;
}

.info-card-body a {
  color: var(--primary-color);
  font-weight: 600;
}

.info-card-body a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* Two-column generic layout for contact info section etc. */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
  }
}
/* ================================================================
   Subpage-specific: Support page - price panel and service plan pricing
   ================================================================ */
.price-panel {
  margin-top: 16px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 16px 40px -28px rgba(11, 17, 32, 0.25);
}

.price-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}

.price-highlight {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--primary-soft), var(--bg-white) 75%);
  border: 1px solid var(--primary-tint);
  border-radius: var(--radius);
  padding: 24px;
}

.price-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
}

.price-highlight .ph-label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 14px;
}

.price-highlight .ph-amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark-color);
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-highlight .ph-note {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price-rows {
  list-style: none;
  margin-top: 8px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 4px;
  border-bottom: 1px dashed var(--border-color);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row .pr-name {
  color: var(--dark-color);
  font-size: 0.95rem;
  font-weight: 500;
}

.price-row .pr-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-color);
  white-space: nowrap;
}

@media (max-width: 540px) {
  .price-highlights {
    grid-template-columns: 1fr;
  }
  .price-panel {
    padding: 24px;
  }
  /* nazwa nad wartością - wartość ma white-space:nowrap i nie mieści się obok etykiety */
  .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
/* ---------- Dokumenty prawne (regulamin / polityka prywatności) ---------- */
.legal {
  max-width: 880px;
}

.legal-updated {
  color: var(--text-muted);
  font-family: var(--font-label);
  font-size: 0.85rem;
  margin-top: 8px;
}

/* Spis treści */
.legal-toc {
  margin: 40px 0;
  padding: 28px 32px;
  background: var(--light-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.legal-toc h2 {
  font-size: 1.1rem;
  margin: 0 0 16px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.legal-toc li {
  color: var(--text-color);
  font-size: 0.95rem;
}

.legal-toc a {
  color: var(--text-color);
  transition: color 0.2s ease;
}

.legal-toc a:hover {
  color: var(--primary-color);
}

/* Treść */
.legal-body {
  margin-top: 8px;
  /* długie URL-e w treści (np. linki do polityk zewnętrznych) muszą się łamać,
     inaczej rozpychają layout poza ekran telefonu */
  overflow-wrap: anywhere;
}

.legal-h2 {
  font-size: 1.4rem;
  margin: 44px 0 18px;
  padding-top: 18px;
  border-top: 2px solid var(--primary-soft);
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.legal-h2-num {
  color: var(--primary-color);
}

.legal-body p {
  position: relative;
  color: var(--text-color);
  line-height: 1.75;
  margin: 0 0 14px;
  padding-left: 2.4em;
}

.legal-marker {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.legal-alpha {
  padding-left: 4em !important;
}

.legal-roman {
  padding-left: 5.6em !important;
}

.legal-p {
  padding-left: 0 !important;
}

@media (max-width: 640px) {
  .legal-toc {
    padding: 20px;
  }
  .legal-alpha {
    padding-left: 3.2em !important;
  }
  .legal-roman {
    padding-left: 4.4em !important;
  }
}
/* Offset anchor jumps so targets clear the sticky header */
:target {
  scroll-margin-top: calc(var(--header-height) + 26px);
}

/* ---------- Nav dropdown (mega-menu) ---------- */
.nav-links .has-dropdown {
  position: relative;
}

.nav-links .has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dd-caret {
  font-size: 1rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.nav-links .has-dropdown:hover .dd-caret {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 360px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -20px rgba(11, 17, 32, 0.18);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

/* invisible bridge so the menu doesn't close over the gap */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-links .has-dropdown:hover .dropdown-menu,
.nav-links .has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.dropdown-menu a:hover {
  background: var(--primary-soft);
}

.dropdown-menu a::after {
  display: none;
}

.dd-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-color);
  margin-bottom: 2px;
}

.dropdown-menu a:hover .dd-title {
  color: var(--primary-color);
}

.dd-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ---------- 3-column card grid modifier ---------- */
.feature-grid.g3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .feature-grid.g3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .feature-grid.g3 {
    grid-template-columns: 1fr;
  }
}
/* feature-card with a CTA button anchored at the bottom */
.feature-card.has-cta {
  display: flex;
  flex-direction: column;
}

.feature-card.has-cta p {
  flex: 1;
}

.feature-card .card-cta {
  margin-top: 8px;
  align-self: flex-start;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.92rem;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.feature-card .card-cta .arrow {
  transition: transform 0.2s ease;
}

.feature-card.has-cta:hover .card-cta .arrow {
  transform: translateX(3px);
}

/* ---------- Steps (referral "jak to działa") ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.step {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: var(--transition);
}

.step:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -20px var(--primary-glow);
}

.step-num {
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
/* ---------- Capability list panel (integracje możliwości) ---------- */
.capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  margin-top: 8px;
  list-style: none;
}

.capabilities li {
  padding: 10px 0;
  color: var(--dark-color);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  border-bottom: 1px dashed var(--border-color);
}

.capabilities li::before {
  content: "→";
  color: var(--primary-color);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .capabilities {
    grid-template-columns: 1fr;
  }
}
/* ---------- Pricing calculator ---------- */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
  align-items: stretch;
}

.calc-panel {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.calc-label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}

.calc-orders {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark-color);
  line-height: 1;
}

.calc-orders small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-body);
  margin-left: 6px;
}

.calc-range {
  width: 100%;
  margin: 26px 0 8px;
  accent-color: var(--primary-color);
  height: 6px;
  cursor: pointer;
}

.calc-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-label);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.calc-tiers {
  margin-top: 28px;
  border-top: 1px dashed var(--border-color);
  padding-top: 20px;
}

.calc-tiers .ct-head {
  font-family: var(--font-label);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.calc-tiers ul {
  list-style: none;
}

.calc-tier {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--dark-color);
  border-bottom: 1px dashed var(--border-color);
}

.calc-tier:last-child {
  border-bottom: none;
}

.calc-tier.active {
  color: var(--primary-color);
  font-weight: 700;
}

.calc-tier .ct-rate {
  font-family: var(--font-display);
  font-weight: 700;
}

.calc-result {
  background: var(--gradient-dark);
  color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.calc-result .cr-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cr-row .cr-k {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.cr-row .cr-v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-align: right;
}

.calc-total {
  margin-top: 28px;
}

.calc-total .ct-label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-bottom: 10px;
}

.calc-total .ct-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--bg-white);
}

.calc-total .ct-amount span {
  color: var(--primary-color);
}

.calc-note {
  margin-top: 18px;
  font-family: var(--font-label);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .calc {
    grid-template-columns: 1fr;
  }
}
/* ---------- Success Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.55);
  backdrop-filter: blur(2px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease forwards;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px 32px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px -16px rgba(11, 17, 32, 0.35);
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.modal h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}
.modal p {
  margin: 0 0 28px;
  color: var(--text-muted);
  line-height: 1.6;
}
.modal .btn {
  padding: 10px 28px;
}

.modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}
.modal-close:hover {
  color: var(--text-color);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Scroll-reveal - used globally by ClientScripts.jsx */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.dc-link {
  color: var(--primary-color);
  font-weight: 600;
}

.dc-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.dc-meta-label {
  color: var(--dark-color);
  font-size: 0.85rem;
  font-family: var(--font-label);
}

.dc-quote-link {
  color: var(--primary-color);
  font-size: 1.5rem;
}
