@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Inline SVG – skalowanie z root (rem) zamiast atrybutów width/height w px */
.ui-icon-svg {
  display: block;
  flex-shrink: 0;
}
.ui-icon-svg--14 {
  width: 0.875rem;
  height: 0.875rem;
}
.ui-icon-svg--20 {
  width: 1.25rem;
  height: 1.25rem;
}
.ui-icon-svg--24 {
  width: 1.5rem;
  height: 1.5rem;
}

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

:root {
  --promo-bar-h: 3.25rem;
  --bg: #ffffff;
  --bg-elevated: #f5f5f5;
  --bg-card: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --text-primary: #1a1a1a;
  --text: var(--text-primary);
  --text-muted: #525252;
  --accent: #6366f1;
  --accent-dim: rgba(99, 102, 241, 0.12);
  --success: #16a34a;
  --warning: #ca8a04;
  --critical: #dc2626;
  --high: #ea580c;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 2.5rem;
  /* Przyciski „otwórz popup” – jeden styl (biały przycisk, ciemna ikona) */
  --popup-btn-bg: #ffffff;
  --popup-btn-color: var(--text-primary);
  --popup-btn-border: rgba(0, 0, 0, 0.12);
  --popup-hint-accent: rgba(26, 26, 26, 0.58);
  --popup-hint-accent-soft: rgba(26, 26, 26, 0.1);
  --popup-hint-border: rgba(26, 26, 26, 0.14);
  /* Tło kafelka AI i placeholderów slidera – jasne, kontrast z ciemnym tekstem */
  --tile-bg: linear-gradient(165deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: var(--font-sans);
  --tracking-heading: -0.04em;
  --heading-weight: 600;
  --heading-weight-soft: 500;
  --value-sheet-content-pad-x-desktop: 50px;
  /* Sheety pod przypiętym chrome; chrome zawsze klikalny nad sheetem */
  --z-sheet-scrim: 99990;
  --z-sheet-panel: 99991;
  --z-chrome-pinned: 100010;
}

/* ----- Popup hint — ujednolicony przycisk „otwórz popup” ----- */
.popup-hint {
  --popup-hint-size: 1.65rem;
  --popup-hint-icon: 0.78rem;
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--popup-hint-size);
  height: var(--popup-hint-size);
  padding: 0;
  border: 1px solid var(--popup-hint-border);
  border-radius: 50%;
  background: linear-gradient(148deg, #ffffff 0%, #fafafa 52%, #f3f3f3 100%);
  color: var(--popup-hint-accent);
  cursor: pointer;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  animation: popup-hint-pulse 1.35s ease-in-out infinite;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.popup-hint::after {
  content: "";
  position: absolute;
  inset: -45%;
  background: linear-gradient(
    105deg,
    transparent 36%,
    rgba(255, 255, 255, 0.72) 48%,
    transparent 60%
  );
  transform: translateX(-125%) rotate(14deg);
  animation: popup-hint-shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}

.popup-hint__icon,
.popup-hint > svg,
.popup-hint .ui-icon-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: var(--popup-hint-icon);
  height: var(--popup-hint-icon);
}

.popup-hint--sm {
  --popup-hint-size: 1.65rem;
  --popup-hint-icon: 0.78rem;
}

.popup-hint--md {
  --popup-hint-size: 1.85rem;
  --popup-hint-icon: 0.88rem;
}

.popup-hint--lg {
  --popup-hint-size: 2.75rem;
  --popup-hint-icon: 1.2rem;
  border-radius: 0.75rem;
}

.popup-hint--on-dark {
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(148deg, #ffffff 0%, #f7f7f7 58%, #efefef 100%);
  color: rgba(26, 26, 26, 0.62);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.popup-hint--decorative {
  pointer-events: none;
  cursor: default;
}

.popup-hint:hover,
.popup-hint:focus-visible {
  animation-play-state: paused;
  color: rgba(26, 26, 26, 0.82);
  border-color: rgba(26, 26, 26, 0.24);
  transform: scale(1.07);
  opacity: 1;
}

.popup-hint:focus-visible {
  outline: 2px solid rgba(26, 26, 26, 0.22);
  outline-offset: 2px;
}

@keyframes popup-hint-pulse {
  0%,
  100% {
    border-color: rgba(26, 26, 26, 0.12);
    box-shadow:
      0 1px 3px rgba(0, 0, 0, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.94),
      0 0 0 0 rgba(26, 26, 26, 0);
    opacity: 0.82;
  }

  50% {
    border-color: rgba(26, 26, 26, 0.28);
    box-shadow:
      0 2px 10px rgba(26, 26, 26, 0.12),
      inset 0 1px 0 #fff,
      0 0 0 0.28rem var(--popup-hint-accent-soft);
    opacity: 1;
  }
}

@keyframes popup-hint-shimmer {
  0%,
  70%,
  100% {
    transform: translateX(-125%) rotate(14deg);
    opacity: 0;
  }

  78% {
    opacity: 1;
  }

  88% {
    transform: translateX(125%) rotate(14deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .popup-hint {
    animation: none;
  }

  .popup-hint::after {
    display: none;
  }
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  /* Ciemne tło u góry – żadna biała linia nad hero/menu */
  background: #0E0E0E;
  /* Bez niebieskiego podświetlenia przy tapie na mobile */
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  background: #0E0E0E;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  overflow-x: clip;
  max-width: 100%;
}

p {
  font-size: 0.8125rem;
  font-family: var(--font-sans);
}

li {
  font-family: var(--font-sans);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  letter-spacing: var(--tracking-heading);
  font-size: 0.9375rem;
}

/* Nagłówki i tekst ≥18px (1.125rem przy html 16px) */
:is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .value-sheet-title,
  .value-tile-title,
  .value-tile-num,
  .hero-panel__headline,
  .hero-panel__headline-line,
  .hero-word-pill,
  .home-trust-panel__headline,
  .home-showcase-card__title,
  .home-earn-card__title,
  .home-process-offer__tile-label,
  .home-process-offer__step-pill .home-process-offer__step-text,
  [class*="__title-strong"],
  [class*="__title-line"],
  [class*="__headline"]
) {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  letter-spacing: var(--tracking-heading);
}

.container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  margin-top: 3.5rem;
}

/* ----- Promotion bar (spacer + fixed wrapper + slot) ----- */
.promo-spacer {
  overflow: hidden;
  min-height: 0;
}

.promo-wrapper {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  will-change: transform;
  height: 6.75rem;
}

/* Lovart-style: tylko header nad hero, bez promo paska */
.promo-wrapper.promo-wrapper--lovart,
.promo-wrapper.promo-wrapper--header-only {
  height: 3.5rem;
}
.promo-wrapper.promo-wrapper--lovart .promotion-bar,
.promo-wrapper.promo-wrapper--header-only .promotion-bar {
  display: none;
}

.promo-spacer.promo-spacer--header-only {
  height: 0 !important;
  min-height: 0 !important;
}

.promo-wrapper[data-hidden="true"] {
  display: none;
}

.promotion-bar {
  flex-shrink: 0;
  min-height: 3.25rem;
  height: 3.25rem;
  background: #1b5e20;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding: 0.375rem 1rem;
  font-family: inherit;
}

.promotion-bar__text {
  font-size: 0.6875rem;
  line-height: 1.32;
  color: #fff;
  margin: 0;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

.promo-bar-bold {
  font-weight: 800;
}

.promotion-bar__label {
  font-weight: 500;
}

.promotion-bar__countdown {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

.promotion-bar__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.45rem;
  height: 1.75rem;
  padding: 0 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #111827;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
}

.promotion-bar__cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #2e7d32;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease;
}

.promotion-bar__cta:hover {
  background: #1b5e20;
}

.promo-header-slot {
  flex-shrink: 0;
  width: 100%;
  height: 3.5rem;
  display: flex;
  align-items: center;
}

.promo-header-slot .site-header {
  width: 100%;
}

/* ----- Header: frosted glass (backdrop + mask „next-level” blur) ----- */
.site-header {
  --header-glass-thickness: 0.25rem;
  position: relative;
  top: auto;
  z-index: 100;
  padding: 1rem 1.5rem;
  padding-top: calc(1rem + env(safe-area-inset-top, 0));
  min-height: 1.5rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

/* Fallback gdy brak backdrop-filter – nieprzezroczyste tło */
.site-header:not(.header--light) {
  background: rgba(14, 14, 14, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}
.site-header.header--light {
  background: rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

/* Warstwy szkła (blur) – tylko gdy przeglądarka wspiera backdrop-filter */
@supports (backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px)) {
  .site-header:not(.header--light) {
    background: rgba(14, 14, 14, 0.28);
  }
  .site-header.header--light {
    background: rgba(255, 255, 255, 0.22);
  }

  .header-backdrop {
    position: absolute;
    inset: 0;
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
    pointer-events: none;
    /* Gradient tylko u góry – półprzezroczysty, więcej tła widać */
    background: linear-gradient(
      to bottom,
      rgba(14, 14, 14, 0.45) 0%,
      transparent 45%
    );
  }

  .site-header.header--light .header-backdrop {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.2) 0%,
      transparent 45%
    );
  }

  /* Krawędź dolna wyłączona – nie przyciemniać dołu menu */
  .header-backdrop-edge {
    display: none;
  }
}

/* Rozszerzony blur („widzi” treść poniżej) – mask przycina rozszerzoną warstwę */
@supports (mask-image: none) or (-webkit-mask-image: none) {
  .header-backdrop {
    height: 200%;
    -webkit-mask-image: linear-gradient(
      to bottom,
      black 0% 50%,
      transparent 50% 100%
    );
    mask-image: linear-gradient(
      to bottom,
      black 0% 50%,
      transparent 50% 100%
    );
  }
}

/* Lovart: solidny czarny header – wyłącz warstwy szkła */
.site-header--lovart .header-backdrop,
.site-header--lovart .header-backdrop-edge {
  display: none;
}

/* Stara „czapka” nad headerem – wyłączona gdy mamy nowy gradient w .header-backdrop */
@supports (backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px)) {
  .site-header:not(.header--light)::before {
    display: none;
  }
}
.site-header:not(.header--light)::before {
  content: "";
  position: absolute;
  top: calc(-1 * (1.25rem + env(safe-area-inset-top, 0)));
  left: 0;
  right: 0;
  height: calc(1.875rem + env(safe-area-inset-top, 0));
  background: rgba(14, 14, 14, 0.25);
  z-index: -1;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 75rem;
  margin: 0 auto;
  gap: 1.5rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Obok logotypu — podpisy (mobile), znikają przy scrollu */
.header-logo-caption {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  min-width: 0;
  line-height: 1.2;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s ease, transform 0.24s ease;
}

.header-logo-caption__line,
.header-logo-caption__line--sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  text-transform: none;
}

.text-scramble {
  display: block;
}

.text-scramble__char {
  display: inline-block;
}

.text-scramble__char--space {
  display: inline;
}

.text-scramble__char.is-scrambling {
  opacity: 0.72;
}

.site-header.header--light .header-logo-caption__line,
.site-header.header--light .header-logo-caption__line--sub {
  color: var(--text);
}

.site-header.header--scrolled .header-logo-caption {
  opacity: 0;
  transform: translateY(-0.2rem);
  pointer-events: none;
}

/* Scroll lock zeruje window.scrollY — bez tego podpisy wracają przy otwartym menu / sheecie */
body.menu-open .header-logo-caption,
html.is-body-locked .header-logo-caption {
  opacity: 0;
  transform: translateY(-0.2rem);
  pointer-events: none;
}

@media (max-width: 767px) {
  .header-logo-caption {
    display: flex;
  }
}

@media (min-width: 768px) {
  .header-logo-caption {
    display: none !important;
  }
}

/* Legacy — podstrony ai/new */
.header-logo-name {
  display: none;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.2s ease;
}

.header-logo-name-line {
  display: block;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.site-header.header--light .header-logo-name,
.site-header.header--scrolled .header-logo-name {
  opacity: 0;
  transform: translateY(-0.25rem);
  pointer-events: none;
}

body.menu-open .header-logo-name,
html.is-body-locked .header-logo-name {
  opacity: 0;
  transform: translateY(-0.25rem);
  pointer-events: none;
}

@media (max-width: 767px) {
  .header-logo-name {
    display: flex;
  }
}

@media (min-width: 768px) {
  .header-logo-name {
    display: none !important;
  }
}

.site-header .logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.35s ease;
}
.site-header .logo:hover {
  opacity: 0.85;
}
.site-header .logo-img {
  display: block;
  height: 1.75rem;
  width: auto;
  object-fit: contain;
}
.site-header .logo-img--black {
  display: none;
}
.site-header .logo-img--white {
  display: block;
}

.header-tag {
  display: none;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.1875rem 0.5rem;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fafafa;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 767px) {
  .header-tag {
    display: inline-block;
  }
}

.nav-main {
  display: none;
  align-items: center;
  gap: 0;
  position: relative;
  flex: 0 1 auto;
  justify-content: flex-start;
  min-width: 0;
  overflow: visible;
}

.nav-main a,
.nav-menu__trigger {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.35s ease;
}

.nav-main a:hover,
.nav-menu__trigger:hover {
  color: #fafafa;
}

.nav-main a.is-active,
.nav-menu__trigger.is-active,
.nav-menu__trigger[data-state="open"] {
  color: #fafafa;
}

/* ----- Desktop nav menu (Radix-style) ----- */
.nav-menu {
  --nav-menu-viewport-width: 0px;
  --nav-menu-viewport-height: 0px;
  --nav-menu-indicator-left: 50%;
  /* Radix Navigation Menu — domyślne ustawienia animacji paneli */
  --nav-menu-motion-duration: 250ms;
  --nav-menu-motion-ease: ease;
  --nav-menu-motion-distance: 200px;
  --nav-menu-viewport-duration: 250ms;
}

.nav-menu--split {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
  justify-content: stretch;
}

.nav-menu__split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.nav-menu__list--start,
.nav-menu__list--end {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  min-width: 0;
}

.nav-menu__list--end {
  justify-content: flex-end;
}

.nav-menu__list--end .nav-menu__item--cta {
  margin-left: 0.35rem;
}

.nav-menu__trigger {
  max-width: 14.5rem;
  text-align: left;
  line-height: 1.25;
}

.nav-menu__list--start .nav-menu__trigger {
  max-width: 16.5rem;
}

@media (min-width: 768px) and (max-width: 1180px) {
  .nav-menu__split {
    gap: 0.5rem;
  }

  .nav-menu__trigger {
    padding-inline: 0.5rem;
    font-size: 0.75rem;
    max-width: 12.5rem;
  }

  .nav-menu__list--start .nav-menu__trigger {
    max-width: 14rem;
  }
}

.nav-menu__list {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu__item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.4375rem 0.625rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu__trigger:hover,
.nav-menu__trigger[data-state="open"] {
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu__link {
  display: inline-flex;
  align-items: center;
  padding: 0.4375rem 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu__link:hover,
.nav-menu__link.is-active {
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu__link--live {
  position: relative;
}

.nav-menu__link-live-dot {
  position: absolute;
  top: 0.18rem;
  right: 0.22rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #6aad4f;
  box-shadow: 0 0 0 0 rgba(106, 173, 79, 0.5);
  animation: nav-link-live-pulse 2.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes nav-link-live-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(106, 173, 79, 0.48);
  }

  50% {
    opacity: 0.72;
    box-shadow: 0 0 0 0.28rem rgba(106, 173, 79, 0);
  }
}

.nav-menu__chevron {
  width: 0.75rem;
  height: 0.75rem;
  opacity: 0.72;
  transition: transform 0.2s ease;
}

.nav-menu__trigger[data-state="open"] .nav-menu__chevron {
  transform: rotate(180deg);
}

.nav-menu__viewport-position {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 200;
  pointer-events: none;
  width: var(--nav-menu-viewport-width, auto);
}

.nav-menu[data-state="open"] .nav-menu__viewport-position {
  pointer-events: auto;
}

.nav-menu__indicator {
  position: absolute;
  top: -0.35rem;
  left: var(--nav-menu-indicator-left);
  width: 0.625rem;
  height: 0.625rem;
  transform: translateX(-50%) rotate(45deg);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: none;
  border-right: none;
  border-radius: 2px 0 0 0;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    left 0.28s cubic-bezier(0.33, 1, 0.68, 1);
  pointer-events: none;
}

.nav-menu__indicator[data-state="visible"] {
  opacity: 1;
}

.nav-menu__viewport {
  position: relative;
  width: var(--nav-menu-viewport-width);
  height: var(--nav-menu-viewport-height);
  max-width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 4px 8px rgba(15, 23, 42, 0.04),
    0 12px 24px rgba(15, 23, 42, 0.06),
    0 32px 64px -16px rgba(15, 23, 42, 0.16);
  transition:
    height var(--nav-menu-viewport-duration) var(--nav-menu-motion-ease),
    width var(--nav-menu-viewport-duration) var(--nav-menu-motion-ease),
    opacity 0.2s ease,
    transform 0.2s ease;
  transform-origin: top center;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav-menu__viewport[data-state="closed"] {
  opacity: 0;
  transform: scale(0.96) translateY(-4px);
}

.nav-menu__viewport[data-state="open"] {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.nav-menu__credit {
  display: none;
  margin-top: 0.55rem;
  padding: 0 0.15rem;
  text-align: left;
}

.nav-menu[data-state="open"] .nav-menu__credit {
  display: grid;
  gap: 0.12rem;
}

.nav-menu__credit-tenure {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: rgba(26, 26, 26, 0.42);
}

.nav-menu__credit-legal {
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(26, 26, 26, 0.52);
}

.page-portfolio-home .site-header.header--over-hero:not(.header--light) .nav-menu__credit-tenure,
.page-portfolio-home .site-header.header--over-hero:not(.header--light) .nav-menu__credit-legal,
.page-ver1 .site-header.header--over-hero:not(.header--light) .nav-menu__credit-tenure,
.page-ver1 .site-header.header--over-hero:not(.header--light) .nav-menu__credit-legal {
  color: rgba(255, 255, 255, 0.58);
}

.nav-menu__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  animation-duration: var(--nav-menu-motion-duration);
  animation-timing-function: var(--nav-menu-motion-ease);
  animation-fill-mode: both;
  z-index: 0;
}

.nav-menu__content[data-motion] {
  will-change: transform;
}

.nav-menu__content:not([hidden]) {
  z-index: 1;
}

.nav-menu__content[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  animation: none !important;
}

.nav-menu__content[data-motion="from-start"],
.nav-menu__content[data-motion="from-end"] {
  z-index: 2;
}

.nav-menu__content[data-motion="to-start"],
.nav-menu__content[data-motion="to-end"] {
  z-index: 0;
  pointer-events: none;
}

.nav-menu__content[data-motion="from-start"] {
  animation-name: nav-menu-enter-from-start;
}

.nav-menu__content[data-motion="from-end"] {
  animation-name: nav-menu-enter-from-end;
}

.nav-menu__content[data-motion="to-start"] {
  animation-name: nav-menu-exit-to-start;
}

.nav-menu__content[data-motion="to-end"] {
  animation-name: nav-menu-exit-to-end;
}

.nav-menu__panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.125rem;
}

.nav-menu__panel-item--featured {
  margin-top: 0.25rem;
  padding-top: 0.375rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-menu__panel-link {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s ease;
}

.nav-menu__panel-link:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nav-menu__panel-link--button {
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.nav-menu__panel-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.nav-menu__panel-desc {
  font-size: 0.75rem;
  line-height: 1.35;
  color: #737373;
}

.nav-menu__panel-cta {
  display: inline-flex;
  margin-top: 0.5rem;
  padding: 0.375rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #632d45;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background 0.15s ease;
}

.nav-menu__panel-cta:hover {
  background: rgba(99, 45, 69, 0.08);
}

.nav-menu__content--tiles {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  padding: 1.15rem 1.25rem 1.25rem;
  box-sizing: border-box;
}

.nav-menu__tiles-head {
  width: 100%;
}

.nav-menu__content--tiles .nav-menu__intro {
  margin: 0 0 0.15rem;
  padding: 0 0.125rem;
}

.nav-menu__content--tiles .nav-menu__intro-lead {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  max-width: 36rem;
}

.nav-menu__tiles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  width: 100%;
}

.nav-menu__tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
  min-height: 8.75rem;
  padding: 1rem 1.05rem;
  border-radius: 0.9rem;
  background: #f6f6f5;
  border: 1px solid rgba(0, 0, 0, 0.055);
  text-decoration: none;
  color: inherit;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.nav-menu__tile--span-2 {
  grid-column: span 2;
}

.nav-menu__tile--featured {
  min-height: 4.75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.1rem;
  background: #dff6bf;
  border-color: rgba(45, 91, 26, 0.16);
}

.nav-menu__tile--featured .nav-menu__tile-title {
  grid-column: 1;
  grid-row: 1;
  font-size: 0.9375rem;
}

.nav-menu__tile--featured .nav-menu__tile-desc {
  grid-column: 1;
  grid-row: 2;
}

.nav-menu__tile--featured::after {
  grid-column: 2;
  grid-row: 1 / span 2;
  content: "→";
  flex-shrink: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: #285d29;
  line-height: 1;
}

.nav-menu__tile--link:hover {
  background: #eeeeec;
  border-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.nav-menu__tile--button {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.nav-menu__tile--featured:hover {
  background: #d3f0ad;
  border-color: rgba(45, 91, 26, 0.24);
}

.nav-menu__tile-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.nav-menu__tile-desc {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #737373;
}

.nav-menu__content--works .nav-menu__intro-lead {
  max-width: 42rem;
}

.nav-menu__tiles-grid--works {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.nav-menu__tile--work {
  position: relative;
  min-height: 8.25rem;
  padding: 1rem 1rem 0.95rem;
  border: none;
  background: #dff5d0;
  justify-content: flex-start;
  gap: 0;
}

.nav-menu__tile--work:hover {
  background: #d3f0ad;
  border-color: transparent;
}

.nav-menu__tile--work .nav-menu__tile-title {
  color: #1a1a1a;
}

.nav-menu__tile--work .nav-menu__tile-desc {
  color: rgba(26, 26, 26, 0.62);
  max-width: 18ch;
}

.nav-menu__tile-tag {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
}

.nav-menu__tiles-grid--works .nav-menu__tile--filler {
  min-height: 8.25rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  justify-content: center;
}

.nav-menu__tiles-grid--works .nav-menu__tile--featured {
  grid-column: 1 / -1;
  min-height: 4.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #c8f7a8;
  border: none;
}

.nav-menu__tiles-grid--works .nav-menu__tile--featured .nav-menu__tile-title {
  font-size: 1rem;
}

.nav-menu__tiles-grid--works .nav-menu__tile--featured .nav-menu__tile-desc {
  margin-top: 0.2rem;
  max-width: none;
}

.nav-menu__tiles-grid--works .nav-menu__tile--featured .nav-menu__tile-tag {
  margin-top: 0;
  flex-shrink: 0;
}

.nav-menu__tiles-grid--works .nav-menu__tile--featured::after {
  display: none;
}

.nav-menu__content--works-catalog {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.35rem 1.4rem;
  width: 100%;
  box-sizing: border-box;
}

.nav-menu__content--works-catalog .nav-menu__intro-lead {
  max-width: none;
}

.nav-menu__works-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  width: 100%;
}

.nav-menu__works-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.nav-menu__works-col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.nav-menu__works-col-label {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.nav-menu__works-col-link {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  white-space: nowrap;
}

.nav-menu__works-col-link:hover {
  text-decoration: underline;
}

.nav-menu__works-col-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.nav-menu__case-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #f4f4f2;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.nav-menu__case-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.nav-menu__case-tile-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e8e6;
}

.nav-menu__case-tile-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-menu__case-tile-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.62rem 0.68rem 0.72rem;
}

.nav-menu__case-tile-title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}

.nav-menu__case-tile-desc {
  font-size: 0.6875rem;
  line-height: 1.35;
  color: #737373;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .nav-menu__works-col-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-menu__works-catalog {
    grid-template-columns: 1fr;
  }
}

.nav-menu__tile--filler {
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 0.1rem;
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  cursor: default;
  user-select: none;
}

.nav-menu__tile-filler-stat {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #285d29;
}

.nav-menu__tile-filler-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.nav-menu__tile-filler-desc {
  display: none;
}

.nav-menu__content--panel-split.nav-menu__content--tiles {
  flex-direction: row;
  align-items: stretch;
  gap: 1.125rem;
}

.nav-menu__content--panel-split.nav-menu__content--tiles .nav-menu__panel-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-menu__content--grid {
  min-width: 0;
  padding: 1rem 1.125rem;
}

.nav-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
}

.nav-menu__grid-col {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}

.nav-menu__grid-label {
  margin: 0 0 0.25rem;
  padding: 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.nav-menu__grid-items {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.nav-menu__grid-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.4375rem 0.5rem;
  border-radius: 0.4375rem;
  cursor: default;
  user-select: none;
}

.nav-menu__grid-item-title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.nav-menu__grid-item-desc {
  font-size: 0.6875rem;
  line-height: 1.35;
  color: #737373;
}

.nav-menu__grid-item--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

.nav-menu__grid-item--link:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nav-menu__content--grid-split {
  display: flex;
  align-items: stretch;
  gap: 1.125rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding: 1rem 1.125rem;
  box-sizing: border-box;
}

.nav-menu__content--panel-split {
  display: flex;
  align-items: stretch;
  gap: 1.125rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding: 1rem 1.125rem;
  box-sizing: border-box;
}

.nav-menu__panel-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.nav-menu__intro {
  margin: 0 0 0.75rem;
  padding: 0 0.25rem;
}

.nav-menu__intro-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.nav-menu__intro-lead {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #525252;
  max-width: 36rem;
}

.nav-menu__panel-list--cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.125rem 0.75rem;
}

.nav-menu__content--panel-split .nav-menu__panel-cta {
  margin-top: 0.65rem;
}

.nav-menu__content--grid-split .nav-menu__grid-body {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-menu__grid-media {
  flex: 0 0 11.5rem;
  width: 11.5rem;
  min-width: 11.5rem;
}

.nav-menu__grid-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 15rem;
  border-radius: 0.625rem;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.06) 100%);
}

.nav-menu__grid-media-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a9a9a;
}

@media (max-width: 1023px) {
  .nav-menu__content--grid {
    min-width: 28rem;
  }

  .nav-menu__content--grid-split,
  .nav-menu__content--panel-split {
    flex-direction: column;
  }

  .nav-menu__content--panel-split.nav-menu__content--tiles {
    flex-direction: column;
  }

  .nav-menu__tiles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-menu__panel-list--cols {
    grid-template-columns: 1fr;
  }

  .nav-menu__grid-media {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
  }

  .nav-menu__grid-media-placeholder {
    min-height: 10rem;
  }

  .nav-menu__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@keyframes nav-menu-enter-from-start {
  from {
    opacity: 0;
    transform: translateX(calc(-1 * var(--nav-menu-motion-distance)));
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes nav-menu-enter-from-end {
  from {
    opacity: 0;
    transform: translateX(var(--nav-menu-motion-distance));
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes nav-menu-exit-to-start {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(calc(-1 * var(--nav-menu-motion-distance)));
  }
}

@keyframes nav-menu-exit-to-end {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(var(--nav-menu-motion-distance));
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu__content[data-motion="from-start"],
  .nav-menu__content[data-motion="from-end"],
  .nav-menu__content[data-motion="to-start"],
  .nav-menu__content[data-motion="to-end"] {
    animation-duration: 0.01ms !important;
    filter: none !important;
    transform: none !important;
  }
}

.site-header {
  overflow: visible;
}

@media (min-width: 768px) {
  .promo-wrapper:has(.nav-menu[data-state="open"]) {
    overflow: visible;
    height: auto;
    min-height: 6.75rem;
  }

  .promo-header-slot {
    overflow: visible;
  }

  .site-header {
    overflow: visible;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--text);
  color: #fff;
}

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

.btn-header {
  background: #fafafa;
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

.btn-small {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #fafafa;
  transition: color 0.35s ease;
}

.hamburger:hover {
  color: rgba(255, 255, 255, 0.75);
}

.hamburger-line {
  width: 1.375rem;
  height: 0.125rem;
  background: currentColor;
  border-radius: 1px;
}

/* ----- Lovart-style header: czarne tło, logo, Get started (pill), hamburger ----- */
.site-header--lovart {
  background: #000 !important;
  border-bottom: none;
}
.site-header--lovart::before {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  margin-left: auto;
  flex-shrink: 0;
}

.header-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.header-nav-link {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.4375rem 0.625rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.header-nav-link:hover,
.header-nav-link.is-active {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}

.header-nav-cta {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  background: #1a1a1a;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.header-nav-cta:hover {
  background: #2e2e2e;
  color: #ffffff;
}

.header-nav-cta:active {
  transform: scale(0.98);
}

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

  .header-nav-cta {
    display: inline-flex;
  }
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 624.9375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  color: var(--text);
  background: #e8e8e8;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-pill:hover {
  background: #f0f0f0;
  color: var(--text);
}

.logo-lovart {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.2s ease;
}
.logo-lovart:hover {
  opacity: 0.9;
  color: #fff;
}
.logo-lovart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-lovart-icon svg {
  display: block;
}
.logo-lovart-text {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-mobile .logo-lovart {
  color: var(--text);
}
.nav-mobile .logo-lovart-text {
  font-size: 1rem;
}

/* Menu mobilne — ustawienia (nadpisywane na .page-portfolio-home) */
:root {
  --nav-mobile-duration: 0.2s;
  --nav-mobile-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --nav-mobile-header-pad-y: 0.375rem;
}

/* Menu mobilne – full-screen overlay (układ dwukolumnowy, jasne tło) */
.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  inset: 0;
  height: 100svh;
  max-height: 100svh;
  background: #ffffff;
  color: var(--text);
  z-index: 10001;
  overflow: hidden;
  overscroll-behavior: none;
}

body.menu-open {
  overflow: hidden;
}

html.is-body-locked,
body.is-body-locked {
  overflow: hidden;
}

/* Na mobile: menu zawsze w DOM (display: flex), animacja przez transform + opacity (GPU) */
@media (max-width: 767px) {
  .nav-mobile {
    display: flex;
    left: auto;
    right: 0;
    width: 100%;
    max-width: 100%;
    transform: translate3d(100%, 0, 0);
    opacity: 1;
    pointer-events: none;
    transition: transform var(--nav-mobile-duration) var(--nav-mobile-ease);
  }

  body.menu-open .nav-mobile {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    pointer-events: auto;
    min-height: 100svh;
    height: 100svh;
    padding: 0;
    border-bottom: none;
    box-shadow: none;
  }

  .nav-mobile-content {
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

.nav-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding:
    calc(var(--nav-mobile-header-pad-y) + env(safe-area-inset-top, 0px))
    var(--home-chrome-pad-x, 1rem)
    var(--nav-mobile-header-pad-y);
  flex-shrink: 0;
}

.nav-mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1 1 auto;
}

.nav-mobile-brand-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.08rem;
  min-width: 0;
  line-height: 1.15;
}

.nav-mobile-brand-caption__line,
.nav-mobile-brand-caption__line--sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
}

.nav-mobile-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
  margin: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.nav-mobile-logo.logo-lovart {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-mobile-logo img {
  display: block;
  height: 1.2rem;
  width: auto;
  min-height: 1.1rem;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-mobile-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background 0.2s;
}
.nav-mobile-close:hover {
  background: rgba(0, 0, 0, 0.05);
}
.nav-mobile-close svg {
  width: 1.375rem;
  height: 1.375rem;
}

.nav-mobile-content {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nav-mobile-body {
  flex: 0 1 auto;
  min-height: 0;
  padding: 0.22rem 1.15rem 0.18rem;
  overflow-x: hidden;
  overflow-y: visible;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.nav-mobile-credit {
  flex-shrink: 0;
  margin-top: auto;
  padding: 0.95rem 1.15rem calc(0.85rem + env(safe-area-inset-bottom, 0));
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-mobile-credit__tenure,
.nav-mobile-credit__legal {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(26, 26, 26, 0.52);
}

.nav-mobile-credit__tenure {
  font-weight: 600;
  color: rgba(26, 26, 26, 0.42);
}

.nav-mobile-credit__legal {
  margin-top: 0.12rem;
  font-weight: 500;
}

.nav-mobile-top,
.nav-mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(0.85rem, 3vw, 1.5rem);
}

.nav-mobile-divider {
  height: 1px;
  margin: 0.28rem 0;
  background: #e8e8e8;
}

.nav-mobile-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nav-mobile-head {
  margin: 0 0 0.12rem;
  color: #8a8a8a;
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.3;
}

.nav-mobile-link {
  display: block;
  padding: 0.14rem 0;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile-link:hover {
  color: #404040;
}

.nav-mobile-col--top .nav-mobile-link {
  padding: 0.26rem 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.nav-mobile-link--compact {
  padding-top: 0.2rem;
  font-size: 0.8125rem;
}

.nav-mobile-link-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.nav-mobile-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.4375rem;
  border-radius: 0.3125rem;
  background: rgba(201, 168, 124, 0.22);
  color: #8a6535;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.nav-mobile-link-desc {
  display: block;
  margin-top: 0.25rem;
  max-width: 13.5rem;
  color: #8a8a8a;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.45;
}

.nav-mobile-link--featured {
  padding-bottom: 0.45rem;
}

.nav-mobile-col--contact {
  gap: 0.3rem;
}

.nav-mobile-social {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.15rem;
}

.nav-mobile-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #e3e3e3;
  border-radius: 0.55rem;
  color: var(--text);
  background: #fafafa;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-mobile-social-btn:hover {
  background: #f2f2f2;
  border-color: #d4d4d4;
}

.nav-mobile-social-btn svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.nav-mobile-copy-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0 0 0.15rem;
}

.nav-mobile-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  width: 100%;
  margin: 0;
  padding: 0.2rem 0;
  border: none;
  background: transparent;
  color: rgba(26, 26, 26, 0.58);
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.nav-mobile-copy__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-mobile-copy__icon,
.nav-mobile-copy svg {
  flex-shrink: 0;
  width: 0.85rem;
  height: 0.85rem;
  color: rgba(26, 26, 26, 0.38);
}

.nav-mobile-booking-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 1.85rem;
  margin-top: 0.1rem;
  padding: 0.34rem 0.6rem;
  border: 1px solid #1a1a1a;
  border-radius: 0.55rem;
  background: #1a1a1a;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-mobile-booking-btn:hover {
  background: #632d45;
  border-color: #632d45;
}

.nav-mobile-booking-btn__label {
  white-space: nowrap;
}

.nav-mobile-booking-btn__countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.08rem;
  padding-left: 0.42rem;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.625rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.48);
}

.nav-mobile-booking-btn__countdown-num {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.62);
}

.nav-mobile-booking-btn__countdown-suffix {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
  text-transform: lowercase;
}

.nav-mobile-hero-tone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.28rem;
  padding-top: 0.32rem;
  border-top: 1px solid rgba(26, 26, 26, 0.06);
}

.nav-mobile-hero-tone__hint {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.28);
}

