/*
Theme Name: NGE Studio
Theme URI: https://ngestudio.pl
Author: NGE Studio
Author URI: https://ngestudio.pl
Description: Motyw strony NGE Studio — wizytówka studia stron internetowych z portfolio i sześcioma działającymi stronami demo (parafia, pizzeria, salon fryzjerski, warsztat, gabinet stomatologiczny, kawiarnia). Fonty ładowane lokalnie, bez Google Fonts i bez ciasteczek.
Version: 1.5.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ngestudio
*/

/* ---------- Fonty (lokalne, SIL OFL) ---------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- Tokeny ---------- */
:root {
  --ink: #12213A;
  --ink-2: #1C2F50;
  --blue: #2B66E8;
  --blue-d: #1F52C4;
  --blue-soft: #E8EFFD;
  --green: #20B26B;
  --slate: #5B6472;
  --mist: #F2F5FA;
  --line: #DFE5EE;
  --white: #FFFFFF;
  --on-ink: rgba(255, 255, 255, .74);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-s: 10px;
  --r: 14px;
  --r-l: 22px;
  --shadow: 0 1px 2px rgba(18, 33, 58, .06), 0 18px 40px -18px rgba(18, 33, 58, .28);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 120px);
  --header-h: 76px;
}

/* ---------- Reset i podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--blue-d); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--r-s);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(760px + 2 * var(--gutter)); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--lg { padding: 15px 24px; font-size: 1.0625rem; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-d); color: var(--white); }
.btn--ghost { color: var(--ink); border-color: var(--line); background: var(--white); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--outline { color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--blue-soft); color: var(--ink); }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.logo, .custom-logo-link { display: inline-flex; flex-shrink: 0; }
.logo img, .custom-logo { width: auto; height: 45px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 26px; list-style: none; }
.nav__list a { color: var(--ink); font-weight: 600; font-size: .9875rem; text-decoration: none; padding: 6px 0; }
.nav__list a:hover { color: var(--blue); }
.nav__list .current-menu-item > a { color: var(--blue); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--white); align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px var(--gutter) 24px; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(18, 33, 58, .3);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav__cta { margin-top: 12px; }
}

/* ---------- Okno przeglądarki (motyw z logo) ---------- */
.win {
  position: relative; background: var(--white); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(18, 33, 58, .08);
}
.win__bar {
  display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  background: var(--ink);
}
.win__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .32); flex-shrink: 0; }
.win__dot:first-child { background: var(--green); }
.win__url {
  margin-left: 10px; min-width: 0; flex: 1; max-width: 280px;
  font-size: .75rem; font-weight: 500; color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .08); padding: 3px 10px; border-radius: 999px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.win__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--mist); }

.phone {
  border: 7px solid var(--ink); border-radius: 30px; overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow);
}
.phone img { width: 100%; aspect-ratio: 390 / 780; object-fit: cover; object-position: top; border-radius: 22px; }

