/* =============================================================================
   Kancelaria Adwokacka Michał Michałkiewicz — arkusz stylów
   Wszystkie style w jednym pliku. Wartości przeniesione 1:1 z projektu React
   (Tailwind v4 + shadcn/ui). Kolory w OKLCH, przezroczystości przez color-mix.
   Kolejność sekcji:
     1. Reset (Tailwind Preflight)
     2. Tokeny / zmienne (:root)
     3. Elementy bazowe
     4. Układ (container, sekcje)
     5. Atomy współdzielone (eyebrow, btn, ikony, karty)
     6. Header / nawigacja
     7. Stopka
     8. Hero (mobile + desktop)
     9. Sekcje strony głównej
    10. Szablon podstrony usługi
    11. Strona „O kancelarii”
    12. Strona „Kontakt” + formularz (wizard)
    13. Animacje (scroll-reveal)
============================================================================= */

/* === 0. CZCIONKI — self-hosted variable woff2 (Manrope + Sora, latin + latin-ext) === */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === 1. RESET — Tailwind Preflight (parity z React) ====================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid var(--border);
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklab, var(--primary) 55%, transparent) transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

ul, ol {
  list-style: none;
}

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

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;   /* bez tego atrybut height="…" wymusza sztywną wysokość i psuje aspect-ratio */
}

button {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  background: none;
  cursor: pointer;
}

input, textarea, select, button {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
}

/* === 2. TOKENY (skopiowane 1:1 ze styles.css) ============================ */
:root {
  --font-display: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;

  --radius: 0.5rem;

  --background: oklch(0.985 0.008 95.2);
  --foreground: oklch(0.22 0.026 216.5);
  --card: oklch(0.996 0.006 95.6);
  --card-foreground: oklch(0.22 0.026 216.5);
  --popover: oklch(0.996 0.006 95.6);
  --popover-foreground: oklch(0.22 0.026 216.5);
  --primary: oklch(0.72 0.138 79.8);
  --primary-foreground: oklch(0.22 0.026 216.5);
  --secondary: oklch(0.93 0.02 182.2);
  --secondary-foreground: oklch(0.24 0.03 216.3);
  --muted: oklch(0.953 0.01 98.5);
  --muted-foreground: oklch(0.48 0.026 222.1);
  --accent: oklch(0.94 0.017 197.2);
  --accent-foreground: oklch(0.24 0.03 216.3);
  --destructive: oklch(0.58 0.22 29.2);
  --destructive-foreground: oklch(0.98 0.01 95.6);
  --border: oklch(0.9 0.015 96.8);
  --input: oklch(0.88 0.012 95.4);
  --ring: oklch(0.67 0.08 198.3);
  --brand: oklch(0.27 0.04 214.1);
  --brand-foreground: oklch(0.98 0.01 95.6);
  --panel: oklch(0.31 0.034 191.7);
  --panel-foreground: oklch(0.97 0.012 95.6);

  --gradient-hero: linear-gradient(
    135deg,
    color-mix(in oklab, var(--background) 70%, white 30%) 0%,
    color-mix(in oklab, var(--accent) 55%, white 45%) 50%,
    color-mix(in oklab, var(--secondary) 68%, white 32%) 100%
  );
  --shadow-soft: 0 12px 32px -20px color-mix(in oklab, var(--brand) 18%, transparent);

  /* cienie Tailwind użyte w komponentach (shadcn defaults) */
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

/* === 3. ELEMENTY BAZOWE ================================================== */
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

::selection {
  background: color-mix(in oklab, var(--primary) 26%, white 74%);
  color: var(--foreground);
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: color-mix(in oklab, var(--primary) 55%, transparent);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: color-mix(in oklab, var(--primary) 80%, transparent);
}
::-webkit-scrollbar-corner { background: transparent; }

/* ikony (Lucide): wspólne atrybuty stroke */
.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* === 4. UKŁAD =========================================================== */
.container {
  width: 100%;
  max-width: 80rem;            /* max-w-7xl */
  margin-inline: auto;
  padding-inline: 1rem;        /* px-4 */
}
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }   /* sm:px-6 */
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }    /* lg:px-8 */

.container--5xl { max-width: 64rem; }
.container--4xl { max-width: 56rem; }

/* drobny helper układu (zamiast inline-style) */
.self-start { align-self: flex-start; }

