
:root {
  --bg: #04060c;
  --bg2: #07111f;
  --panel: rgba(9, 15, 28, 0.86);
  --panel2: rgba(15, 25, 42, 0.78);
  --text: #f3f5f8;
  --muted: #aab3c2;
  --line: rgba(255,255,255,0.12);
  --chrome: #e9edf2;
  --blue: #1e6bff;
  --ice: #8cc8ff;
  --lime: #b8ff18;
  --copper: #d1895c;
  --shadow: 0 24px 80px rgba(0,0,0,.45);
  --radius: 22px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(67, 118, 255, 0.24), transparent 34rem),
    radial-gradient(circle at 90% 12%, rgba(184, 255, 24, 0.10), transparent 24rem),
    linear-gradient(135deg, #020309 0%, #071021 44%, #03050b 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background:
    linear-gradient(90deg, transparent 0 96%, rgba(255,255,255,.08) 97% 100%),
    linear-gradient(0deg, transparent 0 96%, rgba(255,255,255,.05) 97% 100%);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 80%);
}

.page-glow {
  position: fixed;
  top: -200px;
  right: -200px;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  background: rgba(142, 195, 255, 0.13);
  filter: blur(42px);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(3, 6, 13, .82);
  backdrop-filter: blur(16px);
}

.brand img {
  width: min(270px, 48vw);
  filter: drop-shadow(0 16px 26px rgba(0,0,0,.45));
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
}

.nav a {
  color: var(--muted);
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: .01em;
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.header-cta {
  background: linear-gradient(135deg, rgba(233,237,242,.18), rgba(255,255,255,.04));
  color: #fff;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.32);
}

.btn.primary {
  color: #06101e;
  background: linear-gradient(135deg, #fff, #b9c4d5 45%, #6f7b8d 100%);
  box-shadow: 0 18px 45px rgba(255,255,255,.10);
}

.btn.ghost {
  color: var(--text);
  background: rgba(255,255,255,.055);
}

.btn.light {
  color: #050812;
  background: linear-gradient(135deg, #fff, #d5dde8 46%, #9aa8bb);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 10px;
  background: #fff;
}

.hero,
.page-hero,
.section,
.split,
.cta-band,
.contact-layout,
.gallery-grid {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  min-height: 84vh;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 42px;
  align-items: center;
  padding: 72px 0 52px;
}

.eyebrow {
  color: var(--lime);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 900px;
  font-size: clamp(42px, 7.4vw, 92px);
  line-height: .92;
  letter-spacing: -.065em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1;
  letter-spacing: -.045em;
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
  letter-spacing: -.018em;
}

.lead,
.page-hero p,
.section-heading p,
.split-copy p {
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 26px;
}

.trust-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trust-strip span {
  padding: 7px 11px;
  color: var(--chrome);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}

.hero-card {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 36px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.025)),
    radial-gradient(circle at top left, rgba(84,137,255,.22), transparent 34rem);
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/binx-brand-wall.jpg') center/cover;
  opacity: .22;
  filter: saturate(1.1) contrast(1.05);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 26px;
  pointer-events: none;
}

.hero-card img {
  position: relative;
  z-index: 1;
  width: 96%;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.72));
}

.metal-panel {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 30px;
  bottom: 28px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(4, 8, 16, .72);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 16px 18px;
}

.metal-panel strong,
.metal-panel span {
  display: block;
}

.metal-panel span {
  color: var(--muted);
}

.section {
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.center {
  text-align: center;
  margin-inline: auto;
}

.cards {
  display: grid;
  gap: 16px;
}

.cards.six { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }

.card,
.service-card,
.wide-card,
.contact-card,
.quote-form,
.checklist article,
.gallery-item,
.blueprint-card {
  border: 1px solid rgba(255,255,255,.13);
  background:
    linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.025)),
    rgba(6, 11, 22, .72);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(0,0,0,.24);
}

.card {
  padding: 24px;
  min-height: 228px;
}

.card .icon {
  display: inline-flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  margin-bottom: 22px;
  color: #06101e;
  font-weight: 950;
  background: linear-gradient(135deg, #fff, #b3bdca 50%, #687588);
}

.card p,
.service-card p,
.service-card li,
.wide-card,
.checklist li,
.contact-card,
.quote-form p,
.gallery-item figcaption {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: center;
  padding: 56px 0;
}

.split.reverse {
  grid-template-columns: 1.05fr .95fr;
}

.image-panel {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: var(--shadow);
  background: #040812;
}

.image-panel img {
  aspect-ratio: 1.15;
  object-fit: cover;
  width: 100%;
  opacity: .94;
}

.split-copy {
  padding: clamp(10px, 3vw, 36px);
}

.tick-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.tick-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--muted);
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--lime), #fff);
  box-shadow: 0 0 18px rgba(184,255,24,.22);
}

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

