/* ==========================================================
   Binary Digit Gadgets — design tokens
   Ink black #0B0B0F · Panel #12141C · Gold #D4AF37
   Sky blue #3EC1D3 · Paper #F7F6F2 · Muted #8A8D9A
   Display: Space Grotesk · Body: Inter · Data: IBM Plex Mono
   ========================================================== */

:root {
  --ink: #0B0B0F;
  --panel: #12141C;
  --panel-2: #1B1E2A;
  --gold: #B06E2C;
  --gold-soft: #CB8A48;
  --sky: #3EC1D3;
  --paper: #F7F6F2;
  --paper-dim: #EDEBE3;
  --muted: #8A8D9A;
  --line: rgba(255,255,255,0.09);
  --line-dark: rgba(11,11,15,0.1);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px -20px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.1; }
p { margin: 0 0 1em; color: #43454F; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
  margin: 0 0 12px;
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover { background: var(--gold-soft); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(247,246,242,0.35);
}
.btn-ghost:hover { border-color: var(--paper); }
.btn-whatsapp {
  background: #1F9E5A;
  color: #fff;
}
.btn-whatsapp:hover { background: #23B569; box-shadow: 0 10px 24px -10px rgba(31,158,90,0.6); }
.btn-block { width: 100%; margin-top: 14px; }
.btn-large { padding: 16px 30px; font-size: 16px; margin-top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,11,15,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  color: rgba(247,246,242,0.75);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--paper); }
.header-cta { padding: 10px 18px; font-size: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--paper); border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(120% 140% at 15% 0%, #171A24 0%, var(--ink) 55%);
  color: var(--paper);
  padding: 88px 0 96px;
}
.hero-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.02em;
  color: var(--paper);
}
.accent { color: var(--gold); }
.hero-sub {
  font-size: 17px;
  color: rgba(247,246,242,0.72);
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--sky);
}
.hero-trust li::before { content: "✓ "; color: var(--gold); }
.hero-svg { width: 100%; height: auto; }

/* ---------- Brand strip ---------- */
.brand-strip {
  border-top: 1px solid var(--line);
  margin-top: 64px;
}
.brand-strip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  padding: 22px 0 0;
}
.brand-strip-row span {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.5);
}

/* ---------- Services ---------- */
.services { padding: 84px 0; background: var(--paper-dim); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 24px;
}
.service-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 16px; margin-bottom: 6px; }
.service-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Catalog ---------- */
.catalog { padding: 84px 0; }
.catalog-alt { background: var(--paper-dim); }
.section-head { max-width: 60ch; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); }

.filter-row { display: flex; gap: 10px; margin-bottom: 32px; }
.chip {
  border: 1px solid var(--line-dark);
  background: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: #55575F;
}
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 22px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: 999px;
}
.product-thumb {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  background: var(--paper-dim);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.product-thumb svg { width: 30px; height: 30px; }
.product-thumb-sm { color: var(--sky); }
.product-thumb-photo {
  width: 100%;
  height: 160px;
  background: var(--paper-dim);
  padding: 0;
  overflow: hidden;
}
.product-thumb-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card h3 { font-size: 17px; margin-bottom: 4px; }
.product-spec { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; min-height: 34px; }
.product-price {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

/* ---------- About ---------- */
.about { padding: 84px 0; background: var(--ink); color: var(--paper); }
.about-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.about h2 { font-size: clamp(26px, 3.2vw, 32px); color: var(--paper); }
.about p { color: rgba(247,246,242,0.72); max-width: 52ch; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.about-stats div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
}
.about-stats strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--gold);
}
.about-stats span { font-size: 12.5px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { padding: 88px 0; }
.contact-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.contact h2 { font-size: clamp(26px, 3.2vw, 32px); }
.contact p { max-width: 48ch; }
.contact-details {
  background: var(--paper-dim);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item { display: flex; flex-direction: column; gap: 4px; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.contact-item a, .contact-item span:last-child { font-size: 16px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(247,246,242,0.55);
  padding: 26px 0;
  font-size: 13px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1F9E5A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(31,158,90,0.55);
  z-index: 60;
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-row, .about-row, .contact-row { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 66px; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .header-row { height: 66px; position: relative; }
  .hero { padding: 56px 0 64px; }
  .catalog, .about, .contact { padding: 56px 0; }
  .about-stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
