/* ==========================================================================
   STRONA GŁÓWNA — sekcje, stopka, pływające akcje
   Dziedziczy zmienne z header.css, który musi być wpięty wcześniej.
   Mobile-first.
   ========================================================================== */

@import url("/css/hero.css");

/* --------------------------------------------------------------------------
   1. Rusztowanie sekcji
   -------------------------------------------------------------------------- */
.section {
  padding: 56px 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 96px 0;
  }
}

.section--tint {
  background-color: #fafafa;
}

.section--dark {
  background-color: #171717;
}

/* Sekcja tuż pod hero — ciepłe, żółte tło, żeby strona nie była
   jednym białym pasem od góry do stopki. */
.section--sun {
  position: relative;
  background-color: #fff9e6;
}

/* delikatny żółty klin przy prawej krawędzi — łamie płaskie tło,
   nie dokładając niczego do DOM */
.section--sun::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    120% 90% at 100% 0%,
    rgba(255, 196, 0, 0.28) 0%,
    rgba(255, 196, 0, 0) 62%
  );
}

.section--sun > * {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   1b. Separator sekcji — motyw oznakowania poziomego jezdni
   -------------------------------------------------------------------------- */
/* Separator leży na tle <body>, czyli na bieli — dzięki temu działa
   jako oddech między sekcjami o dowolnych kolorach tła. */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;

  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 16px;
}

@media (min-width: 640px) {
  .divider {
    padding: 52px 24px;
  }
}

@media (min-width: 1024px) {
  .divider {
    padding: 64px 32px;
  }
}

/* przerywana linia jak pas na jezdni, wygaszona ku krawędziom */
.divider__line {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background-image: repeating-linear-gradient(
    to right,
    currentColor 0 26px,
    transparent 26px 44px
  );
  color: #dcdcdc;
}

.divider__line:first-child {
  mask-image: linear-gradient(to right, transparent, #000 45%);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 45%);
}

.divider__line:last-child {
  mask-image: linear-gradient(to left, transparent, #000 45%);
  -webkit-mask-image: linear-gradient(to left, transparent, #000 45%);
}

.divider__mark {
  width: 46px;
  height: 3px;
  flex-shrink: 0;
  border-radius: 2px;
  background-color: var(--c-yellow);
}

.divider--dark .divider__line {
  color: #3a3a3a;
}

.section__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .section__inner {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .section__inner {
    padding: 0 32px;
  }
}

.section__inner--narrow {
  max-width: 820px;
}

.section__inner--split {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .section__inner--split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 72px;
  }

  .section__inner--tight {
    align-items: start;
    gap: 56px;
  }
}

/* --------------------------------------------------------------------------
   2. Nagłówki sekcji
   -------------------------------------------------------------------------- */
.section__head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}

.section__kicker::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--c-yellow);
}

.section__kicker--onDark {
  color: #b5b5b5;
}

.section__title {
  margin: 0;
  font-size: clamp(1.625rem, 1.1rem + 2.2vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--c-ink);
}

.section__title--onDark {
  color: var(--c-white);
}

.section__intro {
  margin: 16px 0 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--c-ink-soft);
}

.section__foot {
  margin: 36px 0 0;
  font-size: 1rem;
  color: var(--c-ink-soft);
}

