/* Disco Gas Compression — shared styles across all pages */

:root {
  --bg: #1B1D1F;
  --bg-alt: #141618;
  --line: #33373A;
  --text: #F4F1EA;
  --text-dim: #C7C3BA;
  --text-dimmer: #B7B3AA;
  --text-muted: #9A9E9F;
  --text-mutedest: #8A8F93;
  --accent: #EB1F2B;
  --accent-hover: #B8121D;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
}

a { color: inherit; text-decoration: none; }

.disp {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.lbl {
  font-family: 'Barlow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 600;
}

.page {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 64px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}
.nav-links {
  display: flex;
  gap: 36px;
  flex: 1;
  min-width: 160px;
}
.nav-links.right { justify-content: flex-end; align-items: center; }
.navlink {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #DCD9D2;
}
.navlink:hover, .navlink.active { color: var(--text); }
.nav-logo { flex: 0 0 auto; text-align: center; }
.nav-logo img { height: 46px; width: auto; display: block; margin: 0 auto; }
.nav-tagline {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-top: 10px;
  white-space: nowrap;
}
.cta {
  background: var(--accent);
  color: var(--bg);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 12px 22px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.cta:hover { background: var(--accent-hover); }
.cta.large { font-size: 16px; padding: 19px 40px; letter-spacing: 0.04em; }
.btn-outline {
  border: 1px solid #4A4E51;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 17px 34px;
  border-radius: 2px;
  display: inline-block;
}

/* ---------- Section rhythm ---------- */
.section { padding: 90px 64px; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .lbl { color: var(--accent); }
.section-head h1, .section-head h2 { font-size: 44px; margin: 12px 0 0; }
.section-head p {
  color: var(--text-dimmer);
  font-size: 16px;
  max-width: 640px;
  margin: 16px auto 0;
  line-height: 1.6;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 100px 64px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.hero .diag-l, .hero .diag-r {
  position: absolute; top: 0; width: 220px; height: 100%; opacity: 0.9;
}
.hero .diag-l { left: 0; background: linear-gradient(115deg, transparent 48%, #26292B 48%, #26292B 52%, transparent 52%); }
.hero .diag-r { right: 0; background: linear-gradient(65deg, transparent 48%, #26292B 48%, #26292B 52%, transparent 52%); }
.hero .lbl { color: var(--accent); margin-bottom: 22px; position: relative; }
.hero h1 { font-size: 88px; line-height: 0.98; margin: 0 0 28px; max-width: 1000px; position: relative; }
.hero p.sub { font-size: 20px; line-height: 1.6; color: var(--text-dim); max-width: 640px; margin: 0 0 40px; font-weight: 400; position: relative; }
.hero .actions { display: flex; gap: 18px; position: relative; margin-bottom: 20px; flex-wrap: wrap; justify-content: center; }

.page-hero {
  padding: 70px 64px 50px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero .lbl { color: var(--accent); margin-bottom: 16px; }
.page-hero h1 { font-size: 56px; margin: 0 0 20px; }
.page-hero p { color: var(--text-dimmer); font-size: 18px; max-width: 640px; margin: 0 auto; line-height: 1.6; }

/* ---------- Video panel ---------- */
.video-panel {
  position: relative;
  margin-top: 40px;
  width: 100%;
  max-width: 1040px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.video-panel video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.video-panel .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,22,24,0.85) 0%, rgba(20,22,24,0) 45%); pointer-events: none; }
.video-panel .caption { position: absolute; left: 28px; bottom: 20px; text-align: left; }
.video-panel .caption .lbl { color: var(--accent); font-size: 10px; }
.video-panel .caption .title { font-weight: 700; font-size: 16px; margin-top: 2px; }

/* ---------- Grids ---------- */
.grid-7, .grid-6, .grid-5, .grid-3, .grid-2 {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 0 auto;
}
.grid-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); max-width: 1280px; }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 1280px; }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1280px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1080px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1120px; }
@media (max-width: 900px) {
  .grid-7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
.cell { background: var(--bg); padding: 28px 16px; text-align: center; }
.cell .num { font-size: 12px; color: var(--accent); margin-bottom: 10px; }
.cell .title { font-weight: 700; font-size: 14px; line-height: 1.35; }

.shop-cell { background: var(--bg); padding: 44px 32px; text-align: center; }
.shop-cell .rank { font-size: 64px; color: #3B3F42; line-height: 1; }
.shop-cell .rank.current { color: var(--accent); }
.shop-cell .name { font-weight: 700; font-size: 18px; margin-top: 10px; }
.shop-cell .desc { color: var(--text-muted); font-size: 14px; margin-top: 6px; }

.service-cell {
  background: var(--bg);
  padding: 48px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.service-cell .icon { flex: none; margin-top: 4px; }
.service-cell .title { font-weight: 700; font-size: 19px; margin-bottom: 8px; }
.service-cell .desc { color: #A9A5A0; font-size: 15px; line-height: 1.6; }
.service-cell.link { align-items: center; cursor: pointer; transition: background 0.15s; }
.service-cell.link:hover { background: var(--bg-alt); }
.service-cell.link .desc { margin: 0; }
.service-cell.link .arrow { flex: none; margin-left: auto; color: var(--text-muted); font-size: 22px; }
.service-cell.link:hover .arrow { color: var(--accent); }

.back-link { color: var(--text-muted); font-size: 14px; font-weight: 600; display: inline-block; margin-bottom: 24px; }
.back-link:hover { color: var(--text); }

/* ---------- Stat pair ---------- */
.stat-pair { display: flex; justify-content: center; align-items: center; gap: 48px; margin-bottom: 32px; flex-wrap: wrap; }
.stat-pair .stat-num { font-size: 42px; color: var(--accent); line-height: 1; }
.stat-pair .stat-lbl { color: var(--text-mutedest); font-size: 10px; margin-top: 6px; }
.stat-pair .divider { width: 1px; height: 44px; background: var(--line); }

/* ---------- Form ---------- */
.lead-form { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; text-align: left; }
.lead-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .lead-form .row2 { grid-template-columns: 1fr; } }
.lead-form label { display: block; color: #9A9E9F; font-size: 11px; margin-bottom: 8px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 2px;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  outline: none;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #6B6F72; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--accent); }
.lead-form textarea { resize: vertical; }
.lead-form .honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .status { text-align: center; font-size: 14px; margin-top: 4px; min-height: 20px; }
.lead-form .status.ok { color: #7ED08A; }
.lead-form .status.err { color: var(--accent); }

/* ---------- Footer ---------- */
.footer {
  padding: 48px 64px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col.right { text-align: right; }
.footer-brand { text-align: center; }
.footer-brand img { height: 30px; width: auto; display: block; margin: 0 auto; }
.footer-brand .copy { color: #5E6367; font-size: 12px; margin-top: 10px; }

@media (max-width: 700px) {
  .hero h1 { font-size: 56px; }
  .section-head h1, .section-head h2 { font-size: 32px; }
  .nav, .section, .hero, .page-hero { padding-left: 24px; padding-right: 24px; }
}
