

:root {
  --bg: #141313;
  --bg-deep: #000;
  --bg-page: #181818;
  --text: #cbcbcb;
  --text-soft: #a5a5a5;
  --text-mute: #9b9b9a;
  --white: #eaeaea;
  --line: rgba(255, 255, 255, 0.12);
  --font: "Space Grotesk", sans-serif;
  --brand-green: #3df0b2;
  --brand-blue: #4d8dff;
  --brand-yellow: #ffd34d;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg-page);
  /* clip keeps horizontal bleed contained without breaking position:sticky */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Sticky stack: next full section slides over the previous (smartproduction.cz) */
main#main {
  isolation: isolate;
}

.sp-pin {
  position: relative;
  z-index: var(--pin-z, 1);
}

@media (min-width: 901px) {
  .sp-pin {
    position: sticky;
    top: 0;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .sp-pin.sp-split .sp-split__media,
  .sp-pin.sp-split .sp-split__body {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .sp-pin.sp-feature {
    justify-content: center;
    box-sizing: border-box;
  }
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; background: none; border: none; }
button { cursor: pointer; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus { left: 12px; top: 12px; z-index: 9999; background: #000; padding: 8px 12px; }

/* ===== Header (SP: fixed logo top-left) ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  pointer-events: none;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.site-logo,
.menu-toggle {
  pointer-events: auto;
}

.site-header.is-scrolled .site-logo,
.site-header.is-scrolled .menu-toggle {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.site-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(1.05);
  transition: transform 0.45s var(--ease), opacity 0.35s;
}

.site-logo__text {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
}

.site-header.is-scrolled .site-logo img {
  transform: scale(0.92);
}

.site-header {
  opacity: 1;
  transition: opacity 0.35s var(--ease);
}

body.has-intro:not(.site-ready) .site-header {
  opacity: 0;
  pointer-events: none;
}

body.has-intro.site-ready .site-header {
  opacity: 1;
  pointer-events: none; /* keep children clickable via their own pointer-events */
}
body.has-intro.site-ready .site-header .site-logo,
body.has-intro.site-ready .site-header .menu-toggle {
  pointer-events: auto;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--white);
  transition: 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Side menu */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s var(--ease);
}
.menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.site-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1100;
  width: min(72vw, 280px);
  height: 100vh;
  height: 100dvh;
  padding: 88px 18px 28px 18px;
  background: rgba(20, 19, 19, 0.72);
  border-left: 1px solid var(--line);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  transform: translateX(104%);
  transition: transform 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
}

.site-menu.is-open { transform: translateX(0); }

.site-menu nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}

.site-menu a {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  color: var(--white);
  padding: 6px 0;
  text-align: right;
  transition: opacity 0.25s;
}
.site-menu a:hover { opacity: 0.65; }

.site-menu__contacts {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.site-menu__label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 4px;
}

.site-menu__contacts a {
  font-size: 13px;
  color: var(--text);
  padding: 2px 0;
}
.site-menu__group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}

.site-menu__parent {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  color: var(--white);
  padding: 6px 0;
  text-align: right;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.site-menu__parent::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
  opacity: 0.7;
}

.site-menu__group.is-open .site-menu__parent::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.site-menu__sub {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 4px 0 8px;
  width: 100%;
}

.site-menu__group.is-open .site-menu__sub {
  display: flex;
}

.site-menu__sub a {
  font-size: 15px !important;
  color: var(--text) !important;
  padding: 4px 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-menu__sub a.is-current,
.site-menu__sub a:hover {
  color: var(--white) !important;
  opacity: 1 !important;
}

.site-menu__sub a[data-cat-dot]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.site-menu__sub a[data-cat-dot="sound"]::before { background: var(--brand-green); }
.site-menu__sub a[data-cat-dot="light"]::before { background: var(--brand-blue); }
.site-menu__sub a[data-cat-dot="video"]::before { background: var(--brand-yellow); }

/* ===== Shared type ===== */
.sp-title {
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 22px;
}

.sp-title--xl {
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 0.95;
}

.sp-text {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  max-width: 42ch;
  margin-bottom: 28px;
}

.sp-text--muted {
  color: var(--text-mute);
  font-size: 14px;
  margin-bottom: 24px;
}

.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #111;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #9fe8c8;
  font-weight: 500;
}