.section__foot a {
  font-weight: 700;
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-color: var(--c-yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.section__foot a:hover {
  background-color: #fff6d6;
}

/* --------------------------------------------------------------------------
   3. Akapity treści
   -------------------------------------------------------------------------- */
.prose {
  max-width: 60ch;
  margin: 20px 0 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--c-ink-soft);
}

/* Pogrubienia niosą sens — dostają też ciemniejszy kolor, żeby
   faktycznie wybijały się ze skanowanego wzrokiem akapitu.
   Jedna reguła na wszystkie konteksty tekstowe w serwisie, żeby
   wyróżnienie wyglądało tak samo niezależnie od sekcji. */
.prose strong,
.hero__lead strong,
.page-hero__lead strong,
.section__intro strong,
.card__lead strong,
.card__list strong,
.process__text strong,
.faq__a strong,
.cta__text strong,
.contact-card__note strong,
.checklist__list strong,
.page__body strong {
  font-weight: 700;
  color: var(--c-ink);
}

.prose--onDark {
  color: #b8b8b8;
}

.prose--onDark strong {
  color: var(--c-white);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-weight: 700;
  color: var(--c-ink);
  text-decoration: none;
  border-bottom: 3px solid var(--c-yellow);
  padding-bottom: 3px;
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   4. Zdjęcie z efektem (sekcja „O firmie")
   -------------------------------------------------------------------------- */
.photo-fx {
  position: relative;
  margin: 0;
  isolation: isolate;
}

/* żółta ramka przesunięta w prawo-dół, widoczna zza zdjęcia */
.photo-fx__frame {
  position: absolute;
  inset: 20px -16px -20px 20px;
  border: 3px solid var(--c-yellow);
  border-radius: 16px;
  z-index: -1;
  transition: inset 0.35s var(--ease);
}

.photo-fx picture {
  display: block;
  overflow: hidden;
  border-radius: 16px;
}

.photo-fx__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 7;
  object-fit: cover;
  background-color: #f1f1f1;
  transition: transform 0.5s var(--ease);
}

@media (hover: hover) {
  .photo-fx:hover .photo-fx__img {
    transform: scale(1.04);
  }

  .photo-fx:hover .photo-fx__frame {
    inset: 26px -22px -26px 26px;
  }
}

/* --------------------------------------------------------------------------
   5. Karty oferty
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.card {
  padding: 28px 24px 30px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: #ffe08a;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background-color: var(--c-yellow);
  color: var(--c-ink);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

.card__lead {
  margin: 0 0 18px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--c-ink-soft);
}

.card__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card__list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--c-ink-soft);
}

/* znacznik listy rysowany tłem — nie wymaga dodatkowego elementu */
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 9px;
  border-left: 2.5px solid var(--c-ink);
  border-bottom: 2.5px solid var(--c-ink);
  transform: rotate(-45deg);
  border-radius: 1px;
}

/* --------------------------------------------------------------------------
   6. Proces — cztery kroki
   -------------------------------------------------------------------------- */
.process {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

@media (min-width: 768px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 40px;
  }
}

@media (min-width: 1024px) {
  .process {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.process__item {
  position: relative;
  padding-top: 20px;
  border-top: 2px solid var(--c-border);
}

/* żółty fragment krawędzi górnej jako znacznik kroku */
.process__item::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 44px;
  height: 2px;
  background-color: var(--c-yellow);
}

.process__num {
  display: block;
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--c-ink-soft);
}

.process__title {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--c-ink);
}

.process__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--c-ink-soft);
}

/* --------------------------------------------------------------------------
   7. Obszar działania
   -------------------------------------------------------------------------- */
.area-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 480px) {
  .area-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.area-list__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-white);
  background-color: #202020;
  border: 1px solid #2e2e2e;
  border-radius: 10px;
}

.area-list__item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--c-yellow);
}

.area-list__item--more {
  color: #9a9a9a;
  font-weight: 500;
  background: none;
  border-style: dashed;
}

/* --------------------------------------------------------------------------
   8. FAQ
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  overflow: hidden;
}

.faq__item[open] {
  border-color: #ffe08a;
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--c-ink);
  cursor: pointer;

  list-style: none; /* usuwa domyślny trójkąt */
  transition: background-color 0.18s var(--ease);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  background-color: #fffbee;
}

.faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--c-ink-soft);
  transition: transform 0.28s var(--ease);
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg); /* plus zamienia się w krzyżyk */
}

.faq__a {
  padding: 0 20px 20px;
}

.faq__a p {
  margin: 0;
  font-size: 0.9688rem;
  line-height: 1.7;
  color: var(--c-ink-soft);
}

/* animacja rozwijania sterowana z app.js (bez skoku wysokości) */
.faq__item.is-animating .faq__a {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   9. Sekcja wezwania do kontaktu
   -------------------------------------------------------------------------- */
.cta {
  padding: 56px 0;
  background-color: var(--c-yellow);
}

@media (min-width: 1024px) {
  .cta {
    padding: 72px 0;
  }
}

.cta__inner {
  display: grid;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .cta__inner {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .cta__inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 56px;
    padding: 0 32px;
  }
}

.cta__title {
  margin: 0;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--c-ink);
}

