/* ============================================================
   Notariusz Jelenia Góra — statyczny CSS (odwzorowanie motywu)
   Kolory: oklch (1:1 z app/globals.css)
   Skala odstępów / typografia: zgodna z Tailwind v4 (1 = 0.25rem)
   Breakpointy: sm 640 / md 768 / lg 1024 / xl 1280
   ============================================================ */

:root {
  --background: oklch(0.13 0.01 250);
  --foreground: oklch(0.98 0 0);
  --card: oklch(0.16 0.01 250);
  --card-foreground: oklch(0.98 0 0);
  --primary: oklch(0.75 0.12 85);
  --primary-foreground: oklch(0.13 0.01 250);
  --secondary: oklch(0.20 0.01 250);
  --secondary-foreground: oklch(0.98 0 0);
  --muted: oklch(0.25 0.01 250);
  --muted-foreground: oklch(0.65 0 0);
  --accent: oklch(0.75 0.12 85);
  --border: oklch(0.30 0.01 250);
  --ring: oklch(0.75 0.12 85);

  --font-sans: 'Open Sans', 'Open Sans Fallback', 'Helvetica', sans-serif;
  --font-serif: 'Playfair Display', 'Playfair Display Fallback', 'Georgia', serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--border);
}
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  background: var(--background);
}
body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img,
svg,
iframe {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
ul {
  list-style: none;
}
strong {
  font-weight: 700;
}
.serif {
  font-family: var(--font-serif);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) {
  .container { max-width: 640px; }
}
@media (min-width: 768px) {
  .container { max-width: 768px; }
}
@media (min-width: 1024px) {
  .container { max-width: 1024px; }
}
@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}

/* Akcentowa kreska + etykieta sekcji */
.accent-line {
  width: 4rem;
  height: 0.125rem;
  background: var(--primary);
  flex-shrink: 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.eyebrow.center { justify-content: center; }
.eyebrow__label {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--foreground);
  font-size: 1.875rem;
  line-height: 2.25rem;
}
@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 1024px) {
  .section-title { font-size: 3rem; line-height: 1; }
}
.text-primary { color: var(--primary); }

