/* Base overrides */
body { margin: 0 }
.mb-5 { margin-bottom: 3rem !important }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important }
@media (min-width: 768px) {
  .px-md-5 { padding-left: 3rem !important; padding-right: 3rem !important }
}

/* Variables */
:root {
  --c-black: #09090b;
  --c-dark: #18181b;
  --c-dark2: #27272a;
  --c-dark3: #3f3f46;
  --c-muted: #71717a;
  --c-muted2: #52525b;
  --c-zinc2: #e4e4e7;
  --c-light: #f4f4f5;
  --c-white: #ffffff;
  --c-emerald: #34d399;
  --c-em-dark: #059669;
  --radius: 1rem;
  --transition: 0.25s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; overflow-x: hidden }
body {
  background: var(--c-light);
  color: #18181b;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--c-emerald); color: var(--c-black) }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease }
.reveal.from-left { transform: translateX(-30px) }
.reveal.from-right { transform: translateX(30px) }
.reveal.visible { opacity: 1; transform: none }
.reveal-delay-1 { transition-delay: 0.1s }
.reveal-delay-2 { transition-delay: 0.2s }
.reveal-delay-3 { transition-delay: 0.3s }
.reveal-delay-4 { transition-delay: 0.4s }

/* Navbar */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  mix-blend-mode: difference;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em;
  color: var(--c-white); text-decoration: none;
}
.nav-brand svg { color: var(--c-emerald) }
.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0 }
.nav-links a {
  color: var(--c-white); text-decoration: none;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 1; transition: opacity var(--transition);
}
.nav-links a:hover { opacity: 0.7 }

/* Hamburger */
.nav-hamburger {
  display: none; background: none; border: none;
  color: var(--c-white); font-size: 1.4rem; cursor: pointer;
  position: relative; z-index: 101;
}

/* Mobile menu overlay */
.mobile-menu {
  display: none; position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  z-index: 150;
  flex-direction: column; justify-content: center; align-items: center;
}
.mobile-menu.open { display: flex }
.mobile-menu ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; align-items: center; gap: 2.5rem;
}
.mobile-menu a {
  color: var(--c-white); text-decoration: none;
  font-size: 1.5rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.9; transition: opacity var(--transition);
}
.mobile-menu a:hover { opacity: 1 }

/* Hero */
#hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; background: var(--c-black);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.6;
  transform: scale(1.05); animation: heroZoom 1.2s ease forwards;
}
@keyframes heroZoom { to { transform: scale(1) } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--c-black) 0%, rgba(9, 9, 11, 0.4) 50%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 1.5rem 8rem; max-width: 1200px; width: 100%;
}
.hero-eyebrow { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem }
.hero-eyebrow span { display: block; width: 2rem; height: 1px; background: var(--c-emerald) }
.hero-eyebrow p {
  margin: 0; font-size: 0.72rem; font-family: monospace;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-emerald); font-weight: 600;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 500;
  letter-spacing: -0.035em; line-height: 1.05;
  color: var(--c-white); margin-bottom: 2rem;
}
.hero-title .muted { color: #a1a1aa }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem); color: #d4d4d8;
  font-weight: 300; line-height: 1.7; max-width: 640px; margin-bottom: 3rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap }
.btn-hero-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; background: var(--c-white); color: var(--c-black);
  font-weight: 500; font-size: 0.875rem; letter-spacing: 0.02em;
  border-radius: 2rem; text-decoration: none; border: none;
  transition: background var(--transition);
}
.btn-hero-primary:hover { background: #d4d4d8; color: var(--c-black) }
.btn-hero-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; background: rgba(39, 39, 42, 0.5); color: var(--c-white);
  font-weight: 500; font-size: 0.875rem; letter-spacing: 0.02em;
  border-radius: 2rem; text-decoration: none;
  border: 1px solid #3f3f46; backdrop-filter: blur(8px);
  transition: background var(--transition);
}
.btn-hero-secondary:hover { background: rgba(63, 63, 70, 0.8); color: var(--c-white) }

/* Sections */
.section-label {
  font-family: monospace; font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-em-dark); font-weight: 600;
  display: block; margin-bottom: 1.25rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1.1;
  color: #18181b; margin-bottom: 1.25rem;
}
.section-sub {
  font-size: 1.05rem; color: var(--c-muted);
  font-weight: 300; line-height: 1.75; max-width: 640px;
}

/* Approach */
#approach { background: var(--c-light); padding: 6rem 0 }
.approach-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 1.25rem }
.approach-text { font-size: 1.05rem; color: #52525b; font-weight: 300; line-height: 1.8; margin-bottom: 1.25rem }
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  border-top: 1px solid #d4d4d8; padding-top: 2rem; margin-top: 2rem;
}
@media (max-width: 400px) { .stats-row { grid-template-columns: 1fr 1fr } }
.stat-num {
  font-size: 2.8rem; font-weight: 300; letter-spacing: -0.04em;
  color: var(--c-black); line-height: 1; margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted);
}

/* Services */
#services { background: var(--c-white); padding: 6rem 0; overflow: hidden }
.svc-nav-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem 1.25rem; background: var(--c-light);
  border: 1px solid #e4e4e7; border-radius: 1rem;
  text-decoration: none; text-align: center;
  transition: background var(--transition), border-color var(--transition);
  height: 100%;
}
.svc-nav-card:hover { background: #e4e4e7; border-color: #d4d4d8 }
.svc-nav-icon {
  width: 4rem; height: 4rem; border-radius: 50%;
  background: var(--c-white); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-em-dark); margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}