.cta__text {
  max-width: 52ch;
  margin: 16px 0 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #4a3f10;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

@media (min-width: 1024px) {
  .cta__actions {
    align-items: flex-end;
  }
}

/* na żółtym tle przycisk musi być ciemny — inaczej zniknie */
.btn-phone--light {
  background-color: var(--c-ink);
  color: var(--c-white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-phone--light:hover {
  background-color: #000;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

.btn-phone--light .btn-phone__icon {
  background-color: rgba(255, 255, 255, 0.14);
}

.cta__hours {
  margin: 0;
  font-size: 0.9375rem;
  color: #4a3f10;
}

/* --------------------------------------------------------------------------
   10. Stopka
   -------------------------------------------------------------------------- */
.footer {
  background-color: #171717;
  color: #b8b8b8;
}

.footer__inner {
  display: grid;
  gap: 36px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 16px;
}

@media (min-width: 640px) {
  .footer__inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 56px 24px;
  }
}

@media (min-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding: 64px 32px;
  }
}

.footer__name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--c-white);
}

.footer__owner {
  margin: 4px 0 0;
  font-size: 0.9375rem;
}

.footer__address {
  margin: 16px 0 0;
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer__phone {
  display: inline-block;
  margin-top: 16px;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-yellow);
  text-decoration: none;
}

.footer__phone:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__mail,
.footer__hours {
  display: block;
  margin-top: 8px;
  font-size: 0.9375rem;
  color: #b8b8b8;
}

.footer__heading {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-white);
}

.footer__heading a {
  color: inherit;
  text-decoration: none;
}

.footer__heading a:hover {
  color: var(--c-yellow);
}

.footer__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__list a {
  font-size: 0.9375rem;
  color: #b8b8b8;
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.footer__list a:hover {
  color: var(--c-yellow);
}

.footer__areas {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--c-white);
  border: 1px solid #333;
  border-radius: 50%;
  transition:
    background-color 0.18s var(--ease),
    color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.footer__social svg {
  width: 19px;
  height: 19px;
}

.footer__social a:hover {
  background-color: var(--c-yellow);
  border-color: var(--c-yellow);
  color: var(--c-ink);
}

.footer__bar {
  border-top: 1px solid #2a2a2a;
}

.footer__barInner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 16px;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .footer__barInner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
  }
}

@media (min-width: 1024px) {
  .footer__barInner {
    padding: 20px 32px;
  }
}

.footer__copy,
.footer__credit {
  margin: 0;
  color: #8f8f8f;
}

.footer__credit a {
  margin-left: 6px;
  font-weight: 700;
  color: var(--c-yellow);
  text-decoration: none;
}

.footer__credit a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   11. Pływające akcje
   -------------------------------------------------------------------------- */

/* pionowy pasek ikon — lewa krawędź, w pionie na środku */
.social-rail {
  display: none;
}

@media (min-width: 1024px) {
  .social-rail {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;

    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .social-rail__link {
    display: flex;
    align-items: center;
    gap: 0;

    width: 48px;
    height: 48px;
    padding: 0 14px;
    overflow: hidden;

    color: var(--c-white);
    background-color: var(--c-ink);
    text-decoration: none;
    white-space: nowrap;

    transition:
      width 0.28s var(--ease),
      background-color 0.2s var(--ease),
      color 0.2s var(--ease);
  }

  .social-rail__link:first-child {
    border-radius: 0 10px 0 0;
  }

  .social-rail__link:last-child {
    border-radius: 0 0 10px 0;
  }

  .social-rail__link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .social-rail__label {
    margin-left: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s var(--ease);
  }

  /* rozwijanie etykiety przy najechaniu i przy fokusie klawiatury */
  .social-rail__link:hover,
  .social-rail__link:focus-visible {
    width: 210px;
    background-color: var(--c-yellow);
    color: var(--c-ink);
  }

  .social-rail__link:hover .social-rail__label,
  .social-rail__link:focus-visible .social-rail__label {
    opacity: 1;
  }
}

/* szybkie połączenie */
.quick-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  height: 60px;
  padding-bottom: env(safe-area-inset-bottom);
  box-sizing: content-box;

  background-color: var(--c-yellow);
  color: var(--c-ink);
  text-decoration: none;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.14);
}

.quick-call__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  background-color: rgba(255, 255, 255, 0.55);
}

.quick-call__icon svg {
  width: 19px;
  height: 19px;
}

.quick-call__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.quick-call__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.75;
}

