/*
Theme Name: Wirtualny Start
Theme URI: https://fakswirtualny.pl
Author: AA
Version: 1.0.0
Text Domain: aa-fakswirtualny-start
*/
/* =========================================================
   fakswirtualny.pl — wspólny arkusz stylów
   Kierunek: śliwka (plum) + biel, spokojna elegancja
   Mobile-first, system fonts, zero zasobów zdalnych
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Paleta śliwkowa */
  --plum-900: #2b1830;
  --plum-800: #3a2140;
  --plum-700: #4c2b52;
  --plum-600: #6a3d70;
  --plum-500: #874c8c;
  --plum-400: #a066a5;
  --plum-300: #c193c5;
  --plum-200: #e3cce5;
  --plum-100: #efe3f0;
  --plum-50:  #f8f3f9;

  --blush: #c98ba6;      /* delikatny akcent różano-śliwkowy */
  --blush-soft: #f6e9ef;

  --ink: #241e26;
  --muted: #6b5d6e;
  --border: #e7d9e9;
  --white: #ffffff;
  --cream: #fdfbfd;

  /* Role */
  --bg: var(--cream);
  --bg-panel: var(--white);
  --text: var(--ink);
  --text-soft: var(--muted);
  --accent: var(--plum-600);
  --accent-strong: var(--plum-700);
  --link: var(--plum-600);

  /* Typografia */
  --font-serif: Georgia, "Iowan Old Style", "Times New Roman", "Droid Serif", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", sans-serif;

  /* Promienie / cienie */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(43, 24, 48, .06), 0 1px 3px rgba(43, 24, 48, .08);
  --shadow-md: 0 6px 18px rgba(60, 33, 66, .10), 0 2px 6px rgba(60, 33, 66, .06);
  --shadow-lg: 0 20px 48px rgba(43, 24, 48, .16), 0 6px 16px rgba(43, 24, 48, .08);

  --ring: 0 0 0 3px rgba(135, 76, 140, .38);

  /* Layout */
  --maxw: 1180px;
  --readw: 720px;
  --gap: clamp(1rem, 2.5vw, 1.6rem);
  --pad-x: clamp(1.1rem, 4vw, 2.4rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset uzupełniający ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 500px at 100% -10%, var(--plum-50), transparent 60%),
    radial-gradient(900px 460px at -10% 8%, var(--blush-soft), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--plum-800);
  line-height: 1.18;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0 0 .5em;
}

p { margin: 0 0 1.1rem; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-strong); }

/* ---------- Dostępność ---------- */
:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--plum-700);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Kontenery ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: clamp(2.4rem, 6vw, 4.6rem); }