.sp-badge--mint {
  background: #9fe8c8;
  color: #111;
}

/* Pill CTA like SP */
.sp-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 22px;
  border-radius: 999px;
  background: rgba(40, 40, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 15px;
  font-weight: 400;
  transition: background 0.3s, transform 0.3s var(--ease);
}
.sp-pill:hover {
  background: rgba(60, 60, 60, 0.95);
  transform: translateY(-1px);
}

.sp-pill__arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(163, 163, 163, 0.85);
  position: relative;
  flex-shrink: 0;
}
.sp-pill__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--white);
  border-top: 1.5px solid var(--white);
  transform: rotate(45deg) translate(-1px, 1px);
}

.sp-pill--lg { padding: 16px 22px 16px 28px; font-size: 16px; }
.sp-pill--sm { padding: 8px 14px; font-size: 12px; }
.sp-pills { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== Hero ===== */
.sp-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  background: var(--bg);
  overflow: hidden;
}

.sp-hero__copy {
  width: 50%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px clamp(16px, 3vw, 40px) 56px;
  background: var(--bg);
  overflow: hidden;
}

.sp-hero__title {
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(34px, 5.4vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 14px;
  white-space: nowrap;
  max-width: 100%;
}

.sp-hero__tag {
  font-size: clamp(9px, 0.92vw, 14px);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Intro splash (≈4s) ===== */
body.has-intro:not(.site-ready) {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}

.intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.intro__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transform-origin: center center;
  transition:
    transform 0.85s var(--ease),
    gap 0.85s var(--ease);
  will-change: transform;
}

.intro__logo {
  width: min(105vw, 700px);
  height: min(105vw, 700px);
  object-fit: contain;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.intro.is-in .intro__logo {
  opacity: 1;
  transform: scale(1);
}

.intro__name {
  font-family: var(--font);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--white);
  margin: 0;
  margin-top: -160px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.intro.is-named .intro__name {
  opacity: 1;
  transform: translateY(0);
}

.intro.is-exit .intro__name {
  opacity: 0.95;
}

@media (prefers-reduced-motion: reduce) {
  .intro,
  .intro__logo,
  .intro__name,
  .intro__brand {
    transition: none !important;
  }
}

.sp-hero__media {
  width: 50%;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  background-color: #000;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sp-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
}

/* Circular media — SMART-style kruh blocks */
.circle-video {
  --circle-size: min(42vw, 440px);
  --glow: rgba(61, 240, 178, 0.28);
  --glow-mid: rgba(77, 141, 255, 0.12);
  position: relative;
  width: var(--circle-size);
  height: var(--circle-size);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  margin: 0;
}

.circle-video--green {
  --glow: rgba(61, 240, 178, 0.32);
  --glow-mid: rgba(61, 240, 178, 0.1);
}
.circle-video--blue {
  --glow: rgba(77, 141, 255, 0.34);
  --glow-mid: rgba(59, 130, 246, 0.12);
}
.circle-video--yellow {
  --glow: rgba(255, 211, 77, 0.3);
  --glow-mid: rgba(255, 211, 77, 0.1);
}

.circle-video__glow {
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, var(--glow-mid) 42%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(10px);
}

.circle-video__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(234, 234, 234, 0.22);
  pointer-events: none;
  z-index: 2;
}

.circle-video__ring--outer {
  inset: -6%;
  border-color: rgba(234, 234, 234, 0.12);
  animation: circle-breathe 8s var(--ease) infinite;
}

.circle-video__ring--mid {
  inset: -2.5%;
  border-color: rgba(234, 234, 234, 0.28);
}

.circle-video__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(234, 234, 234, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 18px 60px rgba(0, 0, 0, 0.45);
  background: rgba(10, 10, 10, 0.85);
  z-index: 1;
}

.circle-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  transform: scale(1.02);
  filter: brightness(0.95) contrast(1.05) saturate(1.05);
}

