/* ============================================================
   BAUTECH — Precision Fabrication
   Satoshi · #2981ff · light neutrals · steel dark
   ============================================================ */

:root {
  --n0: #ffffff;
  --n10: #fafafa;
  --n30: #ededed;
  --n100: #838383;
  --n900: #1a1a1a;
  --blue: #2981ff;
  --blue-dark: #1668e3;
  --blue-soft: rgba(41, 129, 255, 0.08);
  --ink: #101318;
  --ink-2: #171b22;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 60px -20px rgba(16, 19, 24, 0.18);
  --shadow-card: 0 2px 8px rgba(16, 19, 24, 0.04), 0 16px 40px -24px rgba(16, 19, 24, 0.16);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Satoshi", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--n100);
  background: var(--n0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

::selection { background: var(--blue); color: #fff; }

h1, h2, h3, h4 {
  color: var(--n900);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 7.2vw, 5.5rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -0.02em; line-height: 1.2; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ---------- icons ---------- */
.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-inline { color: var(--blue); display: inline-flex; flex: none; }
.icon-inline svg { width: 20px; height: 20px; }
.contact-item .icon-badge { width: 46px; height: 46px; border-radius: 12px; }

/* ---------- eyebrow / tag ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--n900);
}
.tag::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue);
}
.tag.is-light { color: rgba(255, 255, 255, 0.85); }

/* section index number, e.g. 01 */
.sec-index {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}
.btn .arr { transition: transform 0.3s var(--ease-out); display: inline-flex; }
.btn:hover .arr { transform: translateX(5px); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(41, 129, 255, 0.55);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-ghost {
  border: 1px solid var(--n30);
  background: var(--n0);
  color: var(--n900);
}
.btn-ghost:hover { border-color: var(--n900); transform: translateY(-2px); }

.btn-dark {
  background: var(--n900);
  color: #fff;
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }

.btn-on-dark {
  background: #fff;
  color: var(--n900);
}
.btn-on-dark:hover { transform: translateY(-2px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 100;
}
.navbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 12px 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--n30);
  border-radius: 999px;
  box-shadow: 0 8px 32px -12px rgba(16, 19, 24, 0.12);
  transition: box-shadow 0.3s ease;
}
.nav-wrap { padding: 0 clamp(12px, 3vw, 32px); }
body.scrolled .navbar-inner { box-shadow: 0 14px 44px -12px rgba(16, 19, 24, 0.22); }

.brand img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--n900);
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-links a:hover { background: var(--blue-soft); color: var(--blue); }
.nav-links a.active { background: var(--n900); color: #fff; }

.nav-right { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lang-switch a {
  padding: 6px 9px;
  color: var(--n100);
  transition: color 0.2s ease;
  position: relative;
}
.lang-switch a + a::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: var(--n30);
}
.lang-switch a.active { color: var(--n900); }
.lang-switch a:not(.active):hover { color: var(--blue); }

.nav-cta { padding: 11px 22px; font-size: 0.88rem; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--n900);
  transition: all 0.3s var(--ease-out);
}
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  padding: 120px 32px 40px;
  flex-direction: column;
  gap: 4px;
}
body.menu-open .mobile-menu { display: flex; }
.mobile-menu a {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--n900);
  padding: 12px 0;
  border-bottom: 1px solid var(--n30);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu a.active { color: var(--blue); }
.mobile-menu .btn { margin-top: 24px; justify-content: center; font-size: 1.05rem; }
.mobile-menu .mobile-lang {
  align-self: flex-start;
  margin-top: 24px;
}
.mobile-menu .mobile-lang a {
  font-size: 1rem;
  padding: 10px 14px 10px 0;
  letter-spacing: 0;
}
.mobile-menu .mobile-lang a + a { padding-left: 14px; }
.mobile-menu .mobile-lang a + a::before { height: 16px; }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(150px, 20vh, 210px) 0 0;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 50% -8%, rgba(41, 129, 255, 0.09), transparent 65%),
    linear-gradient(var(--n30) 1px, transparent 1px),
    linear-gradient(90deg, var(--n30) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  -webkit-mask-image: linear-gradient(#000 55%, transparent 92%);
  mask-image: linear-gradient(#000 55%, transparent 92%);
  opacity: 0.55;
  pointer-events: none;
}
.hero > .container { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border: 1px solid var(--n30);
  border-radius: 999px;
  background: var(--n0);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--n900);
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.hero h1 { max-width: 17ch; margin: 0 auto; }
.hero h1 .accent { color: var(--blue); }

.hero-sub {
  max-width: 54ch;
  margin: 26px auto 0;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.hero-triptych {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 14px;
  align-items: end;
  margin-top: clamp(48px, 7vw, 84px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.ht-item {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
  height: clamp(240px, 34vh, 400px);
}
.ht-item.is-tall { height: clamp(300px, 44vh, 500px); }
.ht-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.6s var(--ease-out);
}
.ht-item:hover img { transform: translateY(-6px); }
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: inset 0 0 0 1px rgba(16, 19, 24, 0.08);
  pointer-events: none;
}

.hero-stat {
  position: absolute;
  left: clamp(14px, 3vw, 36px);
  bottom: clamp(14px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  display: flex;
  gap: 26px;
  box-shadow: var(--shadow-soft);
}
.hero-stat .num {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--n900);
  line-height: 1.1;
}
.hero-stat .num span { color: var(--blue); }
.hero-stat .lbl { font-size: 0.74rem; font-weight: 500; color: var(--n100); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--n30);
  border-bottom: 1px solid var(--n30);
  padding: 18px 0;
  overflow: hidden;
  background: var(--n0);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 56s linear infinite;
}
.marquee-track span {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--n900);
  white-space: nowrap;
}
.marquee-track em {
  font-style: normal;
  color: var(--blue);
  font-size: 0.8em;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section.is-tint { background: var(--n10); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head.is-center { align-items: center; text-align: center; }
.section-head p { max-width: 58ch; }
.section-head.is-center p { margin: 0 auto; }

/* ---------- USP grid ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.usp-card {
  background: var(--n0);
  border: 1px solid var(--n30);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}
.usp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.usp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.usp-card:hover::before { transform: scaleX(1); }
.usp-card .icon-badge { margin-bottom: 20px; }
.usp-card .t { font-weight: 700; color: var(--n900); font-size: 1.05rem; margin-bottom: 6px; }
.usp-card .d { font-size: 0.92rem; }
.usp-card .idx {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--n100);
  opacity: 0.55;
  font-variant-numeric: tabular-nums;
}

/* ---------- trust / stats ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.trust-copy p { font-size: 1.08rem; margin-bottom: 30px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: clamp(44px, 6vw, 64px);
  padding-top: clamp(30px, 4vw, 44px);
  border-top: 1px solid var(--n30);
}
.stat .num {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--n900);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .num .plus { color: var(--blue); }
.stat .lbl { margin-top: 8px; font-size: 0.92rem; }

/* ---------- product split ---------- */
.product-section { padding: clamp(64px, 9vw, 110px) 0; }
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5.5vw, 72px);
  align-items: center;
}
.product-grid.is-flip .product-media { order: 2; }
.product-grid.is-flip .product-copy { order: 1; }

.product-copy .sec-index { display: block; margin-bottom: 14px; }
.product-copy h2 { margin-bottom: 14px; }
.product-copy > p { max-width: 46ch; }

.mini-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0 34px;
}
.mini-feature { display: flex; flex-direction: column; gap: 6px; }
.mini-feature .fh {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--n900);
}
.mini-feature .fh .icon-inline svg { width: 22px; height: 22px; }
.mini-feature p { font-size: 0.92rem; }