/* Przyciski */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn svg { margin-left: 0.5rem; }
.btn--primary {
  padding: 1rem 2rem;
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn--primary:hover { background: color-mix(in oklab, var(--primary) 90%, transparent); }
.btn--outline {
  padding: 1rem 2rem;
  border: 2px solid var(--foreground);
  color: var(--foreground);
}
.btn--outline:hover { background: var(--foreground); color: var(--background); }

/* ============================================================
   Nawigacja
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: transparent;
}
.site-header.scrolled {
  background: color-mix(in oklab, var(--background) 95%, transparent);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
}

.topbar {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.5rem;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 30%, transparent);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: all 0.3s ease;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .topbar { display: flex; }
}
.site-header.scrolled .topbar {
  opacity: 0;
  height: 0;
  padding-block: 0;
  border: 0;
}
.topbar__group { display: flex; align-items: center; gap: 1.5rem; }
.topbar__item { display: flex; align-items: center; gap: 0.5rem; }
.topbar__item svg { color: var(--primary); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand svg { color: var(--primary); width: 2.5rem; height: 2.5rem; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
}
.brand__sub {
  display: block;
  font-size: 0.875rem;
  color: var(--primary);
}

.nav__menu { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) {
  .nav__menu { display: flex; }
}
.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}
.nav__link:hover { color: var(--primary); }

.nav__toggle {
  display: inline-flex;
  color: var(--foreground);
}
.nav__toggle svg { width: 1.5rem; height: 1.5rem; }
@media (min-width: 1024px) {
  .nav__toggle { display: none; }
}
.nav__toggle .icon-x { display: none; }
.nav__toggle.open .icon-menu { display: none; }
.nav__toggle.open .icon-x { display: block; }

.mobile-menu {
  display: none;
  background: var(--card);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu.open { display: none; }
}
.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 30%, transparent);
  transition: all 0.2s ease;
}
.mobile-menu a:hover {
  color: var(--primary);
  background: color-mix(in oklab, var(--secondary) 50%, transparent);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(118deg,
      oklch(0.18 0.018 246) 0%,
      oklch(0.16 0.014 250) 36%,
      oklch(0.20 0.018 238) 66%,
      oklch(0.28 0.05 82) 100%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero::before {
  z-index: 1;
  background:
    linear-gradient(126deg,
      transparent 0%,
      transparent 52%,
      color-mix(in oklab, var(--primary) 18%, transparent) 75%,
      color-mix(in oklab, var(--primary) 30%, transparent) 100%),
    linear-gradient(to bottom,
      color-mix(in oklab, var(--foreground) 6%, transparent) 0%,
      transparent 44%);
}
.hero::after {
  z-index: 12;
  opacity: 0.36;
  background:
    repeating-linear-gradient(135deg,
      transparent 0,
      transparent 64px,
      color-mix(in oklab, var(--primary) 36%, transparent) 65px,
      transparent 67px);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 42%, #000 100%),
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 86%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 42%, #000 100%),
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background:
    linear-gradient(to right,
      color-mix(in oklab, var(--background) 88%, transparent) 0%,
      color-mix(in oklab, var(--background) 78%, transparent) 34%,
      color-mix(in oklab, var(--background) 46%, transparent) 66%,
      color-mix(in oklab, var(--background) 18%, transparent) 100%),
    linear-gradient(to bottom,
      color-mix(in oklab, var(--primary) 10%, transparent) 0%,
      transparent 42%);
}
/* Zdjęcie notariusza (cutout) po prawej stronie hero */
.hero__photo {
  position: absolute;
  bottom: 0;
  right: max(0px, calc((100% - 1118px) / 2));
  height: 88%;
  max-height: 900px;
  width: auto;
  z-index: 15;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
@media (max-width: 1279px) {
  .hero__photo { display: none; }
}
@media (max-width: 767px) {
  .hero {
    min-height: 86svh;
    align-items: flex-start;
    background:
      linear-gradient(150deg,
        oklch(0.18 0.018 246) 0%,
        oklch(0.16 0.014 250) 58%,
        oklch(0.24 0.04 82) 100%);
  }
  .hero::after { opacity: 0.22; }
  .hero__overlay {
    background:
      linear-gradient(to bottom,
        color-mix(in oklab, var(--background) 76%, transparent) 0%,
        color-mix(in oklab, var(--background) 64%, transparent) 100%),
      linear-gradient(135deg,
        transparent 0%,
        color-mix(in oklab, var(--primary) 14%, transparent) 100%);
  }
  .hero__inner {
    padding-top: 5.75rem;
    padding-bottom: 4.5rem;
  }
  .hero .eyebrow {
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }
  .hero .accent-line { width: 3.75rem; }
  .hero__title {
    font-size: clamp(2.25rem, 11vw, 2.85rem);
    line-height: 1.08;
    margin-bottom: 1rem;
  }
  .hero__subtitle {
    font-size: 1.16rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
  .hero__actions {
    gap: 0.75rem;
  }
  .hero__actions .btn {
    min-height: 3.5rem;
    padding: 0.875rem 1.25rem;
  }
  .scroll-indicator {
    bottom: 1.25rem;
  }
}
.hero__inner {
  position: relative;
  z-index: 20;
  padding-block: 8rem;
}
.hero__content { max-width: 48rem; }
.hero__title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.hero__title span { display: block; color: var(--primary); }
@media (min-width: 768px) { .hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 4.5rem; } }
.hero__subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  font-weight: 300;
}
@media (min-width: 768px) { .hero__subtitle { font-size: 1.5rem; } }
.hero__actions { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  animation: bounce 1s infinite;
}
.scroll-indicator__mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid color-mix(in oklab, var(--foreground) 50%, transparent);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
}
.scroll-indicator__dot {
  width: 0.25rem;
  height: 0.75rem;
  background: var(--primary);
  border-radius: 9999px;
  margin-top: 0.5rem;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: translateX(-50%) translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================================
   O Kancelarii
   ============================================================ */
.about {
  position: relative;
  padding-block: 7rem 3.5rem;
  background: var(--background);
  overflow: hidden;
}
.about__bg {
  position: absolute;
  inset: 0;
  background: url('../assets/stol-kancelaria.png') center right / cover no-repeat;
}
.about__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      var(--background) 0%,
      var(--background) 32%,
      color-mix(in oklab, var(--background) 80%, transparent) 54%,
      color-mix(in oklab, var(--background) 28%, transparent) 100%),
    linear-gradient(to bottom,
      color-mix(in oklab, var(--background) 55%, transparent) 0%,
      transparent 22%);
}
@media (max-width: 1023px) {
  .about__overlay {
    background: linear-gradient(to bottom,
      color-mix(in oklab, var(--background) 90%, transparent),
      color-mix(in oklab, var(--background) 84%, transparent));
  }
}
.about__inner { position: relative; z-index: 2; }
.about__main { max-width: 100%; }
@media (min-width: 1024px) { .about__main { max-width: 53%; } }

