:root {
  --blue: #007bff;
  --blue-dark: #0056d6;
  --navy: #0b1220;
  --ink: #171717;
  --muted: #616161;
  --line: #e8edf3;
  --bg: #f6f8fb;
  --white: #fff;
  --accent: #3dd6c6;
  --shadow: 0 18px 50px rgba(11, 18, 32, .08);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Raleway, system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: Roboto, system-ui, sans-serif; letter-spacing: -.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 400; }
h3 { font-size: 1.35rem; font-weight: 500; }
p { color: var(--muted); margin: 0 0 1rem; }

.wrap { width: min(1170px, calc(100% - 40px)); margin: 0 auto; }
.row { display: grid; gap: 28px; }
.row-2 { grid-template-columns: 1.1fr .9fr; align-items: center; }
.row-3 { grid-template-columns: repeat(3, 1fr); }
.row-4 { grid-template-columns: repeat(4, 1fr); }
.row-5 { grid-template-columns: repeat(5, 1fr); }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: Roboto, sans-serif; font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
nav ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; align-items: center; }
nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-family: Roboto, sans-serif; font-size: 15px; color: #222;
}
nav a:hover, nav a.active { color: var(--blue); }
.header-cta { display: flex; gap: 8px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: #fff !important; border: 0;
  padding: 12px 20px; border-radius: 8px; font-family: Roboto, sans-serif;
  font-weight: 500; cursor: pointer;
}
.btn:hover { background: var(--blue-dark); }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 1px solid #d5dce6; }
.btn.light { background: #fff; color: var(--navy) !important; }
.menu-toggle { display: none; background: none; border: 0; font-size: 26px; }

.hero {
  position: relative; color: #fff; overflow: hidden;
  background: #0b1630 url("../img/hero-cloud.jpg") center/cover no-repeat;
  min-height: 620px; display: grid; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,14,30,.88) 0%, rgba(8,14,30,.55) 58%, rgba(8,14,30,.28) 100%);
}
.hero .wrap { position: relative; padding: 90px 20px; }
.kicker {
  display: inline-block; letter-spacing: .14em; text-transform: uppercase;
  font-size: 12px; color: var(--accent); margin-bottom: 12px; font-family: Roboto, sans-serif;
}
.hero h1 { color: #fff; max-width: 720px; }
.hero p { color: #d7deea; max-width: 620px; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.section { padding: 84px 0; }
.section.alt { background: var(--bg); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark p, .section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { color: var(--blue); font-family: Roboto, sans-serif; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card.media { padding: 0; overflow: hidden; }
.card.media img { width: 100%; height: 190px; object-fit: cover; }
.card.media .pad { padding: 22px; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; background: #eaf3ff; color: var(--blue);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 14px;
}
.list { margin: 0; padding: 0; list-style: none; }
.list li { padding: 8px 0 8px 26px; position: relative; color: #3a3a3a; }
.list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; background: #fff; border-radius: 14px; padding: 28px 12px; }
.stat b { display: block; font-size: 2.2rem; color: var(--blue); font-family: Roboto, sans-serif; }
.stat span { color: var(--muted); }

.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.product img { height: 180px; width: 100%; object-fit: contain; background: #0f1624; padding: 16px; }
.product.light img { background: #f3f6fa; }
.product .pad { padding: 18px 18px 22px; flex: 1; display: flex; flex-direction: column; }
.tag { display: inline-block; font-size: 12px; background: #eaf3ff; color: var(--blue-dark); padding: 3px 8px; border-radius: 999px; margin-bottom: 8px; }
.product h3 { font-size: 1.05rem; }
.spec { font-size: 13px; color: #6b7280; margin-bottom: 16px; }
.product .btn { margin-top: auto; width: 100%; }

.quote { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.quote img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.quote p { font-style: italic; }
.quote b { color: var(--ink); }

.page-hero {
  background: var(--navy) url("../img/rack-cabling.jpg") center/cover;
  color: #fff; padding: 80px 0 56px; position: relative;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(8,14,30,.78); }
.page-hero .wrap { position: relative; }
.page-hero h1, .page-hero p { color: #fff; }
.crumbs { color: #b9c3d3; font-size: 14px; margin-bottom: 10px; }
.crumbs a { color: #fff; }

form { display: grid; gap: 12px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d5dce6; border-radius: 8px;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; }
.info-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; }
.info-box p, .info-box h3 { color: #fff; }
.info-box a { color: var(--accent); }

footer { background: #171717; color: #cfd3da; padding: 56px 0 20px; }
footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
footer a { color: #cfd3da; }
footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.legal { border-top: 1px solid #2b2b2b; margin-top: 36px; padding-top: 16px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.notice { background: #fff7e6; border: 1px solid #f1d48a; color: #6a4b00; padding: 10px 12px; border-radius: 8px; font-size: 14px; }

@media (max-width: 900px) {
  .row-2, .row-3, .row-4, .row-5, .stats, .foot-grid, .contact-grid { grid-template-columns: 1fr; }
  nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); }
  nav.open { display: block; }
  nav ul { flex-direction: column; padding: 12px 20px 20px; align-items: stretch; }
  .menu-toggle { display: block; }
  .header-cta .ghost { display: none; }
  .hero { min-height: 520px; }
}