/* odstępy sekcji */
.section { padding-block: 4.5rem; }                                    /* py-18 */
@media (min-width: 640px) { .section { padding-block: 6rem; } }        /* sm:py-24 */

/* === 5. ATOMY WSPÓŁDZIELONE ============================================= */

/* --- Eyebrow / badge (rounded-full border bg-card uppercase) --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted-foreground);
}
.eyebrow--soft {
  background: color-mix(in oklab, var(--card) 85%, transparent);  /* bg-card/85 */
  box-shadow: var(--shadow-soft);
}
.eyebrow .icon { width: 0.875rem; height: 0.875rem; color: var(--primary); }
/* eyebrow na ciemnym panelu (sekcja CTA) */
.eyebrow--panel {
  border-color: color-mix(in oklab, var(--panel-foreground) 20%, transparent);
  background: transparent;
  color: color-mix(in oklab, var(--panel-foreground) 70%, transparent);
}

/* --- Przycisk (shadcn Button) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  height: 2.25rem;               /* h-9 default */
  padding-inline: 1rem;          /* px-4 */
  border: 1px solid transparent;
  border-radius: 0.375rem;       /* rounded-md */
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn .icon { width: 1rem; height: 1rem; }

.btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow);
}
.btn--primary:hover { background: color-mix(in oklab, var(--primary) 90%, transparent); }

.btn--outline {
  border-color: var(--input);
  background: var(--background);
  color: var(--foreground);
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover { background: var(--accent); color: var(--accent-foreground); }

/* outline na ciemnym tle (hero mobile, menu mobilne) */
.btn--outline-light {
  border-color: color-mix(in oklab, white 20%, transparent);
  background: color-mix(in oklab, white 8%, transparent);
  color: var(--brand-foreground);
}
.btn--outline-light:hover { background: color-mix(in oklab, white 14%, transparent); }

/* outline na panelu (sekcja CTA) */
.btn--outline-panel {
  border-color: color-mix(in oklab, var(--panel-foreground) 25%, transparent);
  background: transparent;
  color: var(--panel-foreground);
}
.btn--outline-panel:hover { background: color-mix(in oklab, var(--panel-foreground) 10%, transparent); }

/* rozmiary / kształty */
.btn--sm  { height: 2.25rem; padding-inline: 0.75rem; font-size: 0.75rem; line-height: 1rem; }
.btn--lg  { height: 3rem; border-radius: 0.75rem; }            /* h-12 rounded-xl */
.btn--xl  { height: 3.5rem; border-radius: 1rem; font-size: 1rem; line-height: 1.5rem; } /* h-14 rounded-2xl text-base */
.btn--pill { border-radius: 9999px; }
.btn--block { width: 100%; }
.btn--wide { padding-inline: 1.75rem; }                        /* px-7 */
.btn--soft { box-shadow: var(--shadow-soft); }
.btn .icon { width: 1rem; height: 1rem; }
.btn--upper {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding-inline: 1.75rem;
}
.btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }   /* shadcn ring-1 ring-ring */

/* --- Karta (shadcn Card) --- */
.card {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--card-foreground);
  border-radius: 0.75rem;          /* rounded-xl */
  box-shadow: var(--shadow);
}

/* === 6. HEADER / NAWIGACJA ============================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  padding: 1rem 1rem 0;            /* px-4 pt-4 */
}
@media (min-width: 640px) { .site-header { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .site-header { padding-inline: 2rem; } }

.site-header__inner {
  max-width: 80rem;
  margin-inline: auto;
}

/* wspólny wygląd pigułki nawigacji (tone „dark” = jasna karta, ciemny tekst) */
.nav-pill {
  border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: color-mix(in oklab, var(--card) 80%, transparent);
  color: var(--foreground);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-logo { height: 1.75rem; width: auto; flex-shrink: 0; }   /* h-7 */

/* --- wariant mobilny (<1024) --- */
.nav-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;           /* px-4 py-3 */
}
.nav-icon-btn {
  display: grid;
  place-items: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--foreground) 5%, transparent);
  color: var(--foreground);
  transition: background-color 0.15s;
}
.nav-icon-btn:hover { background: color-mix(in oklab, var(--foreground) 10%, transparent); }
.nav-icon-btn .icon { width: 1rem; height: 1rem; }

/* --- wariant desktopowy (≥1024) --- */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;                     /* gap-6 */
  padding: 0.625rem 1.25rem;       /* py-2.5 px-5 */
  margin-inline: 0;
  transition: margin 0.3s ease-out;
}
.nav-desktop.is-scrolled { margin-inline: 70px; }   /* scrolled → mx-[70px] */

