:root {
  --bg: #090d12;
  --panel: #10161d;
  --panel-2: #151d26;
  --soft: #1c2631;
  --text: #eef2f6;
  --muted: #9faab6;
  --line: rgba(255,255,255,0.09);
  --white: #ffffff;
  --dark: #0b0f14;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(9,13,18,0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #111822, #0c1118);
  font-weight: 800;
  font-size: 1.15rem;
}

.brand-name { font-weight: 700; }
.brand-tag { color: var(--muted); font-size: 0.92rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-cta {
  color: var(--white);
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero {
  padding: 80px 0 72px;
  background:
    radial-gradient(circle at top center, rgba(255,255,255,0.09), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0));
}

.hero-grid,
.two-col,
.contact-wrap {
  display: grid;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #cbd4dd;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
}

.eyebrow.dark {
  border-color: rgba(0,0,0,0.12);
  color: #556170;
}

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

h1 {
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 13ch;
  margin-bottom: 24px;
}

.hero-text {
  max-width: 62ch;
  color: #c4ced8;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 18px;
  font-weight: 600;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-light {
  background: var(--white);
  color: var(--dark);
}
.btn-dark {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--white);
}
.btn-solid {
  border: none;
  background: var(--dark);
  color: var(--white);
  cursor: pointer;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.stat-card,
.info-card,
.work-list article,
.contact-panel,
.form-shell {
  border: 1px solid var(--line);
  background: rgba(16,22,29,0.78);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 18px;
  border-radius: 20px;
}

.feature-card span,
.stat-card span {
  display: inline-block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p,
.stat-card strong,
.info-card p,
.work-list p { color: #dbe3ea; }
.feature-card p { margin-bottom: 0; font-size: 0.95rem; }

.hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(16,22,29,0.9);
}

.stat-card strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.3;
}

.stat-wide { grid-column: 1 / -1; }

.section {
  padding: 88px 0;
}

.section-alt {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section p,
.contact-copy p { color: #c4ced8; }

.card-grid.three-up {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  padding: 28px;
  border-radius: 28px;
}

.info-card h3,
.work-list h3,
.contact-panel h3 { font-size: 1.15rem; margin-bottom: 10px; }
.info-card p,
.work-list p,
.contact-panel p { margin-bottom: 0; }

.two-col {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.work-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(16,22,29,0.82);
  box-shadow: var(--shadow);
}

.work-list {
  display: grid;
  gap: 14px;
}

.work-list article {
  padding: 20px;
  border-radius: 20px;
}

.contact-wrap {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  background: #f5f7fa;
  color: #111722;
  border-radius: 34px;
  padding: 38px;
  border: 1px solid rgba(0,0,0,0.06);
}

.contact-copy p { color: #4f5c6a; }

.contact-panel {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  border-color: rgba(0,0,0,0.08);
  background: #edf1f5;
  box-shadow: none;
}

.contact-panel > div + div { margin-top: 18px; }

.form-shell {
  padding: 28px;
  border-radius: 28px;
  border-color: rgba(0,0,0,0.08);
  background: #edf1f5;
  box-shadow: none;
}

.quote-form {
  display: grid;
  gap: 18px;
}

.grid {
  display: grid;
  gap: 16px;
}
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

label {
  display: grid;
  gap: 8px;
}

label span {
  font-size: 0.94rem;
  font-weight: 600;
  color: #16202a;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.12);
  background: var(--white);
  font: inherit;
  color: #111722;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid transparent;
  border-color: #6c7a88;
  box-shadow: 0 0 0 3px rgba(17,23,34,0.06);
}

textarea { resize: vertical; min-height: 150px; }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 4px;
}

.form-footer p {
  margin: 0;
  color: #5b6674;
  font-size: 0.94rem;
  max-width: 42ch;
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 1040px) {
  .hero-grid,
  .two-col,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .card-grid.three-up,
  .grid.three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .feature-row,
  .hero-panel,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .section,
  .hero {
    padding: 64px 0;
  }

  .contact-wrap {
    padding: 24px;
  }

  .form-shell,
  .work-panel,
  .info-card,
  .stat-card {
    padding: 22px;
  }

  .form-footer,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
