/* ==========================================================================
   EK Księgowość — styles
   Paleta: głęboki navy + szałwia/teal + ciepły krem + złoty akcent
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #071422;
  --navy-900: #0b1f35;
  --navy-800: #122a45;
  --navy-700: #1a3a5c;
  /* Delikatna szałwia / stonowana butelkowa (nie ciemna ściana) + granaty */
  --teal-800: #1a3d32;
  --teal-700: #2a5648;
  --teal-600: #3d6f5c;
  --teal-500: #4f8570;
  --teal-100: #eef5f1;
  --gold-500: #c4a35a;
  --gold-400: #d4b76a;
  --cream-50: #faf9f7;
  --cream-100: #f3f0ea;
  --cream-200: #e8e2d6;
  --white: #ffffff;
  --ink: #1a2332;
  --ink-muted: #5a6577;
  --ink-soft: #8a93a3;
  --border: rgba(18, 42, 69, 0.1);
  --border-strong: rgba(18, 42, 69, 0.16);
  --shadow-sm: 0 2px 8px rgba(7, 20, 34, 0.06);
  --shadow-md: 0 8px 30px rgba(7, 20, 34, 0.08);
  --shadow-lg: 0 20px 50px rgba(7, 20, 34, 0.12);
  --shadow-glow: 0 12px 36px rgba(196, 163, 90, 0.35);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --header-h: 76px;
  --container: 1140px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.3s var(--ease);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  width: 100%;
}

/* Hard lock against horizontal “swipe” on mobile (not on .header — fixed menu) */
main,
.section,
.footer,
.hero,
.about,
.services,
.pricing,
.contact,
.cta {
  max-width: 100%;
  overflow-x: clip;
}

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

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

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 9999;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--gold-500));
  border-radius: 2px;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.85);
}

