:root {
  --bg: #0F1724;
  --bg-alt: #132033;
  --card: rgba(19, 32, 51, 0.95);
  --text: #E8EEF0;
  --muted: #B9C9CF;
  --primary: #0F766E;
  --accent: #2DD4BF;
  --line: rgba(232, 238, 240, 0.24);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #0F1724 0%, #0B1320 100%);
  color: var(--text);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(15, 23, 36, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand { font-weight: 700; letter-spacing: 0.2px; }

.hero {
  padding: 5rem 0 3rem;
  background: radial-gradient(circle at 16% 8%, rgba(15, 118, 110, 0.4) 0%, transparent 58%);
}

.hero-tagline {
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.82rem, 1.6vw, 0.98rem);
}
h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(2rem, 6vw, 3.3rem);
  line-height: 1.1;
}
.lead { color: var(--muted); max-width: 70ch; }
.hero .lead { margin-top: 0; }
.small { color: var(--muted); }

.section {
  padding: 3rem 0;
  scroll-margin-top: 6.5rem;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 800px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 801px) and (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1081px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.work-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 800px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.card-link:hover,
.card-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.62);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; color: var(--muted); }

.checklist { margin: 0; padding-left: 1.2rem; }
.checklist li { margin: 0.45rem 0; }

.cta-row { display: flex; gap: 0.8rem; margin-top: 1.2rem; flex-wrap: wrap; }
.btn {
  display: inline-block;
  text-decoration: none;
  color: var(--text);
  background: var(--primary);
  border: 1px solid var(--primary);
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  cursor: pointer;
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.lead-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
}

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

.form-grid.two {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
  font-weight: 520;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.65rem 0.72rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #132033;
  color: var(--text);
  font: inherit;
  box-shadow: none;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
}

textarea { resize: vertical; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 450;
}

.checkbox-row input {
  width: 1rem;
  margin-top: 0.2rem;
}

.hidden {
  position: absolute;
  left: -9999px;
}

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

.footer-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text);
}

.legal-page {
  padding: 4rem 0 5rem;
}

.legal-card {
  max-width: 820px;
}

.legal-meta {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.legal-card h2 {
  margin-top: 1.8rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}