.nav-links {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;                    /* gap-5 */
  white-space: nowrap;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.nav-link {
  color: var(--muted-foreground);
  transition: color 0.15s;
}
.nav-link:hover,
.nav-link.is-active { color: var(--foreground); }

/* dropdown „Specjalizacje” */
.nav-dropdown { position: relative; }
.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted-foreground);
  transition: color 0.15s;
}
.nav-dropdown__trigger:hover,
.nav-dropdown.is-open .nav-dropdown__trigger { color: var(--foreground); }
.nav-dropdown__trigger .icon { width: 0.875rem; height: 0.875rem; }
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 12rem;
  border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: color-mix(in oklab, var(--card) 95%, transparent);
  border-radius: 0.75rem;
  padding: 0.375rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--foreground);
  display: none;
}
.nav-dropdown.is-open .nav-dropdown__menu { display: block; }
.nav-dropdown__item {
  display: block;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
  transition: color 0.15s, background-color 0.15s;
}
.nav-dropdown__item:hover {
  color: var(--foreground);
  background: color-mix(in oklab, var(--primary) 10%, transparent);
}

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

/* przełączanie widoczności wariantów nawigacji */
.nav-shell--mobile { display: block; }
.nav-shell--desktop { display: none; }
@media (min-width: 1024px) {
  .nav-shell--mobile { display: none; }
  .nav-shell--desktop { display: block; }
}

/* --- menu mobilne (drawer) --- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: color-mix(in oklab, black 50%, transparent);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 51;
  width: 100%;
  max-width: 24rem;                /* max-w-sm */
  background: var(--brand);
  color: var(--brand-foreground);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem 1.5rem;  /* pt-5 px-6 pb-6 */
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  border-radius: 9999px;
  background: color-mix(in oklab, white 10%, transparent);
  padding: 0.5rem;
  color: var(--brand-foreground);
  transition: background-color 0.15s;
}
.drawer__close:hover { background: color-mix(in oklab, white 20%, transparent); }
.drawer__close .icon { width: 1.25rem; height: 1.25rem; }
.drawer__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.drawer__nav { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.125rem; }
.drawer__link {
  border-radius: 0.75rem;
  padding: 0.625rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: color-mix(in oklab, var(--brand-foreground) 85%, transparent);
  transition: background-color 0.15s, color 0.15s;
}
.drawer__link:hover { background: color-mix(in oklab, white 10%, transparent); }
.drawer__link.is-active {
  background: color-mix(in oklab, white 10%, transparent);
  color: var(--brand-foreground);
}
.drawer__label {
  margin: 1.25rem 0 0.25rem;
  padding-inline: 0.75rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: color-mix(in oklab, var(--brand-foreground) 55%, transparent);
}
.drawer__divider { margin-block: 1rem; height: 1px; background: color-mix(in oklab, white 10%, transparent); }
.drawer__footer { margin-top: auto; display: flex; flex-direction: column; gap: 0.625rem; padding-top: 2rem; }
.drawer__footer .btn { height: 3rem; width: 100%; border-radius: 1rem; }

/* === 7. STOPKA ========================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 70%, transparent);
}
.site-footer__main {
  max-width: 80rem;
  margin-inline: auto;
  padding: 2.5rem 1rem;            /* py-10 px-4 */
}
@media (min-width: 640px) { .site-footer__main { padding: 3rem 1.5rem; } }   /* sm:py-12 sm:px-6 */
@media (min-width: 1024px) { .site-footer__main { padding-inline: 2rem; } }

.site-footer__brand-logo { height: 2.25rem; width: auto; }       /* h-9 */
@media (min-width: 640px) { .site-footer__brand-logo { height: 2.5rem; } }   /* sm:h-10 */

.site-footer__grid {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
    gap: 2.5rem;
  }
}
.footer-col__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
}
.footer-col__title--muted {
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}
.footer-contact { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; line-height: 1.25rem; }
.footer-contact__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted-foreground);
}
.footer-contact__value { margin-top: 0.25rem; color: var(--foreground); }
.footer-contact__link {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.15s;
}
.footer-contact__link:hover { color: var(--brand); }
.footer-contact__link .icon { width: 1rem; height: 1rem; }
.footer-contact__link span { word-break: break-all; }
/* link e-mail: text-sm na mobile, text-base od 640px (link telefonu jest text-base zawsze) */
.footer-contact__link--mail { font-size: 0.875rem; line-height: 1.25rem; }
@media (min-width: 640px) { .footer-contact__link--mail { font-size: 1rem; line-height: 1.5rem; } }