/* =========================================================
   HEADER + NAWIGACJA
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 253, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: .7rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--plum-800);
}
.brand:hover { color: var(--plum-800); }
.brand-mark {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--plum-600), var(--plum-800));
  box-shadow: var(--shadow-sm);
  color: #fff;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}
.brand-tag {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 600;
}

/* Nawigacja – details/summary jako menu mobilne (działa bez JS) */
.nav { position: relative; }
.nav summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--plum-700);
  font-weight: 600;
  font-size: .95rem;
  box-shadow: var(--shadow-sm);
  user-select: none;
}
.nav summary::-webkit-details-marker { display: none; }
.nav summary .bars { width: 18px; height: 14px; position: relative; display: inline-block; }
.nav summary .bars::before,
.nav summary .bars::after,
.nav summary .bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: currentColor; border-radius: 2px; transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.nav summary .bars::before { top: 0; }
.nav summary .bars span { top: 6px; }
.nav summary .bars::after { top: 12px; }
.nav[open] summary .bars::before { transform: translateY(6px) rotate(45deg); }
.nav[open] summary .bars span { opacity: 0; }
.nav[open] summary .bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav .label-close { display: none; }
.nav[open] .label-open { display: none; }
.nav[open] .label-close { display: inline; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: .5rem;
  position: absolute;
  right: 0;
  top: calc(100% + .55rem);
  min-width: min(84vw, 320px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.nav-list a {
  display: block;
  padding: .7rem .85rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--plum-800);
  font-weight: 500;
  line-height: 1.35;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.nav-list a:hover { background: var(--plum-50); color: var(--plum-700); }
.nav-list a[aria-current="page"] {
  background: var(--plum-100);
  color: var(--plum-800);
  font-weight: 600;
}

/* Desktop: nawigacja pozioma, chowamy przełącznik */
@media (min-width: 880px) {
  .nav summary { display: none; }
  .nav-list {
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: .25rem;
    min-width: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .nav-list a { padding: .5rem .8rem; border-radius: var(--r-pill); }
  .nav-list a[aria-current="page"] { background: var(--plum-100); }
  /* details zawsze „otwarte" na desktopie */
  .nav[open] .nav-list, .nav .nav-list { display: flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 85% -20%, var(--plum-500), transparent 55%),
    linear-gradient(155deg, var(--plum-800) 0%, var(--plum-700) 45%, var(--plum-900) 100%);
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.10), transparent),
    radial-gradient(2px 2px at 70% 60%, rgba(255,255,255,.08), transparent),
    radial-gradient(1.5px 1.5px at 45% 80%, rgba(255,255,255,.07), transparent);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 6rem) var(--pad-x) clamp(3.4rem, 8vw, 6rem);
  display: grid;
  gap: clamp(2rem, 5vw, 3.4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--plum-200);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: .4rem .8rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.1rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 1.4rem + 4.4vw, 3.9rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  max-width: 16ch;
}
.hero-lead {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.25rem);
  color: rgba(255,255,255,.86);
  max-width: 48ch;
  margin: 0 0 1.7rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Ilustracja „faks/kartka" w hero */
.hero-art {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  backdrop-filter: blur(2px);
}
.hero-art svg { width: 78%; height: auto; }

/* ---------- Przyciski ---------- */
.btn {
  --_bg: var(--plum-600);
  --_fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .78rem 1.35rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  border: 1px solid transparent;
  background: var(--_bg);
  color: var(--_fg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--_fg); }
.btn:active { transform: translateY(0); }
.btn--light {
  --_bg: #fff;
  --_fg: var(--plum-800);
}
.btn--ghost {
  --_bg: transparent;
  --_fg: #fff;
  border-color: rgba(255,255,255,.4);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--outline {
  --_bg: transparent;
  --_fg: var(--plum-700);
  border-color: var(--plum-300);
  box-shadow: none;
}
.btn--outline:hover { background: var(--plum-50); }
.btn svg { width: 18px; height: 18px; }

/* =========================================================
   KARTY / SIATKA
   ========================================================= */
.section-head { max-width: var(--readw); margin-bottom: clamp(1.6rem, 4vw, 2.4rem); }
.section-eyebrow {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--plum-500);
  margin-bottom: .6rem;
}
.section-head h2 { font-size: clamp(1.6rem, 1.3rem + 1.6vw, 2.3rem); }
.section-head p { color: var(--text-soft); margin: 0; }