.eyebrow--light::before {
  background: linear-gradient(90deg, var(--gold-400), rgba(255, 255, 255, 0.5));
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.section__lead {
  margin-top: 0.85rem;
  max-width: 42rem;
  color: var(--ink-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.section__header {
  text-align: center;
  margin-bottom: 1.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__header .section__title {
  text-align: center;
  width: 100%;
}

.section__header .section__lead {
  margin-inline: auto;
  text-align: center; /* wyśrodkowany lead — justify psuje symetrię nagłówków */
  max-width: 36rem;
}

/* Oferta: jedna linia na szerszych ekranach */
.section__lead--oneline {
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .section__lead--oneline {
    white-space: normal;
    max-width: 28rem;
  }
}

/* Cennik: 2 linie, WYŚRODKOWANE (nadpisuje max-width:36rem z .section__header .section__lead) */
.section__header .section__lead.section__lead--pricing {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  box-sizing: border-box;
}

.section__header .section__lead.section__lead--pricing p {
  margin: 0 auto;
  padding: 0;
  width: fit-content;
  max-width: 100%;
  text-align: center !important;
  text-align-last: center !important;
  box-sizing: border-box;
}

/* Jedna linia na zdanie tylko gdy ekran naprawdę jest szeroki */
@media (min-width: 1100px) {
  .section__header .section__lead.section__lead--pricing p {
    white-space: nowrap;
  }
}

@media (max-width: 1099px) {
  .section__header .section__lead.section__lead--pricing {
    max-width: 40rem;
    padding-inline: 0.5rem;
  }

  .section__header .section__lead.section__lead--pricing p {
    white-space: normal;
  }
}

.section__header .eyebrow {
  justify-content: center;
}

.text-accent {
  color: var(--teal-600);
}

.section {
  padding: clamp(1.85rem, 3.8vw, 3rem) 0;
  position: relative;
}

/* Desktop: ciaśniejsze odstępy między sekcjami (mobile zostaje jak jest) */
@media (min-width: 961px) {
  .section {
    padding: clamp(1.35rem, 2.4vw, 2.15rem) 0;
  }

  .section__header {
    margin-bottom: 1.25rem;
  }

  .cta {
    padding-bottom: clamp(1.35rem, 2.4vw, 2.15rem);
  }
}

/*
  Justowanie + kontrola przenoszenia:
  - text-align: justify  → równe krawędzie
  - hyphens: none        → BEZ dzielenia wyrazów dywizem (to psuło mobile)
  - text-justify: inter-word → tylko rozsuwanie spacji, nie liter w słowie
  - word-break: normal   → całe słowa schodzą do nowej linii
*/
.about__text p,
.service-card__text,
.cta__text,
.pricing__note p,
.contact__promise p,
.hero__lead {
  text-align: justify;
  text-justify: inter-word;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
  hyphenate-character: "";
  word-break: normal;
  overflow-wrap: break-word; /* tylko bardzo długie stringi (URL itd.), nie zwykłe słowa PL */
  line-break: auto;
  text-wrap: pretty; /* nowsze przeglądarki: ładniejsze łamanie wierszy */
}

/* Ostatnia linia akapitu do lewej — wygląda naturalniej przy justify */
.about__text p,
.service-card__text,
.cta__text,
.pricing__note p,
.contact__promise p {
  text-align-last: left;
}

.contact .section__header .section__lead {
  text-align: center;
  text-align-last: center;
}

.section--muted {
  background: var(--cream-100);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.25;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: normal;
  text-align: center;
  max-width: 100%;
  hyphens: none;
  -webkit-hyphens: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1.05rem 1.75rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

/* Przyciski: granat + złoto (nie butelkowa zieleń — żeby nie zlewały się z tłem) */
.btn--primary {
  background: linear-gradient(135deg, #d4b76a 0%, #c4a35a 55%, #b08f45 100%);
  color: var(--navy-950);
  box-shadow: 0 4px 18px rgba(176, 143, 69, 0.35);
  font-weight: 700;
}

.btn--primary:hover {
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, #e0c67a 0%, #d4b76a 55%, #c4a35a 100%);
  color: var(--navy-950);
}

.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--navy-700);
  color: var(--navy-900);
  background: rgba(11, 31, 53, 0.05);
}

.btn--outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--navy-700);
  color: var(--navy-900);
  background: rgba(11, 31, 53, 0.04);
}

.btn--light {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-md);
}

.btn--light:hover {
  box-shadow: var(--shadow-lg);
  background: var(--cream-50);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10060; /* above mobile overlay so logo + burger stay clickable */
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.is-scrolled,
.header.is-menu-open {
  background: rgba(250, 249, 247, 0.97);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

/* Hero jest jasny — burger i nav w ciemnym tonie (domyślne style) */

/* Avoid backdrop-filter here — it traps position:fixed children in the header box */

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  z-index: 1001;
  max-width: min(240px, 58vw);
}

.logo__img {
  width: auto;
  height: 44px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  display: block;
  border-radius: 0;
}

/* Header: logo z przezroczystym tłem (pasuje do jasnego hero) */
.logo__img:not(.logo__img--footer) {
  padding: 0;
  background: transparent;
  box-shadow: none;
  height: 42px;
}

.logo__img--footer {
  height: 40px;
  width: auto;
  max-width: 200px;
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  object-position: left center;
}

.logo__text {
  display: none; /* wordmark zawiera już „Księgowość” */
}

.logo--footer .logo__text {
  display: none;
}

.nav--desktop .nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  display: block;
  padding: 0.55rem 0.95rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--navy-900);
  background: rgba(11, 31, 53, 0.05);
}

.nav__link--cta {
  display: none;
}