.quick-call__number {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* rezerwacja miejsca, żeby pasek nie zasłonił stopki */
body {
  padding-bottom: calc(60px + env(safe-area-inset-bottom));
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }

  /* Na desktopie pigułka w prawym dolnym rogu zamiast pełnego paska.
     W obrębie hero pozostaje ukryta — numer jest tam widoczny i w belce,
     i w przycisku CTA, a pigułka zasłaniałaby kartę „Jak działamy".
     Pokazuje się dopiero po wyjściu poza hero (klasa z app.js). */
  .quick-call {
    left: auto;
    right: 24px;
    bottom: 24px;
    height: auto;
    padding: 12px 22px 12px 14px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    transition:
      transform 0.28s var(--ease),
      opacity 0.28s var(--ease),
      visibility 0s linear 0.28s,
      box-shadow 0.2s var(--ease);
  }

  .js .quick-call {
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
  }

  .js .quick-call.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
      transform 0.28s var(--ease),
      opacity 0.28s var(--ease),
      visibility 0s linear 0s,
      box-shadow 0.2s var(--ease);
  }

  .quick-call.is-visible:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  }
}

/* --------------------------------------------------------------------------
   12. Wejście sekcji przy przewijaniu
   Klasa .is-visible dokładana z app.js. Bez JS treść jest widoczna
   normalnie — stan początkowy ustawiamy dopiero, gdy skrypt wystartuje
   (html.js), żeby przy wyłączonym JavaScripcie nic nie zniknęło.
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   12b. Nagłówek podstrony + okruszki
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 32px 0 44px;
  background-color: #fff9e6;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .page-hero {
    padding: 44px 0 64px;
  }
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    110% 100% at 100% 0%,
    rgba(255, 196, 0, 0.3) 0%,
    rgba(255, 196, 0, 0) 60%
  );
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
}

.crumbs__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-ink-soft);
}

/* separator rysowany treścią pseudoelementu — nie zaśmieca HTML-a */
.crumbs__list li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1.5px solid #b9ab7c;
  border-right: 1.5px solid #b9ab7c;
  transform: rotate(45deg);
}

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

.crumbs__list a:hover {
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.crumbs__list [aria-current="page"] {
  font-weight: 700;
  color: var(--c-ink);
}

.page-hero__body {
  display: grid;
  gap: 28px;
}

@media (min-width: 1024px) {
  .page-hero__body {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
  }
}

.page-hero__title {
  margin: 0;
  font-size: clamp(1.75rem, 1.15rem + 2.4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--c-ink);
}

.page-hero__lead {
  max-width: 62ch;
  margin: 16px 0 0;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--c-ink-soft);
}

/* --------------------------------------------------------------------------
   12c. Lista z odhaczeniami (podstrony usług)
   -------------------------------------------------------------------------- */
.section__inner--flip > *:first-child {
  order: 0;
}

@media (min-width: 1024px) {
  .section__inner--flip > *:first-child {
    order: 1;
  }
}

.checklist {
  padding: 28px 24px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

@media (min-width: 1024px) {
  .checklist {
    padding: 32px 30px;
  }
}

.checklist__title {
  margin: 0 0 18px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink);
}

.checklist__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist__list li {
  position: relative;
  padding-left: 34px;
  font-size: 0.9688rem;
  line-height: 1.6;
  color: var(--c-ink-soft);
}

.checklist__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background-color: var(--c-yellow);
}

/* ptaszek rysowany dwiema krawędziami obróconego prostokąta */
.checklist__list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--c-ink);
  border-bottom: 2px solid var(--c-ink);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   12d. Kafle kontaktowe
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  padding: 26px 24px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 16px;
}

.contact-card__label {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}

.contact-card__value {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

.contact-card__value a {
  color: inherit;
  text-decoration: none;
}

.contact-card__value a:hover {
  text-decoration: underline;
  text-decoration-color: var(--c-yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.contact-card__note {
  margin: 10px 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--c-ink-soft);
}

/* --------------------------------------------------------------------------
   13. Strona treściowa (polityka prywatności, 404)
   -------------------------------------------------------------------------- */
.page {
  padding: 40px 0 64px;
}

@media (min-width: 1024px) {
  .page {
    padding: 64px 0 96px;
  }
}

.page__title {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--c-ink);
}

.page__meta {
  margin: 0 0 36px;
  font-size: 0.9375rem;
  color: var(--c-ink-soft);
}

.page__body h2 {
  margin: 36px 0 12px;
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--c-ink);
}

.page__body p,
.page__body li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-ink-soft);
}

.page__body p {
  margin: 0 0 14px;
}

.page__body ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.page__body li {
  margin-bottom: 8px;
}

.page__body strong {
  color: var(--c-ink);
  font-weight: 700;
}