.about__title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--foreground);
  font-size: 1.875rem;
  line-height: 2.5rem;
  margin-bottom: 2.25rem;
}
.about__title span { color: var(--primary); }
@media (min-width: 768px) { .about__title { font-size: 2.5rem; line-height: 3rem; } }
@media (min-width: 1024px) { .about__title { font-size: 3rem; line-height: 3.5rem; } }

.about__items { display: flex; flex-direction: column; gap: 1.5rem; }
.about__item { display: flex; align-items: flex-start; gap: 1rem; }
.about__icon { flex-shrink: 0; color: var(--primary); margin-top: 0.125rem; }
.about__icon svg { width: 1.75rem; height: 1.75rem; }
.about__item p { color: var(--muted-foreground); line-height: 1.6; }
.about__item strong { color: var(--primary); }

.about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}
.btn__lead { margin-left: 0 !important; margin-right: 0.5rem; }

/* Badge 20+ */
.about__badge {
  position: absolute;
  z-index: 3;
  right: max(2rem, calc((100% - 1280px) / 2 + 2.5rem));
  top: 46%;
  width: 12.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  background: color-mix(in oklab, var(--background) 78%, transparent);
  border: 1px solid var(--primary);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.about__badge-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}
.about__badge-line { width: 3rem; height: 2px; background: var(--primary); margin: 0.85rem auto; }
.about__badge-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--foreground);
}
@media (max-width: 1023px) { .about__badge { display: none; } }

/* Pasek cech */
.about__features {
  position: relative;
  z-index: 2;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.75rem;
  background: color-mix(in oklab, var(--background) 68%, transparent);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: 0.5rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@media (min-width: 640px) { .about__features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .about__features { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.about__feature { display: flex; align-items: center; gap: 1rem; padding: 0.25rem 1.5rem; }
@media (min-width: 1024px) {
  .about__feature + .about__feature { border-left: 1px solid color-mix(in oklab, var(--border) 70%, transparent); }
}
.about__feature svg { width: 2rem; height: 2rem; color: var(--primary); flex-shrink: 0; }
.about__feature h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--foreground);
  line-height: 1.25;
}
.about__feature p { font-size: 0.8125rem; color: var(--muted-foreground); margin-top: 0.125rem; }

/* ============================================================
   Oferta
   ============================================================ */
.services { padding-block: 6rem; background: var(--background); }
.services__title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 2.25rem;
}
@media (min-width: 768px) { .services__title { font-size: 2.25rem; line-height: 2.5rem; } }
@media (min-width: 1024px) { .services__title { font-size: 3rem; line-height: 1; } }

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .services__grid { grid-template-columns: repeat(5, 1fr); } }

.service-card {
  display: block;
  color: inherit;
  background: var(--card);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-0.5rem);
}
.service-card svg {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}
.service-card:hover svg { transform: scale(1.1); }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

.cta-banner {
  margin-top: 4rem;
  background: var(--secondary);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .cta-banner { padding: 3rem; flex-direction: row; }
}
.cta-banner h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 2rem;
}
@media (min-width: 768px) { .cta-banner h3 { font-size: 1.875rem; line-height: 2.25rem; } }
.cta-banner .btn { white-space: nowrap; }

/* ============================================================
   Opłaty
   ============================================================ */