/* ---------- slider ---------- */
.slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  background: var(--n30);
  box-shadow: var(--shadow-soft);
}
.slider .slides { position: absolute; inset: 0; }
.slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 0.75s var(--ease-out), transform 1.2s var(--ease-out);
  pointer-events: none;
}
.slider .slide.on { opacity: 1; transform: scale(1); pointer-events: auto; }
.slider .slide img { width: 100%; height: 100%; object-fit: cover; }

.slider-ui {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.slider-dots { display: flex; gap: 6px; }
.slider-dots button {
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.3s;
}
.slider-dots button.on { background: #fff; }
.slider-arrows { display: flex; gap: 8px; }
.slider-arrows button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--n900);
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: all 0.25s var(--ease-out);
}
.slider-arrows button:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* corner crosshairs on media */
.media-frame { position: relative; }
.media-frame .xh {
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 3;
  pointer-events: none;
}
.media-frame .xh::before,
.media-frame .xh::after {
  content: "";
  position: absolute;
  background: var(--blue);
}
.media-frame .xh::before { width: 100%; height: 2px; top: 8px; }
.media-frame .xh::after { width: 2px; height: 100%; left: 8px; }
.media-frame .xh.tl { top: -9px; left: -9px; }
.media-frame .xh.br { bottom: -9px; right: -9px; }

/* ============================================================
   DARK BLUEPRINT SECTION (3D izris)
   ============================================================ */
