/* ==========================================================================
   DrAmaT / DReS — stylesheet 2026
   Autor: przebudowa strony dramat.eu
   Bez zewnętrznych zależności (brak Google Fonts — istotne przy RODO/DSGVO
   dla klientów z Niemiec). Czcionki systemowe.
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------ */
:root {
  --ink:            #0e1621;
  --ink-2:          #16212f;
  --ink-3:          #223044;
  --line:           #dfe4ea;
  --line-dark:      #27374d;

  --bg:             #ffffff;
  --bg-soft:        #f5f7fa;
  --bg-softer:      #fafbfc;

  --text:           #1d2733;
  --text-muted:     #5b6878;
  --text-invert:    #eef2f7;
  --text-invert-mut:#9fb0c4;

  --brand:          #cc1122;
  --brand-dark:     #a30d1b;
  --brand-soft:     #fdecee;

  --ok:             #1f9254;
  --ok-soft:        #e8f6ee;
  --no:             #c2cad4;

  --radius:         10px;
  --radius-lg:      16px;
  --shadow-sm:      0 1px 2px rgba(14,22,33,.06), 0 1px 3px rgba(14,22,33,.08);
  --shadow-md:      0 4px 12px rgba(14,22,33,.08), 0 12px 32px rgba(14,22,33,.06);
  --shadow-lg:      0 12px 40px rgba(14,22,33,.14), 0 4px 12px rgba(14,22,33,.08);

  --maxw:           1180px;
  --gutter:         24px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* --- Layout helpers ----------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: var(--text-invert); }
.section--dark h2 { color: #fff; }
.section--dark p  { color: var(--text-invert-mut); }

.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 0; }
.section--dark .section-head p { color: var(--text-invert-mut); }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.section--dark .eyebrow { color: #ff6b7a; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; text-decoration: none !important;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
/* Biały tekst na czerwonym; po najechaniu odwrotnie — ciemny na białym. */
.btn--primary {
  background: var(--brand); color: #fff;
  border-color: var(--brand); box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: #fff; color: var(--ink); border-color: var(--brand);
}
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-soft); border-color: #c6cfda; }
.section--dark .btn--ghost,
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
/* nigdy nie łamiemy etykiety przycisku w nawigacji na dwie linie */
.btn--sm { padding: 10px 18px; font-size: .92rem; white-space: nowrap; }
.btn--block { width: 100%; }

/* --- Header / nav ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 24px;
  height: 68px;
}
.brand {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  flex-shrink: 0; text-decoration: none !important;
}
.brand img { height: 36px; width: auto; }
.brand__tag {
  font-size: .68rem; line-height: 1; color: var(--text-muted);
  letter-spacing: .045em; padding-left: 2px;
}
@media (max-width: 400px) { .brand img { height: 30px; } .brand__tag { font-size: .62rem; } }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }

/* WAŻNE: selektor musi wykluczać przycisk i flagi.
   Zwykłe `.nav a` ma specyficzność (0,1,1) i wygrywało z `.btn--primary`
   (0,1,0) oraz z `.langbar__item` — przycisk dostawał czarny tekst i
   font-weight 500 zamiast białego i bold. Stąd `> a:not(.btn)`:
   trafia wyłącznie w bezpośrednie linki menu. */
.nav > a:not(.btn) {
  color: var(--text); font-size: .95rem; font-weight: 500;
  padding: 8px 10px; border-radius: 8px; text-decoration: none !important;
  white-space: nowrap;
}
.nav > a:not(.btn):hover { background: var(--bg-soft); color: var(--brand); }
.nav .btn { margin-left: 10px; }