.card-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .7rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--plum-200); }
.card-ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--plum-50);
  color: var(--plum-600);
  border: 1px solid var(--plum-100);
  margin-bottom: .3rem;
}
.card-ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.25rem; margin: 0; }
.card p { color: var(--text-soft); margin: 0; font-size: .98rem; }
.card-link {
  margin-top: auto;
  padding-top: .4rem;
  font-weight: 600;
  color: var(--plum-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.card-link::after { content: "→"; transition: transform .18s var(--ease); }
.card:hover .card-link::after { transform: translateX(4px); }
/* Cała karta klikalna gdy zawiera .stretched-link */
.stretched-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* =========================================================
   INDEKS / CHIPY
   ========================================================= */
.index-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.index-cols {
  display: grid;
  gap: clamp(1.4rem, 4vw, 2.4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .index-cols { grid-template-columns: repeat(2, 1fr); } }

.index-col h3 {
  font-size: 1.05rem;
  color: var(--plum-700);
  padding-bottom: .6rem;
  margin-bottom: .9rem;
  border-bottom: 2px solid var(--plum-100);
}
.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .95rem;
  background: var(--plum-50);
  border: 1px solid var(--plum-100);
  border-radius: var(--r-pill);
  color: var(--plum-700);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  transition: background .16s var(--ease), transform .16s var(--ease), border-color .16s;
}
.chip:hover { background: var(--plum-100); border-color: var(--plum-200); transform: translateY(-1px); color: var(--plum-800); }

.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .2rem; }
.link-list a {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .6rem .3rem;
  text-decoration: none;
  color: var(--plum-800);
  border-radius: var(--r-sm);
  border-bottom: 1px dashed var(--border);
  transition: background .16s var(--ease), padding .16s var(--ease);
}
.link-list a:hover { background: var(--plum-50); padding-inline: .7rem; }
.link-list a:last-child { border-bottom: 0; }
.link-list .num {
  font-family: var(--font-serif);
  color: var(--plum-400);
  font-size: .95rem;
  min-width: 1.4em;
}

/* =========================================================
   ARTYKUŁ (wpis / podstrona)
   ========================================================= */
.page-hero {
  background:
    linear-gradient(180deg, var(--plum-50), transparent),
    linear-gradient(150deg, var(--plum-100), var(--cream));
  border-bottom: 1px solid var(--border);
}
.page-hero-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.4rem) var(--pad-x) clamp(1.8rem, 4vw, 2.6rem);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  font-size: .86rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
  list-style: none;
  padding: 0;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: .4rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--plum-300); }
.breadcrumb a { color: var(--plum-600); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--text); }

.page-kicker {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--plum-500);
  margin-bottom: .6rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 1.4rem + 3.4vw, 3.2rem);
  max-width: 20ch;
  margin: 0;
}

.article-layout {
  display: grid;
  gap: clamp(1.8rem, 5vw, 3rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}

.prose { max-width: var(--readw); font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.14rem); }
.prose > p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 3.4em;
  line-height: .8;
  float: left;
  padding: .05em .12em 0 0;
  color: var(--plum-600);
  font-weight: 600;
}
.prose h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 1.9rem); margin-top: 2rem; }
.prose h3 { font-size: 1.28rem; margin-top: 1.6rem; }
.prose a { color: var(--plum-600); font-weight: 500; }
.prose strong { color: var(--plum-800); }

.pull-note {
  margin: 1.8rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--plum-400);
  background: var(--plum-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 1.02rem;
}
.pull-note strong { color: var(--plum-700); }

/* Karta oferty w treści */
.offer-card {
  margin: 1.8rem 0;
  border: 1px solid var(--plum-200);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--white), var(--plum-50));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.offer-head {
  padding: 1.1rem 1.4rem;
  background: linear-gradient(150deg, var(--plum-700), var(--plum-800));
  color: #fff;
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
}
.offer-head h3 { color: #fff; margin: 0; font-size: 1.25rem; }
.offer-head a { color: #fff; }
.offer-body { padding: 1.3rem 1.4rem; }
.offer-body p:last-child { margin-bottom: 0; }
.offer-facts {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: .5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 520px) { .offer-facts { grid-template-columns: 1fr 1fr; } }
.offer-facts li {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  font-size: .96rem;
}
.offer-facts .k { color: var(--text-soft); }
.offer-facts .v { font-weight: 600; color: var(--plum-800); }
.offer-facts svg { width: 18px; height: 18px; flex: none; color: var(--plum-500); margin-top: .18rem; }

/* Aside */
.aside-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 84px;
}
.aside-card h2 { font-size: 1.05rem; color: var(--plum-700); margin-bottom: .8rem; }
.aside-card + .aside-card { margin-top: 1.2rem; }
.aside-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.aside-links a {
  display: block;
  padding: .55rem .7rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--plum-800);
  font-weight: 500;
  transition: background .16s var(--ease);
}
.aside-links a:hover { background: var(--plum-50); }
.aside-links a[aria-current="page"] { background: var(--plum-100); font-weight: 600; }

