:root {
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --ink: #121212;
  --ink-soft: #3a3a38;
  --muted: #6b6860;
  --gold: #c4a046;
  --gold-deep: #8f7324;
  /* Firmowy niebieski pobrany z oryginalnego logo TALES — jeden odcień w całym serwisie. */
  --cyan: #009de0;
  --cyan-deep: #00658c;
  --wa: #25d366;
  --wa-deep: #128c7e;
  --white: #fffdf8;
  --line: rgba(18, 18, 18, 0.12);
  --shadow: 0 24px 60px rgba(18, 18, 18, 0.12);
  --radius: 2px;
  --max: 1120px;
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.75rem;
}

h1,
h2,
h3 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 6.4rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.lead {
  font-size: 1.28rem;
  max-width: 38rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: transparent;
  padding: 0;
  line-height: 0;
}

.logo img {
  height: 58px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.nav a.btn-ink {
  color: var(--paper);
}

.nav a.btn-ink:hover,
.nav a.btn-ink:focus-visible {
  color: var(--paper);
  background: #000;
}

.nav a.btn-primary {
  color: var(--white);
}

.nav a.btn-primary:hover,
.nav a.btn-primary:focus-visible {
  color: var(--white);
  background: #005373;
}

.btn {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius);
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}

.btn-ink:hover {
  background: #000;
}

.btn-primary {
  background: var(--cyan-deep);
  color: var(--white);
}

.btn-primary:hover {
  background: #005373;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

/* Hero */

.hero {
  padding: 2.5rem 0 4rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
}

.hero-copy .angle {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  margin-right: 0.55rem;
  transform: translateY(2px);
}

.hero h1 span {
  color: var(--cyan);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-meta {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.4rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: grayscale(18%) contrast(1.05);
  border-radius: var(--radius);
}

.hero-badge {
  position: absolute;
  left: -1.2rem;
  bottom: 1.6rem;
  background: var(--ink);
  color: var(--paper);
  padding: 1rem 1.15rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.82rem;
  max-width: 14rem;
}

.hero-badge strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

/* Strips */

.subjects {
  border-block: 1px solid var(--line);
  padding: 0.9rem 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
}

.subjects span {
  white-space: nowrap;
}

/* Sections */

section {
  padding: 5rem 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.4rem;
  align-items: end;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.card {
  background: var(--white);
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid var(--line);
}

.card h3 {
  margin-bottom: 0.55rem;
}

.card p {
  font-size: 1.02rem;
  margin: 0;
}

.card .tag {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: 0.5rem;
}

.wide-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  padding: 0;
  overflow: hidden;
}

.wide-card img {
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.wide-card div {
  padding: 1.6rem 1.6rem 1.6rem 0;
}

.why {
  background: var(--ink);
  color: var(--paper);
}

.why h2,
.why .kicker {
  color: var(--gold);
}

.why p {
  color: #cfc9bc;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.why-list li {
  font-family: "IBM Plex Sans", sans-serif;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 253, 248, 0.12);
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.6rem;
  align-items: baseline;
}

.why-list b {
  font-family: "Syne", sans-serif;
  color: var(--cyan);
  font-size: 0.95rem;
}

.why img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: left center;
  filter: contrast(1.05);
}

.hours-contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.hours table {
  width: 100%;
  border-collapse: collapse;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.95rem;
}

.hours td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.hours td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.map {
  min-height: 320px;
  border: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(0.35) contrast(1.05);
}

.contact-block a {
  color: var(--ink);
}

.contact-block .big {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-decoration: none;
  display: inline-block;
  margin: 0.3rem 0 1rem;
}

.site-footer {
  background: var(--ink);
  color: #cfc9bc;
  padding: 2.2rem 0 2.6rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.88rem;
}

.site-footer .wrap {
  display: grid;
  gap: 1.2rem;
}

.site-footer a {
  color: var(--paper);
}

.fe {
  max-width: 420px;
  opacity: 0.85;
}

.note {
  color: #8d887c;
  font-size: 0.8rem;
}

.nav a.is-active {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--cyan);
}