.nav-mobile-hero-tone__switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.nav-mobile-hero-tone__track {
  position: relative;
  width: 2rem;
  height: 1.125rem;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.08);
  transition: background 0.2s ease;
}

.nav-mobile-hero-tone__thumb {
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.34);
  transition: transform 0.22s ease, background 0.2s ease;
}

.nav-mobile-hero-tone__labels {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(26, 26, 26, 0.3);
}

.nav-mobile-hero-tone__label--on {
  opacity: 0.42;
}

.nav-mobile-hero-tone__switch.is-on .nav-mobile-hero-tone__track {
  background: rgba(22, 163, 74, 0.18);
}

.nav-mobile-hero-tone__switch.is-on .nav-mobile-hero-tone__thumb {
  transform: translateX(0.875rem);
  background: #16a34a;
}

.nav-mobile-hero-tone__switch.is-on .nav-mobile-hero-tone__label--off {
  opacity: 0.42;
}

.nav-mobile-hero-tone__switch.is-on .nav-mobile-hero-tone__label--on {
  opacity: 1;
  color: rgba(22, 101, 52, 0.72);
}

.nav-mobile-hero-tone__switch:focus-visible {
  outline: 2px solid rgba(26, 26, 26, 0.22);
  outline-offset: 3px;
  border-radius: 0.35rem;
}

