/* KBN Signature Home — czysty CSS (konwersja z Tailwind/v0) */

/* Tokeny z v0 (globals.css / chunk Tailwind) */
:root {
  color-scheme: dark;
  --background: oklch(0 0 0);
  --foreground: oklch(0.97 0 0);
  --card: oklch(0.155 0 0);
  --card-foreground: oklch(0.97 0 0);
  --popover: oklch(0.155 0 0);
  --popover-foreground: oklch(0.97 0 0);
  --primary: oklch(0.78 0.13 85);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.195 0 0);
  --secondary-foreground: oklch(0.97 0 0);
  --muted: oklch(0.17 0 0);
  --muted-foreground: oklch(0.7 0 0);
  --accent: oklch(0.78 0.13 85);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.63 0.18 25);
  --border: oklch(0.82 0.05 88 / 14%);
  --input: oklch(0.82 0.05 88 / 16%);
  --ring: oklch(0.78 0.13 85);
  --radius: 0.125rem;
  --gold-gradient-start: oklch(0.85 0.11 88);
  --gold-gradient-end: oklch(0.62 0.11 78);
  --font-sans: "Inter", "Inter Fallback", system-ui, sans-serif;
  --font-serif: "Inter", "Inter Fallback", system-ui, sans-serif;
  --container: 1400px;
  --logo-h: 80px;
  --header-pad-top: 1rem;
  --header-pad-bottom: 0.875rem;
  --header-h: calc(
    var(--logo-h) + var(--header-pad-top) + var(--header-pad-bottom)
  );
  --header-h-md: calc(var(--logo-h) + 1.25rem + 1rem);
  --blur-sm: 8px;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 400;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2.5rem;
  }
}

/* Aurora tło */
.page-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-bg__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(210, 170, 92, 0.14) 1.3px,
    transparent 1.3px
  );
  background-size: 34px 34px;
  mask-image: radial-gradient(
    ellipse 110% 90% at 50% 0%,
    black 25%,
    transparent 92%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 110% 90% at 50% 0%,
    black 25%,
    transparent 92%
  );
}

.page-bg__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
}

.page-bg__aurora--1 {
  top: -10rem;
  left: 50%;
  width: 860px;
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    color-mix(in oklab, var(--primary) 40%, transparent),
    transparent 70%
  );
  animation: kbn-aurora 22s ease-in-out infinite alternate;
}

.page-bg__aurora--2 {
  top: 33%;
  left: -10rem;
  width: 740px;
  height: 580px;
  filter: blur(140px);
  background: radial-gradient(circle, rgba(40, 58, 110, 0.6), transparent 70%);
  animation: kbn-aurora-2 28s ease-in-out infinite alternate;
}

.page-bg__aurora--3 {
  bottom: -10%;
  right: -10%;
  width: 720px;
  height: 560px;
  filter: blur(150px);
  background: radial-gradient(circle, rgba(34, 50, 96, 0.6), transparent 70%);
  animation: kbn-aurora-3 26s ease-in-out infinite alternate;
}

@keyframes kbn-aurora {
  0% {
    transform: translate(-50%, 0) scale(1);
    opacity: 0.24;
  }
  100% {
    transform: translate(-42%, 60px) scale(1.15);
    opacity: 0.36;
  }
}

@keyframes kbn-aurora-2 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.34;
  }
  100% {
    transform: translate(120px, -80px) scale(1.2);
    opacity: 0.46;
  }
}

@keyframes kbn-aurora-3 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.28;
  }
  100% {
    transform: translate(-110px, -60px) scale(1.18);
    opacity: 0.42;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-bg__aurora--1,
  .page-bg__aurora--2,
  .page-bg__aurora--3 {
    animation: none;
    opacity: 0.3;
  }
}

.page-wrap {
  position: relative;
  z-index: 10;
}