.steps div {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.13);
}

.steps strong {
  display: inline-flex;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #04060c;
  background: linear-gradient(135deg, #fff, #8fa0b8);
  margin-bottom: 24px;
  font-size: 22px;
}

.steps p { color: var(--muted); }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  margin-bottom: 72px;
  padding: clamp(26px, 4vw, 48px);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(184,255,24,.20), rgba(30,107,255,.20)),
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow);
}

.cta-band p { color: var(--muted); margin-bottom: 0; }

.page-hero {
  padding: 78px 0 32px;
}

.page-hero h1 {
  font-size: clamp(42px, 6.2vw, 82px);
}

.automation-hero {
  position: relative;
}

.service-grid,
.checklist,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card,
.checklist article,
.contact-card,
.quote-form,
.wide-card {
  padding: clamp(22px, 3vw, 34px);
}

.service-card.featured {
  border-color: rgba(184,255,24,.45);
  box-shadow: 0 18px 70px rgba(184,255,24,.08);
}

.service-card ul,
.checklist ul {
  padding-left: 20px;
}

.service-card li,
.checklist li {
  margin-bottom: 8px;
}

.text-link {
  color: var(--lime);
  font-weight: 850;
}

.wide-card {
  font-size: 19px;
}

.blueprint-card {
  min-height: 390px;
  padding: 34px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(9, 18, 34, .96), rgba(3, 6, 12, .96)),
    repeating-linear-gradient(0deg, transparent, transparent 28px, rgba(125,185,255,.08) 29px),
    repeating-linear-gradient(90deg, transparent, transparent 28px, rgba(125,185,255,.08) 29px);
}

.blueprint-card h3 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  text-transform: uppercase;
}

.blueprint-card p {
  color: var(--muted);
  max-width: 440px;
}

.signal-lines {
  position: absolute;
  inset: auto 30px 30px 30px;
  display: grid;
  gap: 10px;
}

.signal-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.85), rgba(184,255,24,.74), transparent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  padding: 36px 0 70px;
}

.gallery-item {
  overflow: hidden;
  margin: 0;
}

.gallery-item.large {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: contain;
  padding: 18px;
  background: radial-gradient(circle, rgba(255,255,255,.08), rgba(255,255,255,.015));
}

.gallery-item:nth-child(2) img,
.gallery-item:nth-child(3) img {
  object-fit: cover;
  padding: 0;
}

.gallery-item figcaption {
  padding: 14px 16px 18px;
  font-weight: 800;
}

.contact-layout {
  padding: 34px 0 70px;
  align-items: start;
}

.contact-row {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row span {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 850;
}

.contact-row a,
.contact-row strong {
  color: var(--text);
  font-size: 20px;
}

.note {
  margin-top: 18px;
  color: var(--copper);
  font-weight: 800;
}

.quote-form label {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  color: var(--text);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 15px;
  background: rgba(0,0,0,.25);
  color: #fff;
  padding: 14px 15px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.columns {
  columns: 2;
  column-gap: 36px;
}

.footer {
  display: grid;
  grid-template-columns: 1.6fr .9fr .8fr;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 50px;
  border-top: 1px solid var(--line);
}

.footer-logo {
  width: 220px;
  margin-bottom: 16px;
}

.footer p,
.footer span,
.footer a {
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.footer h3 {
  margin-bottom: 12px;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-open .nav {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    border-radius: 18px;
  }

  .site-header.nav-open .header-cta {
    grid-column: 1 / -1;
    display: inline-flex;
  }

  .hero,
  .split,
  .split.reverse,
  .service-grid,
  .contact-layout,
  .gallery-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

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

  .cards.six,
  .cards.four,
  .process .steps,
  .checklist {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 230px;
  }

  .hero-card {
    min-height: 330px;
    border-radius: 24px;
  }

  .metal-panel {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  h1 {
    font-size: clamp(38px, 14vw, 62px);
  }

  .cards.six,
  .cards.four,
  .process .steps,
  .checklist {
    grid-template-columns: 1fr;
  }

  .columns {
    columns: 1;
  }
}