.font-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.font-preview--mobile {
  flex-direction: column;
  align-items: stretch;
  flex-shrink: 0;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  padding:
    0.38rem
    1.15rem
    max(0.38rem, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(26, 26, 26, 0.06);
}

.font-preview--mobile .font-preview__hint {
  margin-bottom: 0.28rem;
}

.font-preview--mobile .font-preview__options {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  flex: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  gap: 0.28rem;
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  scrollbar-width: none;
}

.font-preview--mobile .font-preview__options::-webkit-scrollbar {
  display: none;
}

.font-preview--mobile .font-preview__btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  padding: 0.3rem 0.48rem;
  font-size: 0.53125rem;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 390px) and (max-width: 767px) {
  .font-preview--mobile .font-preview__options {
    gap: 0.3rem;
  }
}

.font-preview--header {
  display: none;
}

.font-preview__hint {
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.28);
}

.font-preview__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  min-width: 0;
  flex: 1;
}

.font-preview__btn {
  margin: 0;
  padding: 0.34rem 0.45rem;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.04);
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: rgba(26, 26, 26, 0.52);
  cursor: pointer;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.font-preview__btn:hover {
  background: rgba(26, 26, 26, 0.07);
  color: rgba(26, 26, 26, 0.72);
}

.font-preview__btn.is-active {
  border-color: rgba(22, 163, 74, 0.28);
  background: rgba(22, 163, 74, 0.12);
  color: rgba(22, 101, 52, 0.88);
}