/* --- Przełącznik języka ------------------------------------------------- */
.langbar {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0 4px 0 10px; padding: 0 0 0 12px;
  border-left: 1px solid var(--line);
}
.langbar__item {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 8px; border-radius: 8px;
  text-decoration: none !important; line-height: 1;
}
.langbar__item img {
  width: 22px; height: auto; border-radius: 2px;
  opacity: .48; transition: opacity .15s ease, transform .15s ease;
}
.langbar__item span {
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  color: var(--text-muted); transition: color .15s ease;
}
.langbar__item:hover img { opacity: 1; }
.langbar__item:hover span { color: var(--text); }
.langbar__item:hover { background: var(--bg-soft); }
.langbar__item.is-active img { opacity: 1; transform: scale(1.06); }
.langbar__item.is-active span { color: var(--brand); }
.langbar__item.is-active { background: var(--brand-soft); }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 42px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { content: ""; position: absolute; top: -6px; }
.nav-toggle span::after  { content: ""; position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* z paskiem flag nawigacja potrzebuje wiecej miejsca niz kiedys */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 10px var(--gutter) 18px;
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav > a:not(.btn) { padding: 12px 8px; border-bottom: 1px solid var(--bg-soft); border-radius: 0; }
  .nav .btn { margin: 12px 0 0; }

  /* na telefonie flagi w jednym rzędzie, nad przyciskiem wersji próbnej */
  .langbar {
    margin: 14px 0 2px; padding: 14px 0 0;
    border-left: 0; border-top: 1px solid var(--line);
    gap: 6px; flex-wrap: wrap;
  }
  .langbar__item { padding: 8px 10px; border: 1px solid var(--line); }
  .langbar__item img { width: 26px; }
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 78% 10%, rgba(204,17,34,.16), transparent 60%),
    linear-gradient(170deg, #0e1621 0%, #16212f 55%, #1b2a3c 100%);
  color: var(--text-invert);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 78%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 8vw, 88px);
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #ff6b7a; }
.hero__lead { font-size: clamp(1.05rem, .98rem + .3vw, 1.22rem); color: #c3d0df; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--text-invert-mut); }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { flex-shrink: 0; }
.hero__new { color: #e8eef6 !important; font-weight: 500; }
.pill {
  display: inline-block; background: var(--brand); color: #fff;
  font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 99px; line-height: 1.5;
}

.hero__shot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.12);
  background: #0b111a;
}
.hero__shot img { width: 100%; }
.hero__shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 20px 14px;
  background: linear-gradient(to top, rgba(8,13,20,.92), transparent);
  color: #dbe5f0; font-size: .85rem;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__lead { max-width: none; }
}

/* --- Logo strip --------------------------------------------------------- */
.logostrip { border-bottom: 1px solid var(--line); background: var(--bg-softer); }
.logostrip__inner { padding: 26px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 44px; }
.logostrip__label {
  font-size: .76rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--text-muted); width: 100%; text-align: center; margin-bottom: 4px;
}
.logostrip img { height: 30px; width: auto; opacity: .62; filter: grayscale(100%); transition: opacity .2s, filter .2s; }
.logostrip img:hover { opacity: 1; filter: none; }
.logostrip__word {
  font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; color: #62707f;
}
.logostrip__note {
  width: 100%; text-align: center; font-size: .86rem; color: var(--text-muted); margin-top: 2px;
}

/* Uwaga: wszystkie siatki uzywaja minmax(min(Xpx, 100%), 1fr).
   Samo minmax(Xpx, 1fr) wymusza tor szerszy niz waski ekran i strona
   zaczyna sie przewijac w bok. */
/* --- Cards -------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(255px, 100%), 1fr)); }
/* Siatka 2 x 2 — równe kolumny, bez osieroconej karty w ostatnim rzędzie.
   minmax(0, 1fr) zamiast 1fr, żeby długie słowa nie rozpychały kolumny. */
.grid--2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid--2x2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: #cdd6e0; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--text-muted); font-size: .97rem; }

.card__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--brand-soft); color: var(--brand);
}
.card__icon svg { width: 24px; height: 24px; }

/* --- Feature list (two columns of ticks) -------------------------------- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks--2col { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 12px 40px; }
/* UWAGA: li NIE może być flexem — każdy <strong>/<em> w środku stałby się
   osobnym flex-itemem i tekst rozjechałby się poza kartę. Znacznik jest
   pozycjonowany absolutnie, treść leci normalnym flow i zawija się poprawnie. */
