/* ============================================================
   ESTÚDIO TINTA — studio tatuazu, Lizbona
   Model strony: KALENDARZ JAKO SKLEP. Nie ma formularza z lista
   rozwijana "wybierz usluge" — jest siatka wolnych terminow,
   ktora przelicza sie od nowa przy kazdej zmianie: dlugosc sesji
   decyduje o tym, ktore godziny w ogole moga sie zmiescic.

   Kolory z tych dwoch zdjec: cieple czernidlo, kosc sloniowa
   plotna pod reka i cynober starej flashy.

   Kontrast: --c-red (#c8352a) NIGDY nie jest tekstem. Na jasnym
   idzie --c-red-text (6,2:1), na ciemnym --c-red-lt (6,0:1).
   ============================================================ */

@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/BodoniModa-Variable.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --c-ink: #12100f;        /* cieple czernidlo — sekcje ciemne */
  --c-ink-2: #1c1917;      /* karty na ciemnym */
  --c-line-dark: #2e2926;
  --c-bg: #f2ede4;         /* kosc sloniowa */
  --c-surface: #fffdf9;
  --c-line: #e0d9cc;

  --c-red: #c8352a;        /* cynober — TYLKO wypelnienia */
  --c-red-text: #a32b21;   /* tekst i CTA na jasnym, 6,2:1 */
  --c-red-lt: #e6685c;     /* tekst na ciemnym, 6,0:1 */
  --c-free: #2f7d52;       /* wolny termin */

  --c-text: #1a1613;
  --c-muted: #59504a;      /* 6,7:1 na kosci */
  --c-muted-dark: #a9a09a; /* 7,4:1 na czernidle */

  --font-display: "Bodoni Moda", Georgia, serif;
  --font-body: "Manrope", sans-serif;

  --container: 76rem;
  --radius: 3px;
  --ease: 200ms cubic-bezier(.2, .7, .3, 1);
  --header-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: var(--font-body);
  font-size: 1rem; line-height: 1.65;
  color: var(--c-text); background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--c-red-text); outline-offset: 2px; }
.on-dark :focus-visible, .site-header :focus-visible, .section-dark :focus-visible { outline-color: var(--c-red-lt); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 640px) { .container { padding-inline: 2rem; } }
.hidden, [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--c-red-text); color: #fff; padding: 0.7rem 1.1rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ---------- Typografia ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; }
p { text-wrap: pretty; }

.eyebrow { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-red-text); display: block; margin-bottom: 0.9rem; }
/* Kazda ciemna sekcja MUSI byc tu wymieniona — cynober do tekstu ma
   na jasnym inna wartosc niz na ciemnym. */
