:root {
  --bg: #0d1424;
  --bg-soft: #131e35;
  --card: #16243e;
  --text: #f2f5fa;
  --muted: #c2cada;
  --line: #2a3f66;
  --brand: #7ec0ff;
  --brand-strong: #4aa4ff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #182745 0%, var(--bg) 55%);
  line-height: 1.6;
}

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

a {
  color: var(--brand);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 17, 32, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.4rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.menu-toggle span + span {
  margin-top: 4px;
}

.hero {
  padding: 4.5rem 0 3rem;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--brand);
  margin-bottom: 0.6rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.hero-copy p {
  color: var(--muted);
  max-width: 56ch;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 0.7rem;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  color: #07101d;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-media img {
  border-radius: 1rem;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.1), rgba(19, 30, 53, 0.75));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-intro {
  color: var(--muted);
  max-width: 80ch;
  margin-bottom: 1.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1rem 1rem 1.2rem;
}

.card h3 {
  font-size: 1.1rem;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-copy {
  padding: 0.9rem 1rem 1.1rem;
}

.project-copy p {
  color: var(--muted);
  margin: 0;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
}

.team-card {
  margin-top: 1rem;
}

.quote-form {
  display: grid;
  gap: 0.8rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.quote-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--text);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: #0f1a30;
  color: var(--text);
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
  min-height: 120px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--brand-strong);
  outline-offset: 0;
}

.quote-form button[disabled] {
  opacity: 0.75;
  cursor: not-allowed;
}

.form-status {
  margin: 0;
  min-height: 1.4rem;
  color: var(--muted);
}

.form-status.error {
  color: #ffd3d3;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 2rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .service-grid,
  .projects-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 0.8rem 4%;
    background: #0f1b32;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0.8rem;
  }

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

  .field-grid {
    grid-template-columns: 1fr;
  }
}