.footer-links { margin-top: 1rem; display: grid; gap: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.footer-links a { transition: color 0.15s; }
.footer-links a:hover,
.footer-links a.is-active { color: var(--foreground); }

/* dyskretny link do drugiego biura (druga domena) */
.footer-sister { display: inline-block; margin-top: 0.25rem; color: var(--muted-foreground); transition: color 0.15s; }
.footer-sister:hover { color: var(--foreground); }

.site-footer__bar { border-top: 1px solid color-mix(in oklab, var(--border) 80%, transparent); }
.site-footer__bar-inner {
  max-width: 80rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  font-size: 11px;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .site-footer__bar-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-inline: 1.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
  }
}
@media (min-width: 1024px) { .site-footer__bar-inner { padding-inline: 2rem; } }

/* === 8. HERO =========================================================== */

/* --- Hero mobilny (<1024) --- */
.hero-mobile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand);
  color: var(--brand-foreground);
}
@media (min-width: 1024px) { .hero-mobile { display: none; } }
.hero-mobile__img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.hero-mobile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--brand) 30%, transparent) 0%,
    color-mix(in oklab, var(--brand) 10%, transparent) 28%,
    color-mix(in oklab, var(--brand) 70%, transparent) 60%,
    var(--brand) 100%
  );
}
.hero-mobile__inner {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  padding: 1.5rem 1.25rem 2rem;     /* pt-6 px-5 pb-8 */
}
.hero-mobile__content {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;                     /* space-y-5 */
  padding-top: 2.5rem;
  text-align: center;
}
.hero-mobile__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid color-mix(in oklab, white 15%, transparent);
  background: color-mix(in oklab, white 10%, transparent);
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;        /* py-1.5 px-3 */
  font-size: 0.72rem;
  font-weight: 500;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-mobile__badge .icon { width: 0.875rem; height: 0.875rem; color: var(--primary); }
.hero-mobile__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
@media (min-width: 768px) { .hero-mobile__title { font-size: 2.5rem; } }
.hero-mobile__title span { display: block; color: var(--primary); }
.hero-mobile__lead {
  max-width: 28ch;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: color-mix(in oklab, var(--brand-foreground) 85%, transparent);
}
@media (min-width: 768px) { .hero-mobile__lead { max-width: 36ch; font-size: 1rem; } }
.hero-mobile__actions {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.25rem;
}
@media (min-width: 768px) { .hero-mobile__actions { max-width: 22rem; margin-inline: auto; } }
.hero-mobile__actions .btn .icon { width: 1.25rem; height: 1.25rem; }

/* --- Hero desktopowy (≥1024) --- */
.hero-desktop { display: none; }
@media (min-width: 1024px) {
  .hero-desktop {
    display: block;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
    background-image: var(--gradient-hero);
    padding-top: 8rem;             /* pt-32 */
    padding-bottom: 2.5rem;        /* pb-10 */
  }
  .hero-desktop__inner {
    max-width: 80rem;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 3rem;
    padding-inline: 2rem;
  }
}
.hero-desktop__col { display: flex; flex-direction: column; gap: 2rem; }
.hero-desktop__title {
  font-family: var(--font-display);
  font-size: 3.75rem;              /* text-6xl */
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
@media (min-width: 1280px) { .hero-desktop__title { font-size: 4.5rem; } }   /* xl:text-7xl */
.hero-desktop__title span { color: var(--primary); }
.hero-desktop__lead {
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 2rem;
  color: var(--muted-foreground);
}
.hero-desktop__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }

.hero-bento { display: grid; grid-auto-rows: min-content; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.hero-bento__feature {
  grid-column: span 6;
  grid-row: span 2;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: var(--card);
  border-radius: 2rem;
  box-shadow: var(--shadow-soft);
}
.hero-bento__feature-media { position: relative; aspect-ratio: 5 / 4; }
.hero-bento__feature-media img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-bento__feature-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem;
  color: var(--brand-foreground);
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in oklab, var(--brand) 55%, transparent) 70%,
    color-mix(in oklab, var(--brand) 88%, transparent) 100%
  );
}
.hero-bento__feature-caption strong { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; font-weight: 600; }
.hero-bento__feature-caption span { font-size: 0.875rem; line-height: 1.25rem; color: color-mix(in oklab, var(--brand-foreground) 80%, transparent); }
.hero-bento__tile {
  grid-column: span 3;
  border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: var(--panel);
  color: var(--panel-foreground);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}