.fees { padding-block: 6rem; background: var(--card); }
.fees__grid {
  display: grid;
  gap: 4rem;
  align-items: start;
}
@media (min-width: 1024px) { .fees__grid { grid-template-columns: 1fr 1fr; } }
.fees__desc { color: var(--muted-foreground); line-height: 1.625; }
.fees__desc > p + p,
.fees__desc > div { margin-top: 1.25rem; }
.fees__desc strong { color: var(--foreground); }

.tax-block {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  margin-top: 2rem;
}
.tax-block > * + * { margin-top: 0.75rem; }
.tax-block h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
}
.tax-block ul { padding-left: 1rem; }
.tax-block li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.tax-block li + li { margin-top: 0.25rem; }
.bullet {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--primary);
  margin-top: 0.5rem;
  flex-shrink: 0;
}
.note-box {
  font-size: 0.875rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
}

.fees__table-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.fees__table-wrap {
  overflow: hidden;
  border: 1px solid var(--border);
}
.fees__table {
  width: 100%;
  font-size: 0.875rem;
  line-height: 1.25rem;
  border-collapse: collapse;
}
.fees__table thead tr {
  background: var(--primary);
  color: var(--primary-foreground);
}
.fees__table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fees__table th + th { border-left: 1px solid color-mix(in oklab, var(--primary-foreground) 20%, transparent); }
.fees__table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.2s ease; }
.fees__table tbody tr:nth-child(odd) { background: var(--background); }
.fees__table tbody tr:nth-child(even) { background: var(--card); }
.fees__table tbody tr:hover { background: color-mix(in oklab, var(--secondary) 60%, transparent); }
.fees__table td {
  padding: 1rem 1.25rem;
}
.fees__table td:first-child { color: var(--foreground); font-weight: 500; }
.fees__table td:last-child { color: var(--muted-foreground); border-left: 1px solid var(--border); }

.fees__note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  background: var(--secondary);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
}
.fees__note strong { color: var(--foreground); }

.fees__cta {
  margin-top: 2rem;
  background: var(--primary);
  padding: 2rem;
}
.fees__cta h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 0.75rem;
}
.fees__cta p {
  color: color-mix(in oklab, var(--primary-foreground) 80%, transparent);
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1.25rem;
}
.btn--invert {
  padding: 0.75rem 1.5rem;
  background: var(--primary-foreground);
  color: var(--primary);
  font-size: 0.875rem;
}
.btn--invert:hover { background: color-mix(in oklab, var(--primary-foreground) 90%, transparent); }
.btn--invert svg { width: 1rem; height: 1rem; }

/* ============================================================
   FAQ (sekcja na stronie głównej)
   ============================================================ */
.faq { padding-block: 6rem; background: var(--background); }
.faq__inner { max-width: 48rem; margin-inline: auto; }
.faq__list > * + * { margin-top: 1rem; }
.faq-item {
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
}
.faq-item__btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: background 0.2s ease;
}
.faq-item__btn:hover { background: color-mix(in oklab, var(--secondary) 50%, transparent); }
.faq-item__q {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--foreground);
  padding-right: 1rem;
}
.faq-item__chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-item__chevron { transform: rotate(180deg); }
.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.open .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__panel-inner { overflow: hidden; }
.faq-item__answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

/* ============================================================
   Kontakt
   ============================================================ */
.contact { padding-block: 6rem; background: var(--card); }
.contact__grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1fr; } }
.contact__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 2rem;
}
.contact__list > * + * { margin-top: 1.5rem; }
.contact__item { display: flex; align-items: flex-start; gap: 1rem; }
.contact__icon {
  width: 3rem;
  height: 3rem;
  background: color-mix(in oklab, var(--primary) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact__icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary); }
.contact__item h4 { font-weight: 600; color: var(--foreground); margin-bottom: 0.25rem; }
.contact__item p { color: var(--muted-foreground); }

.contact__box {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--secondary);
  border-left: 4px solid var(--primary);
}
.contact__box p { font-size: 0.875rem; color: var(--muted-foreground); }
.contact__box p + p { margin-top: 0.5rem; }
.contact__box strong { color: var(--foreground); }

