/* Warehouse Electronics — minimalist, modern, responsive
   Single stylesheet, mobile-first, zero dependencies.
   Edit the :root tokens to rebrand. */

:root {
  --navy: #0A1F44;
  --navy-700: #0F2A5C;
  --accent: #FF6B35;
  --accent-700: #E5571F;
  --ink: #111418;
  --text: #1F2937;
  --muted: #5B6472;
  --line: #E5E7EB;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;
  --bg-dark: #0A1F44;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10,31,68,.06), 0 1px 1px rgba(10,31,68,.04);
  --shadow-md: 0 8px 24px rgba(10,31,68,.08);
  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #E6EBF5; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted { color: #A9B3C7; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; color: var(--text); }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--navy), var(--accent));
}
.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}
.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 520px) {
  .brand-name { display: none; }
}
.brand--img {
  font-size: 0;
  line-height: 0;
}

/* ---------- Language switcher ---------- */
.lang-switcher {
  display: none;
  align-items: center;
  gap: 4px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-left: 12px;
}
.lang-switcher a {
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  transition: color .12s ease, background .12s ease;
}
.lang-switcher a:hover { color: var(--navy); background: var(--bg-soft); }
.lang-switcher .active {
  color: var(--navy);
  background: var(--bg-soft);
  cursor: default;
}
.lang-switcher .sep { color: var(--line); }

.mobile-lang {
  display: flex;
  gap: 6px;
  padding: 14px 0 6px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.mobile-lang a { color: var(--muted); padding: 4px 8px; border-radius: 6px; }
.mobile-lang a.active { color: var(--navy); background: var(--bg-soft); }
.mobile-lang .sep { color: var(--line); padding: 4px 0; }

@media (min-width: 860px) {
  .lang-switcher { display: inline-flex; }
}
.nav-links {
  display: none;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
}
.nav-links a.active { color: var(--navy); font-weight: 600; }

.nav-cta { display: none; }

.menu-btn {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.menu-btn span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 16px 24px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { width: 100%; margin-top: 12px; }

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-btn { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-700); color: #fff; }
.btn-secondary {
  background: var(--navy);
  color: #fff;
}
.btn-secondary:hover { background: var(--navy-700); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-lg { padding: 16px 26px; font-size: 1.02rem; }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 64px;
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(255,107,53,.10) 0%, rgba(255,107,53,0) 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(10,31,68,.05) 0%, rgba(10,31,68,0) 60%),
    #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 span { color: var(--accent); }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 56ch;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-stats .num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
}
.hero-stats .lbl {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,0)),
    linear-gradient(180deg, var(--navy) 0%, #061334 100%);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,107,53,.35), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,.08), transparent 40%);
}
.hero-card {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: #fff;
  backdrop-filter: blur(6px);
}
.hero-card .row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .9rem;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255,255,255,.15);
}
.hero-card .row:last-child { border-bottom: 0; }
.hero-card .ok { color: #5BD49B; font-weight: 600; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .hero { padding: 120px 0 100px; }
}

/* ---------- Feature grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: #D6DAE2;
  box-shadow: var(--shadow-md);
}
.card .icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,107,53,.10);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}
@media (min-width: 760px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Section header ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }

/* ---------- Industries / pill list ---------- */
.pill-list {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px;
}
.pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .9rem;
  color: var(--text);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 48px;
  background: linear-gradient(135deg, var(--navy) 0%, #061334 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #A9B3C7; margin: 0; }
@media (min-width: 820px) {
  .cta-banner { grid-template-columns: 1.4fr auto; padding: 56px; }
}

/* ---------- Form ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 980px) {
  .form-wrap { grid-template-columns: 1.1fr .9fr; gap: 64px; }
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}
@media (min-width: 640px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}
label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(10,31,68,.08);
}
textarea { min-height: 140px; resize: vertical; }
.form-help { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.submit-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-top: 8px;
}
.sla {
  font-size: .85rem; color: var(--muted);
}
.sla strong { color: var(--ink); }

/* ---------- Sidebar info ---------- */
.info-list { list-style: none; padding: 0; margin: 16px 0 0; }
.info-list li {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 0; }
.info-list .k { color: var(--muted); min-width: 90px; font-size: .9rem; }
.info-list .v { color: var(--ink); font-weight: 500; font-size: .95rem; }

/* ---------- Lead times table ---------- */
.lead-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.lead-table th, .lead-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.lead-table th { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Photos ---------- */
.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.photo-frame.tall { aspect-ratio: 3 / 4; }
.photo-frame.wide { aspect-ratio: 16 / 9; }
.photo-frame .photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,68,0) 40%, rgba(10,31,68,.55) 100%);
  pointer-events: none;
}
.photo-frame .photo-caption {
  position: absolute; left: 24px; right: 24px; bottom: 20px;
  color: #fff;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.reverse > :first-child { order: 2; }
}

.banner-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 260px;
  box-shadow: var(--shadow-md);
}
.banner-photo img.photo { position: absolute; inset: 0; }
.banner-photo .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,31,68,.85), rgba(6,19,52,.65));
}
.banner-photo .content {
  position: relative;
  z-index: 1;
  padding: 56px 48px;
  color: #fff;
  max-width: 720px;
}
.banner-photo h2 { color: #fff; }
.banner-photo p { color: #D6DEED; margin: 0 0 20px; }
@media (max-width: 640px) {
  .banner-photo .content { padding: 40px 28px; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 48px 0 24px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-grid h4 {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 12px;
}
.footer-grid a {
  display: block;
  color: var(--text);
  padding: 4px 0;
  font-size: .95rem;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: .85rem;
  color: var(--muted);
}