.hero-bento__tile .icon { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.hero-bento__tile strong { display: block; margin-top: 0.75rem; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.hero-bento__tile span { font-size: 0.75rem; line-height: 1rem; color: color-mix(in oklab, var(--panel-foreground) 75%, transparent); }

/* === 9. SEKCJE STRONY GŁÓWNEJ ========================================== */

/* nagłówki / akapity wielokrotnego użytku */
.heading-2 {
  font-family: var(--font-display);
  font-size: 1.5rem;               /* text-2xl */
  line-height: 2rem;
  font-weight: 600;
  text-wrap: balance;
}
@media (min-width: 640px) { .heading-2 { font-size: 2.25rem; line-height: 2.5rem; } }  /* sm:text-4xl */
.lead-muted { font-size: 1rem; line-height: 1.75rem; color: var(--muted-foreground); }  /* text-base leading-7 */

/* sekcja: usługi (home) */
.home-services { padding-top: 8rem; padding-bottom: 4.5rem; }     /* pt-32 pb-18 */
@media (min-width: 640px) { .home-services { padding-top: 10rem; padding-bottom: 6rem; } } /* sm:pt-40 sm:pb-24 */
.split-grid { display: grid; gap: 3rem; }                        /* gap-12 */
@media (min-width: 1024px) {
  .split-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; }
}
.home-services__intro { display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; }
@media (min-width: 1024px) { .home-services__intro { padding-top: 2.5rem; } }
.home-services__lead { max-width: 28rem; font-size: 1rem; line-height: 1.75rem; color: var(--muted-foreground); }

.services-grid { display: grid; gap: 1.25rem; }                  /* gap-5 */
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  background: var(--card);
  border-radius: 2rem;
  padding: 2rem 1.5rem 1.5rem;     /* pt-8 px-6 pb-6 */
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}
.service-card:hover { border-color: var(--border); }
.service-card--featured {
  background: color-mix(in oklab, var(--muted) 60%, transparent);
  border-color: color-mix(in oklab, var(--border) 70%, transparent);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) { .service-card--featured { margin-top: -2rem; } }   /* sm:-mt-8 */
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  margin-bottom: 1.25rem;
  border-radius: 0.75rem;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  color: var(--primary);
}
.service-card__icon .icon { width: 1.25rem; height: 1.25rem; }
.service-card__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.service-card__desc { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.75rem; color: var(--muted-foreground); }
.service-card__link-wrap { margin-top: auto; padding-top: 1.25rem; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.15s;
}
.service-card__link:hover { color: var(--primary); }
.service-card__link .icon { width: 0.875rem; height: 0.875rem; transition: transform 0.15s; }
.service-card:hover .service-card__link .icon { transform: translateX(0.125rem); }

/* sekcja: o kancelarii (home) */
.about-grid { display: grid; gap: 2rem; }                        /* gap-8 */
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); align-items: center; }
}
.media-card {
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: var(--card);
  border-radius: 2rem;
  box-shadow: var(--shadow-soft);
}
.media-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; }
.about-copy { display: flex; flex-direction: column; gap: 1.5rem; }
.about-copy__head { display: flex; flex-direction: column; gap: 1rem; }
.trust-list { display: grid; gap: 0.75rem; }
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: color-mix(in oklab, var(--card) 70%, transparent);
  border-radius: 1rem;
  padding: 1rem;
}
.trust-item__icon {
  display: grid;
  place-items: center;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
}
.trust-item__icon .icon { width: 1rem; height: 1rem; }
.trust-item__text { font-size: 0.875rem; line-height: 1.75rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .trust-item__text { font-size: 1rem; } }