/* Typografia */
.eyebrow {
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.eyebrow--lined {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow--lined::before {
  content: "";
  flex-shrink: 0;
  width: 2.5rem;
  height: 1px;
  background: color-mix(in oklab, var(--primary) 60%, transparent);
}

.hero .eyebrow--lined::before {
  background: color-mix(in oklab, var(--primary) 70%, transparent);
}

.why-grid .eyebrow--lined::before {
  background: color-mix(in oklab, var(--primary) 60%, transparent);
}

.font-serif {
  font-family: var(--font-serif);
  font-weight: 400;
}

.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted-foreground);
}

.text-balance {
  text-wrap: balance;
}

/* Separator sekcji */
.section-divider {
  position: relative;
  height: 1px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .section-divider {
    padding-inline: 2.5rem;
  }
}

.section-divider__line {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    color-mix(in oklab, var(--primary) 40%, transparent),
    transparent
  );
}

.section-divider__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: color-mix(in oklab, var(--primary) 70%, transparent);
}

/* Header — jak v0: gradient + blur na overlay, widoczny po scrollu */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  width: 100%;
}

.site-header__backdrop {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    color-mix(in oklab, var(--background) 70%, transparent),
    color-mix(in oklab, var(--background) 30%, transparent),
    transparent
  );
  -webkit-backdrop-filter: blur(var(--blur-sm));
  backdrop-filter: blur(var(--blur-sm));
  opacity: 0;
  transition: opacity 500ms var(--ease-out);
}

.site-header.is-scrolled .site-header__backdrop {
  opacity: 1;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  max-width: var(--container);
  margin-inline: auto;
  padding-top: var(--header-pad-top);
  padding-bottom: var(--header-pad-bottom);
  padding-inline: 1.25rem;
  transition: all 500ms var(--ease-out);
}

@media (min-width: 768px) {
  .site-header__inner {
    min-height: var(--header-h-md);
    padding-top: 1.25rem;
    padding-bottom: 1rem;
    padding-inline: 2.5rem;
  }
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 0 1 auto;
}

.site-logo img {
  height: 3.25rem;
  width: auto;
}

.site-header .site-logo img {
  height: var(--logo-h);
}

.site-logo__text {
  display: none;
  flex-direction: column;
  line-height: 1;
  min-width: 0;
}

@media (min-width: 640px) {
  .site-logo__text {
    display: flex;
  }
}

.site-logo__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.site-logo__tagline {
  margin-top: 0.25rem;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
}

.site-nav__link {
  position: relative;
  padding-block: 0.25rem;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  color: var(--muted-foreground);
  transition: color 0.3s;
}

.site-nav__link:hover {
  color: var(--foreground);
}

.site-nav__link.is-active {
  color: var(--foreground);
}

.site-nav__dropdown-trigger:hover {
  color: var(--primary);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--primary);
  transition: width 0.3s var(--ease-out);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  width: 100%;
}

.site-nav__dropdown {
  position: relative;
}

.site-nav__dropdown-panel {
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 50;
  width: 18rem;
  padding-top: 1rem;
  transform: translate(-50%, -4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.site-nav__dropdown:hover .site-nav__dropdown-panel,
.site-nav__dropdown.is-open .site-nav__dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.site-nav__dropdown-menu {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in oklab, var(--primary) 15%, transparent);
  background: color-mix(in oklab, var(--background) 95%, transparent);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
}

.site-nav__dropdown-menu::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--primary),
    transparent
  );
}

.site-nav__dropdown-menu a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  transition:
    background 0.2s,
    color 0.2s;
}