.svc-nav-card:hover .svc-nav-icon { transform: scale(1.1) }
.svc-nav-card h3 { font-size: 1rem; font-weight: 500; color: #18181b; margin: 0; line-height: 1.3 }
.svc-area { padding: 5rem 0; scroll-margin-top: 6rem }
.svc-area + .svc-area { border-top: 1px solid #f4f4f5 }
.svc-img-wrap {
  position: relative; border-radius: 1.5rem; overflow: hidden;
  background: var(--c-light); height: 100%; min-height: 340px;
}
.svc-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 340px }
@media (min-width: 992px) {
  .svc-img-wrap, .svc-img-wrap img { min-height: 480px; aspect-ratio: 1/1 }
}
.svc-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  border-radius: 1.5rem; pointer-events: none;
}
.svc-area-num {
  font-family: monospace; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-em-dark); display: block; margin-bottom: 1rem;
}
.svc-area-title {
  font-size: clamp(1.6rem, 3vw, 2.8rem); font-weight: 500;
  letter-spacing: -0.03em; color: #18181b; margin-bottom: 0.75rem; line-height: 1.1;
}
.svc-area-subtitle { font-size: 1rem; font-weight: 500; color: #3f3f46; margin-bottom: 1.25rem }
.svc-area-desc { font-size: 1.05rem; color: #52525b; font-weight: 300; line-height: 1.75; margin-bottom: 2.5rem }
.svc-features {
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid #e4e4e7; padding-top: 1.75rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.svc-feature { display: flex; align-items: flex-start; gap: 0.875rem }
.svc-feature-icon {
  flex-shrink: 0; margin-top: 2px; width: 2rem; height: 2rem;
  border-radius: 50%; background: var(--c-light);
  display: flex; align-items: center; justify-content: center; color: #52525b;
}
.svc-feature span { font-size: 0.95rem; color: #3f3f46; font-weight: 300; line-height: 1.6 }

/* Process */
#process { background: #1c1c1f; padding: 6rem 0 }
.process-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem }
@media (min-width: 992px) { .process-grid { grid-template-columns: repeat(4, 1fr) } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr } }
.process-step { position: relative }
.process-step::before {
  content: ''; display: none; position: absolute;
  top: 1.5rem; left: 0; right: 0; height: 1px;
  background: #3f3f46; z-index: 0;
}
@media (min-width: 992px) { .process-step::before { display: block } }
.step-num {
  font-family: monospace; font-size: 2.5rem; font-weight: 300;
  color: var(--c-emerald); line-height: 1; margin-bottom: 1.5rem;
  background: #1c1c1f; display: inline-block; padding-right: 1rem;
  position: relative; z-index: 1;
}
.process-step h3 {
  font-size: 1.1rem; font-weight: 500; color: var(--c-white);
  margin-bottom: 0.75rem; letter-spacing: -0.01em;
}
.process-step p { font-size: 0.9rem; color: #71717a; font-weight: 300; line-height: 1.75; margin: 0 }

/* Contact */
#contact { background: var(--c-black); position: relative; overflow: hidden; padding: 8rem 0 }
.contact-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.15; mix-blend-mode: overlay; pointer-events: none;
}
.contact-inner { position: relative; z-index: 1; text-align: center; max-width: 700px; margin: 0 auto }
.contact-title {
  font-size: clamp(2rem, 5vw, 4rem); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1.1; color: var(--c-white); margin-bottom: 2rem;
}
.contact-sub { font-size: 1.1rem; color: #71717a; font-weight: 300; line-height: 1.75; margin-bottom: 3rem }
.email-form { max-width: 420px; margin: 0 auto 1rem; display: flex; flex-direction: column; gap: 0.75rem }
.email-label {
  font-family: monospace; font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #52525b; text-align: left; padding-left: 0.25rem;
}
.email-wrap { position: relative }
.email-input {
  width: 100%; background: rgba(39, 39, 42, 0.5);
  border: 1px solid #3f3f46; border-radius: 0.75rem;
  padding: 1rem 4rem 1rem 1.25rem; color: #d4d4d8; font-size: 0.95rem;
  outline: none; transition: border-color var(--transition), box-shadow var(--transition);
}
.email-input::placeholder { color: #52525b }
.email-input:focus { border-color: var(--c-emerald); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15) }
.email-submit {
  position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%);
  background: var(--c-white); color: var(--c-black); border: none;
  border-radius: 0.5rem; padding: 0.5rem 0.75rem; cursor: pointer;
  line-height: 1; display: flex; align-items: center;
  transition: background var(--transition);
}
.email-submit:hover { background: #d4d4d8 }
.contact-note { font-size: 0.78rem; color: #3f3f46; margin: 0.5rem 0 0 }

/* Footer */
footer { background: var(--c-black); border-top: 1px solid #18181b; padding: 3rem 1.5rem }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 1rem; color: var(--c-white); letter-spacing: -0.01em;
}
.footer-brand svg { color: var(--c-emerald) }
.footer-links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap }
.footer-links a {
  color: #52525b; text-decoration: none; font-size: 0.85rem;
  font-weight: 300; transition: color var(--transition);
}
.footer-links a:hover { color: var(--c-white) }
.footer-copy { font-family: monospace; font-size: 0.72rem; letter-spacing: 0.1em; color: #3f3f46 }

/* Mobile */
@media (max-width: 768px) {
  .nav-links { display: none }
  .nav-hamburger { display: block }
  .hero-content { padding-bottom: 5rem }
  .footer-inner { flex-direction: column; text-align: center }
}