.font-preview__btn:focus-visible {
  outline: 2px solid rgba(26, 26, 26, 0.22);
  outline-offset: 2px;
}

@media (min-width: 900px) {
  .font-preview--header {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    max-width: min(24rem, 42vw);
  }

  .font-preview--header .font-preview__hint {
    display: none;
  }

  .font-preview--header .font-preview__options {
    display: flex;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    gap: 0.22rem;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.1rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .font-preview--header .font-preview__options::-webkit-scrollbar {
    display: none;
  }

  .font-preview--header .font-preview__btn {
    flex: 0 0 auto;
    padding: 0.3rem 0.42rem;
    font-size: 0.625rem;
  }

  .font-preview--mobile {
    display: none;
  }
}

.page-portfolio-home .site-header.header--over-hero:not(.header--light) .font-preview__btn {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}

.page-portfolio-home .site-header.header--over-hero:not(.header--light) .font-preview__btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
}

.page-portfolio-home .site-header.header--over-hero:not(.header--light) .font-preview__btn.is-active {
  border-color: rgba(134, 239, 172, 0.34);
  background: rgba(22, 163, 74, 0.22);
  color: #ecfdf5;
}

.nav-mobile-footer {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
  border-top: 1px solid #e8e8e8;
  background: #ffffff;
}

.nav-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-mobile-cta--ghost {
  color: var(--text);
  background: #ffffff;
  border: 1px solid #d4d4d4;
}
.nav-mobile-cta--ghost:hover {
  background: #f7f7f7;
  border-color: #c4c4c4;
}

.nav-mobile-cta--primary {
  color: #ffffff !important;
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
}
.nav-mobile-cta--primary:hover {
  color: #ffffff !important;
  background: #632d45;
  border-color: #632d45;
}

/* Header na białych sekcjach – blur z .header-backdrop */
.site-header.header--light {
  background: rgba(255, 255, 255, 0.34);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.site-header.header--light .logo-img--white {
  display: none;
}
.site-header.header--light .logo-img--black {
  display: block;
}
.site-header.header--light .header-tag {
  background: var(--text);
  color: #fff;
  border-color: transparent;
  transition: background 0.35s ease, color 0.35s ease;
}
.site-header.header--light .nav-main a:not(.header-nav-cta),
.site-header.header--light .nav-menu__trigger,
.site-header.header--light .header-nav-link {
  color: var(--text-muted);
  transition: color 0.35s ease;
}
.site-header.header--light .nav-main a:not(.header-nav-cta):hover,
.site-header.header--light .nav-menu__trigger:hover,
.site-header.header--light .nav-menu__trigger[data-state="open"],
.site-header.header--light .nav-main a:not(.header-nav-cta).is-active,
.site-header.header--light .nav-menu__trigger.is-active,
.site-header.header--light .header-nav-link:hover,
.site-header.header--light .header-nav-link.is-active {
  color: var(--text);
}
.site-header.header--light .header-nav-cta {
  color: #ffffff;
  background: #1a1a1a;
}
.site-header.header--light .header-nav-cta:hover,
.site-header.header--light .header-nav-cta.is-active {
  color: #ffffff;
  background: #2e2e2e;
}
.site-header.header--light .nav-menu__trigger:hover,
.site-header.header--light .nav-menu__trigger[data-state="open"],
.site-header.header--light .nav-menu__link:hover,
.site-header.header--light .nav-menu__link.is-active,
.site-header.header--light .header-nav-link:hover,
.site-header.header--light .header-nav-link.is-active {
  background: rgba(0, 0, 0, 0.05);
}
.site-header.header--light .btn-header {
  background: var(--text);
  color: #fff;
  transition: background 0.35s ease, color 0.35s ease;
}
.site-header.header--light .hamburger {
  color: var(--text);
  transition: color 0.35s ease;
}
.site-header.header--light .hamburger:hover {
  color: var(--text-muted);
}

/* Lovart header pozostaje czarny także po scrollu */
.site-header--lovart.header--light {
  background: #000 !important;
  border-bottom: none;
}
.site-header--lovart.header--light .logo-lovart,
.site-header--lovart.header--light .logo-lovart-text {
  color: #fff;
}
.site-header--lovart.header--light .hamburger {
  color: #fafafa;
}
.site-header--lovart.header--light .hamburger:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ----- Hero (lead magnet: nagłówek, paragraf, CTA) ----- */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.75rem 1.5rem 6.25rem;
  text-align: center;
  overflow: hidden;
  color: #fafafa;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #0E0E0E;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: #0E0E0E;
  pointer-events: none;
}

/* Subtelna animowana „ambient” warstwa – miękkie światła (performance: tylko opacity) */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 20% 30%, rgba(255, 255, 255, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse 100% 100% at 80% 70%, rgba(100, 140, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 80% 120% at 60% 20%, rgba(180, 120, 255, 0.04) 0%, transparent 45%);
  pointer-events: none;
  animation: hero-ambient 14s ease-in-out infinite;
}