.header__cta {
  flex-shrink: 0;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: 10070;
  border-radius: 10px;
  position: relative;
  background: transparent;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Mobile full-screen menu (sibling of header, viewport-fixed) ---------- */
.nav-mobile {
  display: none;
}

.nav-mobile[hidden] {
  display: none !important;
}

.nav-mobile.is-open {
  display: flex !important;
  position: fixed;
  inset: 0;
  z-index: 10050;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
  background: rgba(250, 249, 247, 0.98);
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nav-mobile__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  max-width: 320px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-mobile__link {
  display: block;
  width: 100%;
  padding: 0.95rem 1.25rem;
  font-size: 1.35rem;
  font-weight: 600;
  text-align: center;
  color: var(--navy-900);
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}

.nav-mobile__link:hover,
.nav-mobile__link:focus-visible {
  background: rgba(11, 31, 53, 0.06);
  outline: none;
}

.nav-mobile__link--cta {
  margin-top: 0.85rem;
  background: linear-gradient(135deg, #d4b76a, #c4a35a);
  color: var(--navy-950) !important;
  box-shadow: 0 4px 16px rgba(176, 143, 69, 0.35);
  font-weight: 700;
}

.nav-mobile__link--cta:hover,
.nav-mobile__link--cta:focus-visible {
  background: linear-gradient(135deg, #e0c67a, #d4b76a);
}

/* Lock page scroll when mobile menu is open */
html.menu-open {
  overflow: hidden !important;
}

html.menu-open body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* ---------- Hero (delikatny krem + szałwia) ---------- */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start; /* treść tuż pod menu, bez centrowania w pionie */
  padding: calc(var(--header-h) + 0.85rem) 0 2.75rem;
  overflow: hidden;
  background: linear-gradient(160deg, #faf9f7 0%, #f3f6f3 42%, #eef3f0 68%, #e9eef4 100%);
  color: var(--ink);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 88% 18%, rgba(79, 133, 112, 0.1), transparent 58%),
    radial-gradient(ellipse 50% 40% at 8% 78%, rgba(196, 163, 90, 0.08), transparent 55%),
    radial-gradient(ellipse 40% 35% at 45% 50%, rgba(11, 31, 53, 0.03), transparent 70%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 80%;
  background: linear-gradient(135deg, rgba(61, 111, 92, 0.06), transparent);
  border-radius: 50%;
  filter: blur(40px);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero .eyebrow {
  color: var(--teal-600);
}

.hero .eyebrow::before {
  background: linear-gradient(90deg, var(--teal-500), var(--gold-500));
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 3.75rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy-900);
  letter-spacing: -0.03em;
  margin-bottom: 1.35rem;
}

.hero__title-accent {
  background: linear-gradient(120deg, var(--teal-600), var(--teal-700) 45%, var(--navy-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-muted);
  max-width: 42ch;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero .btn--ghost {
  color: var(--navy-900);
  border-color: var(--border-strong);
  background: transparent;
}

.hero .btn--ghost:hover {
  color: var(--teal-700);
  border-color: var(--teal-600);
  background: rgba(61, 111, 92, 0.06);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.hero__trust svg {
  color: var(--teal-600);
  flex-shrink: 0;
}

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  color: var(--cream-50);
  line-height: 0;
}

.hero__wave svg {
  width: 100%;
  height: 48px;
  display: block;
}

/* Media cards / image placeholders */
.media-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.media-card--hero {
  max-width: 520px;
  margin-left: auto;
}

.media-card--portrait {
  max-width: 420px;
}

.media-card--wide {
  border-radius: var(--radius-lg);
}

.media-card__placeholder {
  position: relative;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-900));
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.media-card--hero .media-card__placeholder {
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.media-card--portrait .media-card__placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.media-card--wide .media-card__placeholder {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy-800), var(--teal-700));
}

.media-card__placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.media-card__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(160deg, rgba(18, 42, 69, 0.95), rgba(26, 92, 82, 0.85)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 12px,
      rgba(255, 255, 255, 0.02) 12px,
      rgba(255, 255, 255, 0.02) 24px
    );
  z-index: 0;
}

/* When real image loads successfully, hide the placeholder overlay */
.media-card__placeholder.has-image .media-card__fallback {
  display: none;
}

.media-card__fallback p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.media-card__fallback strong {
  color: var(--gold-400);
  font-weight: 600;
}

.media-card__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gold-400);
}

.media-card__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-900);
  box-shadow: var(--shadow-md);
}