.on-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow { color: var(--c-red-lt); }
.lead { font-size: 1.1rem; color: var(--c-muted); max-width: 40rem; }
.on-dark .lead, .hero .lead, .page-hero .lead, .section-dark .lead { color: var(--c-muted-dark); }
.prose p + p { margin-top: 1rem; }
.prose p, .prose li { color: var(--c-muted); }
.prose strong { color: var(--c-text); font-weight: 700; }
.prose h3 { margin: 2rem 0 0.6rem; }
.prose ul, .prose ol { margin: 1rem 0 1rem 1.25rem; display: grid; gap: 0.45rem; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.6rem; min-height: 44px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em;
  text-decoration: none; text-align: center;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.btn-primary { background: var(--c-red-text); color: #fff; }
.btn-primary:hover { background: #862118; }
.btn-ghost { border-color: var(--c-line); color: var(--c-text); background: transparent; }
.btn-ghost:hover { border-color: var(--c-text); }
.on-dark .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost, .section-dark .btn-ghost, .site-header .btn-ghost { border-color: var(--c-line-dark); color: #fff; }
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .section-dark .btn-ghost:hover, .site-header .btn-ghost:hover { border-color: var(--c-red-lt); color: var(--c-red-lt); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.4; pointer-events: none; }

/* ---------- Naglowek ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--c-ink); color: #fff; border-bottom: 1px solid var(--c-line-dark); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: baseline; gap: 0.5rem; text-decoration: none; margin-right: auto; }
.logo-text { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: #fff; letter-spacing: 0.02em; }
.logo-sub { font-family: var(--font-body); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-muted-dark); }
.main-nav ul { display: none; list-style: none; gap: 1.7rem; align-items: center; }
.main-nav a { text-decoration: none; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted-dark); transition: color var(--ease); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--c-red); }
.header-cta { display: none; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; flex-shrink: 0; padding: 10px; background: transparent; border: none; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: #fff; transition: transform var(--ease), opacity var(--ease); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-open .main-nav ul { display: flex; flex-direction: column; align-items: flex-start; position: absolute; left: 0; right: 0; top: 100%; background: var(--c-ink); border-bottom: 1px solid var(--c-line-dark); padding: 1.25rem; gap: 1.1rem; }
.nav-open .main-nav a { font-size: 1rem; display: block; padding: 0.25rem 0; }
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .main-nav ul { display: flex; }
  .main-nav { margin-right: 1.5rem; }
  .header-cta { display: inline-flex; padding: 0.6rem 1.2rem; }
}

/* ---------- Sekcje ---------- */
.section { padding-block: 4rem; }
@media (min-width: 1024px) { .section { padding-block: 5.5rem; } }
.section-dark { background: var(--c-ink); color: #fff; }
.section-surface { background: var(--c-surface); }
.section-head { margin-bottom: 2.5rem; max-width: 46rem; }
.section-head p { margin-top: 0.85rem; }
.page-hero { background: var(--c-ink); color: #fff; padding-block: 3.5rem; }
.page-hero p { margin-top: 0.85rem; }
.rule { height: 1px; background: var(--c-line); border: 0; }

/* ---------- HERO ---------- */
.hero { background: var(--c-ink); color: #fff; position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; padding-block: 3rem 3.5rem; }
.hero h1 { margin: 0.5rem 0 1.25rem; }
.hero h1 em { font-style: italic; color: var(--c-red-lt); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-top: 2rem; list-style: none; }
.hero-facts li { font-size: 0.88rem; color: var(--c-muted-dark); }
.hero-facts b { color: #fff; font-weight: 700; }
.hero-img { border-radius: var(--radius); overflow: hidden; }
.hero-img img { width: 100%; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 4rem; padding-block: 4.5rem 5rem; }
}

/* ============================================================
   KALENDARZ — serce strony
   ============================================================ */
.book { background: var(--c-bg); padding-block: 4rem; }
@media (min-width: 1024px) { .book { padding-block: 5.5rem; } }
.book-grid { display: grid; gap: 2rem; }
@media (min-width: 1080px) { .book-grid { grid-template-columns: 1fr 21rem; gap: 3rem; align-items: start; } }

/* fieldset ma w przegladarkach min-inline-size: min-content i NIE kurczy
   sie w gridzie — bez min-width:0 wychodzi 18 px poza ekran na 375 px.
   To samo dotyczy dzieci .book-grid, ktore sa elementami gridu. */
.book-grid > * { min-width: 0; }
.step { border: 0; min-width: 0; margin-bottom: 2.25rem; }
.step-legend, .step legend { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin-bottom: 1rem; padding: 0; }
.step-n {
  width: 1.6rem; height: 1.6rem; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-ink); color: #fff; border-radius: 50%;
  font-size: 0.8rem; font-weight: 700;
}

/* Kafelki wyboru */
.opts { display: grid; gap: 0.6rem; position: relative; }
@media (min-width: 640px) { .opts { grid-template-columns: 1fr 1fr; } }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts label {
  display: block; cursor: pointer;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 0.9rem 1.1rem;
  min-height: 44px; transition: border-color var(--ease), box-shadow var(--ease);
}
.opts label b { display: block; font-size: 0.98rem; font-weight: 700; }
.opts label span { display: block; font-size: 0.85rem; color: var(--c-red-text); font-weight: 600; margin-top: 0.1rem; }
.opts label em { display: block; font-style: normal; font-size: 0.84rem; color: var(--c-muted); margin-top: 0.3rem; }
.opts label:hover { border-color: var(--c-muted); }
.opts input:checked + label { border-color: var(--c-red-text); box-shadow: inset 0 0 0 1px var(--c-red-text); }
.opts input:focus-visible + label { outline: 3px solid var(--c-red-text); outline-offset: 2px; }

/* Pasek tygodnia */
.cal-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.cal-bar p { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.cal-nav { display: flex; gap: 0.4rem; }
.cal-nav button {
  min-width: 44px; min-height: 44px; padding: 0 0.85rem;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 600; transition: all var(--ease);
}
.cal-nav button:hover:not([disabled]) { border-color: var(--c-text); }
.cal-nav button[disabled] { opacity: 0.35; pointer-events: none; }

/* Pasek dni — tylko na waskich ekranach */
.day-strip { display: flex; gap: 0.4rem; overflow-x: auto; padding-bottom: 0.5rem; margin-bottom: 1rem; scrollbar-width: thin; }
.day-strip button {
  flex: 0 0 auto; min-width: 4.4rem; min-height: 44px; padding: 0.5rem 0.7rem;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  font-size: 0.8rem; line-height: 1.25; text-align: center; transition: all var(--ease);
}
.day-strip button b { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.day-strip button small { display: block; font-size: 0.7rem; color: var(--c-muted); }
.day-strip button[aria-pressed="true"] { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.day-strip button[aria-pressed="true"] small { color: var(--c-muted-dark); }
.day-strip button[disabled] { opacity: 0.4; pointer-events: none; }

/* Siatka dni */
.cal { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
.cal-day { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 0.9rem; }
.cal-day.is-hidden { display: none; }
.cal-day-head { text-align: center; padding-bottom: 0.7rem; margin-bottom: 0.7rem; border-bottom: 1px solid var(--c-line); }
.cal-day-head b { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.1; }
.cal-day-head span { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); }
.cal-slots { display: grid; gap: 0.4rem; }
.slot {
  width: 100%; min-height: 44px; padding: 0.5rem 0.6rem;
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 700; font-variant-numeric: tabular-nums;
  transition: all var(--ease);
}
.slot small { display: block; font-size: 0.72rem; font-weight: 500; color: var(--c-muted); margin-top: 1px; }
.slot:hover { border-color: var(--c-red-text); background: var(--c-surface); }
.slot[aria-pressed="true"] { background: var(--c-red-text); border-color: var(--c-red-text); color: #fff; }
.slot[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.85); }
.cal-none { font-size: 0.85rem; color: var(--c-muted); text-align: center; padding: 0.6rem 0; }
.cal-empty { background: var(--c-surface); border: 1px dashed var(--c-line); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; }
.cal-empty h3 { margin-bottom: 0.5rem; }
.cal-empty p { color: var(--c-muted); font-size: 0.94rem; max-width: 34rem; margin-inline: auto; }
@media (min-width: 900px) {
  .day-strip { display: none; }
  .cal { grid-template-columns: repeat(5, 1fr); }
  .cal-day.is-hidden { display: block; }
}

/* Podsumowanie + formularz */
.summary { background: var(--c-ink); color: #fff; border-radius: var(--radius); padding: 1.5rem; }
@media (min-width: 1080px) { .summary { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.summary h3 { color: #fff; font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 1.1rem; }
.sum-rows { list-style: none; display: grid; gap: 0.6rem; margin-bottom: 1.1rem; }
.sum-rows li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.88rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--c-line-dark); }
.sum-rows span:first-child { color: var(--c-muted-dark); }
.sum-rows b { font-weight: 700; text-align: right; }
.sum-rows b.pending { color: var(--c-muted-dark); font-weight: 500; font-style: italic; }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 0.4rem; margin-bottom: 1.25rem; }
.sum-total span { font-size: 0.88rem; color: var(--c-muted-dark); }
.sum-total b { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; }
.sum-note { font-size: 0.8rem; color: var(--c-muted-dark); margin-top: 0.9rem; }
.summary .field label { color: #fff; }
.summary .field input, .summary .field textarea, .summary .field select { background: var(--c-ink-2); border-color: var(--c-line-dark); color: #fff; }
.summary .field input::placeholder, .summary .field textarea::placeholder { color: #77706b; }
.summary .checkbox-field { color: var(--c-muted-dark); }
.summary .field-hint { color: var(--c-muted-dark); }
.summary .rule { background: var(--c-line-dark); margin-block: 1.25rem; }

/* ---------- Artysci ---------- */
.artists { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .artists { grid-template-columns: repeat(3, 1fr); } }
/* Karta ma wlasne, jasne tlo — musi tez miec wlasny kolor tekstu.
   Bez tego w sekcji .section-dark naglowek dziedziczy biel i robi
   sie bialy tekst na bialej karcie, 1,02:1. */
.artist { background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; }
.artist-initial { font-family: var(--font-display); font-size: 3rem; font-weight: 600; line-height: 1; color: var(--c-red-text); }
.artist h3 { font-size: 1.4rem; }
.artist-style { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.artist p { font-size: 0.94rem; color: var(--c-muted); flex-grow: 1; }
.artist-meta { list-style: none; display: grid; gap: 0.4rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--c-line); font-size: 0.86rem; }
.artist-meta li { display: flex; justify-content: space-between; gap: 1rem; }
.artist-meta span { color: var(--c-muted); }

/* ---------- Kroki / lista numerowana ---------- */
.steps { list-style: none; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1.1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--c-line); }
.steps li:last-child { border-bottom: 0; }
.steps .n { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--c-red-text); line-height: 1; }
.steps h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.steps p { color: var(--c-muted); font-size: 0.94rem; }
.section-dark .steps li, .on-dark .steps li { border-color: var(--c-line-dark); }
.section-dark .steps p, .on-dark .steps p { color: var(--c-muted-dark); }
.section-dark .steps .n, .on-dark .steps .n { color: var(--c-red-lt); }

/* ---------- Cennik / wiersze ---------- */
.rows { list-style: none; display: grid; gap: 0.55rem; }
.rows li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; padding-bottom: 0.55rem; border-bottom: 1px solid var(--c-line); }
.rows li span:first-child { color: var(--c-muted); }
.rows li.closed span:last-child { color: var(--c-muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.6rem; max-width: 46rem; }
.faq details { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); }
.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--c-red-text); font-size: 1.2rem; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 1.25rem 1.25rem; color: var(--c-muted); font-size: 0.94rem; }
.faq details p + p { padding-top: 0; }

/* ---------- Formularze ---------- */
.form-grid { display: grid; gap: 1rem; }
.field label { display: block; font-weight: 700; font-size: 0.87rem; margin-bottom: 0.35rem; }
.field label .req { color: var(--c-red-text); }
.summary .field label .req { color: var(--c-red-lt); }
.field input, .field select, .field textarea { width: 100%; padding: 0.75rem 0.9rem; min-height: 44px; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); color: var(--c-text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--c-red-text); border-color: var(--c-red-text); }
.summary .field input:focus, .summary .field textarea:focus { outline-color: var(--c-red-lt); border-color: var(--c-red-lt); }
.field-hint { font-size: 0.79rem; color: var(--c-muted); margin-top: 0.3rem; }
.checkbox-field { display: flex; gap: 0.6rem; align-items: flex-start; min-height: 44px; padding-block: 0.35rem; font-size: 0.84rem; color: var(--c-muted); font-weight: 400; }
.checkbox-field input { width: 18px; height: 18px; min-height: 0; margin-top: 3px; flex-shrink: 0; }

/* ---------- Uklady ---------- */
.split { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.split-narrow { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .split-narrow { grid-template-columns: 1.3fr 0.7fr; gap: 4rem; align-items: start; } }
.aside-box { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.5rem; }
@media (min-width: 1024px) { .aside-box { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
figure img { border-radius: var(--radius); }
figcaption { font-size: 0.82rem; color: var(--c-muted); margin-top: 0.6rem; }
.map-ph {
  aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px solid var(--c-line);
  background:
    repeating-linear-gradient(90deg, rgba(26,22,19,0.05) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(26,22,19,0.05) 0 1px, transparent 1px 32px),
    linear-gradient(160deg, #e8e2d6, #d9d2c4);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem; text-align: center;
}
.map-ph-pin { background: var(--c-surface); border-radius: var(--radius); padding: 0.9rem 1.15rem; box-shadow: 0 6px 18px rgba(26,22,19,0.12); font-size: 0.87rem; }
.map-ph-pin strong { display: block; margin-bottom: 0.2rem; }

/* ---------- Pasek CTA ---------- */
.cta-band { background: var(--c-red-text); color: #fff; }
.cta-band-inner { display: flex; flex-direction: column; gap: 1.25rem; padding-block: 3rem; align-items: flex-start; }
.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.cta-band p { max-width: 36rem; margin-top: 0.6rem; color: rgba(255, 255, 255, 0.9); }
.cta-band .btn { background: #fff; color: var(--c-red-text); }
.cta-band .btn:hover { background: var(--c-ink); color: #fff; }
@media (min-width: 1024px) { .cta-band-inner { flex-direction: row; justify-content: space-between; align-items: center; gap: 3rem; } }

/* ---------- Stopka ---------- */
.site-footer { background: var(--c-ink); color: var(--c-muted-dark); font-size: 0.9rem; }
.footer-grid { display: grid; gap: 2rem; padding-block: 3.5rem 2rem; }
/* Naglowki kolumn to <h2> z klasa, nie <h4> — po sekcji z <h2> czworka
   robi przeskok poziomu i Lighthouse zabiera punkty za dostepnosc. */
.footer-grid .footer-h { color: #fff; font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer-grid ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-grid a { color: var(--c-muted-dark); text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--c-line-dark); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; font-size: 0.76rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }

/* ---------- Utils ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.demo-note { background: var(--c-surface); color: var(--c-muted); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 0.9rem 1.15rem; font-size: 0.84rem; }
.demo-note strong { color: var(--c-text); }
.section-dark .demo-note, .on-dark .demo-note { background: var(--c-ink-2); border-color: var(--c-line-dark); color: var(--c-muted-dark); }
.section-dark .demo-note strong, .on-dark .demo-note strong { color: #fff; }
