/* ==========================================================
   angelikanocon.pl — style
   Mobile first. WCAG 2.1 AA. Fonty hostowane lokalnie.
   ========================================================== */

/* ---------- Fonty (Newsreader + Instrument Sans, licencja OFL) ---------- */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/newsreader-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/newsreader-latin-wght-normal.woff2") format("woff2-variations");
  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;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/newsreader-latin-ext-wght-italic.woff2") format("woff2-variations");
  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: "Newsreader";
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/newsreader-latin-wght-italic.woff2") format("woff2-variations");
  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;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("/assets/fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("/assets/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

/* ---------- Paleta ---------- */
:root {
  /* Paleta „Śliwka + róż” (handoff z Claude Design) */
  --bg: #F8F1EE;              /* główne tło */
  --surface: #FFFBFA;         /* karty, panele, „O mnie” */
  --soft: #F0E2DE;            /* „Oferta”, karty zasad, kształt za zdjęciem */
  --ink: #2A1824;             /* tekst */
  --muted: #685561;           /* tekst pomocniczy */
  --line: #E6D6D2;            /* obramowania, separatory */
  --primary: #4A1F3D;         /* śliwka: kolor marki */
  --primary-dark: #36152C;
  --onPrimary: #F8F1EE;
  --accent: #C4405B;          /* róż: CTA, oszczędnie (o ton ciemniejszy niż #C8445E z handoffu, żeby tekst miał kontrast 4,6:1) */
  --accent-dark: #AE324C;
  --onAccent: #FFF6F7;
  --accentText: #AE324C;      /* akcent jako tekst na jasnym tle */
  --accentOnPrimary: #F1A3B3; /* akcent na śliwce */
  --card: var(--surface);

  --font-head: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --gutter: 1.25rem;
  --max: 72rem;
  --measure: 38rem;  /* ok. 65–70 znaków w wierszu przy Instrument Sans */
  --header-h: 4.25rem;
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;      /* 18 px */
  line-height: 1.6;
  font-weight: 400;
}
@media (min-width: 900px) {
  body { font-size: 1.1875rem; } /* 19 px */
}
img { display: block; max-width: 100%; height: auto; }
p, ul { margin: 0 0 1em; }
p:last-child, ul:last-child { margin-bottom: 0; }
strong { font-weight: 650; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--primary);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 0.6em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 7vw + 0.5rem, 3.75rem); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.875rem, 3.5vw + 0.75rem, 2.75rem); }
h3 { font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem); }
h4 { font-size: 1.25rem; }

a { color: var(--primary); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); text-decoration-thickness: 3px; }

/* Widoczny focus */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}
.section-contact :focus-visible,
.site-footer :focus-visible,
.btn-primary:focus-visible {
  outline-color: var(--accentOnPrimary);
  box-shadow: 0 0 0 6px var(--primary);
}

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

/* Link „Przejdź do treści” */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  background: var(--accent);
  color: var(--onAccent);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }
main:focus { outline: none; }

/* ---------- Układ ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* Wąskie sekcje trzymają tę samą lewą krawędź co reszta strony; ogranicza się tylko długość wiersza */
.wrap.narrow > * { max-width: var(--measure); }
.section { padding-block: 3.5rem; }
@media (min-width: 900px) {
  :root { --gutter: 2rem; }
  .section { padding-block: 5.5rem; }
}
.section-surface { background: var(--surface); }
.section-primary { background: var(--primary); color: var(--onPrimary); }
.section-primary h2 { color: var(--onPrimary); }
.section-primary :focus-visible { outline-color: var(--accentOnPrimary); }
.section-soft { background: var(--soft); }