.media-card__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.25);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(42, 157, 143, 0.1); }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about__visual {
  position: relative;
}

.about__accent-card {
  position: absolute;
  bottom: 1.5rem;
  right: 0.75rem;
  background: var(--white);
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: min(200px, calc(100% - 1.5rem));
  z-index: 2;
}

.about__accent-card strong {
  display: block;
  font-size: 1.125rem;
  color: var(--navy-900);
  margin-bottom: 0.2rem;
}

.about__accent-card span {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.about__text {
  margin: 1.5rem 0 2rem;
}

.about__text p {
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.about__text strong {
  color: var(--ink);
  font-weight: 600;
}

.about__quote {
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--gold-500);
  background: linear-gradient(90deg, rgba(196, 163, 90, 0.08), transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--navy-800);
  line-height: 1.55;
}

/* <br class="br-mobile"> tylko na telefonie */
br.br-mobile {
  display: none;
}

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-500), var(--gold-500));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(33, 122, 107, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--teal-100);
  color: var(--teal-700);
  margin-bottom: 1.25rem;
  transition: background var(--transition), color var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--teal-600);
  color: var(--white);
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.service-card__text {
  color: var(--ink-muted);
  font-size: 0.975rem;
  line-height: 1.65;
}



/* ---------- CTA ---------- */
.cta {
  padding-top: 0;
  padding-bottom: clamp(1.85rem, 3.8vw, 3rem);
  margin-top: 0;
}

.cta__box {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(2.25rem, 5vw, 3.5rem);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(196, 163, 90, 0.12) 0%, transparent 40%),
    linear-gradient(145deg, var(--navy-900) 0%, var(--navy-800) 70%, #1a3a5c 125%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta__box::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 50%;
  height: 120%;
  background: radial-gradient(circle, rgba(42, 157, 143, 0.25), transparent 65%);
  pointer-events: none;
}

.cta__content,
.cta__actions {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta__text {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1rem;
  max-width: 48ch;
}

.cta__sub {
  font-size: 1.05rem;
  color: var(--gold-400);
  font-weight: 600;
  margin-top: 0.35rem;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: stretch;
}

/* ---------- Pricing ---------- */
.pricing__note,
.contact__note {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.25rem;
  padding: 1.6rem 1.5rem;
  background: linear-gradient(155deg, #0a2e24 0%, #0f3d2e 48%, #0c3428 100%);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(196, 163, 90, 0.35);
  box-shadow: 0 8px 28px rgba(10, 46, 36, 0.22);
  margin-bottom: 1.35rem;
  max-width: 100%;
  box-sizing: border-box;
}

.contact__note {
  margin-bottom: 1.75rem;
}

.pricing__note p,
.contact__note p {
  flex: none;
  width: 100%;
  min-width: 0;
  max-width: 58ch;
  margin: 0 auto;
  color: rgba(250, 249, 247, 0.9);
  font-size: 0.975rem;
  line-height: 1.7;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}

.pricing__note p strong,
.contact__note p strong {
  color: var(--gold-400);
  font-weight: 700;
}

.pricing__note .btn,
.contact__note .btn {
  flex: none;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  justify-content: center;
}

@media (max-width: 680px) {
  .pricing__note p,
  .contact__note p {
    text-align: center;
    text-align-last: center;
  }
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
  min-height: 100%;
}

.price-card .btn {
  margin-top: auto;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-card--featured {
  background: linear-gradient(180deg, var(--white) 0%, #f4f7f5 100%);
  border-color: rgba(61, 111, 92, 0.28);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(61, 111, 92, 0.06);
}

.price-card__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #d4b76a, #c4a35a);
  color: var(--navy-950);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card__top {
  margin-bottom: 1.25rem;
}

.price-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.3rem;
}

.price-card__desc {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.price-card__price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 1.35rem;
  margin-top: auto;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.price-card__from {
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  vertical-align: super;
  margin-right: 0.15rem;
}

.price-card__period {
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.pricing__bonus {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px dashed rgba(196, 163, 90, 0.55);
  border-radius: var(--radius-lg);
  justify-content: center;
  text-align: left;
  max-width: 100%;
  box-sizing: border-box;
}

.pricing__bonus-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(196, 163, 90, 0.15);
  color: var(--gold-500);
  flex-shrink: 0;
}

.pricing__bonus strong {
  color: var(--navy-900);
}

.pricing__bonus span {
  color: var(--teal-600);
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.contact__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.contact__card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 1.25rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.contact__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact__item:first-of-type {
  padding-top: 0;
}

a.contact__item:hover {
  color: var(--teal-700);
}

.contact__item-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-100);
  color: var(--teal-700);
  flex-shrink: 0;
}

.contact__item-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  margin-bottom: 0.15rem;
}

.contact__item-value {
  display: block;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 1.05rem;
}

a.contact__item:hover .contact__item-value {
  color: var(--teal-700);
}

.contact__promise {
  margin-top: 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  color: var(--white);
}

.contact__promise strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--gold-400);
}