.site-nav__dropdown-menu a:hover {
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  color: var(--primary);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.site-header__phone {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .site-header__phone {
    display: flex;
  }
}

.site-header__phone-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.site-header__phone-icon svg {
  width: 100%;
  height: 100%;
}

.site-header__phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.site-header__phone-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.site-header__phone-number {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: var(--foreground);
}

.site-header__divider {
  display: none;
  width: 1px;
  height: 2.25rem;
  background: var(--border);
}

@media (min-width: 1024px) {
  .site-header__divider {
    display: block;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    opacity 0.2s,
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn--primary {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(
    to bottom,
    var(--primary),
    color-mix(in oklab, var(--primary) 80%, transparent)
  );
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btn--primary:hover {
  opacity: 0.9;
}

.btn--gold {
  padding: 1rem 1.75rem;
  font-weight: 500;
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn--gold:hover {
  opacity: 0.9;
}

.btn--gold svg {
  transition: transform 0.2s;
}

.btn--gold:hover svg {
  transform: translateX(4px);
}

.btn--outline {
  padding: 1rem 1.75rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 40%, transparent);
  backdrop-filter: blur(var(--blur-sm));
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--ghost {
  padding: 0.6875rem 1.5rem;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

.btn--ghost:hover {
  background: var(--muted);
  color: var(--foreground);
}

.site-header__cta {
  display: none;
}

@media (min-width: 768px) {
  .site-header__cta {
    display: inline-flex;
  }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-right: -0.5rem;
  color: var(--foreground);
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.site-header.is-menu-open {
  z-index: 60;
}

.site-header.is-menu-open .site-header__backdrop {
  opacity: 1;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile nav — karta dropdown jak v0 */
.mobile-nav {
  position: fixed;
  top: calc(var(--header-h) + 0.5rem);
  right: 0.75rem;
  left: 0.75rem;
  z-index: 55;
  max-height: calc(100dvh - var(--header-h) - 1rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid color-mix(in oklab, var(--primary) 15%, transparent);
  border-radius: 1rem;
  background: color-mix(in oklab, var(--background) 95%, transparent);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.4),
    0 4px 6px -4px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-0.375rem);
  transition:
    opacity 0.25s var(--ease-out),
    visibility 0.25s var(--ease-out),
    transform 0.25s var(--ease-out);
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1.25rem 0;
}

.mobile-nav__link,
.mobile-nav__group {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav__inner > :last-child {
  border-bottom: none;
}

.mobile-nav__link {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--foreground);
}

.mobile-nav__sublist {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.mobile-nav__sub-link {
  display: block;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.mobile-nav__sub-link:hover {
  color: var(--foreground);
}

.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem 1.5rem;
}

.mobile-nav__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: var(--foreground);
}

.mobile-nav__phone-icon {
  display: inline-flex;
  color: var(--primary);
}

.mobile-nav__phone-icon svg {
  width: 1rem;
  height: 1rem;
}

.mobile-nav__cta {
  justify-content: center;
  width: 100%;
  padding: 0.875rem 1.25rem;
  letter-spacing: 0.18em;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
}

@media (min-width: 768px) {
  .hero {
    margin-top: calc(-1 * var(--header-h-md));
  }
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay-r,
.hero__overlay-t {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__overlay-r {
  background: linear-gradient(
    to right,
    var(--background),
    color-mix(in oklab, var(--background) 80%, transparent),
    color-mix(in oklab, var(--background) 20%, transparent)
  );
}

.hero__overlay-t {
  background: linear-gradient(
    to top,
    var(--background),
    transparent,
    color-mix(in oklab, var(--background) 40%, transparent)
  );
}

.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: calc(var(--header-h) + 5rem) 1.25rem 4rem;
}

@media (min-width: 768px) {
  .hero__content {
    padding: calc(var(--header-h-md) + 6rem) 2.5rem 4rem;
  }
}

.hero__inner {
  max-width: 42rem;
}

.hero__eyebrow-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.hero__tagline {
  margin: 0;
  font-size: 0.6rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.hero__title {
  margin: 1.5rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero__title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}

.hero__lead {
  margin-top: 1.75rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .hero__lead {
    font-size: 1.125rem;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.hero__bottom-line {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    color-mix(in oklab, var(--primary) 40%, transparent),
    transparent
  );
}

/* Sekcje */
.section {
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .section {
    padding-block: 7rem;
  }
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__header--left {
  text-align: left;
  margin-bottom: 0;
}

.section__title {
  margin: 1rem 0 0;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .section__title {
    font-size: 3rem;
    line-height: 1.25;
  }
}

.section__header .section__title {
  max-width: 42rem;
  margin-inline: auto;
}

.why-grid .section__title {
  line-height: 1.1;
  max-width: none;
  margin-inline: 0;
}

/* Reveal — bez JS treść widoczna; z JS (html.js) animacja po scrollu */
.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

html.js .reveal {
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out),
    filter 0.7s;
}

html.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  html.js .reveal,
  html.js .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* About split */
.split-grid {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}

@media (min-width: 1024px) {
  .split-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.split-grid__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background: var(--card);
}

@media (min-width: 768px) {
  .split-grid__content {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .split-grid__content {
    padding: 4rem;
  }
}

.split-grid__media {
  position: relative;
  min-height: 360px;
  background: var(--card);
}

@media (min-width: 1024px) {
  .split-grid__media {
    min-height: 100%;
  }
}

.split-grid__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-grid__prose {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

.split-grid__prose p {
  margin: 0;
}

/* Duże bloki — blur z reveal zostawiał „dziurę” z tłem strony */
html.js .split-grid .reveal:not(.is-visible) {
  filter: none;
}

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

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.service-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition:
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px -20px
    color-mix(in oklab, var(--primary) 45%, transparent);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition:
    transform 0.5s,
    opacity 0.5s;
}

.service-card:hover img {
  transform: scale(1.1);
  opacity: 1;
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--background),
    color-mix(in oklab, var(--background) 45%, transparent),
    color-mix(in oklab, var(--background) 5%, transparent)
  );
  transition: opacity 0.3s;
}

.service-card:hover .service-card__overlay {
  background: linear-gradient(
    to top,
    color-mix(in oklab, var(--background) 90%, transparent),
    color-mix(in oklab, var(--background) 45%, transparent),
    color-mix(in oklab, var(--background) 5%, transparent)
  );
}

.service-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}

@media (min-width: 768px) {
  .service-card__body {
    padding: 1.25rem;
  }
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(
    to bottom right,
    var(--gold-gradient-start),
    var(--primary),
    var(--gold-gradient-end)
  );
  color: var(--primary-foreground);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s;
}

.service-card:hover .service-card__icon {
  transform: scale(1.1);
}

.service-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.service-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .service-card__title {
    font-size: 1rem;
  }
}

.service-card__desc {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted-foreground);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.3s,
    opacity 0.3s;
}

.service-card:hover .service-card__desc {
  max-height: 6rem;
  opacity: 1;
}

.section__link-center {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  transition: opacity 0.2s;
}

.link-arrow svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.link-arrow:hover {
  opacity: 0.7;
}

/* Process */
.process-section {
  position: relative;
  overflow: hidden;
}

.process-section__bg {
  position: absolute;
  inset: 0;
}

.process-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.process-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--background),
    color-mix(in oklab, var(--background) 70%, transparent),
    var(--background)
  );
}

.process-section__overlay-2 {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--background) 35%, transparent);
}

.process-section__content {
  position: relative;
}

.process-section .section__header {
  margin-bottom: 0;
}

.process-steps-wrap {
  position: relative;
  margin-top: 4rem;
}

.process-steps {
  position: relative;
  display: grid;
  gap: 3.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.process-steps__line {
  display: none;
  position: absolute;
  top: 2.25rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    color-mix(in oklab, var(--primary) 70%, transparent),
    transparent
  );
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.1s var(--ease-out);
}

.process-steps__line.is-visible {
  transform: scaleX(1);
}

@media (min-width: 1024px) {
  .process-steps__line {
    display: block;
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline: 1rem;
}

.process-step__ring {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
  background: color-mix(in oklab, var(--background) 80%, transparent);
  box-shadow: 0 0 24px -6px color-mix(in oklab, var(--primary) 50%, transparent);
  backdrop-filter: blur(8px);
  transform: scale(0.8);
  transition: transform 0.5s var(--ease-out);
}

.process-step.is-visible .process-step__ring {
  transform: scale(1);
}

.process-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 1px solid var(--primary);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--primary);
}