@keyframes hero-ambient {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Jasny przycisk CTA w hero – czytelny na ciemnym tle */
.hero .hero-cta-primary,
.hero .btn-primary.hero-cta-primary {
  background: #fafafa;
  color: var(--text);
}

.hero .hero-cta-primary:hover,
.hero .btn-primary.hero-cta-primary:hover {
  background: #e5e5e5;
  opacity: 1;
}

/* ----- Hero Lovart (mobile-first): czarne tło, subheading, serif H1, podkreślenia, pill CTA ----- */
.hero--lovart {
  min-height: 70vh;
  padding: 2rem 0.75rem 4rem;
  background: #0E0E0E;
}
.hero--lovart .hero-bg--solid {
  position: absolute;
  inset: 0;
  background: #0E0E0E;
}
.hero--lovart .hero-bg::after {
  display: none;
}

.hero-subheading {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1.25rem;
  font-family: var(--font-sans);
}

.hero--lovart .hero-title {
  font-family: var(--font-sans);
  font-size: clamp(3.5rem, 14vw, 7rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1.75rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-title-underline {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  text-decoration-thickness: 1px;
}

.hero--lovart .hero-ctas {
  margin-top: 0;
  justify-content: center;
}
.hero--lovart .hero-cta-pill {
  margin: 0;
}

/* Wyśrodkowanie nagłówków, napisów i przycisków w hero Lovart */
.hero--lovart .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.hero--lovart .hero-subheading {
  text-align: center;
}
.hero--lovart .hero-title {
  text-align: center;
}

.page-ai-landing .hero--lovart .hero-lede {
  margin: 0 auto 1.25rem;
  max-width: 28rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.page-ai-landing .hero--lovart .hero-ctas--dual {
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.page-ai-landing .hero--lovart .hero-cta-pill--ghost {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fafafa;
}
.page-ai-landing .hero--lovart .hero-cta-pill--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.page-ai-landing .promotion-bar__countdown {
  display: none;
}

.page-about-landing.page-ai-landing .hero--lovart .hero-lede {
  margin: 0 auto 0.5rem;
  max-width: 28rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

/* ----- Landing /ai2 — kompakt ----- */
.page-ai2-landing {
  font-family: var(--font-sans);
  background: #09090b;
  color: #fafafa;
}
.page-ai2-landing h1,
.page-ai2-landing h2,
.page-ai2-landing h3,
.page-ai2-landing .ai2-h1,
.page-ai2-landing .ai2-h2,
.page-ai2-landing .ai2-h3,
.page-ai2-landing .ai2-step-title {
  font-family: var(--font-heading);
}
.page-ai2-landing .promotion-bar__countdown {
  display: none;
}
.page-ai2-landing main.ai2-main {
  margin-top: 3.5rem;
}
.page-ai2-landing .ai2-header .header-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-ai2-landing .ai2-nav .ai2-nav-cta {
  color: #fbbf24;
}
.page-ai2-landing .ai2-nav .ai2-nav-cta:hover {
  color: #fcd34d;
}

.page-ai2-landing .ai2-hero {
  padding: 2rem 0 1.5rem;
  background: linear-gradient(180deg, #0c0c0f 0%, #09090b 100%);
  border-bottom: 1px solid rgba(251, 191, 36, 0.12);
}
.page-ai2-landing .ai2-hero-inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  max-width: 56rem;
}
@media (min-width: 768px) {
  .page-ai2-landing .ai2-hero-inner {
    grid-template-columns: 1fr minmax(0, 17rem);
    gap: 2rem;
    padding-top: 0.5rem;
  }
}
.page-ai2-landing .ai2-kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #fbbf24;
  margin: 0 0 0.75rem;
}
.page-ai2-landing .ai2-h1 {
  font-size: clamp(1.75rem, 5.5vw, 2.375rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: #fff;
}
.page-ai2-landing .ai2-lead {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #a1a1aa;
  margin: 0 0 1.25rem;
  max-width: 26rem;
}
.page-ai2-landing .ai2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
.page-ai2-landing .ai2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.page-ai2-landing .ai2-btn--primary {
  background: #fbbf24;
  color: #0c0c0f;
  border: 1px solid #fbbf24;
}
.page-ai2-landing .ai2-btn--primary:hover {
  background: #fcd34d;
  border-color: #fcd34d;
  color: #0c0c0f;
}
.page-ai2-landing .ai2-btn--ghost {
  background: transparent;
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.page-ai2-landing .ai2-btn--ghost:hover {
  border-color: rgba(251, 191, 36, 0.5);
  color: #fbbf24;
}
.page-ai2-landing .ai2-btn--lg {
  padding: 0.75rem 1.35rem;
  font-size: 0.9375rem;
}
.page-ai2-landing .ai2-hero-video-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.45);
  background: #18181b;
}
.page-ai2-landing .ai2-hero-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.page-ai2-landing .ai2-hero-video-label {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fafafa;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.page-ai2-landing .ai2-trust {
  padding: 0.75rem 0 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-ai2-landing .ai2-trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.page-ai2-landing .ai2-chip {
  font-size: 0.75rem;
  font-weight: 500;
  color: #d4d4d8;
  padding: 0.35rem 0.75rem;
  border-radius: 62.4375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.page-ai2-landing .ai2-section {
  padding: 2rem 0;
}
.page-ai2-landing .ai2-section--surface {
  background: #0f0f12;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.page-ai2-landing .ai2-narrow {
  max-width: 38rem;
}
.page-ai2-landing .ai2-h2 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  color: #fff;
}
.page-ai2-landing .ai2-muted {
  font-size: 0.8125rem;
  color: #a1a1aa;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.page-ai2-landing .ai2-proof-grid {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}
@media (min-width: 640px) {
  .page-ai2-landing .ai2-proof-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.page-ai2-landing .ai2-proof-card {
  margin: 0;
  border-radius: 0.625rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #18181b;
}
.page-ai2-landing .ai2-proof-vid {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.page-ai2-landing .ai2-proof-card figcaption {
  font-size: 0.75rem;
  font-weight: 600;
  color: #a1a1aa;
  padding: 0.5rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.page-ai2-landing .ai2-cards {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}
@media (min-width: 700px) {
  .page-ai2-landing .ai2-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.page-ai2-landing .ai2-card {
  padding: 1rem 1rem 1.1rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.page-ai2-landing .ai2-h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.page-ai2-landing .ai2-card-text {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #a1a1aa;
  margin: 0;
  flex: 1;
}
.page-ai2-landing .ai2-card-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fbbf24;
  text-decoration: none;
}
.page-ai2-landing .ai2-card-link:hover {
  color: #fcd34d;
}

.page-ai2-landing .ai2-steps {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
}
@media (min-width: 720px) {
  .page-ai2-landing .ai2-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 52rem;
  }
}
.page-ai2-landing .ai2-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}
.page-ai2-landing .ai2-step-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  font-family: var(--font-sans);
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border-radius: 0.375rem;
}
.page-ai2-landing .ai2-step-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: #fff;
}
.page-ai2-landing .ai2-step-desc {
  font-size: 0.75rem;
  line-height: 1.45;
  color: #a1a1aa;
  margin: 0;
}

.page-ai2-landing .ai2-final-cta {
  padding: 1.5rem 0;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.12) 0%, rgba(251, 191, 36, 0.04) 50%, transparent 100%);
  border-top: 1px solid rgba(251, 191, 36, 0.2);
  border-bottom: 1px solid rgba(251, 191, 36, 0.15);
}
.page-ai2-landing .ai2-final-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  max-width: 40rem;
}
@media (min-width: 640px) {
  .page-ai2-landing .ai2-final-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 52rem;
  }
}
.page-ai2-landing .ai2-final-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #e4e4e7;
  margin: 0;
  max-width: 22rem;
  line-height: 1.45;
}

.page-ai2-landing .ai2-contact.contact-section {
  background: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.page-ai2-landing .ai2-contact .contact-title-light,
.page-ai2-landing .ai2-contact .contact-title-strong {
  color: var(--text);
}
.page-ai2-landing .ai2-footer .footer-inner {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.page-ai2-landing .ai2-footer-top {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.page-ai2-landing .ai2-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
}
.page-ai2-landing .ai2-footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.page-ai2-landing .ai2-footer-links a:hover {
  color: #fbbf24;
}
.page-ai2-landing .ai2-footer-sep {
  color: rgba(255, 255, 255, 0.35);
}
.page-ai2-landing .ai2-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .hero--lovart {
    padding: 3rem 1rem 5rem;
    min-height: 72vh;
  }
  .hero-subheading {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    margin-bottom: 1.5rem;
  }
  .hero--lovart .hero-title {
    font-size: clamp(4.5rem, 9vw, 8.5rem);
    margin-bottom: 2rem;
  }
}

/* ----- Hero: samo zdjęcie pod treścią ----- */
.hero-image-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 45rem;
  margin: 2rem auto 0;
  padding: 0 0.75rem;
  line-height: 0;
}
.hero-image {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .hero-image-wrap {
    margin-top: 3rem;
    max-width: 56.25rem;
    padding: 0 1rem;
  }
}

/* ----- Orbit section – pierścień kart (stylistyka z orbit-section-portable) ----- */
.orbit-section-wrap {
  display: none;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.orbit-section-visual {
  position: relative;
  overflow: hidden;
  min-height: 23.75rem;
  height: 26.25rem;
}

@media (min-width: 768px) {
  .orbit-section-visual {
    min-height: 25rem;
    height: 30rem;
  }
}

.orbit-ring-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
}

@media (max-width: 767px) {
  .orbit-ring-wrapper {
    transform: translate(-50%, -50%) scale(1.85);
  }
}

.orbit-ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  animation: orbit-spin 26s linear infinite;
}

.orbit-card {
  position: absolute;
  width: 3.75rem;
  height: 5.125rem;
  margin-left: -1.875rem;
  margin-top: -2.5625rem;
  border-radius: 0.875rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 0.875rem rgba(0, 0, 0, 0.12);
  background: #e5e5e5;
}

@media (min-width: 768px) {
  .orbit-card {
    width: 4.5rem;
    height: 6.1875rem;
    margin-left: -2.25rem;
    margin-top: -3.125rem;
    border-radius: 1rem;
  }
}

.orbit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.orbit-card:nth-child(1) { transform: rotate(0deg)   translateY(-8.75rem); }
.orbit-card:nth-child(2) { transform: rotate(45deg)  translateY(-8.75rem); }
.orbit-card:nth-child(3) { transform: rotate(90deg)  translateY(-8.75rem); }
.orbit-card:nth-child(4) { transform: rotate(135deg) translateY(-8.75rem); }
.orbit-card:nth-child(5) { transform: rotate(180deg) translateY(-8.75rem); }
.orbit-card:nth-child(6) { transform: rotate(225deg) translateY(-8.75rem); }
.orbit-card:nth-child(7) { transform: rotate(270deg) translateY(-8.75rem); }
.orbit-card:nth-child(8) { transform: rotate(315deg) translateY(-8.75rem); }

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.orbit-center-slot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 75%;
  max-width: 26.25rem;
  min-height: 12.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}


.orbit-center-slot > * {
  pointer-events: auto;
}

.orbit-center-logo {
  display: block;
  height: 5.25rem;
  width: auto;
  max-width: 22.5rem;
  object-fit: contain;
}

@media (max-width: 767px) {
  .orbit-section-wrap {
    display: block;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 45rem;
  width: 100%;
}

.hero-beta {
  display: block;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.75rem;
  border-radius: 624.9375rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.hero-title,
.hero h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: var(--heading-weight);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: #fafafa;
}

.hero-title-alt {
  display: block;
  font-size: 1.06em;
  font-weight: var(--heading-weight);
  margin-top: 0.05em;
}

.hero-tagline {
  font-size: clamp(0.9375rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 35rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  max-width: 35rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-feature-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
}

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

.hero-feature-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fafafa;
  line-height: 1.4;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.hero-cta-primary {
  flex-shrink: 0;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fafafa;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

.hero-cta-secondary:hover {
  color: rgba(255, 255, 255, 0.7);
}

.hero-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #fafafa;
  color: var(--text);
  flex-shrink: 0;
}

.hero-play-icon svg {
  width: 0.875rem;
  height: 0.875rem;
  margin-left: 0.125rem;
}

/* Mobile: hero + tło do samej góry (pod header) */
@media (max-width: 767px) {
  .site-header {
    position: relative;
    top: auto;
    padding-top: calc(0.75rem + env(safe-area-inset-top, 0));
    padding-bottom: 0.75rem;
  }

  .site-header:not(.header--light) {
    background: rgba(14, 14, 14, 0.75);
  }

  .site-header:not(.header--light)::before {
    display: none;
  }


  main {
    position: relative;
    z-index: 0;
  }

  .hero {
    min-height: 0;
    padding: calc(3.5rem + env(safe-area-inset-top, 0) + 1.5rem) 1.25rem 7.5rem;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .hero--lovart .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-ctas {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 0;
  }

  .hero--lovart .hero-ctas {
    justify-content: center;
  }

  .hero-bg {
    background: #0E0E0E;
  }

  .hero-img {
    opacity: 0.12;
  }

  .hero-gradient {
    background: #0E0E0E;
  }

  .hero-beta {
    margin-bottom: 1.25rem;
    padding: 0.3125rem 0.875rem;
    font-size: 0.6875rem;
  }

  .hero-title,
  .hero h1 {
    font-size: clamp(1.65rem, 6.5vw, 2.35rem);
    margin-bottom: 0.875rem;
    line-height: 1.2;
  }

  .hero-title-alt {
    font-size: 1.08em;
    display: block;
    margin-top: 0.06em;
  }

  .hero-tagline {
    font-size: 0.9375rem;
    line-height: 1.52;
    margin-bottom: 1.75rem;
    padding: 0;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    color: rgba(255, 255, 255, 0.75);
  }

  .hero-features {
    margin-bottom: 2rem;
    margin-left: 0;
    margin-right: 0;
    gap: 1.125rem;
  }

  .hero-feature {
    gap: 0.875rem;
  }

  .hero-feature-icon {
    width: 1.75rem;
    height: 1.75rem;
    color: rgba(255, 255, 255, 0.95);
  }

  .hero-feature-icon svg {
    width: 1.375rem;
    height: 1.375rem;
  }

  .hero-feature-text {
    font-size: 1rem;
    color: #fafafa;
  }

  .hero-cta-primary {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
  }

  .hero-cta-secondary {
    font-size: 0.9375rem;
  }

  .hero-play-icon {
    width: 2rem;
    height: 2rem;
  }

  .hero-play-icon svg {
    width: 0.875rem;
    height: 0.875rem;
  }
}

/* ----- Sections ----- */
.section {
  padding: 6.25rem 0;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.section.production-section,
.section.feedback-section {
  background: #fafafa;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 35rem;
  margin-left: auto;
  margin-right: auto;
}

.security-section .link-arrow {
  display: block;
  text-align: center;
}

.link-arrow {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* ----- Automation steps ----- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s;
}

.step-card:hover {
  border-color: rgba(0, 0, 0, 0.12);
}

.step-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  overflow: hidden;
  background: var(--accent-dim);
}

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

.step-icon-placeholder {
  background: linear-gradient(135deg, var(--accent-dim) 0%, rgba(99, 102, 241, 0.05) 100%);
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ----- Production / Use cases ----- */
.use-cases {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.use-case h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.use-case-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.use-case .link-arrow {
  margin-bottom: 1.5rem;
}

.case-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: 0.75rem;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.case-card span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 0.5rem;
}

.case-card small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.severity-high { border-left: 0.1875rem solid var(--high); }
.severity-medium { border-left: 0.1875rem solid var(--warning); }
.severity-critical { border-left: 0.1875rem solid var(--critical); }
.severity-low { border-left: 0.1875rem solid var(--success); }

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.stats-row strong {
  color: var(--text);
  margin-left: 0.25rem;
}

.aml-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 30rem;
}

.aml-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.aml-summary {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.aml-risk, .aml-rec {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.aml-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ----- Feedback features ----- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.feature-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ----- Security ----- */
.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.security-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.security-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ----- CTA ----- */
.cta-section {
  padding: 7.5rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
  background: #fafafa;
}

.cta-section h2 {
  margin-bottom: 1.75rem;
}

/* ----- Formularz kontaktowy ----- */
.contact-section {
  padding: 5rem 0 6.25rem;
  border-top: 1px solid var(--border);
  background: #fafafa;
}

.contact-inner {
  max-width: 35rem;
}

.contact-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-align: center;
  line-height: 1.2;
}
.contact-title-light {
  display: block;
  font-weight: 400;
  color: var(--text);
}
.contact-title-strong {
  display: block;
  font-weight: var(--heading-weight);
  font-size: 1.15em;
  color: var(--text);
}
.contact-tagline {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 auto 1.25rem;
  text-align: center;
  max-width: 30rem;
}

.contact-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
}
.contact-cta-wrap:first-of-type {
  margin-bottom: 2.75rem;
}

.contact-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  text-align: center;
  text-decoration: none;
  background: #dbeafe;
  color: var(--text);
}
.contact-cta-btn-icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}
.contact-cta-btn-icon--external {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-left: 0.25rem;
}
.contact-cta-btn:hover {
  background: #bfdbfe;
  color: var(--text);
}

.contact-cta-btn--form {
  background: #d1fae5;
  color: var(--text);
  max-width: 100%;
}
.contact-cta-btn--form:hover {
  background: #a7f3d0;
  color: var(--text);
}
.contact-cta-btn--form .contact-cta-btn-icon {
  flex-shrink: 0;
}
.contact-cta-btn-chevron {
  display: block;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.375rem;
  transition: transform 0.25s ease;
}
.contact-cta-btn--form[aria-expanded="true"] .contact-cta-btn-chevron {
  transform: rotate(180deg);
}

.contact-cta-wrap--form {
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
}

.contact-form-intro {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  margin: 0 0 1.75rem;
  max-width: 35rem;
  margin-left: auto;
  margin-right: auto;
}
.contact-form-intro-main {
  display: block;
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 0.35em;
}
.contact-form-intro-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.contact-form-intro-icon {
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
  opacity: 0.85;
}

.contact-form-intro-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.125rem;
}
.contact-form-intro-link:hover {
  text-decoration: none;
}

/* Bezpośredni kontakt (pod formularzem) */
.direct-contact {
  margin-top: 1.5rem;
  padding: 0.75rem 1.25rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.direct-contact-inner {
  max-width: 35rem;
  margin-left: auto;
  margin-right: auto;
}

.direct-contact-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 0.625rem;
  color: var(--text-muted);
}

.direct-contact-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 1rem;
  justify-items: center;
  align-items: center;
}