.contact__map {
  height: 500px;
  background: var(--secondary);
}
.contact__map iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 767px) {
  .section-head {
    margin-bottom: 2.25rem;
  }
  .section-title,
  .services__title,
  .about__title {
    font-size: 2rem;
    line-height: 1.15;
  }
  .eyebrow {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  .eyebrow__label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }

  .about {
    padding-block: 3.5rem;
  }
  .about__bg {
    background-position: center top;
  }
  .about__overlay {
    background:
      linear-gradient(to bottom,
        color-mix(in oklab, var(--background) 86%, transparent) 0%,
        color-mix(in oklab, var(--background) 78%, transparent) 100%);
  }
  .about__title {
    margin-bottom: 1.5rem;
  }
  .about__items {
    gap: 1rem;
  }
  .about__item {
    gap: 0.75rem;
  }
  .about__icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  .about__actions {
    gap: 0.75rem;
    margin-top: 1.75rem;
  }
  .about__actions .btn {
    flex: 1 1 100%;
    min-height: 3.25rem;
    padding: 0.75rem 1rem;
  }
  .about__features {
    margin-top: 2rem;
    gap: 0.875rem;
    padding: 1.125rem;
  }
  .about__feature {
    gap: 0.75rem;
    padding: 0;
  }
  .about__feature svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .services,
  .fees,
  .faq,
  .contact {
    padding-block: 3.75rem;
  }
  .services__title {
    margin-bottom: 0.75rem;
  }
  .services__grid {
    gap: 0.875rem;
  }
  .service-card {
    padding: 1.125rem;
  }
  .service-card svg {
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.75rem;
  }
  .service-card h3 {
    margin-bottom: 0.35rem;
  }
  .cta-banner {
    margin-top: 2rem;
    padding: 1.25rem;
    align-items: stretch;
    gap: 1rem;
  }
  .cta-banner h3 {
    font-size: 1.35rem;
    line-height: 1.35;
  }

  .fees__grid,
  .contact__grid {
    gap: 2rem;
  }
  .tax-block {
    margin-top: 1.5rem;
    padding-left: 1rem;
  }
  .fees__table-title {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.4;
  }
  .fees__table {
    font-size: 0.75rem;
    line-height: 1.35;
  }
  .fees__table th,
  .fees__table td {
    padding: 0.75rem;
  }
  .fees__note,
  .fees__cta {
    padding: 1.125rem;
  }
  .fees__cta {
    margin-top: 1.5rem;
  }

  .faq__list > * + * {
    margin-top: 0.75rem;
  }
  .faq-item__btn {
    padding: 1rem;
  }
  .faq-item__q {
    font-size: 1rem;
    line-height: 1.45;
  }
  .faq-item__answer {
    padding: 0 1rem 1rem;
  }

  .contact__title {
    margin-bottom: 1.25rem;
  }
  .contact__list > * + * {
    margin-top: 1rem;
  }
  .contact__icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  .contact__icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }
  .contact__box {
    margin-top: 1.5rem;
    padding: 1.125rem;
  }
  .contact__map {
    height: 360px;
  }
}

/* ============================================================
   Stopka
   ============================================================ */