.process-step__title {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
}

.process-step__desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Why us */
.why-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.why-grid__image-wrap {
  position: relative;
}

.why-grid__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
}

.why-grid__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-grid__badge {
  position: absolute;
  bottom: -1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 8rem;
  padding: 1.5rem 1rem;
  background: linear-gradient(
    to bottom,
    var(--primary),
    color-mix(in oklab, var(--primary) 85%, transparent)
  );
  color: var(--primary-foreground);
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .why-grid__badge {
    right: 2.5rem;
  }
}

.why-grid__badge-num {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1;
}

.why-grid__badge-label {
  margin-top: 0.5rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}

.feature-list__item {
  display: flex;
  gap: 1.25rem;
}

.feature-list__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid color-mix(in oklab, var(--primary) 25%, transparent);
  border-radius: 2px;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  color: var(--primary);
}

.feature-list__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.feature-list__title {
  font-size: 1rem;
  font-weight: 600;
}

.feature-list__desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Brands */
.brands-section {
  position: relative;
  overflow: hidden;
}

.brands-section__bg {
  position: absolute;
  inset: 0;
}

.brands-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.brands-section__fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 65% at 50% 42%,
    var(--background) 35%,
    transparent 100%
  );
}

.brands-section__fade-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    color-mix(in oklab, var(--background) 80%, transparent),
    transparent,
    var(--background)
  );
}

