*, *::before, *::after { box-sizing: border-box; }
:root {
  --paper: #f4f2ed;
  --paper-2: #e9e5dc;
  --ink: #171717;
  --muted: #55524c;
  --steel: #8f9698;
  --line: rgba(23, 23, 23, 0.14);
  --blue: #1f8fcf;
  --blue-dark: #0e5f8c;
  --amber: #e3a51a;
  --carbon: #111820;
  --carbon-2: #1d252d;
  --max: 1180px;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Bahnschrift, "Aptos", "Segoe UI Variable", "Trebuchet MS", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 12px; }
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  background: rgba(17, 24, 32, 0.55);
  color: #fff;
  backdrop-filter: blur(14px);
}
.nav {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand-mark {
  width: 11px;
  height: 34px;
  background: linear-gradient(180deg, var(--amber), var(--blue));
  border-radius: 2px;
  transform: skew(-12deg);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-links a { opacity: 0.78; }
.nav-links a:hover { opacity: 1; color: var(--amber); }
.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 999px;
  overflow: hidden;
}
.lang-switch a {
  padding: 5px 10px;
  font-size: 0.78rem;
  opacity: 0.72;
}
.lang-switch a.active { background: #fff; color: var(--carbon); opacity: 1; }
.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--carbon);
}
.hero picture, .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-bg {
  object-fit: cover;
  object-position: 52% 44%;
  filter: saturate(0.95) contrast(1.08);
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 16, 0.92) 0%, rgba(8, 12, 16, 0.68) 39%, rgba(8,12,16,0.22) 72%),
    linear-gradient(0deg, rgba(8,12,16,0.88) 0%, rgba(8,12,16,0.08) 46%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 140px 0 72px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #d8dee7;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--amber);
}
h1, h2, h3, p { margin: 0; }
h1 {
  max-width: 850px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero-copy {
  max-width: 670px;
  margin-top: 28px;
  color: #d8dee7;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.btn.primary { background: var(--amber); color: #17120a; }
.btn.secondary { border-color: rgba(255,255,255,0.34); color: #fff; }
.btn:hover { transform: translateY(-1px); }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: 58px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.16);
}
.metric {
  padding: 18px;
  background: rgba(10, 14, 18, 0.62);
}
.metric strong { display: block; font-size: 1.1rem; color: #fff; }
.metric span { display: block; margin-top: 4px; color: #b8c0ca; font-size: 0.85rem; }
.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 94px 0;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.62fr);
  gap: 58px;
  align-items: end;
  margin-bottom: 42px;
}
.kicker {
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
h2 {
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}
.lead { color: var(--muted); font-size: 1.06rem; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.trust-card {
  min-height: 180px;
  padding: 26px;
  background: #fbfaf6;
}
.trust-card .num { color: var(--amber); font-weight: 900; font-size: 0.82rem; letter-spacing: 0.12em; }
.trust-card h3 { margin-top: 34px; font-size: 1.12rem; line-height: 1.2; }
.trust-card p { margin-top: 10px; color: var(--muted); font-size: 0.92rem; }
.factory-proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}
.factory-proof-main,
.factory-proof-side {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fbfaf6;
}
.factory-proof-main img,
.factory-proof-side img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}
.factory-proof-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}
.factory-proof-side picture { background: #fbfaf6; }
.partner-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.14);
}
.partner-panel > * {
  padding: clamp(28px, 5vw, 54px);
  background: rgba(12, 18, 24, 0.78);
}
.partner-list {
  display: grid;
  gap: 12px;
  color: #d4dbe3;
}
.partner-list span {
  display: block;
  padding-left: 18px;
  border-left: 3px solid var(--amber);
}
.model-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.model-card {
  min-height: 170px;
  padding: 22px;
  background: #fbfaf6;
}
.model-card strong { display: block; line-height: 1.18; }
.model-card p { margin-top: 10px; color: var(--muted); font-size: 0.9rem; }
.process-band {
  background: var(--carbon);
  color: #fff;
  padding: 92px 0;
  overflow: hidden;
}
.process-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}
.process-copy p { color: #c8d0d8; margin-top: 18px; }
.process-images {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 14px;
}
.process-images picture:first-child { grid-row: span 2; }
.process-images img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  border-radius: 6px;
}
.process-images picture:first-child img { min-height: 520px; }
.cases {
  display: grid;
  gap: 18px;
}
.case-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  min-height: 410px;
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.case-card:nth-child(even) { grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr); }
.case-card:nth-child(even) .case-media { order: 2; }
.case-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.case-card:hover .case-media img { transform: scale(1.035); }
.case-body { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.case-index { color: var(--blue-dark); font-weight: 900; letter-spacing: 0.12em; font-size: 0.78rem; }
.case-body h3 { margin-top: 12px; font-size: clamp(1.55rem, 3vw, 2.55rem); line-height: 1.05; letter-spacing: 0; }
.case-body p { margin-top: 18px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags span {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 7px 10px;
  border-radius: 999px;
  color: #38342e;
  font-size: 0.8rem;
}
.case-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}
.case-gallery button {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0;
  background: #e8e3d8;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.case-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease, filter 0.32s ease;
}
.case-gallery button:hover img,
.case-gallery button:focus-visible img {
  transform: scale(1.06);
  filter: contrast(1.04) saturate(1.04);
}
.gallery-open {
  appearance: none;
  align-self: flex-start;
  margin-top: 14px;
  border: 0;
  border-bottom: 2px solid var(--amber);
  background: transparent;
  color: var(--blue-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(6, 9, 12, 0.92);
  color: #fff;
}
.lightbox.open { display: grid; }
.lightbox figure {
  width: min(1120px, 100%);
  margin: 0;
}
.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  background: #0d1116;
}
.lightbox figcaption {
  min-height: 28px;
  margin-top: 12px;
  color: #ccd4dc;
  text-align: center;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  appearance: none;
  position: absolute;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.lightbox-close {
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 52px;
  height: 72px;
  transform: translateY(-50%);
  border-radius: 6px;
  font-size: 3rem;
  line-height: 0.8;
}
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
.cookie-note {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 40;
  display: none;
  align-items: center;
  gap: 14px;
  width: min(520px, calc(100% - 36px));
  padding: 12px 14px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 6px;
  background: rgba(251, 250, 246, 0.94);
  color: var(--muted);
  box-shadow: 0 16px 40px rgba(13, 17, 22, 0.14);
  backdrop-filter: blur(10px);
}
.cookie-note.visible { display: flex; }
.cookie-note p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
}
.cookie-note button {
  appearance: none;
  flex: 0 0 auto;
  border: 1px solid rgba(23, 23, 23, 0.18);
  border-radius: 4px;
  background: var(--carbon);
  color: #fff;
  cursor: pointer;
  padding: 8px 12px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}
.about-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.about-card, .contact-card {
  background: #fbfaf6;
  padding: clamp(28px, 5vw, 54px);
}
.about-card p, .contact-card p { color: var(--muted); margin-top: 16px; }
.contact-card { background: var(--carbon); color: #fff; }
.contact-card p { color: #cbd3dc; }
.contact-list { display: grid; gap: 15px; margin-top: 28px; }
.contact-item { display: grid; grid-template-columns: 118px 1fr; gap: 16px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.14); }
.contact-item span { color: #9aa7b3; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.contact-item strong, .contact-item a { color: #fff; font-weight: 700; }
.site-footer {
  padding: 34px 0;
  background: #0d1116;
  color: #8f9ba6;
}
.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}
.reveal { opacity: 1; transform: none; transition: opacity 0.65s ease, transform 0.65s ease; }
.js .reveal { opacity: 1; transform: none; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) {
  .nav { min-height: 62px; }
  .nav-links a:not(.keep-mobile):not(.lang-switch a) { display: none; }
  .nav-links { gap: 12px; }
  .lang-switch { display: inline-flex; }
  .hero-inner { padding-bottom: 44px; }
  .hero-metrics, .trust-grid, .section-head, .process-inner, .about-panel, .factory-proof-grid, .partner-panel, .model-grid { grid-template-columns: 1fr; }
  .trust-grid { gap: 0; }
  .factory-proof-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .process-images picture:first-child img { min-height: 360px; }
  .case-card, .case-card:nth-child(even) { grid-template-columns: 1fr; }
  .case-card:nth-child(even) .case-media { order: 0; }
  .case-gallery { grid-template-columns: repeat(4, minmax(64px, 1fr)); }
}
@media (max-width: 620px) {
  .hero-bg { object-position: 58% 45%; }
  .hero::after { background: linear-gradient(0deg, rgba(8,12,16,0.92) 0%, rgba(8,12,16,0.62) 55%, rgba(8,12,16,0.28) 100%); }
  h1 { font-size: clamp(2.05rem, 10.5vw, 2.7rem); line-height: 0.98; }
  .hero-copy { font-size: 0.98rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-metrics { grid-template-columns: 1fr; margin-top: 38px; }
  .section { padding: 70px 0; }
  .process-band { padding: 70px 0; }
  .process-images { grid-template-columns: 1fr; }
  .contact-item { grid-template-columns: 1fr; gap: 4px; }
  .case-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox { padding: 16px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 18px; width: 48px; height: 52px; transform: none; }
  .lightbox-prev { left: 18px; }
  .lightbox-next { right: 18px; }
  .cookie-note { left: 12px; bottom: 12px; width: calc(100% - 24px); align-items: flex-start; }
}