.direct-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.75rem;
}

.direct-contact-item:hover {
  color: var(--text-muted);
  text-decoration: underline;
}

.direct-contact-icon {
  flex-shrink: 0;
  color: var(--text-muted);
}

.direct-contact-sep {
  width: 1px;
  height: 1em;
  background: var(--border);
  align-self: center;
}

.contact-input-wrap {
  position: relative;
}

.input-asterisk-overlay {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.9375rem;
  color: var(--text-muted);
  opacity: 0.8;
  transition: opacity 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  max-width: calc(100% - 1.75rem);
  text-overflow: ellipsis;
}

.contact-input-wrap--textarea .input-asterisk-overlay {
  top: 0.75rem;
  transform: none;
  white-space: normal;
}

.input-asterisk-overlay .required {
  color: var(--critical);
}

.contact-input-wrap input:focus ~ .input-asterisk-overlay,
.contact-input-wrap input:not(:placeholder-shown) ~ .input-asterisk-overlay,
.contact-input-wrap textarea:focus ~ .input-asterisk-overlay,
.contact-input-wrap textarea:not(:placeholder-shown) ~ .input-asterisk-overlay {
  opacity: 0;
}

.direct-contact-btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
}

@media (max-width: 767px) {
  .direct-contact {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 0.625rem 1.25rem 0.875rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .direct-contact-inner {
    padding-left: 0;
    padding-right: 0;
  }
  .direct-contact-title {
    font-size: 0.6875rem;
    margin-bottom: 0.5rem;
  }
  .direct-contact-main {
    gap: 0 0.75rem;
  }
  .direct-contact-item {
    font-size: 0.6875rem;
    justify-self: center;
  }
  .direct-contact-item span {
    word-break: break-all;
  }
  .direct-contact-sep {
    height: 0.875em;
  }
}

.contact-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  max-width: 35rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-choice-btn {
  min-width: 12.5rem;
  flex: 1;
}

.contact-choice-meet {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.contact-choice-meet-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text);
}

.contact-form-wrap[hidden] {
  display: none;
}

.contact-form-wrap {
  margin-top: 0;
}

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

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.contact-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.contact-field .required {
  color: var(--critical);
}

.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field input[type="tel"],
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 0.1875rem var(--accent-dim);
}

.contact-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23525252' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}

.contact-field textarea {
  resize: vertical;
  min-height: 7.5rem;
}

.contact-field-rodo {
  margin-top: 0.5rem;
}

.contact-field-rodo .contact-checkbox-label,
.contact-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.625rem !important;
  color: var(--text-muted);
  font-weight: 400;
  cursor: pointer;
}

.contact-checkbox-label input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.contact-checkbox-label a {
  color: var(--text-muted);
  text-decoration: underline;
}

.contact-checkbox-label a:hover {
  text-decoration: none;
}

.contact-checkbox-label .rodo-wylacznie {
  color: #16a34a;
  font-weight: 500;
}

.contact-submit {
  margin-top: 0.75rem;
}

.contact-submit .btn {
  width: 100%;
}

@media (max-width: 767px) {
  .contact-section {
    padding: 3.5rem 0 4.5rem;
  }

  .contact-cta-wrap {
    margin-bottom: 0.75rem;
    padding: 0 0.5rem;
  }
  .contact-cta-wrap:first-of-type {
    margin-bottom: 4.5rem;
  }

  .contact-cta-btn {
    width: 100%;
    max-width: 100%;
  }

  .contact-form-intro {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    padding: 0 0.75rem;
  }
  .contact-form-intro-main {
    margin-bottom: 0.375rem;
  }

  .contact-cta-wrap--form {
    margin-top: 0;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ----- Footer ----- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-image: url(assets/footer-bg.png);
  background-size: cover;
  background-position: center;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 0;
}

.site-footer .footer-inner {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: inline-block;
}

.footer-brand img {
  display: block;
  height: 2.375rem;
  width: auto;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.375rem 0.75rem;
  border-radius: 62.4375rem;
  background: rgba(255, 255, 255, 0.08);
}

.footer-badge-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-ask-ai {
  margin-top: 2rem;
}

.footer-ask-ai__heading {
  margin: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.55);
}

.footer-ask-ai__stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-ask-ai__tile-wrap {
  position: relative;
  display: inline-flex;
}

.footer-ask-ai__menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.5rem);
  z-index: 5;
  width: min(18rem, calc(100vw - 2rem));
  padding: 0.85rem 0.9rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 18, 18, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

.footer-ask-ai__menu[hidden] {
  display: none !important;
}

.footer-ask-ai__menu-label {
  margin: 0 0 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.footer-ask-ai__questions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.footer-ask-ai__question {
  display: block;
  width: 100%;
  padding: 0.55rem 0.5rem;
  border: none;
  border-radius: 0.4375rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.footer-ask-ai__question:hover,
.footer-ask-ai__question:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
}

.footer-ask-ai__tiles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.footer-ask-ai__tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.footer-ask-ai__tile:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.footer-ask-ai__tile[data-state="open"] {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.footer-ask-ai__tile:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

.footer-ask-ai__tile:active {
  transform: scale(0.96);
}

.footer-ask-ai__icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
}

.footer-ask-ai__icon .ask-ai-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-ask-ai__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;
}

.footer-ask-ai--dark {
  margin-top: 2rem;
}

.footer-ask-ai--light .footer-ask-ai__heading {
  color: rgba(26, 26, 26, 0.55);
}

.footer-ask-ai--light .footer-ask-ai__menu {
  border-color: rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.footer-ask-ai--light .footer-ask-ai__menu-label {
  color: rgba(26, 26, 26, 0.42);
}

.footer-ask-ai--light .footer-ask-ai__question {
  color: rgba(26, 26, 26, 0.88);
}

.footer-ask-ai--light .footer-ask-ai__question:hover,
.footer-ask-ai--light .footer-ask-ai__question:focus-visible {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.footer-ask-ai--light .footer-ask-ai__tile {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.04);
  color: rgba(26, 26, 26, 0.88);
}

.footer-ask-ai--light .footer-ask-ai__tile:hover,
.footer-ask-ai--light .footer-ask-ai__tile[data-state="open"] {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.14);
  color: var(--text);
}

@media (max-width: 767px) {
  .footer-ask-ai__menu {
    position: static;
    width: 100%;
    margin-bottom: 0.15rem;
    order: -1;
  }

  .footer-ask-ai__stack {
    width: 100%;
  }

  .footer-ask-ai__tiles {
    width: 100%;
    justify-content: flex-start;
  }
}

.footer-booking-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.25rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.footer-booking-cta:hover {
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

.footer-booking-cta:active {
  transform: scale(0.985);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-legal {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-tenure {
  margin-left: auto;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
}

.footer-badge--bottom {
  background: transparent;
  padding: 0;
}

/* ----- Value tile (AI video i zdjęcia) ----- */
.value-tile-section {
  background: #f7f7f8;
  padding: 1rem 0.625rem;
  border-top: none;
}

.value-tile-section .container {
  max-width: 45rem;
}

/* Na mobile: kafelki jeden pod drugim (nad slajderem) – tylko widoczne do 47.9375rem */
.value-tiles-stack {
  display: none;
  background: #f7f7f8;
}

.value-tile-stack-placeholder {
  min-height: 11.25rem;
  border-radius: 0.375rem;
  background: rgba(0, 0, 0, 0.06);
}

@media (max-width: 767px) {
  .value-tiles-stack {
    display: block;
    padding: 1rem 0.75rem 0;
  }
  .value-tiles-stack .value-tile-section--stack {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0.25rem;
  }
  .value-tiles-stack .value-tile-section--stack .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .value-tiles-stack .value-tile {
    max-width: 100%;
    cursor: pointer;
  }
  .value-tiles-stack .value-tile-section--ai .value-tile,
  .value-tiles-stack .value-tile-section--branding .value-tile,
  .value-tiles-stack .value-tile-section--produkt .value-tile,
  .value-tiles-stack .value-tile-section--uxui .value-tile {
    min-height: 0;
  }
}

/* Slider dużych kafelków na mobile – swipe lewo/prawo */
.value-tiles-slider-wrap {
  background: #f7f7f8;
  overflow: visible;
}

@media (max-width: 767px) {
  .value-tiles-slider-wrap {
    padding-left: 0.75rem;
    padding-right: 0;
    box-sizing: border-box;
    overflow: hidden;
  }
}

.value-tiles-slider {
  overflow: hidden;
  background: #f7f7f8;
}

/* Wskaźnik slajdów (linie) – tylko na mobile */
.value-tiles-slider-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 1.25rem 1.15rem;
  background: #f7f7f8;
}

@media (max-width: 767px) {
  .value-tiles-slider-dots {
    display: flex;
  }
}

.value-tiles-slider-dot {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 2px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.14);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.28s ease, background 0.25s ease, opacity 0.25s ease;
}

.value-tiles-slider-dot:hover {
  background: rgba(0, 0, 0, 0.28);
}

.value-tiles-slider-dot.is-active {
  width: 2.25rem;
  background: rgba(0, 0, 0, 0.72);
}

@media (max-width: 767px) {
  .value-tiles-slider {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #f7f7f8;
    padding: 1rem 0 0;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }
  .value-tiles-slider::after {
    content: "";
    flex: 0 0 0.75rem;
  }
  .value-tiles-slider::-webkit-scrollbar {
    display: none;
  }
  .value-tiles-slider .value-tile-section {
    flex: 0 0 86%;
    min-width: 86%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    box-sizing: border-box;
  }
  .value-tiles-slider .value-tile-section .container {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

.value-tile {
  position: relative;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.2s;
}

@media (max-width: 767px) {
  .value-tile-section {
    padding-left: 0.4375rem;
    padding-right: 0.4375rem;
  }
  .value-tile-section .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .value-tile {
    max-width: 100%;
    border-radius: 0.5rem;
  }
  /* Kafelki 01–04: ta sama wysokość na mobile (jak UX/UI) */
  .value-tile-section--ai .value-tile,
  .value-tile-section--branding .value-tile,
  .value-tile-section--produkt .value-tile,
  .value-tile-section--uxui .value-tile {
    min-height: 32.5rem;
  }
}

.value-tile:hover {
  transform: translateY(-0.1875rem);
}

.value-tile:focus {
  outline: none;
}

.value-tile:focus-visible {
  outline: 0.125rem solid rgba(14, 14, 14, 0.35);
  outline-offset: 0.125rem;
}

.value-tile-bg {
  position: absolute;
  inset: 0;
  background: var(--tile-bg);
}

.value-tile-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.02);
  pointer-events: none;
}

.value-tile-accent {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(120, 90, 60, 0.05), rgba(120, 90, 60, 0.02), transparent);
  pointer-events: none;
}