@keyframes circle-breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.018); opacity: 1; }
}

/* ===== SMART-style feature blocks: text + circle side by side ===== */
.sp-feature {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 6vw, 96px);
  text-align: left;
  padding: clamp(64px, 10vh, 120px) clamp(24px, 6vw, 96px);
  background: var(--bg-deep);
  box-sizing: border-box;
}

.sp-feature--circle-right .sp-feature__body { order: 1; }
.sp-feature--circle-right .sp-feature__circle { order: 2; }
.sp-feature--circle-left .sp-feature__circle { order: 1; }
.sp-feature--circle-left .sp-feature__body { order: 2; }

.sp-feature:nth-of-type(even) {
  background: var(--bg);
}

.sp-feature__circle {
  flex: 1 1 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-width: 0;
}

.sp-feature__body {
  flex: 1 1 42%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 520px;
  min-width: 0;
}

.sp-feature__title {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 18px;
}

.sp-feature__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  max-width: 42ch;
  margin: 0 0 28px;
}

/* ===== Split sections ===== */
.sp-split {
  display: flex;
  min-height: 70vh;
  background: var(--bg-deep);
  overflow: hidden;
}

.sp-split__media,
.sp-split__body {
  width: 50%;
  min-height: 70vh;
}

.sp-split__media {
  position: relative;
  background-color: #000;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sp-split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px);
  background: var(--bg-deep);
}

.sp-split--media-left .sp-split__media { order: 1; }
.sp-split--media-left .sp-split__body { order: 2; }
.sp-split--media-right .sp-split__body { order: 1; }
.sp-split--media-right .sp-split__media { order: 2; }

/* ===== Projects ===== */
.sp-projects {
  padding: clamp(64px, 10vh, 120px) clamp(24px, 5vw, 72px);
  background: var(--bg-deep);
}

.sp-projects__head {
  max-width: 720px;
  margin-bottom: 40px;
}

.compare {
  position: relative;
  width: min(1100px, 100%);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  user-select: none;
  touch-action: none;
  background: #000;
}

.compare__before,
.compare__after {
  position: absolute;
  inset: 0;
}

.compare__after {
  clip-path: inset(0 0 0 50%);
}

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

.compare__label {
  position: absolute;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}
.compare__before .compare__label { left: 14px; }
.compare__after .compare__label { right: 14px; }

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.85);
  transform: translateX(-50%);
  z-index: 3;
}
.compare__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(20, 19, 19, 0.55);
  backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
}

/* ===== Downloads ===== */
.sp-downloads {
  padding: clamp(64px, 10vh, 110px) clamp(24px, 5vw, 72px);
  background: var(--bg);
}

.sp-downloads .sp-text {
  margin-bottom: 28px;
}

.sp-download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 960px;
  margin-top: 8px;
}

.sp-download {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--white);
  font-size: 18px;
  font-weight: 300;
  transition: background 0.3s, border-color 0.3s;
}
.sp-download:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
}

/* ===== CTA / contacts ===== */
.sp-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 14vh, 160px) clamp(24px, 5vw, 72px);
  background: var(--bg-deep);
  text-align: left;
}