.card-link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.25s ease;
}

.card-link:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.card-link h2 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.breadcrumbs {
  padding: 1rem 0 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.78rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--line);
}

.breadcrumbs a {
  text-decoration: none;
  color: var(--ink-soft);
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.page-hero {
  padding: 2.2rem 0 2.4rem;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 1rem;
}

.narrow {
  max-width: 46rem;
}

.lead.answer {
  font-size: 1.22rem;
  max-width: 40rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin: 2.2rem 0 0.8rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.prose a {
  color: var(--cyan-deep);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.2rem 1.1rem 0.2rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h2 {
  font-size: 1.15rem;
  display: inline;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.85rem;
}

.faq-item p {
  padding-bottom: 1rem;
}

.cta-band {
  background: linear-gradient(135deg, var(--paper-2), var(--white) 55%, #e8f6fc);
  border-block: 1px solid var(--line);
  padding: 3.2rem 0;
}

.cta-band-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.cta-band h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 0.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr;
  gap: 1.6rem;
  align-items: start;
}

.footer-brand {
  font-family: "Syne", sans-serif;
  color: var(--paper);
  margin: 0.8rem 0 0.4rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  text-decoration: none;
}

.more-link {
  margin-top: 1.4rem;
  font-family: "IBM Plex Sans", sans-serif;
}

.person-card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.4rem;
    gap: 0.85rem;
  }

  .nav.open {
    display: flex;
  }

  .hero,
  .section-head,
  .offer-grid,
  .why-grid,
  .hours-contact,
  .wide-card {
    grid-template-columns: 1fr;
  }

  .hero-visual img,
  .why img {
    height: 320px;
  }

  .hero-badge {
    left: 0.8rem;
    bottom: 0.8rem;
  }

  .wide-card div {
    padding: 1.2rem;
  }

  .subjects {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .btn-ink.nav-cta,
  .btn-primary.nav-cta {
    width: 100%;
  }

  .cta-band-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav a.is-active {
    box-shadow: none;
    color: var(--cyan-deep);
  }
}

/* ============================================================
   Rozbudowa 2026-08 — dwie lokalizacje, opinie, poziomy, callbar
   ============================================================ */

/* Nav: 8 pozycji + CTA — węższe odstępy, żeby zmieściło się na desktopie */
.nav {
  gap: 0.85rem;
}

.nav a {
  font-size: 0.8rem;
}

.nav a.btn-primary.nav-cta {
  font-size: 0.82rem;
  white-space: nowrap;
}

/* Poziomy nauki */
.levels {
  background: var(--paper-2);
}

.level-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.level-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
  font-size: 1rem;
  color: var(--ink-soft);
}

.level-grid b {
  display: block;
  font-family: "Syne", sans-serif;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

/* Opinie */
.quote-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 0;
}

.quote-card blockquote {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink);
}

.quote-card blockquote::before {
  content: "„";
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  color: var(--gold);
  line-height: 0.6;
  margin-right: 0.1rem;
}

.quote-card figcaption {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: auto;
}

.quote-card figcaption .note {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin: 0.25rem 0 0;
}

/* Lokalizacje */
.locations {
  background: var(--paper-2);
}

.loc-card .nap {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.loc-card .loc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 0;
}

.loc-card .map {
  margin-top: 1rem;
  width: 100%;
  height: 240px;
  border: 1px solid var(--line);
}

/* Zdjęcie w nagłówku podstrony */
.page-hero-visual {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding: 0 1.25rem;
}

.page-hero-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Karty kadry ze zdjęciem */
.person-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* "Zobacz szczegóły →" na kaflach oferty */
.card-more {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--cyan-deep);
}

.wrap-note {
  max-width: 46rem;
}