/* ---------- Nagłówek strony (sticky) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 241, 238, 0.96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(248, 241, 238, 0.88); backdrop-filter: blur(8px); }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: var(--header-h);
  gap: 0.5rem 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  text-decoration: none;
  color: var(--primary);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 10px;
  background: var(--primary);
  color: var(--onPrimary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-toggle { display: none; }
.site-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover { background: var(--soft); color: var(--primary); }
.site-nav a.nav-cta { background: var(--primary); color: var(--onPrimary); }
.site-nav a.nav-cta:hover { background: var(--primary-dark); color: var(--onPrimary); }

/* Menu rozwijane na telefonie (tylko gdy działa JS; bez JS linki są zawsze widoczne) */
@media (max-width: 859px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    min-width: 44px;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 999px;
    background: transparent;
    color: var(--primary);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 18px; height: 2px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
  }
  .nav-toggle-bars::before,
  .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

  .js .site-nav { display: none; width: 100%; padding-bottom: 1rem; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; gap: 0.25rem; }
  .js .site-nav a { display: flex; width: 100%; padding: 0.75rem 1rem; font-size: 1.15rem; border-radius: var(--radius-sm); }
  .no-js .site-nav { width: 100%; padding-bottom: 0.5rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 2.5rem 3.5rem; }
.hero-inner { display: grid; gap: 2rem; }
.eyebrow {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.eyebrow strong { color: var(--primary); }
.hero h1 {
  position: relative;
  margin-bottom: 0.5em;
}
.lead {
  font-size: clamp(1.2rem, 1vw + 1rem, 1.45rem);
  max-width: 34ch;
  margin-bottom: 1.75rem;
}
.hero-photo { position: relative; max-width: 26rem; justify-self: center; width: 100%; }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 1.25rem -0.75rem -0.75rem 1.25rem;
  background: var(--soft);
  border-radius: var(--radius);
  z-index: 0;
}
.hero-photo img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  width: 100%;
}
@media (min-width: 900px) {
  .hero { padding-block: 4.5rem 6rem; }
  .hero-inner { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 4rem; }
  .hero-photo { max-width: 27.5rem; }
}

/* ---------- Przyciski ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  border: 2px solid var(--primary);
}
.btn-icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--onAccent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--onAccent); }
.btn-secondary { background: transparent; color: var(--primary); }
.btn-secondary:hover { background: var(--soft); color: var(--primary-dark); }
@media (max-width: 479px) {
  .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .site-nav a { transition: background-color .15s ease, color .15s ease; }
}

/* ---------- Dla kogo ---------- */
#dla-kogo p { font-size: clamp(1.15rem, 0.6vw + 1rem, 1.3rem); }
#dla-kogo strong {
  color: var(--accentOnPrimary);
}