.contact__promise p {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.contact__form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

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

.form__field {
  margin-bottom: 1.15rem;
}

.form__field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.45rem;
}

.form__field label span {
  color: var(--teal-600);
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--cream-50);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
}

.form__field input:hover,
.form__field select:hover,
.form__field textarea:hover {
  border-color: rgba(33, 122, 107, 0.35);
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.15);
  background: var(--white);
}

.form__field input.is-invalid,
.form__field select.is-invalid,
.form__field textarea.is-invalid {
  border-color: #c44;
  box-shadow: 0 0 0 4px rgba(204, 68, 68, 0.12);
}

.form__field textarea {
  resize: vertical;
  min-height: 130px;
}

.form__error {
  display: block;
  min-height: 1.1em;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #c44;
}

.form__field--check {
  margin-bottom: 1.5rem;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox__box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid var(--border-strong);
  border-radius: 6px;
  background: var(--cream-50);
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}

.checkbox__box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s var(--ease);
}

.checkbox input:checked + .checkbox__box {
  background: var(--teal-600);
  border-color: var(--teal-600);
}

.checkbox input:checked + .checkbox__box::after {
  transform: rotate(45deg) scale(1);
}

.checkbox input:focus-visible + .checkbox__box {
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.15);
}

.checkbox__text {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.form__status {
  margin-top: 1.15rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 500;
}

.form__status.is-success {
  background: rgba(42, 157, 143, 0.12);
  color: var(--teal-700);
  border: 1px solid rgba(42, 157, 143, 0.25);
}

.form__status.is-error {
  background: rgba(204, 68, 68, 0.08);
  color: #a33;
  border: 1px solid rgba(204, 68, 68, 0.2);
}

.form__status[hidden] {
  display: none;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 3.5rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  /* szerokość bloku = szerokość najdłuższego zdania pod spodem */
  width: max-content;
  max-width: 100%;
}

/* Logo rozciąga się do szerokości tagline (trik width:0 + min-width:100%) */
.footer__brand .logo--footer {
  display: block;
  width: 0;
  min-width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.footer__brand .logo__img--footer {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border-radius: 0;
  margin: 0;
}

.footer__tagline {
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--gold-400);
  font-weight: 500;
  text-align: left;
  white-space: nowrap; /* szerokość = „Profesjonalna księgowość.” */
}

.footer__tagline span {
  display: block;
}

/* Lokalizacja (linki, bez embedu mapy) */
.location-block {
  margin-top: 2.5rem;
  text-align: center;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.location-block__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.85rem;
}

.location-block__address {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--ink-muted);
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 1.35rem;
  flex-wrap: wrap;
}