/* Placeholder obrazu (SVG) */
.figure {
  margin: 1.8rem 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.figure .ph {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg, var(--plum-50), var(--plum-50) 14px, var(--plum-100) 14px, var(--plum-100) 28px);
}
.figure .ph svg { width: 72px; height: 72px; color: var(--plum-400); }
.figure figcaption {
  padding: .7rem 1rem;
  font-size: .85rem;
  color: var(--text-soft);
  background: var(--white);
  border-top: 1px solid var(--border);
}

/* =========================================================
   PAGINACJA (komponent — brak realnej paginacji w serwisie)
   ========================================================= */
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2.4rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: .8rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--plum-700);
  text-decoration: none;
  font-weight: 600;
  transition: background .16s var(--ease), border-color .16s;
}
.pagination a:hover { background: var(--plum-50); border-color: var(--plum-200); }
.pagination [aria-current="page"] {
  background: var(--plum-600);
  color: #fff;
  border-color: var(--plum-600);
}
.pagination .is-disabled { opacity: .45; pointer-events: none; }

/* =========================================================
   CTA szeroki pas
   ========================================================= */
.cta-band {
  background: linear-gradient(150deg, var(--plum-700), var(--plum-900));
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 3.2rem);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 1.3rem + 1.6vw, 2.2rem); }
.cta-band p { color: rgba(255,255,255,.85); max-width: 52ch; margin-inline: auto; margin-bottom: 1.6rem; }

/* =========================================================
   STOPKA
   ========================================================= */
.site-footer {
  margin-top: clamp(3rem, 7vw, 5rem);
  background: linear-gradient(180deg, var(--plum-900), #1f1124);
  color: rgba(255,255,255,.82);
}
.footer-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(2.4rem, 6vw, 3.6rem) var(--pad-x) clamp(1.6rem, 4vw, 2.2rem);
  display: grid;
  gap: 1.8rem;
}
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr auto; align-items: start; }
}
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.62); max-width: 42ch; font-size: .95rem; margin-top: .8rem; }
.footer-col h3 {
  color: #fff;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .95rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }

.footer-rss {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem .95rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-pill);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  background: rgba(255,255,255,.05);
  transition: background .18s var(--ease);
}
.footer-rss:hover { background: rgba(255,255,255,.12); color: #fff; }
.footer-rss svg { width: 18px; height: 18px; color: #f7a072; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: .6rem;
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.2rem;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.7); }

/* Utilsy */
.text-center { text-align: center; }
.mt-lg { margin-top: clamp(2rem, 5vw, 3.2rem); }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ---------------------------------------------------------------------------
   POZA MAKIETĄ: wyszukiwarka.
   Projekt fakswirtualny.pl nie ma pola wyszukiwania w żadnym widoku, ale
   WordPress ma trasę wyników i może zawołać get_search_form(). Bez reguł
   formularz renderował się surowo, a ikona SVG bez rozmiaru rozdymała się do
   domyślnych 300x150 px. Blok korzysta wyłącznie z tokenów makiety.
   --------------------------------------------------------------------------- */
.search-box { display: flex; gap: .5rem; align-items: center; }
.search-box input[type="search"] {
  flex: 1; min-width: 0; padding: .55rem .8rem;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--white); color: var(--text); font: inherit;
}
.search-box button {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--accent); color: #fff; cursor: pointer;
}
.search-box button svg { width: 18px; height: 18px; }
