:root {
  --bg: #050505;
  --bg-soft: #101010;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.14);
  --text: #fafafa;
  --muted: rgba(255, 255, 255, 0.70);
  --muted-strong: rgba(255, 255, 255, 0.86);
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  --max-width: 1200px;
  --radius-xl: 28px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.06), transparent 30%),
    linear-gradient(180deg, #000 0%, var(--bg) 45%, #090909 100%);
}

.noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

.site-frame {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 0 0 48px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 20, 20, 0.72);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-condensed {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(74, 74, 74, 0.94);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
}

.site-header-inner {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  transition: padding 220ms ease;
}

.site-header.is-condensed .site-header-inner {
  padding: 10px 22px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
  transition: gap 220ms ease;
}

.site-header.is-condensed .header-tools {
  gap: 14px;
}

.brand {
  display: inline-flex;
  width: min(100%, 340px);
  text-decoration: none;
  flex: 0 0 auto;
  transition: width 220ms ease;
}

.site-header.is-condensed .brand {
  width: min(100%, 268px);
}

.brand-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: invert(1);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: padding 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.site-header.is-condensed .language-switcher {
  padding: 8px 12px;
}

.language-switcher select {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
  outline: none;
  cursor: pointer;
}

.language-switcher option {
  color: #050505;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: stretch;
  min-height: calc(100vh - 120px);
  padding: 34px 0 12px;
}

.hero-copy,
.panel,
.service-panel {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  border-radius: 36px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker,
.section-label {
  margin: 0 0 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
}

h1,
h2 {
  margin: 0;
  font-family: "IBM Plex Serif", serif;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.hero-lead,
.section-copy,
.info-card p,
.service-copy p {
  color: var(--muted-strong);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-lead {
  max-width: 56ch;
  margin: 24px 0 0;
}

.hero-actions,
.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #050505;
  background: #fff;
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.hero-visual {
  --parallax-x: 0px;
  --parallax-y: 0px;
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #111 0%, #181818 100%);
  min-height: 560px;
  box-shadow: var(--shadow);
}

.product-stage {
  position: absolute;
  inset: 24px 24px 64px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0%, rgba(242, 242, 242, 0.98) 55%, rgba(220, 220, 220, 0.98) 100%);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  transition: transform 220ms ease-out;
  will-change: transform;
  cursor: zoom-in;
}

.product-image {
  width: min(100%, 520px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.28));
  animation: productFloat 6.5s ease-in-out infinite;
}

.product-lens {
  --lens-size: 168px;
  --lens-x: 50%;
  --lens-y: 50%;
  position: absolute;
  left: 0;
  top: 0;
  width: var(--lens-size);
  height: var(--lens-size);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.16);
  background-repeat: no-repeat;
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(calc(var(--lens-x) - 50%), calc(var(--lens-y) - 50%), 0) scale(0.94);
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
  will-change: transform, opacity, background-position;
}

.product-lens.is-active {
  opacity: 1;
  transform: translate3d(calc(var(--lens-x) - 50%), calc(var(--lens-y) - 50%), 0) scale(1);
}

.visual-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.section {
  margin-top: 22px;
}

.panel {
  border-radius: var(--radius-xl);
  padding: 34px;
}

.section-heading {
  max-width: 820px;
  position: relative;
  padding-bottom: 18px;
}

.section-heading::after,
.service-copy::after {
  content: "";
  display: block;
  width: min(160px, 36vw);
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.15));
  transform: scaleX(0.28);
  transform-origin: left center;
  opacity: 0.5;
  transition: transform 420ms ease-out, opacity 420ms ease-out;
}

.section-copy {
  max-width: 72ch;
  margin: 22px 0 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  border-radius: var(--radius-lg);
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  border-radius: var(--radius-xl);
  padding: 34px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin-top: 28px;
}

.contact-required {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.field-label {
  color: var(--muted-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
}

.required-mark {
  color: #fff;
}

.field-input {
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.field-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.field-textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

.contact-form button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.contact-status {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.6;
  font-size: 0.96rem;
}

.contact-status[data-state="success"] {
  color: #d3f6d0;
}

.contact-status[data-state="error"] {
  color: #ffd0d0;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.language-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 360ms ease-out, transform 360ms ease-out;
  will-change: opacity, transform;
}

.reveal-delay {
  transition-delay: 80ms;
}

.reveal-delay-2 {
  transition-delay: 160ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal.is-visible .section-heading::after,
.reveal.is-visible .service-copy::after {
  transform: scaleX(1);
  opacity: 1;
}

@keyframes productFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-delay,
  .reveal-delay-2,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .product-image {
    animation: none;
  }

  .product-lens {
    transition: none;
  }

  .section-heading::after,
  .service-copy::after {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

@media (pointer: coarse) {
  .product-stage {
    cursor: default;
  }

  .product-lens {
    display: none;
  }
}

@media (max-width: 1000px) {
  .hero,
  .product-grid,
  .service-panel,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding: 36px 28px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .service-actions {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .site-frame {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    margin-bottom: 8px;
  }

  .site-header-inner {
    width: min(calc(100% - 20px), var(--max-width));
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0 16px;
  }

  .header-tools {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header.is-condensed {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(70, 70, 70, 0.92);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(12px);
  }

  .site-header.is-condensed .site-header-inner {
    padding: 14px 0 16px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 12px 16px;
  }

  .brand {
    width: min(100%, 240px);
  }

  .panel,
  .service-panel {
    padding: 26px 20px;
  }

  .field-input {
    min-height: 52px;
    padding: 14px 16px;
  }

  .contact-form-actions {
    align-items: stretch;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  h2 {
    max-width: none;
  }

  .hero-visual {
    min-height: 340px;
  }
}