.location-block__address svg {
  color: var(--teal-600);
  flex-shrink: 0;
}

.location-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Opinie Google (statyczne karty) — po ofercie, przed CTA */
.reviews.section {
  background: var(--cream-50);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.review-card__stars {
  color: var(--gold-500);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.review-card__text {
  color: var(--ink-muted);
  font-size: 0.975rem;
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.review-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--border);
}

.review-card__author {
  font-weight: 600;
  color: var(--navy-900);
}

.review-card__source {
  color: var(--ink-soft);
  font-weight: 500;
}

.reviews__more {
  margin-top: 1.75rem;
  text-align: center;
}

@media (max-width: 680px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .location-block__actions {
    flex-direction: column;
  }

  .location-block__actions .btn {
    width: 100%;
  }
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__nav a,
.footer__contact a {
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--gold-400);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-end;
  text-align: right;
}

.footer__contact a {
  font-weight: 600;
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ---------- Scroll top ---------- */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--navy-700);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal--delay {
  transition-delay: 0.15s;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card--featured {
    order: -1;
  }
}

@media (max-width: 960px) {
  .hero__grid,
  .about__grid,
  .contact__grid,
  .cta__box {
    grid-template-columns: 1fr;
  }

  /* Stack CTA: jednolity granat bez twardego pocięcia */
  .cta__box {
    background: linear-gradient(
      165deg,
      var(--navy-900) 0%,
      var(--navy-800) 60%,
      #122a45 100%
    );
  }

  .cta__box::after {
    top: auto;
    bottom: -25%;
    right: -15%;
    width: 85%;
    height: 65%;
    background: radial-gradient(
      ellipse at center,
      rgba(196, 163, 90, 0.09) 0%,
      transparent 72%
    );
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 0.65rem);
    padding-bottom: 2.25rem;
  }

  .hero__visual {
    max-width: 420px;
    margin: 0 auto;
  }

  .media-card--hero {
    margin: 0 auto;
  }

  .about__accent-card {
    right: 0.5rem;
    left: auto;
    bottom: 1rem;
    max-width: min(180px, calc(100% - 1rem));
  }

  .about__visual {
    overflow: hidden;
    max-width: 100%;
  }

  .media-card--hero {
    margin-left: 0;
    max-width: 100%;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
  }

  .footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .footer__brand .logo--footer {
    width: 0;
    min-width: 100%;
    margin-inline: 0;
  }

  .footer__brand .logo__img--footer {
    object-position: center;
    width: 100%;
    height: auto;
  }

  .footer__tagline {
    text-align: center;
    white-space: nowrap;
  }



  .footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
  }

  .footer__contact {
    align-items: center;
    text-align: center;
  }

  .cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .header__cta {
    display: none;
  }

  .nav--desktop {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav-mobile {
    display: none;
  }
}