.page__body a {
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-color: var(--c-yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   13b. Artykuł podstrony lokalizacyjnej
   Jedna kolumna czytelnej szerokości. Nagłówki H2 dostają żółtą
   kreskę zamiast obwódki — ten sam sygnał, co kicker w sekcjach,
   więc podstrona nie wygląda jak wklejony z zewnątrz tekst.
   -------------------------------------------------------------------------- */
.article {
  padding: 44px 0 16px;
}

@media (min-width: 1024px) {
  .article {
    padding: 64px 0 24px;
  }
}

.article__meta {
  margin: 0 0 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-ink-soft);
}

.article__section + .article__section {
  margin-top: 42px;
}

@media (min-width: 1024px) {
  .article__section + .article__section {
    margin-top: 52px;
  }
}

.article__h2 {
  margin: 0;
  font-size: clamp(1.3125rem, 1.05rem + 1.1vw, 1.75rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: var(--c-ink);
}

.article__h2::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 2px;
  background-color: var(--c-yellow);
}

.article__body p {
  margin: 18px 0 0;
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--c-ink-soft);
}

.article__body strong {
  font-weight: 700;
  color: var(--c-ink);
}

.article__body a {
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-color: var(--c-yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.article__body a:hover {
  background-color: #fff6d6;
}

/* podsumowanie — wyróżnione, bo to fragment czytany najczęściej */
.article__summary {
  margin-top: 44px;
  padding: 24px 22px 26px;
  background-color: #fff9e6;
  border: 1px solid #ffe08a;
  border-radius: 16px;
}

@media (min-width: 1024px) {
  .article__summary {
    padding: 28px 30px 30px;
  }
}

.article__h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink);
}

.article__h3::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--c-ink);
}

.article__summary .article__body p {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.72;
  color: #4a3f10;
}

.article__summary .article__body strong,
.article__summary .article__body a {
  color: var(--c-ink);
}

/* --------------------------------------------------------------------------
   13c. Mapa miejscowości
   -------------------------------------------------------------------------- */
.map {
  padding: 8px 0 56px;
}

@media (min-width: 1024px) {
  .map {
    padding: 16px 0 80px;
  }
}

.map__label {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}

.map__frame {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: #f1f1f1;
  border: 1px solid var(--c-border);
  border-radius: 16px;
}

@media (min-width: 640px) {
  .map__frame {
    aspect-ratio: 16 / 9;
  }
}

.map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map__note {
  margin: 14px 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--c-ink-soft);
}

/* --------------------------------------------------------------------------
   14. Siatka miejscowości nad stopką
   Dwadzieścia kafli w układzie 4 × 5 na desktopie. Drobny krój —
   to nawigacja pomocnicza, nie kolejna sekcja treściowa, więc nie
   może przeciągać wzroku na siebie tuż przed stopką.
   -------------------------------------------------------------------------- */
.locality {
  padding: 40px 0 48px;
  background-color: #fafafa;
  border-top: 1px solid var(--c-border);
}

@media (min-width: 1024px) {
  .locality {
    padding: 56px 0 64px;
  }
}

.locality__head {
  margin-bottom: 22px;
}

.locality__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

@media (min-width: 1024px) {
  .locality__title {
    font-size: 1.25rem;
  }
}

.locality__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .locality__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (min-width: 1024px) {
  .locality__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 12px;
  }
}

.locality__item {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 100%;
  box-sizing: border-box;

  padding: 9px 12px;
  background-color: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  text-decoration: none;

  transition:
    border-color 0.18s var(--ease),
    background-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.locality__item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #c9a227;
  transition: color 0.18s var(--ease);
}

.locality__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.locality__name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-ink);
}

.locality__sub {
  font-size: 0.6875rem;
  color: var(--c-ink-soft);
}

@media (hover: hover) {
  .locality__item:hover {
    transform: translateY(-2px);
    border-color: #ffe08a;
    background-color: #fffdf5;
  }

  .locality__item:hover svg {
    color: var(--c-ink);
  }
}

/* kafel strony, na której właśnie jesteśmy — bez odnośnika w kółko */
.locality__item--current {
  border-color: var(--c-yellow);
  background-color: #fff9e6;
  cursor: default;
}

.locality__item--current:hover {
  transform: none;
}

/* pole wymagające uzupełnienia danych od klienta */
.todo {
  display: inline-block;
  padding: 1px 7px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #8a5b00;
  background-color: #fff3cd;
  border: 1px solid #ffd75e;
  border-radius: 4px;
}