.sp-cta__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(48px);
  opacity: 0.95;
  z-index: 0;
  will-change: transform, opacity;
}
.sp-cta__glow--green {
  width: min(110vw, 1100px);
  height: min(110vw, 1100px);
  left: -28%;
  top: -40%;
  background: radial-gradient(circle, rgba(61, 240, 178, 0.78) 0%, rgba(61, 240, 178, 0.2) 42%, transparent 70%);
  animation: glow-drift-a 11s ease-in-out infinite alternate;
}
.sp-cta__glow--blue {
  width: min(100vw, 1000px);
  height: min(100vw, 1000px);
  right: -26%;
  top: -22%;
  background: radial-gradient(circle, rgba(77, 141, 255, 0.74) 0%, rgba(59, 130, 246, 0.2) 44%, transparent 72%);
  animation: glow-drift-b 13s ease-in-out infinite alternate;
}
.sp-cta__glow--yellow {
  width: min(96vw, 960px);
  height: min(96vw, 960px);
  left: 18%;
  bottom: -48%;
  background: radial-gradient(circle, rgba(255, 211, 77, 0.7) 0%, rgba(255, 211, 77, 0.18) 45%, transparent 72%);
  animation: glow-drift-c 15s ease-in-out infinite alternate;
}

@keyframes glow-drift-a {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  100% { transform: translate3d(6%, 8%, 0) scale(1.12); opacity: 1; }
}
@keyframes glow-drift-b {
  0% { transform: translate3d(0, 0, 0) scale(1.05); opacity: 0.8; }
  100% { transform: translate3d(-7%, 5%, 0) scale(1.18); opacity: 1; }
}
@keyframes glow-drift-c {
  0% { transform: translate3d(0, 0, 0) scale(0.96); opacity: 0.75; }
  100% { transform: translate3d(5%, -6%, 0) scale(1.14); opacity: 1; }
}

.sp-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
}

.sp-cta__glass {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 18, 18, 0.42);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.sp-cta__lead { max-width: 640px; margin-bottom: 48px; }

.sp-cta__title {
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.15;
  color: var(--white);
  max-width: 18ch;
  margin-bottom: 18px;
}

.sp-cta__text {
  max-width: 42ch;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-soft);
}

.sp-cta__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(160px, 200px);
  gap: 28px 32px;
  align-items: start;
  margin: 0 0 44px;
}

.sp-cta__col a,
.sp-cta__col p {
  display: block;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
  margin-top: 4px;
}
.sp-cta__col a:hover { color: var(--white); }

.sp-contacts__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}

.sp-cta__mails a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.ogon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 12px currentColor;
}
.ogon--green { background: var(--brand-green); color: var(--brand-green); }
.ogon--blue { background: var(--brand-blue); color: var(--brand-blue); }
.ogon--yellow { background: var(--brand-yellow); color: var(--brand-yellow); }

.sp-cta__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  justify-self: end;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.sp-cta__qr:hover {
  border-color: rgba(61, 240, 178, 0.45);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}
.sp-cta__qr img {
  width: 148px;
  height: 148px;
  border-radius: 12px;
  background: #f4f4f4;
}
.sp-cta__qr span {
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}
.sp-cta__qr small {
  font-size: 12px;
  color: var(--text-mute);
}

.sp-contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  gap: 28px;
  margin: 56px 0 40px;
}

.sp-contacts a,
.sp-contacts p {
  display: block;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
}

.sp-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 720px;
}

.sp-form input {
  flex: 1 1 200px;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  outline: none;
}
.sp-form input:focus {
  border-color: rgba(255, 255, 255, 0.28);
}

/* ===== Footer ===== */
.sp-footer {
  position: relative;
  z-index: 40;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 36px clamp(24px, 5vw, 72px) 48px;
  border-top: 1px solid var(--line);
  background: #050505;
}

.sp-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sp-footer__brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.sp-footer__brand strong {
  display: block;
  font-family: var(--font);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.04em;
}
.sp-footer__brand p {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-mute);
}

.sp-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
}
.sp-footer__links a {
  font-size: 14px;
  color: var(--text-soft);
}
.sp-footer__links a:hover { color: var(--white); }

.sp-footer__follow h3 {
  font-size: 28px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
}

.sp-footer__follow a {
  color: var(--text-soft);
  font-size: 15px;
}

.sp-footer__copy {
  text-align: right;
}
.sp-footer__copy p {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.6;
}

.sp-footer__copy a { color: var(--text); }
.sp-footer__copy a:hover { color: var(--brand-green); }