.value-tile-line {
  position: absolute;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.06), rgba(0,0,0,0));
  pointer-events: none;
}

@media (min-width: 640px) {
  .value-tile-line { left: 1.5rem; right: 1.5rem; }
}

.value-tile-line--top { top: 0; }
.value-tile-line--bottom { bottom: 0; }

.value-tile-photo-wrap {
  position: relative;
  margin-top: 1.5rem;
  width: 100%;
  min-height: 11.25rem;
  border-radius: 0.5rem 0.5rem 0 0;
  overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.value-tile-photo-placeholder {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  pointer-events: none;
  z-index: 0;
  border-radius: 0.5rem 0.5rem 0 0;
}

.value-tile-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  max-height: 8.75rem;
  vertical-align: middle;
}

/* Pakiet boost – kontener zdjęcia NIE może się zapadać (min-height), obraz ma wypełniać */
.value-tile--boost .value-tile-inner {
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.value-tile--boost .value-tile-head,
.value-tile--boost .value-tile-bullets {
  flex-shrink: 0;
}

.value-tile--boost .value-tile-photo-wrap {
  margin-top: 1.75rem;
  margin-bottom: 0;
  flex: 1 1 0;
  min-height: 17.5rem;
  border-radius: 0.5rem 0.5rem 0 0;
  overflow: hidden;
  border-bottom: none;
}

.value-tile--boost .value-tile-photo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  width: 100%;
  height: calc(100% + 1px);
  min-height: 17.5rem;
  object-fit: cover;
  object-position: center;
  display: block;
}

.value-tile-inner {
  position: relative;
  z-index: 10;
  padding: 3rem 1.25rem 3rem;
}

@media (min-width: 640px) {
  .value-tile-inner {
    padding: 3.5rem 2.5rem 3.5rem;
  }
}

.value-tile-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.value-tile-label {
  flex-basis: 100%;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.125rem;
}

.value-tile .value-tile-label {
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 640px) {
  .value-tile-head { gap: 1rem; margin-bottom: 1.75rem; }
}

.value-tile-num {
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .value-tile-num { font-size: 1.375rem; }
}

.value-tile-title {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 1.875rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

@media (min-width: 640px) {
  .value-tile-title { font-size: 2.25rem; }
}

/* Ikona „otwórz” – layout na kafelku (styl w .popup-hint) */
.value-tile-icon {
  margin-left: auto;
}

.value-tile-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .value-tile-desc { font-size: 0.8125rem; margin-bottom: 1.5rem; }
}

.value-tile-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.value-tile-bullets li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
}

@media (min-width: 640px) {
  .value-tile-bullets li { font-size: 0.8125rem; }
}

.value-tile-bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--popup-btn-color);
  box-shadow: 0 0 0 0.125rem rgba(14, 14, 14, 0.15);
}

/* Ciemne tło kafelka – jasny tekst, ikona „otwórz” w jednym stylu (biały przycisk) */
.value-tile .value-tile-num { color: rgba(255, 255, 255, 0.8); }
.value-tile .value-tile-title { color: #fff; }
.value-tile .value-tile-desc { color: rgba(255, 255, 255, 0.9); }
.value-tile .value-tile-bullets li { color: #fff; }
.value-tile .value-tile-bullets li::before { background: #fff; box-shadow: 0 0 0 0.125rem rgba(255,255,255,0.3); }
.value-tile .value-tile-line { background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent); }
.value-tile:hover .popup-hint {
  animation-play-state: paused;
  transform: scale(1.08);
}

/* 01 – Pakiet boost razy 10 – ciemny grafit, główny kafelek (wyższy na mobile) */
.value-tile-section--doradztwo .value-tile-bg {
  background: linear-gradient(155deg, #6366f1 0%, #4f46e5 40%, #4338ca 100%);
}

.value-tile-section--doradztwo .value-tile .value-tile-label { color: rgba(255, 255, 255, 0.9); }
.value-tile-section--doradztwo .value-tile .value-tile-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
}
@media (min-width: 640px) {
  .value-tile-section--doradztwo .value-tile .value-tile-title {
    font-size: 2.5rem;
  }
}
.value-tile-section--doradztwo .value-tile .value-tile-bullets li { color: #fff; }
.value-tile-section--doradztwo .value-tile .value-tile-bullets li::before { background: #fff; box-shadow: 0 0 0 0.125rem rgba(255, 255, 255, 0.4); }
.value-tile-section--doradztwo .value-tile .value-tile-line { background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent); }

/* Bez 1px linii na dole – zdjęcie dochodzi do krawędzi */
.value-tile-section--doradztwo .value-tile-line--bottom {
  display: none;
}

@media (max-width: 639px) {
  .value-tile-section--doradztwo .value-tile.value-tile--boost {
    min-height: 36.25rem;
  }
  .value-tile-section--doradztwo .value-tile--boost .value-tile-inner {
    padding: 3.5rem 1.5rem 0;
  }
  .value-tile-section--doradztwo .value-tile--boost .value-tile-photo-wrap {
    min-height: 18.75rem;
  }
  .value-tile-section--doradztwo .value-tile--boost .value-tile-photo {
    min-height: 18.75rem;
  }
}

/* 02 – AI video i zdjęcia – antracyt */
.value-tile-section--ai .value-tile-bg {
  background: linear-gradient(165deg, #36363a 0%, #2a2a2e 50%, #1e1e22 100%);
}
.value-tile-section--ai .create-together-slide-image {
  background: #1e1e22;
}

/* 02 – Branding – ciemny szary */
.value-tile-section--branding .value-tile-bg {
  background: linear-gradient(165deg, #323234 0%, #28282b 50%, #1a1a1d 100%);
}
.value-tile-section--branding .create-together-slide-image {
  background: #1a1a1d;
}

/* 03 – Produkty cyfrowe – grafit */
.value-tile-section--produkt .value-tile-bg {
  background: linear-gradient(165deg, #2a2a2d 0%, #222225 50%, #18181b 100%);
}
.value-tile-section--produkt .create-together-slide-image {
  background: #18181b;
}

/* 04 – Projektowanie UX/UI i audyty – prawie czarny */
.value-tile-section--uxui .value-tile-bg {
  background: linear-gradient(165deg, #252528 0%, #1c1c1f 50%, #141416 100%);
}
.value-tile-section--uxui .create-together-slide-image {
  background: #141416;
}

/* Sekcja CTA – „Poznaj doświadczenie” (osobna sekcja pod kafelkami) */
.value-tile-cta-section {
  padding: 1.5rem 0 3rem;
  background: #f7f7f8;
  border-top: none;
}
.value-tile-cta-section .container {
  max-width: 40rem;
}

@media (max-width: 767px) {
  .value-tile-cta-section .container {
    max-width: none;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Kafelek CTA – elegancki ciemny */
.value-tile-cta {
  margin: 0 auto;
  padding: 1.75rem 1.25rem;
  background: linear-gradient(165deg, #2d2d30 0%, #222225 50%, #18181b 100%);
  border: none;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.15);
}
@media (min-width: 640px) {
  .value-tile-cta {
    padding: 2.25rem 2.5rem;
  }
}
.value-tile-cta-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1.25rem;
  line-height: 1.4;
  text-shadow: 0 1px 0.125rem rgba(0, 0, 0, 0.15);
}
.value-tile-cta-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border: 0.125rem solid rgba(255, 255, 255, 0.9);
  border-radius: 0.75rem;
  cursor: default;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease-out, box-shadow 0.2s;
}
.value-tile-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.375rem 1.5rem rgba(0, 0, 0, 0.3), 0 0 0 0.125rem rgba(255, 255, 255, 0.6);
}
.value-tile-cta-btn:focus {
  outline: none;
}
.value-tile-cta-btn:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.5), 0 0.25rem 1.25rem rgba(0, 0, 0, 0.25);
}
a.value-tile-cta-btn--link {
  text-decoration: none;
  cursor: pointer;
}

/* ----- Slider prac (wizualnie z kafelkiem AI) ----- */
.create-together-section {
  margin-top: 0;
  padding: 1.5rem 0 0;
  background: #f7f7f8;
}

/* Slider wewnątrz kafelka (AI) */
.create-together-section--inside-tile {
  padding: 1.5rem 0 1.75rem;
  padding-left: 1.5rem;
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  background: transparent;
}
.create-together-section--inside-tile .create-together-slider {
  margin-left: 0;
  padding-left: 3rem;
}
@media (min-width: 640px) {
  .create-together-section--inside-tile {
    margin-left: -2.5rem;
    margin-right: -2.5rem;
    padding-left: 0;
  }
  .create-together-section--inside-tile .create-together-slider {
    padding-left: 0;
  }
}
.value-tile .value-tile-inner:has(.create-together-section--inside-tile) {
  padding-bottom: 0;
}
.value-tile .create-together-section--inside-tile .create-together-below-title,
.value-tile .create-together-section--inside-tile .create-together-below-desc {
  color: rgba(255, 255, 255, 0.95);
}
.value-tile .create-together-section--inside-tile .create-together-below-desc {
  color: rgba(255, 255, 255, 0.8);
}

.create-together-slider {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.create-together-slider::-webkit-scrollbar {
  display: none;
}

.create-together-track {
  display: flex;
  gap: 0.75rem;
  padding: 0;
}

.create-together-section--inside-tile .create-together-track {
  padding-left: 0;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .create-together-section--inside-tile .create-together-track {
    padding-left: 5.5rem;
    padding-right: 1.5rem;
  }
}

.create-together-slide {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 0 0 85%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  cursor: pointer;
  border-radius: 0.5rem;
  overflow: hidden;
  border: none;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.06);
}

.create-together-slide-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--tile-bg);
  border: none;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
}

.create-together-slide-image .offer-ph {
  z-index: 0;
}

.create-together-slide-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Ciemny gradient od dołu – tekst na grafice czytelny */
.create-together-slide-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 58%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.25) 45%, transparent);
  z-index: 1;
  pointer-events: none;
}

.create-together-slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Przycisk „otwórz” na slajdzie – zawsze biały, wyraźna animacja (widoczny na zdjęciach) */
.create-together-slide-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.125rem solid rgba(255, 255, 255, 0.9);
  border-radius: 0.75rem;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease-out, box-shadow 0.25s ease-out, background 0.2s;
  animation: slide-btn-pulse 2s ease-in-out infinite;
}

.create-together-slide-btn:hover {
  background: #ffffff;
  transform: scale(1.2);
  box-shadow: 0 0.5rem 1.75rem rgba(0, 0, 0, 0.4), 0 0 0 0.125rem rgba(255, 255, 255, 0.8);
}

.create-together-slide-btn:active {
  transform: scale(1.1);
}

.create-together-slide-btn:focus {
  outline: none;
}

.create-together-slide-btn:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(14, 14, 14, 0.4), 0 0.25rem 1.25rem rgba(0, 0, 0, 0.35);
}

.create-together-slide-btn:hover {
  animation: none;
}