/* ---------- Czy to brzmi znajomo? ---------- */
.two-col { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.panel {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
}
@media (min-width: 900px) { .panel { padding: 2.25rem 2rem; } }
.panel h3 { font-size: 1.35rem; margin-bottom: 1.1rem; }
.pain-list { list-style: none; padding: 0; margin: 0; }
.pain-list li {
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.pain-list li:first-child { border-top: 0; padding-top: 0; }
.pain-list li:last-child { padding-bottom: 0; }
.pain-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15em;
  line-height: 1.35;
}

/* Kontrastowa sekcja: pełna żółć z palety, tylko ciemny tekst */
.section-accent { background: var(--bg); }

/* ---------- Oferta ---------- */
.group-title {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.group-title::before {
  content: "";
  width: 2.25rem; height: 0.35rem;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
}
h2 + .group-title { margin-top: 1rem; }
.cards {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
}
.card h4 { margin-bottom: 0.6rem; }
.card-featured {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.card-featured h4 { color: var(--ink); }
@media (min-width: 640px) and (max-width: 1023px) {
  .card-featured { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .card-featured { grid-column: span 2; }
}

.section-intro {
  font-size: clamp(1.15rem, 0.6vw + 1rem, 1.3rem);
  max-width: var(--measure);
  margin-bottom: 2rem;
}
/* Kroki jako pionowa oś czasu: numer na przerywanej linii, tytuł i opis obok */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 48rem;
}
.steps li {
  position: relative;
  padding: 0.35rem 0 2.25rem 4.25rem;
}
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(1.5rem - 1px);
  top: 3.5rem;
  bottom: 0.5rem;
  border-left: 2px dashed var(--primary);
}
.step-num {
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accentText);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.4rem;
}
.steps strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.steps p { color: var(--muted); }
@media (min-width: 900px) {
  .steps li { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 2rem; align-items: baseline; padding-bottom: 3rem; }
  .steps li:last-child { padding-bottom: 0; }
  .steps strong { margin-bottom: 0; }
}
.area-group { margin-top: 2.5rem; }
.area-group .group-title { margin-top: 0; margin-bottom: 1rem; }
.area-intro { max-width: var(--measure); color: var(--muted); margin-bottom: 1rem; }
.areas { list-style: none; padding: 0; margin: 0; }
.areas li {
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.areas li:last-child { border-bottom: 1px solid var(--line); }
.areas strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--primary);
}
/* Jedna kolumna o wygodnej długości wiersza (ok. 55–70 znaków): tytuł nad opisem, łatwo skanować wzrokiem w dół */
.area-group { max-width: 40rem; }
.area-group + .group-title { margin-top: 3.5rem; }
.panel-intro {
  color: var(--muted);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  background: var(--soft);
  border-radius: var(--radius-sm);
}
.practical { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
.practical .formats, .practical .grant-note { margin: 0; max-width: none; }
@media (min-width: 900px) {
  .practical { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}

/* Oferta: obszary po lewej, zielony panel z formatami po prawej */
.offer-layout { display: grid; gap: 2.5rem; }
.offer-main .area-group:first-child { margin-top: 0; }
.offer-aside {
  background: var(--primary);
  color: var(--onPrimary);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  align-self: start;
}
.offer-aside h3 {
  color: var(--accentOnPrimary);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.offer-aside strong { color: var(--onPrimary); }
.offer-aside .check-list li::before { border-color: var(--accentOnPrimary); }
.offer-aside hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 1.5rem 0;
}
.offer-aside :focus-visible { outline-color: var(--accentOnPrimary); }
.btn-accent {
  margin-top: 1.5rem;
  width: 100%;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--onAccent);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--onAccent); }