.ticks li {
  position: relative; padding-left: 32px; font-size: .98rem;
  text-align: left; overflow-wrap: break-word;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--ok-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9254' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
}
.section--dark .ticks li { color: #d7e1ec; }
.section--dark .ticks li::before { background-color: rgba(31,146,84,.22); }

/* --- Screenshot gallery ------------------------------------------------- */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 26px; }
.shot {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.shot:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.shot img { width: 100%; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.shot figcaption { padding: 16px 20px 20px; }
.shot figcaption strong { display: block; font-size: 1rem; margin-bottom: 3px; }
.shot figcaption span { color: var(--text-muted); font-size: .9rem; display: block; }
.shot__doc {
  display: inline-block; margin-top: 10px;
  font-size: .86rem; font-weight: 600; color: var(--brand); text-decoration: none;
}
.shot__doc:hover { text-decoration: underline; }

/* --- Video block -------------------------------------------------------- */
.videoblock {
  margin: 26px 0 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.videoblock video {
  display: block; width: 100%; max-width: 100%; height: auto;
  background: #0b111a; border-bottom: 1px solid var(--line);
}
.videoblock figcaption { padding: 16px 22px 22px; }
.videoblock figcaption strong { display: block; font-size: 1.02rem; margin-bottom: 3px; }
.videoblock figcaption span { display: block; color: var(--text-muted); font-size: .92rem; }

/* --- Pricing ------------------------------------------------------------ */
.notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff8e6; border: 1px solid #f0dca8; border-left: 4px solid #e0a800;
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 18px;
  font-size: .96rem;
}
.notice svg { flex-shrink: 0; margin-top: 2px; color: #b07c00; }
.notice p:last-child { margin-bottom: 0; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(265px, 100%), 1fr)); gap: 24px; margin-top: 34px; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.plan--featured { border-color: var(--brand); box-shadow: var(--shadow-md); position: relative; }
.plan__flag {
  position: absolute; top: 14px; right: 14px;
  background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px;
}
.plan__head { padding: 26px 26px 20px; border-bottom: 1px solid var(--line); background: var(--bg-softer); }
.plan__vendor { height: 28px; width: auto; margin-bottom: 8px; }
.plan__vendor-sub {
  font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
}
.plan__flag--new { background: #0f7b4f; }

/* Lista cen w karcie (KRC / iiQKA / zestaw) */
.pricelist { list-style: none; padding: 0; margin: 0; }
.pricelist li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.pricelist li:last-child { border-bottom: 0; }
.pricelist__name { font-size: .92rem; font-weight: 600; color: var(--ink-3); }
.pricelist__val  { font-size: 1.15rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.pricelist__val s { display: block; font-size: .76rem; font-weight: 500; color: var(--text-muted); text-align: right; }
/* UWAGA na specyficzność: sam `.pricelist__deal` (0,1,0) przegrywał
   z `.pricelist li` (0,1,1) i padding cicho wracał do 8px 0.
   Dlatego selektor musi zawierać `li`. */
.pricelist li.pricelist__deal {
  margin-top: 8px; padding: 14px 20px;
  background: #eaf6ef; border: 1px solid #c9e6d5; border-radius: var(--radius);
}
.pricelist__deal .pricelist__val { color: #0f7b4f; }
.pricelist__off {
  display: inline-block; margin-left: 6px; vertical-align: 1px;
  background: #0f7b4f; color: #fff; font-size: .64rem; font-weight: 800;
  letter-spacing: .05em; padding: 2px 7px; border-radius: 99px;
}
/* taki sam zapis jak "per year, net" w pozostałych kartach (.plan__price small) */
.pricelist__foot {
  margin: 10px 0 0; font-size: .78rem; font-weight: 500;
  color: var(--text-muted); letter-spacing: 0;
}
.plan__note {
  margin-top: 16px; padding: 12px 14px;
  background: var(--bg-soft); border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .87rem; line-height: 1.5; color: var(--text-muted);
}
.plan__note strong { color: var(--text); }

.matrix__soon td { color: #8b97a5; }
.matrix__soon td small { color: #a3adba; }
.tag-soon {
  display: inline-block; font-size: .64rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: #5b6878; background: #eef1f5; border: 1px solid #dde3ea;
  padding: 2px 7px; border-radius: 99px; white-space: nowrap;
}
.plan__vendor-name { font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; margin-bottom: 14px; color: var(--ink); }
.plan__tiers { display: flex; gap: 22px; }
.plan__tier { flex: 1; }
.plan__tier-name { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.plan__price { font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.plan__price small { font-size: .78rem; font-weight: 500; color: var(--text-muted); display: block; letter-spacing: 0; }
.plan__body { padding: 20px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.plan__foot { margin-top: auto; padding-top: 20px; }

.matrix { width: 100%; border-collapse: collapse; font-size: .9rem; }
.matrix th, .matrix td { padding: 7px 4px; text-align: left; vertical-align: top; }
.matrix thead th { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.matrix thead th:not(:first-child), .matrix td:not(:first-child) { text-align: center; width: 62px; }
.matrix tbody tr + tr td { border-top: 1px solid #f0f2f5; }
.matrix td small { display: block; color: var(--text-muted); font-size: .78rem; line-height: 1.4; }
.matrix a { color: var(--text); text-decoration: underline; text-decoration-color: #cbd3dd; text-underline-offset: 2px; }
.matrix a:hover { color: var(--brand); text-decoration-color: currentColor; }

.mark { display: inline-block; width: 18px; height: 18px; border-radius: 50%; }
.mark--yes {
  background: var(--ok-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9254' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.mark--no {
  background: #f1f3f6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aeb8c4' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}
.plans-foot { margin-top: 26px; text-align: center; color: var(--text-muted); font-size: .92rem; }

/* --- Requirements ------------------------------------------------------- */
.req { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.req .card ul { list-style: none; padding: 0; margin: 0; }
.req .card li { padding: 7px 0; border-bottom: 1px solid #f0f2f5; font-size: .95rem; color: var(--text-muted); }
.req .card li:last-child { border-bottom: 0; }
.req .card li strong { color: var(--text); font-weight: 600; }

/* --- Forms -------------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field > label {
  display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-3);
}
.field .req-star { color: var(--brand); }
.field input[type=text], .field input[type=email], .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--text);
  padding: 11px 14px; border: 1px solid #cdd5df; border-radius: var(--radius);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(204,17,34,.12);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--text-muted); margin-bottom: 14px; }
.check input { margin-top: 4px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--brand); }
.check label { cursor: pointer; }

/* Przyciski formularza dobrane na wysokość pola captcha (ok. 40 px),
   wyrównane do prawej — nie rozciągają się na całą szerokość karty. */
.form-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center; justify-content: flex-end; margin-top: 4px;
}
.form-actions .btn {
  flex: 0 0 auto;
  padding: 9px 20px; font-size: .92rem; line-height: 1.35;
}
.form-note { font-size: .85rem; color: var(--text-muted); margin: 14px 0 0; }

span.error {
  display: block; color: var(--brand); font-size: .84rem; margin-top: 5px; font-weight: 500;
}
/* Captcha: plugin (m.QapTcha.jquery.css) ustawia na kontenerze float: left.
   Samo `clear` tego nie znosi — element dalej pływa, a przyciski wciskają się
   obok niego w resztkę szerokości. Dlatego zdejmujemy float u źródła.
   !important jest konieczne: arkusz pluginu ładuje się po naszym. */
.QapTcha {
  float: none !important;
  width: 240px; max-width: 100%;
  margin: 10px 0 16px;
}
.QapTcha::after { content: ""; display: table; clear: both; }

/* zabezpieczenie, gdyby plugin kiedyś zmienił sposób pozycjonowania */
.form-actions { clear: both; }

.form-intro ul { list-style: none; padding: 0; }
.form-intro li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 11px; color: var(--text-muted); font-size: .96rem; }
.form-intro li svg { flex-shrink: 0; margin-top: 3px; color: var(--ok); }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--text-invert-mut); padding: 56px 0 28px; font-size: .94rem; }
.site-footer a { color: #cdd8e5; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.site-footer__brand img { height: 44px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .92; }
.site-footer__bottom {
  border-top: 1px solid var(--line-dark); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .86rem; color: #7d8ea2;
}

/* --- Utilities ---------------------------------------------------------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