/* sekcja: proces (home) */
.section-head-center { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.process-grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.process-card {
  border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: var(--card);
  border-radius: 2rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.process-card__num {
  display: grid;
  place-items: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 1rem;
  background: var(--brand);
  color: var(--brand-foreground);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}
.process-card__title { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
@media (min-width: 640px) { .process-card__title { font-size: 1.5rem; line-height: 2rem; } }
.process-card__desc { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.75rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .process-card__desc { font-size: 1rem; } }

/* sekcja: CTA (panel) */
.cta-section { padding-block: 4.5rem; }
@media (min-width: 640px) { .cta-section { padding-block: 6rem; } }
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem;
  background: var(--panel);
  color: var(--panel-foreground);
  padding: 3.5rem 2rem;            /* py-14 px-8 */
  text-align: center;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) { .cta-panel { padding: 5rem 4rem; } }  /* sm:py-20 sm:px-16 */
.cta-panel__title { margin-top: 1.5rem; font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; font-weight: 600; text-wrap: balance; }
@media (min-width: 640px) { .cta-panel__title { font-size: 2.25rem; line-height: 2.5rem; } }
.cta-panel__lead {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 2rem;
  color: color-mix(in oklab, var(--panel-foreground) 75%, transparent);
}
.cta-panel__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }

/* === 10. SZABLON PODSTRONY USŁUGI ====================================== */
.service-hero {
  overflow: hidden;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  padding-top: 7rem;               /* pt-28 */
  padding-bottom: 3.5rem;          /* pb-14 */
}
@media (min-width: 640px) { .service-hero { padding-top: 8rem; padding-bottom: 4.5rem; } } /* sm:pt-32 sm:pb-18 */
@media (min-width: 1024px) { .service-hero { padding-top: 9rem; padding-bottom: 5.5rem; } } /* lg:pt-36 lg:pb-22 */
.service-hero__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .service-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.service-hero__col { display: flex; flex-direction: column; gap: 1.5rem; }
.page-title {
  font-family: var(--font-display);
  font-size: 2.25rem;              /* text-4xl */
  line-height: 1;
  font-weight: 600;
  text-wrap: balance;
}
@media (min-width: 640px) { .page-title { font-size: 3rem; } }   /* sm:text-5xl */
.lead-lg { max-width: 42rem; font-size: 1.125rem; line-height: 2rem; color: var(--muted-foreground); } /* text-lg leading-8 max-w-2xl */
.service-hero__actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .service-hero__actions { flex-direction: row; } }

/* Karty wyróżnień: 1 kolumna na mobile i tablecie (3-kolumnowy układ był za ciasny
   dla dłuższych etykiet); na desktopie i tak stoją w pionie w bocznej kolumnie hero. */
.highlight-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.highlight-card {
  border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: color-mix(in oklab, var(--card) 80%, transparent);
  border-radius: 1.25rem;   /* rounded-3xl wg skali projektu: calc(0.5rem + 12px) */
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}
.highlight-card__row { display: flex; align-items: center; gap: 0.75rem; }
.highlight-card__icon {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  border-radius: 1rem;
  background: var(--brand);
  color: var(--brand-foreground);
}
.highlight-card__icon .icon { width: 1.25rem; height: 1.25rem; }
.highlight-card__text { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }

.service-detail__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .service-detail__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: start; } }
.service-detail__lead { margin-top: 0.75rem; font-size: 1rem; line-height: 1.75rem; color: var(--muted-foreground); }
.bullet-list { margin-top: 2rem; display: grid; gap: 1rem; }
.bullet-card {
  border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: color-mix(in oklab, var(--card) 80%, transparent);
  border-radius: 1.25rem;   /* rounded-3xl wg skali projektu: calc(0.5rem + 12px) */
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}
.bullet-card__row { display: flex; align-items: flex-start; gap: 1rem; }
.bullet-card__icon {
  display: grid;
  place-items: center;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
}
.bullet-card__icon .icon { width: 1rem; height: 1rem; }
.bullet-card__text { font-size: 0.875rem; line-height: 1.75rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .bullet-card__text { font-size: 1rem; } }

.process-aside { display: flex; flex-direction: column; gap: 1.5rem; }
.process-aside__card {
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: var(--card);
  border-radius: 2rem;
  box-shadow: var(--shadow-soft);
}
.process-aside__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.process-aside__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.process-aside__label { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.24em; color: var(--muted-foreground); }
.process-steps { display: grid; gap: 0.75rem; }
.process-step { display: flex; align-items: flex-start; gap: 0.75rem; }
.process-step__num {
  display: grid;
  place-items: center;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--brand);
  color: var(--brand-foreground);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}
.process-step__title { font-weight: 500; }
.process-step__desc { font-size: 0.875rem; line-height: 1.5rem; color: var(--muted-foreground); }