/* Stopka: 4 kolumny */
.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.footer-links .kicker {
  margin-bottom: 0.4rem;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(244, 239, 230, 0.18);
}

/* ============================================================
   Globalny system szybkiego kontaktu (sticky CTA + social)
   Renderowany raz w page(); mobile = dolny pasek, desktop = panel + rail.
   ============================================================ */

:root {
  --callbar-h: 58px;
}

/* --- Desktop: panel w prawym dolnym rogu --- */
.quick {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.quick[hidden] {
  display: none;
}

.quick.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.quick.is-dimmed {
  opacity: 0;
  pointer-events: none;
}

.quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.6rem 0.95rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(18, 18, 18, 0.18);
}

.quick-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: none;
  transition: transform 0.2s ease;
}

.quick-btn:hover svg {
  transform: scale(1.08);
}

.quick-tel {
  background: var(--cyan-deep);
  color: var(--white);
}

.quick-tel:hover {
  background: #005373;
}

.quick-wa {
  background: var(--wa);
  color: #04331b;
}

.quick-wa:hover {
  background: #1ebe5b;
}

.quick-top {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(18, 18, 18, 0.14);
}

.quick-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.quick.is-far .quick-top {
  display: inline-flex;
}

/* --- Desktop: pionowy pasek social przy prawej krawędzi --- */
.social-rail {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 55;
  display: none;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-right: 0;
}

.social-rail[hidden] {
  display: none;
}

.social-rail a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--ink-soft);
  position: relative;
}

.social-rail a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.social-rail a:hover,
.social-rail a:focus-visible {
  color: var(--cyan-deep);
}

.social-rail a:hover svg,
.social-rail a:focus-visible svg {
  transform: scale(1.12);
}