.blueprint {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  padding: clamp(80px, 11vw, 140px) 0;
  overflow: hidden;
}
.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 78% 18%, rgba(41, 129, 255, 0.16), transparent 60%),
    linear-gradient(rgba(41, 129, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 129, 255, 0.07) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  pointer-events: none;
}
.blueprint > .container { position: relative; }
.blueprint h2 { color: #fff; }
.blueprint .t { color: #fff; }

.blueprint-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.blueprint-copy > p { font-size: 1.05rem; margin: 18px 0 34px; max-width: 50ch; }

.blueprint-usps { display: flex; flex-direction: column; gap: 0; margin-bottom: 38px; }
.blueprint-usp {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.blueprint-usp:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.blueprint-usp .n {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}
.blueprint-usp .t { font-weight: 700; font-size: 1.02rem; margin-bottom: 2px; }
.blueprint-usp .d { font-size: 0.92rem; }

.blueprint-media { position: relative; }
.blueprint-media img {
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.blueprint-media .ring {
  position: absolute;
  inset: 8% 4%;
  border: 1px dashed rgba(41, 129, 255, 0.4);
  border-radius: 50%;
  animation: spin 40s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.process-intro { position: sticky; top: 120px; }
.process-intro h2 { margin: 14px 0 16px; }

.process-list { display: flex; flex-direction: column; }
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--n30);
}
.process-step:last-child { border-bottom: 1px solid var(--n30); }
.process-step .num {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue);
  font-variant-numeric: tabular-nums;
  transition: color 0.35s var(--ease-out);
}
.process-step:hover .num { color: var(--blue); }
.process-step .t { font-weight: 700; color: var(--n900); font-size: 1.12rem; margin-bottom: 6px; }
.process-step .d { font-size: 0.96rem; max-width: 52ch; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 8px; margin-top: 34px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--n30);
  border-radius: var(--radius-sm);
  background: var(--n0);
  transition: all 0.3s var(--ease-out);
}
.contact-item:hover { border-color: var(--blue); transform: translateX(6px); }
.contact-item .t { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--n100); }
.contact-item .v { font-weight: 700; color: var(--n900); }

.contact-form-card {
  background: var(--n0);
  border: 1px solid var(--n30);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 44px);
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; width: 100%; }
.field input,
.field textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--n30);
  border-radius: var(--radius-sm);
  background: var(--n10);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--n900);
  transition: all 0.25s ease;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--n100); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--n0);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.field textarea { min-height: 140px; }
.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 17px 28px;
  margin-top: 6px;
}
.direct-contact { display: flex; flex-direction: column; gap: 12px; }
.direct-contact h3 { margin-bottom: 2px; }
.direct-contact > p { margin-bottom: 10px; }
.direct-contact .btn { justify-content: center; }