/* === 11. STRONA „O KANCELARII” ========================================= */
.page-hero {
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  padding-top: 7rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 640px) { .page-hero { padding-top: 8rem; padding-bottom: 4.5rem; } }
@media (min-width: 1024px) { .page-hero { padding-top: 9rem; padding-bottom: 5.5rem; } }
.page-hero__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}
.page-hero__col { display: flex; flex-direction: column; gap: 1.25rem; }
.page-hero__actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .page-hero__actions { flex-direction: row; } }

/* nagłówek sekcji „O kancelarii” (mb-10 text-center, h2 mt-5) */
.about-section-head { text-align: center; margin-bottom: 2.5rem; }
.about-section-head .heading-2 { margin-top: 1.25rem; }

/* sekcja tylko z dolnym paddingiem (pb-20 sm:pb-28) */
.section-pb { padding-bottom: 5rem; }
@media (min-width: 640px) { .section-pb { padding-bottom: 7rem; } }

.cards-grid-4 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .cards-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.trust-grid { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trust-card {
  border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: var(--card);
  border-radius: 2rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.trust-card__icon {
  display: grid;
  place-items: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 1rem;
  background: var(--brand);
  color: var(--brand-foreground);
}
.trust-card__icon .icon { width: 1.25rem; height: 1.25rem; }
.trust-card__text { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.75rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .trust-card__text { font-size: 1rem; } }

.about-method {
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}
.about-method__title { margin-top: 1.25rem; }
.about-method__lead {
  margin: 1.25rem auto 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 2rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) { .about-method__lead { font-size: 1.125rem; } }
.about-method__actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
@media (min-width: 640px) { .about-method__actions { flex-direction: row; } }

/* === 12. STRONA „KONTAKT” + FORMULARZ =================================== */
.contact-hero__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .contact-hero__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; }
}
.contact-cards { display: grid; gap: 1rem; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-card {
  display: block;
  border: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background: var(--card);
  border-radius: 2rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: background-color 0.15s;
  cursor: pointer;
}
.contact-card:hover { background: color-mix(in oklab, var(--accent) 40%, transparent); }
.contact-card .icon { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.contact-card__title { margin-top: 1rem; font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; font-weight: 600; }
.contact-card__value { margin-top: 0.75rem; font-size: 1rem; line-height: 1.5rem; color: var(--muted-foreground); transition: color 0.15s; }
.contact-card:hover .contact-card__value { color: var(--foreground); }
.contact-card__value--email { word-break: break-all; }

/* --- Formularz (wizard) --- */
.wizard { scroll-margin-top: 7rem; padding-block: 4.5rem; }
@media (min-width: 640px) { .wizard { padding-block: 6rem; } }
.wizard__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .wizard__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
}
.wizard__aside {
  border-radius: 2rem;
  background: color-mix(in oklab, var(--muted) 60%, transparent);
  padding: 2rem;
}
@media (min-width: 1024px) { .wizard__aside { position: sticky; top: 7rem; } }
.wizard__aside-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.wizard__aside-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.wizard__field-label { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); }
.wizard__field-value { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.5rem; color: var(--foreground); }
.wizard__divider { height: 1px; background: color-mix(in oklab, var(--border) 70%, transparent); }
.wizard__contact-link {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.15s;
}
.wizard__contact-link:hover { color: var(--primary); }
.wizard__contact-link.is-email { word-break: break-all; }
.wizard__contact-link .icon { width: 1rem; height: 1rem; }
/* alternatywa SMS pod danymi kontaktowymi w formularzu */
.wizard__sms-note { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.5rem; color: var(--muted-foreground); }
.wizard__sms-btn { margin-top: 0.75rem; }