.site-footer { background: var(--background); border-top: 1px solid var(--border); }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-block: 4rem;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }
.footer__brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.footer__about {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1.5rem;
}
.footer__contact { font-size: 0.875rem; color: var(--muted-foreground); }
.footer__contact p + p { margin-top: 0.5rem; }
.footer__col h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}
.footer__col li + li { margin-top: 0.5rem; }
.footer__col a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--primary); }
.footer__col a.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.footer__all-faq {
  display: inline-block;
  padding-top: 1rem;
  color: var(--primary) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer__bottom { border-top: 1px solid var(--border); }
.footer__bottom-inner {
  padding-block: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) { .footer__bottom-inner { flex-direction: row; } }
.footer__bottom p { font-size: 0.875rem; color: var(--muted-foreground); }

/* ============================================================
   FAQ — osobna podstrona
   ============================================================ */
.faq-hero {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 6rem;
  overflow: hidden;
  background:
    linear-gradient(118deg,
      oklch(0.18 0.018 246) 0%,
      oklch(0.16 0.014 250) 58%,
      oklch(0.25 0.04 82) 100%);
}
.faq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.22;
  background:
    repeating-linear-gradient(135deg,
      transparent 0,
      transparent 82px,
      color-mix(in oklab, var(--primary) 18%, transparent) 83px,
      transparent 85px);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 50%, #000 100%),
    linear-gradient(to bottom, transparent 0%, #000 20%, #000 84%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 50%, #000 100%),
    linear-gradient(to bottom, transparent 0%, #000 20%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.faq-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?q=80&w=2070');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.08) brightness(1.05);
}
.faq-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,
      color-mix(in oklab, var(--background) 78%, transparent) 0%,
      color-mix(in oklab, var(--background) 66%, transparent) 48%,
      color-mix(in oklab, var(--background) 34%, transparent) 100%),
    linear-gradient(to bottom,
      color-mix(in oklab, var(--primary) 12%, transparent) 0%,
      color-mix(in oklab, var(--background) 16%, transparent) 100%);
}
.faq-hero .container { position: relative; z-index: 10; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { width: 1rem; height: 1rem; }
.breadcrumb .current { color: var(--primary); }
.faq-hero__title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.faq-hero__title span { display: block; color: var(--primary); }
@media (min-width: 768px) { .faq-hero__title { font-size: 3rem; } }
@media (min-width: 1024px) { .faq-hero__title { font-size: 3.75rem; } }
.faq-hero__lead {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 42rem;
  line-height: 1.625;
}

.faq-content {
  padding-block: 5rem;
  background: color-mix(in oklab, var(--secondary) 30%, transparent);
}
.faq-content__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .faq-content__grid { grid-template-columns: 280px 1fr; }
}
.faq-sidebar {}
@media (min-width: 1024px) {
  .faq-sidebar { position: sticky; top: 7rem; }
}
.faq-cats {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.faq-cats h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.faq-cats li + li { margin-top: 0.25rem; }
.faq-cat {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  text-align: left;
  color: var(--muted-foreground);
  transition: all 0.2s ease;
}
.faq-cat:hover {
  color: var(--primary);
  background: color-mix(in oklab, var(--secondary) 50%, transparent);
}
.faq-cat.active {
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
}
.faq-cat__count {
  font-size: 0.75rem;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  font-weight: 500;
  background: var(--secondary);
  color: var(--muted-foreground);
}
.faq-cat.active .faq-cat__count {
  background: color-mix(in oklab, var(--primary-foreground) 20%, transparent);
  color: var(--primary-foreground);
}

.faq-aside-cta { background: var(--primary); padding: 1.5rem; }
.faq-aside-cta h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 0.5rem;
}
.faq-aside-cta > p {
  color: color-mix(in oklab, var(--primary-foreground) 80%, transparent);
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1.25rem;
}
.faq-aside-cta__links { font-size: 0.875rem; margin-bottom: 1.25rem; }
.faq-aside-cta__links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: color-mix(in oklab, var(--primary-foreground) 90%, transparent);
  transition: color 0.2s ease;
}
.faq-aside-cta__links a + a { margin-top: 0.5rem; }
.faq-aside-cta__links a:hover { color: var(--primary-foreground); }
.faq-aside-cta__links svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.faq-aside-cta__links a.break { word-break: break-all; }
.btn--invert.full { width: 100%; padding: 0.75rem 1rem; }

.faq-main__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.faq-main__count { color: var(--muted-foreground); font-size: 0.875rem; }
.faq-main__count strong { color: var(--foreground); }
.faq-main__clear { font-size: 0.875rem; color: var(--primary); display: none; }
.faq-main__clear:hover { text-decoration: underline; }
.faq-page-list > * + * { margin-top: 0.75rem; }