@media (min-width: 1024px) {
  .offer-layout { grid-template-columns: minmax(0, 40rem) minmax(18rem, 22rem); justify-content: space-between; gap: 4rem; }
  .offer-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.formats {
  margin-top: 2.5rem;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  max-width: 44rem;
}
.formats .group-title { margin-top: 0; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: 0.4rem; }
.check-list li::before {
  content: "";
  position: absolute; left: 0.15rem; top: 0.35em;
  width: 1.1rem; height: 0.6rem;
  border-left: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  transform: rotate(-45deg);
}

/* ---------- Jak pracuję ---------- */
.three-col { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .three-col { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.feature {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
  margin-bottom: 1rem;
}
.feature-icon svg { width: 2.25rem; height: 2.25rem; }
.feature h3, .feature h4 { font-size: 1.4rem; }
.group-title-first { margin-top: 0; }
.steps + .group-title { margin-top: 3.5rem; }

/* ---------- O mnie ---------- */
.about { display: grid; gap: 2rem; }
.about-photo { max-width: 24rem; width: 100%; justify-self: center; }
.about-photo img { border-radius: var(--radius); width: 100%; }
.about-text { max-width: var(--measure); }
.about-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
}
@media (min-width: 900px) {
  .about { grid-template-columns: minmax(0, 23.75rem) 1fr; gap: 4rem; align-items: start; }
  .about-photo { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Ceny ---------- */
.price-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
@media (min-width: 900px) { .price-card { padding: 2.25rem 2.25rem; } }
.price-list { list-style: none; padding: 0; margin-bottom: 1.25rem; }
.price-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
}
.price-list li:first-child { padding-top: 0; }
.price-list strong { color: var(--primary); white-space: nowrap; }
.price-note { color: var(--muted); }
.grant-note {
  background: var(--accent);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.25rem;
  max-width: 44rem;
}

/* ---------- FAQ (details/summary) ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 56px;
  padding: 0.9rem 1.25rem;
  font-weight: 650;
  font-size: 1.15rem;
  color: var(--primary);
  border-radius: var(--radius-sm);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid; place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--soft);
  border: 2px solid var(--primary);
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 1.25rem 1.25rem; margin: 0; }
.faq details p + p { margin-top: -0.25rem; }

/* ---------- Kontakt ---------- */
.section-contact {
  background: var(--primary);
  color: var(--onPrimary);
}
.section-contact h2 { color: var(--onPrimary); }
.contact-lead { font-size: 1.3rem; margin-bottom: 1.75rem; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  padding: 0.75rem 1.5rem 0.75rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: var(--onPrimary);
  font-size: clamp(1.15rem, 2.5vw + 0.6rem, 1.6rem);
  font-weight: 650;
  text-decoration: none;
  word-break: break-word;
}
.contact-list a:hover { background: rgba(255, 255, 255, 0.2); color: var(--onPrimary); }
.contact-icon {
  display: grid; place-items: center;
  flex: none;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 1.3rem;
}

/* ---------- Stopka ---------- */
.site-footer {
  background: var(--primary-dark);
  color: var(--onPrimary);
  padding-block: 1.75rem;
}
.site-footer a {
  color: var(--onPrimary);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-footer a:hover { color: var(--accentOnPrimary); }

/* ---------- Podstrona: polityka prywatności ---------- */
.legal { padding-block: 3rem 4rem; }
.legal h1 { font-size: clamp(2rem, 4vw + 1rem, 3rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ---------- Druk ---------- */
@media print {
  .site-header, .skip-link, .btn-row { display: none; }
  .section-contact, .site-footer { background: none; color: #000; }
  .section-contact h2, .contact-list a, .site-footer a { color: #000; }
}

/* ---------- Paleta „Śliwka + róż”: role kolorów z handoffu ---------- */
h1, h2 { color: var(--ink); font-weight: 500; }
h3, h4 { font-weight: 600; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--accentText); }
.accent-heading { color: var(--accentText); }
.panel h3.accent-heading { color: var(--accentText); }
.group-title.accent-heading::before { background: var(--accent); }
.group-title::before { background: var(--primary); }

/* Karty zasad w „Jak pracuję” na miękkim tle, bez ramki */
.feature { background: var(--soft); border-color: transparent; }

/* Kontakt: e-mail jako główne CTA w akcencie, telefon jako obrys */
.contact-list li:first-child a { background: var(--accent); border-color: var(--accent); color: var(--onAccent); }
.contact-list li:first-child a:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--onAccent); }
.contact-list li:first-child .contact-icon { background: rgba(255, 255, 255, 0.2); color: var(--onAccent); }

/* Stopka w kolorze marki, oddzielona cienką linią */
.site-footer { background: var(--primary); border-top: 1px solid rgba(248, 241, 238, 0.18); }

/* „O mnie”: najważniejsze zwroty z różowym podkreśleniem-markerem */
.about-text strong {
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(transparent 58%, rgba(241, 163, 179, 0.6) 58%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding-inline: 0.05em;
}

/* Kontakt na telefonie: adres e-mail zawsze w jednej linii w przycisku */
.contact-list a { white-space: nowrap; word-break: normal; max-width: 100%; }
@media (max-width: 480px) {
  .contact-list a { gap: 0.65rem; padding: 0.65rem 1.1rem 0.65rem 0.6rem; font-size: 1.1rem; }
  .contact-icon { width: 2.4rem; height: 2.4rem; font-size: 1.1rem; }
}
@media (max-width: 359px) {
  .contact-list a { font-size: 1rem; }
}