.form-note {
  display: none;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
}
.form-note.ok { background: rgba(41, 129, 255, 0.1); color: var(--blue-dark); }
.form-note.err { background: #ffdede; color: #b3261e; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  padding: clamp(64px, 9vw, 100px) 0 0;
  position: relative;
  overflow: hidden;
}
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: clamp(44px, 6vw, 70px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-cta h2 { color: #fff; max-width: 16ch; }
.footer-cta h2 .accent { color: var(--blue); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: clamp(40px, 6vw, 60px) 0;
}
.footer-col .h {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col a, .footer-col span {
  display: block;
  padding: 5px 0;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}
.footer-bottom img { height: 24px; filter: brightness(0) invert(1); opacity: 0.9; }

/* ============================================================
   PAGE HERO (product pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: clamp(140px, 18vh, 190px) 0 clamp(56px, 8vw, 90px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 18% 0%, rgba(41, 129, 255, 0.08), transparent 62%),
    linear-gradient(var(--n30) 1px, transparent 1px),
    linear-gradient(90deg, var(--n30) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  -webkit-mask-image: linear-gradient(#000 45%, transparent 95%);
  mask-image: linear-gradient(#000 45%, transparent 95%);
  opacity: 0.5;
  pointer-events: none;
}
.page-hero > .container { position: relative; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.page-hero .crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--n100);
  margin-bottom: 20px;
}
.page-hero .crumb em { font-style: normal; color: var(--blue); }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); margin-bottom: 20px; }
.page-hero p { max-width: 54ch; }
.page-hero .hero-actions { justify-content: flex-start; margin-top: 30px; }
.page-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* ---------- feature split (product pages) ---------- */
.feature-section { padding: clamp(56px, 8vw, 100px) 0; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5.5vw, 76px);
  align-items: center;
}
.feature-grid.is-flip .feature-media { order: 2; }
.feature-grid.is-flip .feature-copy { order: 1; }
.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.6s var(--ease-out);
}
.feature-media:hover img { transform: scale(1.015); }
.feature-copy .sec-index { display: block; margin-bottom: 12px; }
.feature-copy h2 { margin-bottom: 14px; }
.feature-copy > p { max-width: 48ch; }

.feature-list { margin-top: 28px; display: flex; flex-direction: column; }
.feature-list-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--n30);
}
.feature-list-item:last-child { border-bottom: 1px solid var(--n30); }
.feature-list-item .ic {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 900;
  margin-top: 3px;
}
.feature-list-item .t { font-weight: 700; color: var(--n900); font-size: 1rem; }
.feature-list-item .d { font-size: 0.92rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.gallery-filters button {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--n30);
  background: var(--n0);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--n900);
  transition: all 0.25s var(--ease-out);
}
.gallery-filters button:hover { border-color: var(--blue); color: var(--blue); }
.gallery-filters button.on {
  background: var(--n900);
  border-color: var(--n900);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery-item {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  padding: 0;
}
/* mosaic rhythm — some tiles tall, some wide */
.gallery-item:nth-child(7n + 1) { grid-row: span 2; }
.gallery-item:nth-child(7n + 4) { grid-column: span 2; }
.gallery-item:nth-child(14n + 9) { grid-row: span 2; grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 19, 24, 0.66);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }
.gallery-item.hide { display: none; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 12, 16, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.lightbox button {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  transition: background 0.25s;
}
.lightbox button:hover { background: var(--blue); }
.lightbox .lb-close { top: 22px; right: 22px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   THANK-YOU / 404
   ============================================================ */
.center-page {
  min-height: 82vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 120px;
}
.center-page .inner { max-width: 620px; margin: 0 auto; }
.center-page .big-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.9rem;
}
.center-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.center-page p { margin-bottom: 32px; }
.center-page .hero-actions { justify-content: center; margin: 0; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: clamp(64px, 9vw, 110px);
}
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 12px; }
.legal .updated { font-size: 0.85rem; color: var(--n100); margin-bottom: 40px; }
.legal h2 {
  font-size: 1.35rem;
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--n30);
}
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 20px; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--blue); font-weight: 500; }
.legal .btn { margin-top: 10px; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 150;
  max-width: 420px;
  background: var(--n0);
  border: 1px solid var(--n30);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: none;
}
.cookie-banner h4 { font-size: 1.05rem; margin-bottom: 8px; }
.cookie-banner p { font-size: 0.85rem; margin-bottom: 16px; }
.cookie-banner .row { display: flex; gap: 8px; }
.cookie-banner .btn { padding: 10px 20px; font-size: 0.85rem; }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}
.preloader.done { transform: translateY(-100%); }
.preloader .pre-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.preloader.done .pre-inner { opacity: 0; transform: translateY(-18px); }
.preloader img {
  height: 44px;
  filter: brightness(0) invert(1);
}
.preloader .pre-bar {
  width: 180px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.preloader .pre-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: var(--blue);
  transition: width 0.5s var(--ease-out);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.js .reveal,
.js .reveal-l,
.js .reveal-r,
.js .reveal-img {
  opacity: 0;
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal { transform: translateY(30px); }
.js .reveal-l { transform: translateX(-44px); }
.js .reveal-r { transform: translateX(44px); }
.js .reveal-img { transform: translateY(40px) scale(0.95); }
.js .reveal.in,
.js .reveal-l.in,
.js .reveal-r.in,
.js .reveal-img.in { opacity: 1; transform: none; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}

@media (max-width: 900px) {
  .nav-links, .navbar .lang-switch, .navbar .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .trust-grid,
  .product-grid,
  .blueprint-grid,
  .process-grid,
  .contact-grid,
  .page-hero-grid,
  .feature-grid { grid-template-columns: 1fr; }

  /* mobile: image first, text under — consistently on every section */
  .product-media, .feature-media { order: 0; }
  .product-copy, .feature-copy { order: 1; }

  .process-intro { position: static; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-stat { position: static; margin-top: 14px; display: inline-flex; }
  .hero-triptych { gap: 10px; }
  .ht-item { height: clamp(140px, 22vh, 260px); }
  .ht-item.is-tall { height: clamp(170px, 27vh, 320px); }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(2rem, 10.5vw, 2.6rem); }
  h2 { font-size: clamp(1.7rem, 8vw, 2.1rem); }
  .hero h1 br { display: none; }
  .page-hero h1 { font-size: clamp(1.9rem, 10vw, 2.4rem); }
  .usp-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cookie-banner { left: 12px; right: 12px; max-width: none; }
}