.faq-page-item { border: 1px solid var(--border); background: var(--card); overflow: hidden; }
.faq-page-item.hidden { display: none; }
.faq-page-item__btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  text-align: left;
}
.faq-page-item__head { display: flex; align-items: flex-start; gap: 1rem; flex: 1; min-width: 0; }
.faq-page-item__cat {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: color-mix(in oklab, var(--primary) 15%, transparent);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.faq-page-item__q {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.375;
  padding-right: 1rem;
  transition: color 0.2s ease;
}
.faq-page-item__btn:hover .faq-page-item__q { color: var(--primary); }
.faq-page-item__chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
  transition: transform 0.3s ease;
}
.faq-page-item.open .faq-page-item__chevron { transform: rotate(180deg); }
.faq-page-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.3s ease, opacity 0.3s ease;
}
.faq-page-item.open .faq-page-item__panel { grid-template-rows: 1fr; opacity: 1; }
.faq-page-item__panel > div { overflow: hidden; }
.faq-page-item__answer {
  padding: 0 1.75rem 1.75rem;
  border-top: 1px solid color-mix(in oklab, var(--border) 50%, transparent);
}
.faq-page-item__answer-inner {
  padding-top: 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  font-size: 0.875rem;
}
.faq-page-item__answer-inner > * + * { margin-top: 0.75rem; }
.faq-page-item__answer-inner ul { padding-left: 0.5rem; }
.faq-page-item__answer-inner ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.faq-page-item__answer-inner ul li + li { margin-top: 0.25rem; }
.faq-page-item__answer-inner ul .bullet { margin-top: 0.375rem; }
.faq-page-item__answer-inner ol { padding-left: 0.5rem; }
.faq-page-item__answer-inner ol li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.faq-page-item__answer-inner ol li + li { margin-top: 0.5rem; }
.faq-page-item__answer-inner ol .num { color: var(--primary); font-weight: 600; flex-shrink: 0; }

.faq-bottom { padding-block: 5rem; background: var(--card); border-top: 1px solid var(--border); }
.faq-bottom .container { text-align: center; }
.faq-bottom h2 {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .faq-bottom h2 { font-size: 2.25rem; line-height: 2.5rem; } }
.faq-bottom p {
  color: var(--muted-foreground);
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.625;
}
.faq-bottom__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) { .faq-bottom__actions { flex-direction: row; } }

/* ============================================================
   Podstrony treściowe (usługi / artykuły / informacje)
   ============================================================ */
.page-section {
  padding-block: 5rem;
  background: color-mix(in oklab, var(--secondary) 30%, transparent);
}
.page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .page-grid { grid-template-columns: minmax(0, 1fr) 300px; }
}

/* Treść (prose) */
.prose { color: var(--muted-foreground); line-height: 1.7; }
.prose > * + * { margin-top: 1.25rem; }
.prose .lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in oklab, var(--foreground) 88%, transparent);
}
.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 2.75rem;
  margin-bottom: 0.25rem;
  padding-left: 1rem;
  border-left: 4px solid var(--primary);
}
.prose h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 1.75rem;
}
.prose strong { color: var(--foreground); }
.prose a { color: var(--primary); }
.prose a:hover { text-decoration: underline; }
.prose ul, .prose ol { display: flex; flex-direction: column; gap: 0.5rem; padding-left: 0.25rem; }
.prose li { display: flex; align-items: flex-start; gap: 0.625rem; }
.prose li .bullet { margin-top: 0.55rem; }
.prose li .num { color: var(--primary); font-weight: 600; flex-shrink: 0; min-width: 1.25rem; }
.prose ul ul, .prose ul ol, .prose ol ul, .prose ol ol {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
}
.prose .nested { width: 100%; }

/* Sidebar podstrony */
.page-aside {}
@media (min-width: 1024px) {
  .page-aside { position: sticky; top: 7rem; }
}
.side-box {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.side-box h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.side-box li + li { margin-top: 0.125rem; }
.side-link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}
.side-link:hover {
  color: var(--primary);
  background: color-mix(in oklab, var(--secondary) 50%, transparent);
}
.side-link.active {
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  color: var(--primary);
  font-weight: 600;
  border-left-color: var(--primary);
}

/* ---------- Logo (orzeł) + social ---------- */
.brand__logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex-shrink: 0;
}
.footer__social {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
}
.footer__social a {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  transition: all 0.2s ease;
}
.footer__social a:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.footer__social svg { width: 1.1rem; height: 1.1rem; }