.brands-section__content {
  position: relative;
  z-index: 1;
}

.brands-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brands-header__logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border: 1px solid color-mix(in oklab, var(--primary) 25%, transparent);
  border-radius: 0.75rem;
  background: color-mix(in oklab, var(--primary) 5%, transparent);
}

@media (min-width: 768px) {
  .brands-header__logo-box {
    width: 6rem;
    height: 6rem;
  }
}

.brands-header__title {
  margin-top: 2.5rem;
  max-width: 56rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.brands-header__rule {
  margin-top: 2rem;
  width: 4rem;
  height: 1px;
  background: color-mix(in oklab, var(--primary) 70%, transparent);
}

.brands-header__lead {
  margin-top: 2rem;
  max-width: 42rem;
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .brands-header__lead {
    font-size: 1.125rem;
  }
}

.brands-marquee {
  --brands-visible: 2;
  margin-top: 3.5rem;
}

@media (min-width: 640px) {
  .brands-marquee {
    --brands-visible: 3;
  }
}

@media (min-width: 768px) {
  .brands-marquee {
    --brands-visible: 5;
  }
}

.brands-marquee__viewport {
  position: relative;
  overflow: hidden;
  height: 7rem;
  border: 1px solid color-mix(in oklab, var(--primary) 25%, transparent);
  border-radius: 5px;
  background: color-mix(in oklab, var(--card) 30%, transparent);
  backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
  .brands-marquee__viewport {
    height: 8.5rem;
  }
}

.brands-marquee__viewport.is-static {
  display: flex;
}

.brands-marquee__viewport.is-static .logo-wrapper {
  position: relative;
  flex: 1;
  transform: none !important;
  visibility: visible !important;
}

.logo-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% / var(--brands-visible));
  height: 100%;
  padding: 0 1.25rem;
  border-right: 1px solid color-mix(in oklab, var(--primary) 15%, transparent);
  box-sizing: border-box;
  visibility: hidden;
}

.logo-wrapper__img {
  display: block;
  max-width: calc(100% - 0.5rem);
  max-height: 2.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s;
}

/* Kolorowe logo — bez płytki */
.logo-wrapper__img--color {
  padding: 0;
  background: transparent;
  filter: none;
}

