/* Veltrix web system */
:root {
  --ink: #050606;
  --ink-raised: #17191c;
  --ink-line: #2a2d31;
  --paper: #ffffff;
  --studio: #eeefec;
  --line: #dcdedb;
  --muted: #5b6066;
  --muted-on-dark: #a4a9b0;
  --cobalt: #1f45e0;
  --cobalt-deep: #1636b8;
  --battery: #ff5b1f;
  --r-tile: 28px;
  --r-panel: 20px;
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.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; }
.wrap { width: min(1280px, 100% - 48px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238, 239, 236, 0.82);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.9); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; color: var(--ink); }
.brand svg { height: 26px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-tools { display: flex; align-items: center; gap: 12px; }
.lang {
  font-size: 14px; font-weight: 600; text-decoration: none;
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
}
.lang:hover { border-color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--font-body);
  padding: 15px 22px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--cobalt); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cobalt); color: #fff; }
.btn-line-light { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-line-light:hover { border-color: #fff; }
.btn-sm { padding: 11px 16px; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--studio); padding-top: clamp(48px, 7vw, 104px); }
.hero-x {
  position: absolute; z-index: 0; pointer-events: none;
  right: 4vw; top: clamp(24px, 4vw, 64px);
  width: min(31vw, 450px); height: auto;
}
.hero-x path {
  fill: rgba(31, 69, 224, 0); stroke: var(--cobalt); stroke-width: .42;
  stroke-dasharray: 590; stroke-dashoffset: 590;
  animation: draw 2.2s cubic-bezier(.6, 0, .2, 1) .2s forwards, tint 1.2s ease 2.2s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes tint { to { fill: rgba(31, 69, 224, .07); } }
.hero-copy { position: relative; z-index: 1; max-width: 760px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(50px, 8.4vw, 128px); line-height: .94; letter-spacing: -.048em;
  margin: 0; max-width: 8.6ch;
}
.hero .lead {
  font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; color: var(--muted);
  max-width: 44ch; margin: 28px 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.shelf {
  position: relative; z-index: 1;
  list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0 0 clamp(28px, 3vw, 40px);
  display: grid; align-items: end; gap: clamp(6px, 1.6vw, 26px);
  grid-template-columns: 1.62fr 1.36fr 1.18fr .82fr .74fr .86fr;
}
.shelf li { min-width: 0; }
.shelf a { display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; }
.shelf img { width: 100%; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.shelf a:hover img { transform: translateY(-6px); }
.shelf span { font-size: 14px; font-weight: 500; color: var(--muted); }
.shelf a:hover span { color: var(--ink); }
.shelf li { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.shelf li:nth-child(1) { animation-delay: .55s; }
.shelf li:nth-child(2) { animation-delay: .62s; }
.shelf li:nth-child(3) { animation-delay: .69s; }
.shelf li:nth-child(4) { animation-delay: .76s; }
.shelf li:nth-child(5) { animation-delay: .83s; }
.shelf li:nth-child(6) { animation-delay: .9s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Section heads */
.section { padding: clamp(88px, 10vw, 148px) 0; }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 48px;
  align-items: end; margin-bottom: clamp(36px, 4vw, 56px);
}
.section-head h2, .h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(38px, 5.2vw, 72px); line-height: 1; letter-spacing: -.04em; margin: 0;
}
.section-head p { margin: 0; color: var(--muted); max-width: 46ch; }
h1, h2, h3 { text-wrap: balance; }
.lead, .section-head p, .tile p, .partner p { text-wrap: pretty; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--studio); border-radius: var(--r-tile);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex; flex-direction: column; min-height: 360px;
}
.tile-text { position: relative; z-index: 1; max-width: 34ch; }
.tile h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; line-height: 1.15; margin: 0; }
.tile p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.tile .quote {
  display: inline-block; margin-top: 16px; font-weight: 600; font-size: 15px;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.tile .quote:hover { color: var(--cobalt); }
.tile-media { margin-top: auto; display: flex; align-items: flex-end; justify-content: center; gap: 4%; padding-top: 20px; }

.t-scales { grid-column: 1 / span 7; grid-row: span 2; }
.t-scales .tile-media { gap: 1%; }
.t-scales .tile-media img:nth-child(1) { width: 24%; }
.t-scales .tile-media img:nth-child(2) { width: 44%; }
.t-scales .tile-media img:nth-child(3) { width: 30%; }
.t-connect { grid-column: 8 / span 5; }
.t-vacuum { grid-column: 8 / span 5; }
.t-connect .tile-media img { width: 100%; }
.t-vacuum .tile-media img { width: 82%; }
.t-display { grid-column: 1 / span 4; }
.t-compute { grid-column: 5 / span 4; }
.t-print { grid-column: 9 / span 4; }
.t-display .tile-media img { width: 86%; }
.t-compute .tile-media img { width: 90%; }
.t-print .tile-media img { width: 62%; }
.t-connect, .t-vacuum, .t-scan, .t-indicator { flex-direction: row; align-items: stretch; gap: 16px; min-height: 300px; }
.t-scan { grid-column: 1 / span 6; }
.t-indicator { grid-column: 7 / span 6; }
.t-connect .tile-text, .t-vacuum .tile-text, .t-scan .tile-text, .t-indicator .tile-text { flex: 1 1 0; min-width: 0; }
.t-connect .tile-media, .t-vacuum .tile-media, .t-scan .tile-media, .t-indicator .tile-media { flex: 0 0 48%; margin: 0; padding: 0; align-items: center; }
.t-scan .tile-media img { width: 78%; }
.t-indicator .tile-media img { width: 100%; }

/* Spotlight */
.spot { background: var(--ink); color: #fff; }
.spot .section-head p { color: var(--muted-on-dark); }
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.model { background: var(--ink-raised); border-radius: var(--r-tile); padding: clamp(14px, 1.6vw, 20px); display: flex; flex-direction: column; }
.model-media {
  position: relative; background: var(--studio); border-radius: var(--r-panel);
  aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
}
.model-media img { width: 78%; }
.model-media .inset {
  position: absolute; right: 16px; bottom: 16px; width: 30%;
  background: #fff; border-radius: 14px; padding: 6px; box-shadow: 0 0 0 1px var(--line);
}
.model-media .inset img { width: 100%; }
.model-body { padding: clamp(18px, 2vw, 28px) clamp(8px, 1.4vw, 16px) 8px; display: flex; flex-direction: column; flex: 1; }
.model-tag { font-size: 14px; color: var(--muted-on-dark); margin: 0 0 6px; }
.model h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.035em; line-height: 1; margin: 0; }
.model .summary { color: #d9dce0; margin: 14px 0 22px; max-width: 46ch; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 0 0 22px; }
.specs div { border-top: 1px solid var(--ink-line); padding: 12px 0; }
.specs dt { font-size: 13px; color: var(--muted-on-dark); }
.specs dd { margin: 2px 0 0; font-weight: 600; font-size: 16px; }
.model .legal { font-size: 13px; line-height: 1.5; color: var(--muted-on-dark); margin: 0 0 22px; max-width: 58ch; }
.model-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* Contact */
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.channel { border: 1px solid var(--line); border-radius: var(--r-tile); padding: clamp(24px, 2.4vw, 34px); display: flex; flex-direction: column; min-height: 300px; }
.channel h3 { font-size: 15px; font-weight: 600; margin: 0; color: var(--muted); }
.channel .number { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -.03em; line-height: 1.1; margin: 12px 0 8px; }
.channel p { margin: 0; color: var(--muted); font-size: 15.5px; }
.channel .btn { margin-top: auto; align-self: flex-start; }
.channel-mark { width: 30px; height: 30px; margin-bottom: 18px; color: var(--ink); }

/* Partners */
.partner { background: var(--studio); }
.partner-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px 64px; align-items: end; }
.partner p { color: var(--muted); margin: 20px 0 0; max-width: 48ch; }
.partner-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding: clamp(64px, 7vw, 96px) 0 36px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand svg { height: 30px; width: auto; color: #fff; }
.footer-brand p { color: var(--muted-on-dark); max-width: 32ch; margin: 18px 0 0; font-size: 15px; text-wrap: balance; }
.site-footer h4 { font-size: 14px; font-weight: 600; color: var(--muted-on-dark); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.site-footer ul a { text-decoration: none; color: #e6e8eb; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--ink-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 13.5px; color: var(--muted-on-dark);
}

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; box-shadow: 0 10px 30px rgba(5, 6, 6, .22);
  transition: background-color .2s;
}
.wa-float:hover { background: var(--cobalt); }
.wa-float svg { width: 26px; height: 26px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-tools { margin-left: auto; }
  .t-scales { grid-column: 1 / -1; grid-row: auto; }
  .t-connect, .t-vacuum { grid-column: span 6; }
  .t-display, .t-compute, .t-print { grid-column: span 4; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .section-head, .partner-inner { grid-template-columns: 1fr; }
  .partner-actions { justify-content: flex-start; }
  .models, .channels { grid-template-columns: 1fr; }
  .t-connect, .t-vacuum, .t-scan, .t-indicator { grid-column: 1 / -1; }
  .t-display, .t-compute, .t-print { grid-column: span 6; }
  .t-print { grid-column: 1 / -1; }
  .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; align-items: end; }
  .hero-x { display: none; }
  .channel { min-height: 0; }
  .channel .btn { margin-top: 24px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .nav { height: 66px; gap: 12px; }
  .brand svg { height: 22px; }
  .nav-tools .btn { display: none; }
  .bento { gap: 12px; }
  .t-display, .t-compute { grid-column: 1 / -1; }
  .t-connect, .t-vacuum, .t-scan, .t-indicator { flex-direction: column; }
  .t-connect .tile-text, .t-vacuum .tile-text, .t-scan .tile-text, .t-indicator .tile-text { flex: none; }
  .t-connect .tile-media, .t-vacuum .tile-media, .t-scan .tile-media, .t-indicator .tile-media { flex: none; width: 100%; margin: auto 0 0; padding-top: 16px; }
  .t-connect .tile-media img { width: 70%; }
  .t-vacuum .tile-media img { width: 60%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-x path { animation: none; stroke-dashoffset: 0; fill: rgba(31, 69, 224, .07); }
  .shelf li { animation: none; opacity: 1; transform: none; }
  .shelf img, .btn { transition: none; }
}