/* Tooltip — dostępny również przez focus klawiaturą */
.social-rail a::after {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: var(--ink);
  color: var(--paper);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.74rem;
  padding: 0.3rem 0.55rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.social-rail a:hover::after,
.social-rail a:focus-visible::after {
  opacity: 1;
}

/* --- Mobile: dolny pasek Zadzwoń | WhatsApp --- */
.callbar {
  display: none;
}

@media (min-width: 861px) {
  .quick,
  .social-rail {
    display: flex;
  }
}

@media (max-width: 860px) {
  .callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border-top: 1px solid rgba(18, 18, 18, 0.18);
    box-shadow: 0 -8px 24px rgba(18, 18, 18, 0.14);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .callbar-btn {
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-align: center;
    padding: 0.85rem 0.5rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
  }

  .callbar-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex: none;
  }

  .callbar-tel {
    background: var(--cyan-deep);
    color: var(--white);
  }

  .callbar-wa {
    background: var(--wa);
    color: #04331b;
  }

  /* pasek jest fixed — rezerwujemy miejsce, żeby nie zasłaniał stopki */
  body {
    padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
  }

  .level-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-visual img {
    height: 240px;
  }

  .loc-card .map {
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .quick {
    transition: none;
  }
}

/* Stopka: logo, social, lista okolic */
.footer-logo {
  height: 62px;
  width: auto;
}

.footer-social {
  margin: 0.6rem 0 1rem;
}

.footer-nearby {
  list-style: none;
  margin: 0 0 0.6rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  color: #cfc9bc;
}

/* ============================================================
   Przebudowa 2026-08-25 — sekcje wg master promptów TALES
   ============================================================ */

.ico {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex: none;
}

/* Cytat pod HERO */
.quote-hero {
  margin: 0 auto 1rem;
  padding: 1.6rem 0 2.2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.quote-hero blockquote {
  margin: 0 auto;
  max-width: 44rem;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.quote-hero blockquote::before {
  content: "„";
}

.quote-hero blockquote::after {
  content: "”";
}

.quote-hero figcaption {
  margin-top: 0.7rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Pasek korzyści */
.benefits {
  padding: 0 0 3rem;
}

.benefit-bar {
  list-style: none;
  margin: 0;
  padding: 1.4rem 0;
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.benefit-bar li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.benefit-bar .ico {
  width: 30px;
  height: 30px;
  color: var(--cyan-deep);
}

/* Etapy pracy */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.step {
  display: flex;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.2rem 1.3rem;
}

.step .ico {
  color: var(--cyan);
}

.step b {
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.3rem;
}

.step p {
  margin: 0;
  font-size: 0.98rem;
}

.method-note {
  margin-top: 1.6rem;
  background: var(--paper-2);
  border-left: 4px solid var(--cyan);
  padding: 1.4rem 1.6rem;
}

.method-note h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.method-note p:last-child {
  margin-bottom: 0;
}

/* Ciemna sekcja „Lokalna szkoła” — ikony zamiast numeracji 01-06 */
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  grid-template-columns: none;
}

.why-list .ico {
  color: var(--cyan);
  margin-top: 0.15rem;
}

.why-list b {
  display: block;
  color: var(--paper);
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.why-list span {
  font-size: 0.95rem;
  color: #cfc9bc;
}

@media (max-width: 860px) {
  .benefit-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

/* --- Listy i tabele na podstronach ofertowych --- */

.icon-list,
.check-list,
.tag-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.icon-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.icon-list .ico {
  color: var(--cyan-deep);
  margin-top: 0.1rem;
}

.icon-list b {
  display: block;
  font-family: "Syne", sans-serif;
  margin-bottom: 0.15rem;
}

.check-list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.5rem;
  font-size: 1.02rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--cyan);
  transform: translateY(-50%);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-list li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.55rem 0.9rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.6rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.95rem;
  background: var(--white);
}

.compare caption {
  text-align: left;
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  color: var(--ink);
  padding-bottom: 0.6rem;
}

.compare th,
.compare td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  background: var(--paper-2);
  font-weight: 600;
}

.compare tbody th {
  font-weight: 600;
  width: 24%;
}

/* --- Warsztaty: karty programów --- */

.program-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.program-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.program-icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  color: var(--cyan-deep);
}

.program-icon .ico {
  width: 44px;
  height: 44px;
}

.program-body {
  padding: 1.4rem 1.5rem 1.5rem;
}

.program-body .check-list {
  margin-bottom: 0;
}

/* --- Galeria robotyki --- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

/* --- Kadra: ikony zamiast zdjęć --- */

.person-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  color: var(--cyan-deep);
  margin-bottom: 1rem;
}

.person-icon .ico {
  width: 30px;
  height: 30px;
}

.center-block {
  text-align: center;
}

.center-block h2 {
  margin-bottom: 0.8rem;
}

/* --- Formularz kontaktowy --- */

.form-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  margin-top: 1.4rem;
  max-width: 34rem;
}

.contact-form .field {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1.1rem;
}

.contact-form label {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-form label .note {
  font-weight: 400;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(18, 18, 18, 0.25);
  border-radius: var(--radius);
  min-height: 48px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible,
.btn:focus-visible,
.nav a:focus-visible,
.social-rail a:focus-visible,
.quick-btn:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

.contact-form [aria-invalid="true"] {
  border-color: #b3261e;
}

.field-error {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.85rem;
  color: #b3261e;
}

/* Honeypot — poza ekranem, niewidoczny dla ludzi, dostępny dla botów */
.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  margin: 1.4rem 0 0.6rem;
}

.form-status {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.95rem;
  min-height: 1.4rem;
  margin: 0;
}

.form-status[data-state="pending"] {
  color: var(--muted);
}

.form-status[data-state="ok"] {
  color: var(--cyan-deep);
  font-weight: 600;
}

.form-status[data-state="error"] {
  color: #b3261e;
  font-weight: 600;
}

.form-rodo {
  margin-top: 1.2rem;
  max-width: 34rem;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .compare {
    display: block;
    overflow-x: auto;
  }

  .program-card img {
    height: 180px;
  }
}