/* Cały kafel biały — Grenton, Satel… */
.logo-wrapper--white {
  padding: 0;
  background: rgb(255 255 255 / 0.94);
}

.logo-wrapper--white .logo-wrapper__img {
  max-width: 88%;
  max-height: 88%;
  padding: 0;
  background: transparent;
  filter: none;
  opacity: 1;
}

.logo-wrapper__img--white {
  padding: 0;
  background: transparent;
  filter: none;
}

/* Cały kafel — Jablotron (#000713) */
.logo-wrapper--tile {
  padding: 0;
  background: #000713;
}

.logo-wrapper--tile .logo-wrapper__img {
  max-width: 88%;
  max-height: 88%;
  filter: none;
  opacity: 1;
}

.logo-wrapper__img--tile {
  padding: 0;
  background: transparent;
  filter: none;
}

/* Jednokolorowe ciemne logo → białe bez płytki (gdy masz wersję mono) */
.logo-wrapper__img--dark {
  filter: brightness(0) invert(1);
  opacity: 0.78;
}

/* Logo już jasne (np. biały wordmark) — bez płytki i filtra */
.logo-wrapper__img--light {
  padding: 0;
  background: transparent;
  filter: none;
  opacity: 0.88;
}

@media (min-width: 768px) {
  .logo-wrapper__img {
    max-height: 3.25rem;
  }
}

.logo-wrapper--grenton,
.logo-wrapper--satel {
  padding: 0;
  background: rgb(255 255 255 / 0.94);
}

.logo-wrapper--grenton .logo-wrapper__img,
.logo-wrapper--satel .logo-wrapper__img {
  max-width: 88%;
  max-height: 88%;
  padding: 0;
  background: transparent;
  filter: none;
  opacity: 1;
}

.logo-wrapper--grenton .logo-wrapper__img {
  max-width: 98%;
  max-height: 4.25rem;
}

@media (min-width: 768px) {
  .logo-wrapper--grenton .logo-wrapper__img {
    max-height: 5.75rem;
  }
}

.logo-wrapper:hover .logo-wrapper__img {
  opacity: 1;
}

.logo-wrapper__label {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: color-mix(in oklab, var(--primary) 85%, transparent);
  transition: color 0.3s;
  white-space: nowrap;
}

/* FAQ */
.faq-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .faq-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
  }
}

.faq-list {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--primary);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__toggle {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(
    to bottom right,
    var(--gold-gradient-start),
    var(--primary),
    var(--gold-gradient-end)
  );
  color: var(--primary-foreground);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.faq-item[open] .faq-item__toggle {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding-bottom: 1.5rem;
  max-width: 42rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid color-mix(in oklab, var(--primary) 20%, transparent);
  background: var(--card);
}

.site-footer__top-rule {
  display: flex;
  align-items: center;
}

.site-footer__top-rule span:first-child,
.site-footer__top-rule span:last-child {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    color-mix(in oklab, var(--primary) 50%, transparent),
    color-mix(in oklab, var(--primary) 50%, transparent)
  );
}

.site-footer__top-rule span:last-child {
  background: linear-gradient(
    to left,
    transparent,
    color-mix(in oklab, var(--primary) 50%, transparent),
    color-mix(in oklab, var(--primary) 50%, transparent)
  );
}

.site-footer__top-rule span:nth-child(2) {
  width: 6px;
  height: 6px;
  margin-inline: 0.5rem;
  transform: rotate(45deg);
  background: var(--primary);
}

.site-footer__inner {
  padding-block: 4rem 5rem;
}

.site-footer__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr;
    gap: 2rem;
  }
}

.site-footer__col {
  max-width: 20rem;
}

@media (min-width: 1024px) {
  .site-footer__col--border {
    border-left: 1px solid var(--border);
    padding-left: 2rem;
  }
}

.site-footer__tagline {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.35;
}