/* ---------- Hero (ciemne, jak ikona w logo) ---------- */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px); overflow: hidden;
  background-color: var(--ink);
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  color: var(--white);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.35rem, 1.3rem + 3.4vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; color: var(--white); }
.hero__sub { margin-top: 22px; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--on-ink); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .28); }
.hero .btn--ghost:hover { border-color: var(--white); color: var(--white); }
.hero :focus-visible { outline-color: #8FB0FF; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; list-style: none; font-size: .9375rem; font-weight: 600; color: var(--white); }
.hero__points li { display: inline-flex; align-items: center; gap: 7px; }
.hero__points .icon { color: var(--green); }

.hero__stage { position: relative; aspect-ratio: 1 / .86; }
.hero__stage::before {
  content: ''; position: absolute; inset: 6% -24% -4% 10%; border-radius: 36px; z-index: 0;
  background-color: var(--blue);
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.hero__win { position: absolute; z-index: 1; }
.hero .win { border-color: rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -24px rgba(4, 10, 24, .7); }
.hero .win__bar { background: #0B1628; }
.hero__win--back { width: 74%; top: 0; right: 0; }
.hero__win--front { width: 80%; left: 0; bottom: 6%; }
.hero__phone { position: absolute; z-index: 2; width: 27%; right: 3%; bottom: 0; border-color: #0B1628; background: #0B1628; box-shadow: 0 30px 60px -20px rgba(4, 10, 24, .7); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { max-width: 640px; width: 100%; margin: 0 auto; }
}

/* Nagłówek nad ciemnym hero (strona główna, przed przewinięciem) */
.logo--on-dark { display: none !important; }
.has-dark-hero .site-header:not(.is-scrolled) { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.has-dark-hero .site-header:not(.is-scrolled) .logo:not(.logo--on-dark) { display: none; }
.has-dark-hero .site-header:not(.is-scrolled) .logo--on-dark { display: inline-flex !important; }
.has-dark-hero .site-header:not(.is-scrolled) .nav-toggle { background: transparent; border-color: rgba(255, 255, 255, .24); color: var(--white); }
.has-dark-hero .site-header:not(.is-scrolled) :focus-visible { outline-color: #8FB0FF; }
@media (min-width: 961px) {
  .has-dark-hero .site-header:not(.is-scrolled) .nav__list a { color: var(--white); }
  .has-dark-hero .site-header:not(.is-scrolled) .nav__list a:hover { color: #8FB0FF; }
}

/* ---------- Sekcje ---------- */
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--white); }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__title { font-size: clamp(1.9rem, 1.25rem + 2.1vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; }
.section__intro { margin-top: 16px; font-size: 1.125rem; color: var(--slate); }
.section--ink .section__intro { color: var(--on-ink); }
.section--ink :focus-visible { outline-color: #8FB0FF; }

/* Usługi — mini-podglądy stron */
.svcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px clamp(24px, 3vw, 40px); list-style: none; }
.svc__win {
  border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--white);
  box-shadow: 0 1px 2px rgba(18, 33, 58, .05), 0 14px 30px -22px rgba(18, 33, 58, .35); margin-bottom: 22px;
}
.svc__bar { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; background: var(--ink); }
.svc__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .32); }
.svc__bar i:first-child { background: var(--green); }
.svc__art { display: block; width: 100%; height: auto; }
.svc__art text { font-family: var(--font); }
.svc__title { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.svc__text { color: var(--slate); }
.svc__more { display: inline-block; margin-top: 10px; font-weight: 700; font-size: .9375rem; text-decoration: none; }
.svc__more:hover { text-decoration: underline; }
.svcs--n4, .svcs--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svcs--n1 { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.svcs--n5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.svcs--n5 .svc { grid-column: span 2; }
.svcs--n5 .svc:nth-child(-n+2) { grid-column: span 3; }
@media (max-width: 980px) {
  .svcs, .svcs--n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svcs--n5 .svc, .svcs--n5 .svc:nth-child(-n+2) { grid-column: auto; }
  .svcs--n5 .svc:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .svcs, .svcs--n5 { grid-template-columns: 1fr; gap: 40px; } .svcs--n5 .svc:first-child { grid-column: auto; } }

/* Portfolio */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 36px); }
.works + .works__heading { margin-top: 64px; }
.works__heading { font-size: 1.375rem; font-weight: 800; margin-bottom: 24px; }
.work { position: relative; display: flex; flex-direction: column; gap: 18px; }
.work__kind { font-size: .875rem; font-weight: 600; color: var(--slate); }
.work__title { font-size: 1.25rem; font-weight: 800; margin-top: 2px; }
.work__link { color: var(--ink); text-decoration: none; }
.work__link::after { content: ''; position: absolute; inset: 0; border-radius: var(--r); }
.work:hover .work__link, .work__link:focus-visible { text-decoration: underline; text-decoration-color: var(--blue); }
.work__link:focus-visible { outline: none; }
.work__link:focus-visible::after { outline: 3px solid var(--blue); outline-offset: 6px; }
.work__desc { margin-top: 6px; color: var(--slate); font-size: 1rem; }
.work__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--blue); font-weight: 700; font-size: .9375rem; }
.works__note { margin-top: 40px; font-size: .9375rem; color: var(--slate); }
@media (max-width: 1024px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .works { grid-template-columns: 1fr; } }

/* Standard */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px clamp(32px, 4vw, 56px); list-style: none; }
.feature__icon { display: inline-flex; color: var(--green); margin-bottom: 16px; }
.feature__title { font-size: 1.1875rem; font-weight: 800; margin-bottom: 8px; }
.feature p { color: var(--on-ink); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Proces */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 32px; list-style: none; }
.step { position: relative; }
.step__num {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--white);
  border: 2px solid var(--blue); color: var(--blue); font-weight: 800; font-size: 1.125rem;
  margin-bottom: 20px;
}
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 22px; left: 58px; right: -20px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.step__title { font-size: 1.1875rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--slate); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 20px; padding-bottom: 32px; }
  .step__num { grid-row: span 2; margin: 0; }
  .step:not(:last-child)::after { top: 52px; bottom: 4px; left: 22px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
}