@keyframes slide-btn-pulse {
  0%, 100% { box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.08); }
  50% { box-shadow: 0 0.375rem 1.625rem rgba(0, 0, 0, 0.45), 0 0 0 0.125rem rgba(255, 255, 255, 0.6); }
}

.create-together-slide-caption {
  flex-shrink: 0;
  padding: 0;
}

/* Tekst na grafice (caption wewnątrz slide-image) – nad gradientem */
.create-together-slide-image .create-together-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.125rem 1rem 1.25rem;
}
.create-together-slide-image .create-together-below-title,
.create-together-slide-image .create-together-below-desc {
  color: #fff;
  text-shadow: 0 1px 0.1875rem rgba(0, 0, 0, 0.5);
}
.create-together-slide-image .create-together-below-desc {
  color: rgba(255, 255, 255, 0.9);
}

.create-together-below-title {
  font-size: 0.9375rem;
  font-weight: var(--heading-weight);
  color: var(--text);
  margin-bottom: 0.375rem;
}

.create-together-below-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

@media (min-width: 768px) {
  .value-tile-section {
    background: transparent;
  }

  .create-together-section {
    padding: 2rem 0 0;
    margin-top: 0;
    background: transparent;
  }

  .create-together-section--inside-tile {
    padding: 1.5rem 0 2rem;
    margin-left: -2.5rem;
    margin-right: -2.5rem;
  }

  .create-together-track {
    padding: 0 1.5rem;
    gap: 1rem;
  }

  .create-together-slide {
    flex: 0 0 20rem;
  }
}

/* ----- Blokada scrolla przy otwartym sheet ----- */
html.is-body-locked,
html.is-body-locked body {
  overflow: hidden !important;
  overscroll-behavior: none;
  scroll-behavior: auto !important;
}

.is-scroll-lock-placeholder {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
  visibility: hidden;
  flex-shrink: 0;
}

/* ----- Bottom Sheet ----- */
.value-sheet-root {
  position: fixed;
  inset: 0;
  z-index: var(--z-sheet-scrim);
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.25s linear;
}

.value-sheet-root.is-open {
  /* Root nie przechwytuje kliknięć nad panelem — chrome/menu nad sheetem zostaje klikalne */
  pointer-events: none;
  visibility: visible;
}

.value-sheet-root.is-open .value-sheet-overlay,
.value-sheet-root.is-open .value-sheet-panel {
  pointer-events: auto;
}

.value-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-sheet-scrim);
  background: #000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.value-sheet-root.is-open .value-sheet-overlay {
  opacity: 0.55;
}

.value-sheet-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sheet-panel);
  background: #ffffff;
  border-radius: 1.5rem 1.5rem 0 0;
  border-top: 1px solid var(--border);
  max-height: calc(100dvh - 2.5rem);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (min-width: 640px) {
  .value-sheet-panel {
    max-height: 92vh;
  }
}

@media (min-width: 768px) {
  .value-sheet-panel {
    left: 50%;
    right: auto;
    bottom: 0;
    top: auto;
    width: min(73.75rem, calc(100vw - 3rem));
    max-width: 73.75rem;
    max-height: min(92vh, calc(100dvh - 2.5rem));
    margin: 0;
    transform: translate(-50%, 100%);
    border-radius: 1.25rem 1.25rem 0 0;
    box-shadow: 0 -0.25rem 2rem rgba(0, 0, 0, 0.14);
  }
}

.value-sheet-root.is-open .value-sheet-panel {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .value-sheet-root.is-open .value-sheet-panel {
    transform: translate(-50%, 0);
  }

  .value-sheet-scroll {
    padding-left: var(--value-sheet-content-pad-x-desktop);
    padding-right: var(--value-sheet-content-pad-x-desktop);
    box-sizing: border-box;
  }

  .value-sheet-header {
    padding-top: 2.5rem;
    padding-bottom: 1.75rem;
    padding-left: 0;
    padding-right: 2.75rem;
  }

  .value-sheet-cta,
  .value-sheet-block {
    padding-left: 0;
    padding-right: 0;
  }

  .value-sheet-line--top {
    left: var(--value-sheet-content-pad-x-desktop);
    right: var(--value-sheet-content-pad-x-desktop);
  }

  .value-sheet-close {
    right: var(--value-sheet-content-pad-x-desktop);
  }

  .booking-sheet-root .value-sheet-header.booking-sheet-header {
    padding-left: 0;
    padding-right: 2.75rem;
  }

  .booking-sheet-root .booking-sheet-body,
  .booking-sheet-root--calendar-only .booking-sheet-body {
    padding-left: 0;
    padding-right: 0;
  }
}

.value-sheet-line--top {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.08), rgba(0,0,0,0));
  z-index: 5;
}

.value-sheet-drag {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding: 0.75rem 0 0.5rem;
}

.value-sheet-drag span {
  width: 2.5rem;
  height: 0.25rem;
  border-radius: 0.125rem;
  background: rgba(0, 0, 0, 0.2);
}

.value-sheet-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s;
}

.value-sheet-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.value-sheet-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.value-sheet-header {
  padding: 2.5rem 1.75rem 1.75rem;
  padding-right: 3.75rem;
  border-bottom: 1px solid var(--border);
}

.value-sheet-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: var(--heading-weight);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.875rem;
}

.value-sheet-header .value-sheet-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 28rem;
}

.value-sheet-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.75rem 1.75rem;
  border-bottom: 1px solid var(--border);
}

.value-sheet-block {
  padding: 1.75rem 1.75rem 2rem;
  border-bottom: 1px solid var(--border);
}

.value-sheet-block:last-child {
  border-bottom: none;
}

.value-sheet-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.value-sheet-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text);
}

.value-sheet-dot {
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0.125rem rgba(22, 163, 74, 0.2);
  margin-top: 0.125rem;
}

.value-sheet-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.value-sheet-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.value-sheet-quote {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 1rem;
  margin: 0 1.5rem 1.5rem;
  padding: 1.25rem;
}

.value-sheet-quote-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text);
  font-style: italic;
  margin: 0;
}

.value-sheet-hero-image {
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.value-sheet-hero-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 12.5rem;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.12) 0%, rgba(22, 163, 74, 0.04) 100%);
  border-radius: 0.75rem;
  animation: value-sheet-fadeIn 0.35s ease;
}

@keyframes value-sheet-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.value-sheet-steps {
  list-style: none;
  margin: 0;
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.value-sheet-step {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text);
}

.value-sheet-step-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.15);
  color: #16a34a;
  font-size: 0.8125rem;
  font-weight: 600;
}

.value-sheet-details {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-sheet-details > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
}

.value-sheet-details > div:last-child {
  border-bottom: none;
}

.value-sheet-details dt {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 400;
  margin: 0;
}

.value-sheet-details dd {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  text-align: right;
}

/* Nagrania w popupie AI video (Animation, Video editing, Visual analysis) */
.value-sheet-videos .value-sheet-label {
  margin-bottom: 0.875rem;
}

.value-sheet-videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

.value-sheet-video-item {
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.value-sheet-video-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0E0E0E;
  overflow: hidden;
}

.value-sheet-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.value-sheet-video-frame--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1a1a2e 0%, #0E0E0E 100%);
}

.value-sheet-video-placeholder {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

.value-sheet-video-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  padding: 0.75rem 0.875rem 0.25rem;
}

.value-sheet-video-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
  padding: 0 0.875rem 0.875rem;
}

/* ----- Gradientowe placeholdery oferty — subtelny jasny błękit → ciemny granat ----- */
.offer-ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(165deg, #d2e6f2 0%, #526878 100%);
}

.offer-ph--brand {
  background: linear-gradient(165deg, #dcecf4 0%, #5a7284 100%);
}

.offer-ph--ai {
  background: linear-gradient(168deg, #cfe4f0 0%, #566c7e 100%);
}

.offer-ph--packaging {
  background: linear-gradient(162deg, #c8e0ee 0%, #4a6274 100%);
}

.offer-ph--social {
  background: linear-gradient(170deg, #d6eaf2 0%, #586e80 100%);
}

.offer-ph--uxui {
  background: linear-gradient(160deg, #c2dcea 0%, #465e70 100%);
}

.value-tile-photo-placeholder.offer-ph {
  border: none;
}

/* Popup po kliknięciu slajdu oferty */
.slide-sheet-media {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #0e0e0e;
  aspect-ratio: 5 / 4;
  min-height: 11rem;
}

#slide-sheet-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.slide-sheet-media-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide-sheet-hero-img,
.slide-sheet-popup-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .value-sheet-header {
    padding: 2rem 1rem 1.25rem;
    padding-right: 3rem;
  }

  .value-sheet-cta,
  .value-sheet-block {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .value-sheet-block {
    padding-bottom: 1.5rem;
  }

  .value-sheet-line--top {
    left: 1rem;
    right: 1rem;
  }

  .value-sheet-close {
    right: 0.75rem;
  }

  .value-sheet-hero-image,
  .value-sheet-quote {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .value-sheet-hero-image {
    padding-left: 0;
    padding-right: 0;
  }

  .slide-sheet-root--offer #slide-sheet-media.value-sheet-block,
  .slide-sheet-root--project #slide-sheet-media.value-sheet-block,
  .slide-sheet-root--project .slide-sheet-media-block {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 639px) {
  .slide-sheet-root--offer .slide-sheet-media {
    aspect-ratio: 4 / 5;
    min-height: 15rem;
  }

  .slide-sheet-root--offer #slide-sheet-media.value-sheet-block {
    padding-top: 1.25rem;
    padding-bottom: 1.75rem;
  }
}

/* Galeria w popupie — gradient pod zdjęciem, na cały kadr */
.value-sheet-gallery-frame {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.value-sheet-gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 640px) {
  .value-sheet-details dd { text-align: left; }
}

/* ----- Desktop ----- */
@media (min-width: 768px) {
  .nav-main {
    display: flex;
  }

  .hamburger {
    display: none;
  }

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

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .security-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ----- Mapa strony (podstrona) ----- */
.site-map-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0e0e0e;
  color: #fafafa;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
}

.site-map-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: env(safe-area-inset-top, 0);
}

.site-map-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  min-height: 3.5rem;
}

.site-map-logo {
  display: block;
  height: 1.75rem;
  width: auto;
}

.site-map-header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
}

.site-map-header-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8125rem;
}

.site-map-header-link:hover {
  color: #fff;
}

.site-map-header-link--current {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.site-map-main {
  flex: 1;
  padding: 2.5rem 0 3.5rem;
}

.site-map-page-title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  margin: 0 0 1rem;
  color: #fafafa;
}

.site-map-lead {
  max-width: 40rem;
  margin: 0 0 2rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.site-map-code {
  font-family: var(--font-sans);
  font-size: 0.875em;
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.08);
  color: #e5e5e5;
}

.site-map-group {
  margin-bottom: 2.25rem;
}

.site-map-group-title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-map-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

@media (min-width: 640px) {
  .site-map-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.5rem;
  }
}

.site-map-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  color: #93c5fd;
  text-decoration: none;
  font-weight: 500;
}

.site-map-list a:hover {
  color: #bfdbfe;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.site-map-list a[aria-current="page"] {
  color: #fff;
  pointer-events: none;
}

.site-map-footer {
  padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-map-footer-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
}

.site-map-footer-link:hover {
  color: #fff;
}

/* ----- Strony prawne ----- */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0e0e0e;
  color: #fafafa;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.7;
}

.legal-main {
  flex: 1;
  padding: 3rem 0 5rem;
}

.legal-container {
  max-width: 45rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.legal-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: #fafafa;
  letter-spacing: -0.01em;
}

.legal-meta {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 3rem;
}

.legal-content h2 {
  font-family: var(--font-sans);
  font-size: 1.375rem;
  font-weight: 500;
  margin: 2.5rem 0 1rem;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: #ffffff;
}

.legal-content p {
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content strong {
  color: #ffffff;
}

.legal-footer {
  padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom, 0));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 14, 14, 0.5);
}

.legal-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