.site-footer__desc {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.site-footer__values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .site-footer__values {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

@media (min-width: 1280px) {
  .site-footer__values {
    grid-template-columns: repeat(4, 1fr);
  }
}

.site-footer__value svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.site-footer__value span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.site-footer__heading {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.site-footer__icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
  border-radius: 0.375rem;
  background: color-mix(in oklab, var(--primary) 5%, transparent);
  color: var(--primary);
}

.site-footer__icon-box svg {
  width: 1.25rem;
  height: 1.25rem;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.site-footer__links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.site-footer__links a:hover {
  color: var(--foreground);
}

.site-footer__links svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--primary);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.site-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer__contact-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
  border-radius: 0.375rem;
  background: color-mix(in oklab, var(--primary) 5%, transparent);
  color: var(--primary);
}

.site-footer__contact-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.site-footer__contact-text {
  display: flex;
  flex-direction: column;
}

.site-footer__contact-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.site-footer__contact-value {
  font-size: 0.875rem;
  font-weight: 600;
}

.site-footer__contact-value a:hover {
  color: var(--primary);
}

.site-footer__social {
  margin-top: 2rem;
}

.site-footer__social-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.site-footer__social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.site-footer__social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
  border-radius: 0.375rem;
  background: color-mix(in oklab, var(--primary) 5%, transparent);
  color: var(--primary);
  transition:
    background 0.2s,
    color 0.2s;
}

.site-footer__social-links a:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.site-footer__social-links a svg {
  width: 1.125rem;
  height: 1.125rem;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.site-footer__bottom p {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.site-footer__bottom svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: var(--primary);
}

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

.site-footer__bottom a:hover {
  color: var(--foreground);
}

.site-footer__mid-rule {
  display: flex;
  align-items: center;
  margin-top: 4rem;
}

.site-footer__mid-rule span:first-child,
.site-footer__mid-rule span:last-child {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    color-mix(in oklab, var(--primary) 40%, transparent)
  );
}

.site-footer__mid-rule span:last-child {
  background: linear-gradient(
    to left,
    transparent,
    color-mix(in oklab, var(--primary) 40%, transparent)
  );
}

.site-footer__mid-rule span:nth-child(2) {
  width: 6px;
  height: 6px;
  margin-inline: 0.5rem;
  transform: rotate(45deg);
  background: color-mix(in oklab, var(--primary) 70%, transparent);
}

/* Podstrony */
.page-hero {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .page-hero {
    padding-top: calc(var(--header-h-md) + 5rem);
  }
}

.page-hero__title {
  margin: 1rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.page-content {
  padding-bottom: 5rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.page-content h2 {
  margin-top: 2.5rem;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.page-content p + p {
  margin-top: 1rem;
}

/* Podstrony — hero (v0) */
.contact-hero,
.subpage-hero {
  border-bottom: 1px solid var(--border);
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .contact-hero,
  .subpage-hero {
    padding-top: calc(var(--header-h-md) + 5rem);
    padding-bottom: 6rem;
  }
}

.contact-hero__title,
.subpage-hero__title {
  margin: 1.5rem 0 0;
  max-width: 56rem;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.contact-hero__title em,
.subpage-hero__title em {
  display: block;
  font-style: italic;
  color: var(--primary);
}

.contact-hero__lead,
.subpage-hero__lead {
  margin: 2rem 0 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .contact-hero__lead,
  .subpage-hero__lead {
    font-size: 1.125rem;
  }
}

.contact-layout {
  display: grid;
  gap: 4rem;
  padding: 4rem 0 5rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 7fr 5fr;
    gap: 5rem;
  }
}

.contact-layout__form > .eyebrow,
.contact-layout__aside > .eyebrow {
  margin: 0;
}

.contact-form-v0 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}

.contact-form-v0__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .contact-form-v0__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form-v0__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form-v0__field label {
  margin: 0;
}

.contact-form-v0 input,
.contact-form-v0 select,
.contact-form-v0 textarea {
  width: 100%;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--foreground);
  font: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form-v0 input::placeholder,
.contact-form-v0 textarea::placeholder {
  color: color-mix(in oklab, var(--muted-foreground) 70%, transparent);
}

.contact-form-v0 input:focus,
.contact-form-v0 select:focus,
.contact-form-v0 textarea:focus {
  border-bottom-color: var(--primary);
}

.contact-form-v0 select {
  appearance: none;
  cursor: pointer;
}

.contact-form-v0 select option {
  background: var(--card);
  color: var(--foreground);
}

.contact-form-v0 textarea {
  min-height: 6rem;
  resize: none;
  line-height: 1.625;
}

.contact-form-v0__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.contact-form-v0__submit {
  padding: 1rem 2rem;
}

.contact-form-v0__note {
  max-width: 20rem;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.contact-form-v0__error {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--destructive);
}

.contact-form-v0__success {
  margin: 2.5rem 0 0;
  color: var(--primary);
}

.contact-details {
  display: flex;
  flex-direction: column;
  margin: 2.5rem 0 0;
}

.contact-details__row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.contact-details__row:last-child {
  border-bottom: 1px solid var(--border);
}

.contact-details__row svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--primary);
}