/* Pakiety */
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.packages--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.packages--n1 { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
.package {
  display: flex; flex-direction: column; gap: 14px; padding: 32px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l);
}
.package--featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.package__badge {
  align-self: flex-start; font-size: .8125rem; font-weight: 700; color: var(--ink);
  background: var(--green); padding: 4px 12px; border-radius: 999px;
}
.package__title { font-size: 1.5rem; font-weight: 800; }
.package__for { color: var(--slate); }
.package--featured .package__for { color: var(--on-ink); }
.package__price { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.package--featured .package__price { border-color: rgba(255, 255, 255, .14); }
.package__list { list-style: none; display: grid; gap: 10px; margin-bottom: 12px; flex: 1; }
.package__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 1rem; }
.package__list .icon { color: var(--green); margin-top: 4px; }
.package .btn { width: 100%; }
@media (max-width: 960px) { .packages { grid-template-columns: 1fr; max-width: 560px; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; font-size: 1.125rem; font-weight: 700; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__sign { display: inline-flex; color: var(--blue); transition: transform .2s ease; flex-shrink: 0; }
.faq__item[open] .faq__sign { transform: rotate(45deg); }
.faq__item p { padding: 0 40px 24px 0; color: var(--slate); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* Kontakt — zapytanie o wycenę */
.section--contact { background: var(--mist); }
.contact {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  border-radius: var(--r-l); box-shadow: var(--shadow); background: var(--white);
}
.contact__info { background: var(--ink); color: var(--white); padding: clamp(32px, 5vw, 56px); border-radius: var(--r-l) 0 0 var(--r-l); }
.contact__sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.contact__info p { margin-top: 18px; color: var(--on-ink); font-size: 1.0625rem; }
.contact__next { counter-reset: n; list-style: none; display: grid; gap: 14px; margin-top: 32px; }
.contact__next li { counter-increment: n; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--on-ink); }
.contact__next li::before {
  content: counter(n); display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3);
  color: var(--white); font-weight: 800; font-size: .875rem;
}
.contact__list { list-style: none; display: grid; gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact__list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: center; }
.contact__list .icon { color: var(--green); }
.contact__list a { color: var(--white); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { text-decoration: underline; }
.contact__info :focus-visible { outline-color: #8FB0FF; }

.form { padding: clamp(28px, 5vw, 56px); display: grid; gap: 32px; position: relative; border-radius: 0 var(--r-l) var(--r-l) 0; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__group { display: grid; gap: 18px; }
.form__group + .form__group { padding-top: 32px; border-top: 1px solid var(--line); }
.form__legend { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.form__row--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form__row--wide { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field__label { font-size: .9375rem; font-weight: 600; padding: 0; }
.field__req { color: var(--blue); }
.field__hint { display: block; font-weight: 500; color: var(--slate); font-size: .875rem; margin-top: 2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
  font-size: 1rem; line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235B6472' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43, 102, 232, .18); }

/* Wybór zakresu — karty */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice__box {
  display: grid; gap: 4px; height: 100%; padding: 14px 16px 14px 46px; border: 1.5px solid var(--line); border-radius: 14px;
  position: relative; transition: border-color .15s ease, background-color .15s ease;
}
.choice__box::before {
  content: ''; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #A9B4C4; background: var(--white);
}
.choice__title { font-weight: 700; }
.choice__desc { font-size: .875rem; color: var(--slate); line-height: 1.45; }
.choice:hover .choice__box { border-color: #B9C6DA; }
.choice input:checked + .choice__box { border-color: var(--blue); background: var(--blue-soft); }
.choice input:checked + .choice__box::before { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px var(--white); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Pola wielokrotnego wyboru — pigułki */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); font-size: .9375rem; font-weight: 600; line-height: 1.2;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.chip:hover span { border-color: #B9C6DA; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip input[type="checkbox"]:checked + span::before {
  content: ''; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg) translateY(-2px);
}
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.field--check { grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.field--check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--blue); }
.field--check label { font-weight: 500; font-size: .9375rem; color: var(--slate); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__req { font-size: .875rem; color: var(--slate); }
.form__req span { color: var(--blue); }
.form__wait { flex-basis: 100%; font-size: .9375rem; font-weight: 600; color: var(--slate); }
.form__wait:empty { display: none; }
.form__notice { padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: .9875rem; }
.form__notice--success { background: #E6F6EE; color: #0D5E37; }
.form__notice--error { background: #FDECEC; color: #8E1B1B; }
@media (max-width: 960px) {
  .contact { grid-template-columns: 1fr; }
  .contact__info { border-radius: var(--r-l) var(--r-l) 0 0; }
  .form { border-radius: 0 0 var(--r-l) var(--r-l); }
  .contact__sticky { position: static; }
}
@media (max-width: 600px) {
  .form__row--2, .form__row--wide, .choices { grid-template-columns: 1fr; }
  .form__submit { width: 100%; }
}

/* ---------- Stopka ---------- */
.site-footer { background: var(--ink); color: var(--on-ink); padding: 72px 0 32px; font-size: .9875rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: #8FB0FF; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.site-footer__grid--4 { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1fr); }
.site-footer__brand p { margin-top: 18px; max-width: 30em; }
.site-footer__title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem;
}
@media (max-width: 960px) { .site-footer__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .site-footer__grid, .site-footer__grid--4 { grid-template-columns: 1fr; } }

/* ---------- Podstrony i wpisy ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 3vw, 40px); }
.page-head__title { font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; }
.page-head__meta { color: var(--slate); font-weight: 600; font-size: .9375rem; margin-bottom: 12px; }
.entry-content { padding-bottom: var(--section); font-size: 1.0625rem; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 1.75rem; font-weight: 800; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.3rem; font-weight: 800; margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content img { border-radius: var(--r); }
.entry-content blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue); color: var(--slate); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-thumb { border-radius: var(--r); margin-bottom: 32px; }
.alignwide { max-width: 1000px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-button__link { background: var(--blue); color: var(--white); border-radius: 12px; font-weight: 700; padding: 12px 20px; text-decoration: none; }
.post-list { display: grid; gap: 0; padding-bottom: var(--section); }
.post-card { padding: 28px 0; border-top: 1px solid var(--line); }
.post-card__meta { color: var(--slate); font-size: .9375rem; font-weight: 600; }
.post-card__title { font-size: 1.5rem; font-weight: 800; margin: 6px 0 10px; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--blue); }
.post-card p { color: var(--slate); }
.post-nav { padding-bottom: 48px; }
.post-nav .nav-links { display: flex; justify-content: space-between; gap: 24px; }
.post-nav a { text-decoration: none; font-weight: 700; }
.post-nav span { display: block; font-size: .875rem; font-weight: 600; color: var(--slate); }
.pagination { padding-bottom: var(--section); }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.empty { padding: 24px 0 var(--section); color: var(--slate); }
.notfound { padding: clamp(56px, 8vw, 104px) 0 var(--section); }
.notfound__win { max-width: 360px; margin-bottom: 40px; }
.notfound__blank { height: 150px; background-color: var(--mist); background-image: radial-gradient(rgba(18, 33, 58, .14) 1.2px, transparent 1.2px); background-size: 18px 18px; }
.notfound p { margin-top: 16px; color: var(--slate); }
.notfound .btn { margin-top: 16px; }
.comment-respond, .comments-area { padding-bottom: 48px; }
.comments-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; }
.comment-list { list-style: none; display: grid; gap: 20px; margin-bottom: 32px; }
.comment-list .children { list-style: none; margin-left: 24px; margin-top: 20px; }
.comment-body { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); }
.comment-meta { font-size: .9375rem; color: var(--slate); margin-bottom: 8px; }
.comment-author img { border-radius: 50%; display: inline-block; vertical-align: middle; margin-right: 8px; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 1rem;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43, 102, 232, .18); }
.comment-reply-title { font-size: 1.375rem; font-weight: 800; }

/* Polityka prywatności */
.privacy-lead { font-size: 1.1875rem; color: var(--slate); }
.privacy-date { margin-top: 2em !important; font-size: .9375rem; color: var(--slate); }
.privacy-admin-note { padding: 14px 16px; border-radius: 12px; background: #FFF4D6; color: #6B4E00; font-weight: 600; font-size: .9375rem; }

/* Podstrony usług */
.landing__hero { padding-top: clamp(32px, 5vw, 64px); }
.landing__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.landing__title { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.4rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: .9375rem; color: var(--on-ink); }
.crumbs a { color: var(--white); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.landing__stage { position: relative; }
.landing__stage::before {
  content: ''; position: absolute; inset: 10% -18% -10% 12%; border-radius: 32px; z-index: 0;
  background-color: var(--blue);
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.landing__win { position: relative; z-index: 1; }
.landing__content { padding-top: clamp(48px, 6vw, 80px); }
.landing__content h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); }
.landing__content ul { list-style: none; padding-left: 0; display: grid; gap: 12px; }
.landing__content ul li { position: relative; padding-left: 30px; }
.landing__content ul li::before {
  content: ''; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.landing__cta { background: var(--ink); color: var(--on-ink); }
.landing__cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 56px; padding-bottom: 56px; }
.landing__cta .section__title { color: var(--white); }
.landing__cta p { margin-top: 10px; font-size: 1.0625rem; }
.landing__cta :focus-visible { outline-color: #8FB0FF; }
.landing__more { padding-top: 48px; padding-bottom: 72px; }
.landing__more-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 16px; }
.landing__more ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.landing__more a { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 600; text-decoration: none; }
.landing__more a:hover { border-color: var(--ink); }
@media (max-width: 960px) { .landing__stage { max-width: 640px; } }