@media (max-width: 680px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .pricing__note {
    padding: 1.35rem 1.15rem;
  }

  .pricing__note .btn {
    width: 100%;
  }

  .btn {
    white-space: normal;
  }

  .about__visual {
    max-width: 100%;
    overflow: hidden;
  }

  .about__accent-card {
    right: 0.5rem;
    left: auto;
    bottom: 1rem;
    max-width: min(180px, calc(100% - 1rem));
  }

  .hero__trust {
    max-width: 100%;
  }

  .media-card,
  .media-card--hero,
  .media-card--portrait {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .scroll-top {
    right: 1rem;
    bottom: 1rem;
  }

  .cta__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  /* CTA — bez twardego pocięcia + tytuł na środku, treść wyjustowana */
  .cta__box {
    text-align: left;
    background: linear-gradient(
      165deg,
      var(--navy-900) 0%,
      var(--navy-800) 55%,
      #122a45 100%
    );
  }

  .cta__box::after {
    top: auto;
    bottom: -30%;
    right: -20%;
    left: auto;
    width: 90%;
    height: 70%;
    background: radial-gradient(
      ellipse at center,
      rgba(196, 163, 90, 0.1) 0%,
      transparent 70%
    );
    opacity: 0.9;
  }

  br.br-mobile {
    display: block;
    content: "";
  }

  .section__header .section__lead.section__lead--pricing p {
    text-wrap: pretty;
    max-width: 100%;
  }

  .cta__content {
    text-align: left;
    width: 100%;
  }

  .cta__content .eyebrow,
  .cta__content .eyebrow--light {
    justify-content: center;
  }

  .cta__title {
    text-align: center;
    margin-inline: auto;
  }

  .cta__text,
  .cta__sub {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    margin-inline: 0;
    max-width: none;
  }

  .cta__sub {
    text-align: left;
  }

  .cta__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .media-card--wide .media-card__placeholder {
    aspect-ratio: 16 / 10;
  }

  .container {
    width: min(100% - 1.75rem, var(--container));
  }

  /*
    Mobile: treść WYJUSTOWANA
    Na środku zostają tylko: eyebrow, tytuły sekcji, tytuł hero/CTA
  */
  .about__text p,
  .about__quote,
  .service-card__text,
  .pricing__note p,
  .cta__text,
  .hero__lead,
  .contact__promise p,
  .section__header .section__lead,
  .section__header .section__lead.section__lead--pricing p,
  .review-card__text {
    text-align: justify !important;
    text-align-last: left !important;
    text-justify: inter-word;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    word-break: normal;
  }

  .hero__content {
    text-align: left;
  }

  .hero__content .eyebrow {
    justify-content: center;
  }

  .hero__title,
  .section__title,
  .cta__title,
  .map-block__title,
  .location-block__title,
  .contact__card-title {
    text-align: center;
  }

  .hero__lead {
    margin-inline: 0;
    max-width: none;
  }

  .hero__actions {
    justify-content: stretch;
    flex-direction: column;
  }

  .hero__trust {
    justify-content: flex-start;
    text-align: left;
  }

  .contact__promise {
    text-align: left;
  }

  .contact__promise strong {
    display: block;
    text-align: left;
  }

  .service-card {
    text-align: left;
  }

  .service-card__icon {
    margin-inline: 0;
  }

  .price-card__top,
  .price-card__price,
  .price-card__desc {
    text-align: left;
  }

  .section__header {
    text-align: center;
  }

  .section__header .section__lead {
    text-align: justify !important;
    text-align-last: left !important;
  }

  .about__text {
    text-align: left;
  }

  .about__quote {
    border-left: none;
    border-top: 3px solid var(--gold-500);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(196, 163, 90, 0.08), transparent);
    /* wyjątek: cytat wyśrodkowany na mobile */
    text-align: center !important;
    text-align-last: center !important;
  }

  .about__content .btn {
    width: 100%;
    justify-content: center;
  }

  .about__content {
    text-align: left;
  }

  /* wyjątek: lead kontaktu wyśrodkowany na mobile */
  #kontakt .section__header .section__lead {
    text-align: center !important;
    text-align-last: center !important;
  }

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

  .location-block__address {
    justify-content: center;
    text-align: center;
  }

  .reviews__more {
    text-align: center;
  }

  .logo {
    max-width: min(200px, 62vw);
  }

  .logo__img {
    height: 40px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .service-card:hover,
  .price-card:hover {
    transform: none;
  }

  .media-card__badge-dot {
    animation: none;
  }
}

/* Print */
@media print {
  .header,
  .burger,
  .scroll-top,
  .hero__wave {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section {
    padding: 1.5rem 0;
  }
}