/* Cookie */
.cookie {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 1200;
  max-width: 420px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 19, 19, 0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  transform: translateY(140%);
  transition: transform 0.45s var(--ease);
}
.cookie.is-visible { transform: translateY(0); }
.cookie p { font-size: 12px; color: var(--text-soft); }

/* Reveal — SMART-like entrances */
.reveal {
  opacity: 0;
  filter: blur(8px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease),
    filter 1s var(--ease);
  will-change: transform, opacity, filter;
}

.reveal--up { transform: translate3d(0, 40px, 0); }
.reveal--left { transform: translate3d(-56px, 18px, 0); }
.reveal--right { transform: translate3d(56px, 18px, 0); }
.reveal--scale { transform: translate3d(0, 28px, 0) scale(0.96); }

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Scroll motion media */
.fx-media,
[data-parallax-bg],
.circle-video__frame {
  will-change: transform, filter, background-position;
  transform-origin: center center;
}

.sp-hero__media {
  overflow: hidden;
}

.sp-pill__arrow {
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.sp-pill:hover .sp-pill__arrow {
  transform: translateX(3px);
  border-color: rgba(234, 234, 234, 0.95);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--up,
  .reveal--left,
  .reveal--right,
  .reveal--scale {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .circle-video__ring--outer {
    animation: none;
  }

  .sp-cta__glow--green,
  .sp-cta__glow--blue,
  .sp-cta__glow--yellow {
    animation: none;
  }

  .sp-pin {
    position: relative !important;
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .site-header { padding: 0 16px; }
  .site-menu {
    width: min(78vw, 260px);
    padding: 80px 16px 24px;
  }

  .sp-hero,
  .sp-split,
  .sp-feature {
    flex-direction: column;
  }

  .sp-hero__copy,
  .sp-hero__media,
  .sp-split__media,
  .sp-split__body {
    width: 100%;
    min-height: auto;
  }

  .sp-hero__media,
  .sp-split__media {
    min-height: 56vh;
  }

  .sp-hero__copy {
    min-height: auto;
    padding: calc(var(--header-h) + 24px) 20px 40px;
    order: 2;
  }

  .sp-hero__media { order: 1; }

  .sp-hero__title {
    font-size: clamp(36px, 11vw, 64px);
    white-space: nowrap;
  }

  .sp-hero__tag {
    font-size: clamp(8px, 2.4vw, 11px);
    letter-spacing: 0.04em;
  }

  .sp-feature {
    gap: 36px;
    padding: 56px 20px 72px;
    text-align: left;
  }

  .sp-feature__circle,
  .sp-feature__body {
    width: 100%;
    max-width: none;
    flex: none;
  }

  .sp-feature--circle-right .sp-feature__circle,
  .sp-feature--circle-left .sp-feature__circle {
    order: 1;
  }

  .sp-feature--circle-right .sp-feature__body,
  .sp-feature--circle-left .sp-feature__body {
    order: 2;
  }

  .circle-video {
    --circle-size: min(72vw, 340px);
    margin: 0 auto;
  }

  .sp-split--media-left .sp-split__media,
  .sp-split--media-right .sp-split__media {
    order: -1;
  }

  .sp-download-grid { grid-template-columns: 1fr; }
  .sp-contacts { grid-template-columns: 1fr; gap: 20px; }
  .sp-cta__grid { grid-template-columns: 1fr 1fr; }
  .sp-cta__qr { justify-self: start; grid-column: 1 / -1; max-width: 200px; }
  .sp-footer { grid-template-columns: 1fr; text-align: left; }
  .sp-footer__links { justify-content: flex-start; }
  .sp-footer__copy { text-align: left; }
}

@media (max-width: 640px) {
  .sp-title { font-size: 34px; }
  .sp-title--xl { font-size: 38px; }
  .sp-cta__title { font-size: 26px; max-width: none; }
  .sp-cta__grid { grid-template-columns: 1fr; }
  .circle-video {
    --circle-size: min(78vw, 300px);
  }
  .cookie { left: 12px; right: 12px; max-width: none; }
}