.wizard__card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 2rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) { .wizard__card { padding: 2.5rem; } }
.wizard__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 600;
  text-wrap: balance;
}
@media (min-width: 640px) { .wizard__title { font-size: 1.875rem; } }
.wizard__form { margin-top: 2rem; display: flex; flex-direction: column; gap: 2rem; }
.wizard__group { display: flex; flex-direction: column; gap: 0.75rem; }
.wizard__group-label { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.wizard__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wizard__pill {
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.wizard__pill:hover { border-color: color-mix(in oklab, var(--foreground) 40%, transparent); }
.wizard__pill.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.wizard__fields { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .wizard__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wizard__field { display: flex; flex-direction: column; gap: 0.5rem; }
.wizard__field--full { grid-column: 1 / -1; }
.field-label { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.field-label__hint { color: var(--muted-foreground); font-weight: 400; }
.field-input {
  height: 2.75rem;
  width: 100%;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 0.75rem;
  padding-inline: 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--foreground);
  transition: border-color 0.15s, box-shadow 0.15s;
}
@media (min-width: 768px) { .field-input { font-size: 0.875rem; } }
.field-input::placeholder { color: var(--muted-foreground); }
.field-input:focus-visible { outline: none; box-shadow: 0 0 0 1px var(--ring); }
@media (min-width: 640px) { .field-input--half { width: 50%; } }
.field-textarea {
  min-height: 7rem;
  width: 100%;
  resize: none;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--foreground);
  transition: border-color 0.15s, box-shadow 0.15s;
}
@media (min-width: 768px) { .field-textarea { font-size: 0.875rem; } }
.field-textarea::placeholder { color: var(--muted-foreground); }
.field-textarea:focus-visible { outline: none; box-shadow: 0 0 0 1px var(--ring); }

.wizard__submit-row { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.5rem; }
.wizard__call {
  display: grid;
  place-items: center;
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  transition: transform 0.15s;
}
.wizard__call:hover { transform: translateY(-0.125rem); }
.wizard__call .icon { width: 1.25rem; height: 1.25rem; }
/* honeypot antyspamowy — ukryty poza ekranem */
.wizard__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
/* komunikat po wysłaniu formularza */
.wizard__status { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.5rem; font-weight: 500; }
.wizard__status.is-ok { color: var(--brand); }
.wizard__status.is-err { color: var(--destructive); }

/* === 13. ANIMACJE (scroll-reveal — odpowiednik framer-motion) =========== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in-up { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* === 14. LINKI PRAWNE W STOPCE ========================================== */
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer__legal a { transition: color 0.15s; }
.site-footer__legal a:hover { color: var(--foreground); }

/* === 15. STRONA POLITYKI PRYWATNOŚCI (proza prawna) ==================== */
.legal { max-width: 56rem; }
.legal__updated { font-size: 0.875rem; color: var(--muted-foreground); }
.legal h2 { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.75rem; font-weight: 600; margin-top: 2.5rem; }
.legal p { margin-top: 0.75rem; font-size: 1rem; line-height: 1.75rem; color: var(--muted-foreground); }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-top: 0.75rem; display: grid; gap: 0.375rem; }
.legal li { font-size: 1rem; line-height: 1.7rem; color: var(--muted-foreground); }
.legal strong { color: var(--foreground); font-weight: 600; }
.legal a { color: var(--brand); text-decoration: underline; }

/* === 16. BANER ZGODY NA COOKIES ======================================== */
.cc [hidden] { display: none !important; }
.cc__overlay { position: fixed; inset: 0; z-index: 60; background: color-mix(in oklab, black 45%, transparent); }
.cc__banner {
  position: fixed; z-index: 61; left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 64rem; margin-inline: auto;
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem;
  box-shadow: var(--shadow-soft); padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 768px) { .cc__banner { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem; } }
.cc__title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.cc__desc { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.5rem; color: var(--muted-foreground); }
.cc__desc a { color: var(--brand); text-decoration: underline; }
.cc__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cc__banner .cc__actions { flex-shrink: 0; }
.cc__modal {
  position: fixed; z-index: 62; left: 1rem; right: 1rem; top: 50%; transform: translateY(-50%);
  max-width: 34rem; margin-inline: auto;
  background: var(--card); border: 1px solid var(--border); border-radius: 1.25rem;
  box-shadow: var(--shadow-soft); padding: 1.5rem; max-height: 85vh; overflow-y: auto;
}
.cc__modal .cc__title { font-size: 1.125rem; }
.cc__opt { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid color-mix(in oklab, var(--border) 70%, transparent); }
.cc__opt:first-of-type { border-top: 0; padding-top: 1.25rem; }
.cc__opt-name { font-weight: 500; }
.cc__opt-desc { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.5rem; color: var(--muted-foreground); }
.cc__badge { font-size: 0.75rem; color: var(--muted-foreground); white-space: nowrap; }
.cc__opt input { width: 1.15rem; height: 1.15rem; flex-shrink: 0; margin-top: 0.15rem; accent-color: var(--primary); cursor: pointer; }
.cc__modal .cc__actions { margin-top: 1.25rem; justify-content: flex-end; }
