:root {
  --ink: #0f1115;
  --ink-soft: #2a2e37;
  --muted: #6b7280;
  --muted-soft: #9aa1ae;
  --accent: #2f5eff;
  --accent-soft: #eef1ff;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --border: #e7e8ec;
  --radius: 16px;
  --container: 1120px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #2249d6; }
.btn-ghost {
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 30px; height: 30px; }
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.logo-text strong { color: var(--accent); font-weight: 600; }

.nav {
  display: flex;
  gap: 36px;
}
.nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--ink); }

.nav-cta { display: inline-flex; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 88% -8%, var(--accent-soft), transparent 70%);
  padding: 190px 0 110px;
}
.hero-inner { max-width: 720px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 0.82rem;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 22px;
}
.accent-text { color: var(--accent); }
.hero-sub {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Sections */
.section { padding: 110px 0; }
.section-eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 0.82rem;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-sub { max-width: 540px; color: var(--muted); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* About */
.about { background: var(--bg); }
.about-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}
.about-list { list-style: none; padding: 0; margin: 28px 0 0; }
.about-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.about-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.about-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.about-card h3 { margin-bottom: 22px; font-size: 1.1rem; }
.about-card dl { margin: 0; }
.about-card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted-soft);
  font-weight: 600;
  margin-top: 20px;
}
.about-card dt:first-child { margin-top: 0; }
.about-card dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 500;
}
.about-card a { color: var(--accent); }

/* Services */
.services { background: var(--bg-alt); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
.service-card {
  background: #fff;
  padding: 40px 28px;
  transition: background 0.15s ease;
}
.service-card:hover { background: var(--bg-alt); }
.service-index {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent-soft);
  -webkit-text-stroke: 1px var(--accent);
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.05rem; }
.service-card p { font-size: 0.92rem; margin: 0; }

/* Why us */
.why-us { background: var(--bg); }
.why-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-item {
  background: #fff;
  padding: 28px;
}
.why-item h4 { color: var(--ink); margin-bottom: 8px; font-size: 1rem; }
.why-item p { margin: 0; font-size: 0.92rem; }

/* Contact */
.contact { background: var(--bg-alt); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-lead { max-width: 460px; }
.contact-item {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.contact-item:last-of-type { border-bottom: 1px solid var(--border); }
.contact-item h4 { margin-bottom: 6px; font-size: 0.95rem; }
.contact-item p { margin: 0; }
.contact-item a { color: var(--accent); }
.map-wrap {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-wrap iframe {
  width: 100%;
  height: 260px;
  border: 0;
  filter: grayscale(0.15);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form h3 { margin-bottom: 22px; font-size: 1.1rem; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-alt);
  color: var(--ink);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.form-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
  text-align: center;
}
.form-note.success { color: #1a7a4c; }
.form-note.error { color: #b3261e; }

/* Footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-name { color: var(--ink); font-weight: 600; margin: 0; font-size: 0.92rem; }
.footer-alt { margin: 0; font-size: 0.82rem; color: var(--muted); }
.footer-copy { margin: 0; font-size: 0.82rem; color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .about-inner,
  .why-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px 24px;
    gap: 18px;
  }
  .site-header.open .nav-cta {
    display: inline-flex;
    position: absolute;
    top: 72px;
    margin-top: 268px;
    left: 24px;
  }
  .hero { padding: 150px 0 90px; }
  .section { padding: 72px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f3f5;
    --ink-soft: #d7d9de;
    --muted: #9aa1ae;
    --muted-soft: #6b7280;
    --accent: #6d8bff;
    --accent-soft: #1a2140;
    --bg: #0d0f14;
    --bg-alt: #14171e;
    --border: #23262f;
  }
  .site-header { background: rgba(13,15,20,0.85); }
  .nav-toggle span { background: var(--ink); }
  .site-header.open .nav { background: var(--bg); }
  .about-card, .contact-form, .service-card, .why-item {
    background: var(--bg-alt);
  }
  .service-card:hover { background: #191d26; }
  .form-row input, .form-row textarea { background: var(--bg); }
  .form-row input:focus, .form-row textarea:focus { background: var(--bg-alt); }
}