.contact-details dt {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.contact-details dd {
  margin: 0.5rem 0 0;
  font-size: 1rem;
}

.contact-details a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-details a:hover {
  color: var(--primary);
}

.contact-promo {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--card);
}

.contact-promo__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.375;
}

.contact-promo__text {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* O firmie (v0) */
.about-split {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .about-split {
    padding: 7rem 0;
  }
}

.about-split__grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .about-split__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background: var(--card);
}

@media (min-width: 768px) {
  .about-split__text {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .about-split__text {
    padding: 4rem;
  }
}

.about-split__title {
  margin: 1rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.about-split__prose {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.about-split__prose p {
  margin: 0;
}

.about-split__btn {
  margin-top: 2.5rem;
  width: fit-content;
  height: 2.75rem;
  padding-inline: 1.5rem;
}

.about-split__media {
  position: relative;
  min-height: 360px;
}

@media (min-width: 1024px) {
  .about-split__media {
    min-height: 100%;
  }
}

.about-split__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.about-principles {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .about-principles {
    padding: 7rem 0;
  }
}

.about-principles__title {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.principles-grid {
  display: grid;
  gap: 1px;
  margin-top: 3.5rem;
  background: var(--border);
}

@media (min-width: 768px) {
  .principles-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.principles-grid__item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--background);
}

@media (min-width: 768px) {
  .principles-grid__item {
    padding: 2.5rem;
  }
}

.principles-grid__heading {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.375;
}

.principles-grid__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.about-quote {
  border-top: 1px solid var(--border);
}

.about-quote__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

@media (min-width: 768px) {
  .about-quote__media {
    aspect-ratio: 21 / 9;
  }
}

.about-quote__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-quote__body {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .about-quote__body {
    padding: 5rem 0;
  }
}

.about-quote__text {
  max-width: 48rem;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.375;
  text-wrap: balance;
}

.about-quote__author {
  margin: 2rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.about-cta {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .about-cta {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 7rem 0;
  }
}

.about-cta__title {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.about-cta__lead {
  max-width: 28rem;
  margin: 1.5rem 0 0;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.about-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

.about-cta__primary {
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 2rem;
  font-weight: 500;
}

.about-cta__phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 2rem;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.about-cta__phone:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.about-cta__phone-hours {
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--muted-foreground);
}

.icon-chevron {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.3s;
}

.site-nav__dropdown-trigger .icon-chevron {
  width: 0.875rem;
  height: 0.875rem;
}

.site-nav__dropdown.is-open .icon-chevron,
.site-nav__dropdown:hover .icon-chevron {
  transform: rotate(180deg);
}
