*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #a3a3a3;
  --line: #262626;
  --panel: #0a0a0a;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.muted {
  color: var(--muted);
}

.hidden-field {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.brand-logo {
  width: 32px;
  height: 32px;
  background: url("logo.svg") center / contain no-repeat;
  image-rendering: pixelated;
}

.nav-toggle {
  display: none;
  background: none;
  color: var(--fg);
  border: 1px solid var(--line);
  padding: 0.4rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a:not(.btn) {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--fg);
}

.btn {
  display: inline-block;
  background: var(--fg);
  color: var(--bg);
  border: 1px solid var(--fg);
  padding: 0.85rem 1.5rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: center;
}

.btn:hover {
  background: transparent;
  color: var(--fg);
}

.btn-outline {
  background: transparent;
  color: var(--fg);
}

.btn-outline:hover {
  background: var(--fg);
  color: var(--bg);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.btn-block {
  width: 100%;
}

.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center;
}

.hero-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 120px;
  height: 120px;
  background: url("logo.svg") center / contain no-repeat;
  image-rendering: pixelated;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 3rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  border: 1px solid var(--line);
  padding: 2rem;
  background: var(--bg);
  transition: border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--fg);
}

.card-index {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 0.85rem;
}

.card h3 {
  font-size: 1.3rem;
  margin: 0.75rem 0;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.price-list {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.price-list li span:last-child {
  font-family: var(--font-mono);
  font-weight: 700;
}

.fine-print {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature {
  border-left: 2px solid var(--fg);
  padding-left: 1.5rem;
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--muted);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.work-order {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.field input,
.field select,
.field textarea {
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 0;
  transition: border-color 0.2s ease;
  width: 100%;
}

.field select option {
  background: var(--bg);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--fg);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field-error {
  border-color: #ffffff !important;
  border-style: dashed !important;
}

.form-status {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  min-height: 1.4rem;
}

.faq {
  max-width: 800px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 1.25rem 2rem 1.25rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 1.3rem;
}

.faq details[open] summary::after {
  content: "-";
}

.faq details p {
  color: var(--muted);
  padding: 0 0 1.25rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .section {
    padding: 4rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
