/* ── Reset & Base ─────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0f172a;
  color: #f1f5f9;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: #3b82f6; text-decoration: none; }
a:hover { color: #60a5fa; }

/* ── Navigation ──────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid #1e293b;
  position: sticky;
  top: 0;
  background: #0f172a;
  z-index: 100;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.5px;
}

.nav-logo span { color: #3b82f6; }

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #f1f5f9;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #f1f5f9;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Page Layout ─────────────────────────────── */
.page {
  flex: 1;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* ── Page Header ─────────────────────────────── */
.page-header {
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.page-header p {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 600px;
}

.accent-bar {
  width: 40px;
  height: 3px;
  background: #3b82f6;
  margin-top: 1.25rem;
}

/* ── Hero Card (Featured Service) ────────────── */
.hero-service {
  background: #1e293b;
  border: 1px solid #3b82f6;
  border-radius: 10px;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.hero-service h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #f1f5f9;
}

.hero-service p {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Card Icons ──────────────────────────────── */
.card-icon {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #3b82f6;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1rem;
}

.hero-service .card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
}

.case-study .card-icon {
  margin-bottom: 0.75rem;
}

/* ── Cards Grid ──────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: #3b82f6;
}

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

.card p {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ── Metric Card (Results) ───────────────────── */
.metric {
  font-size: 2rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 0.25rem;
}

.metric-label {
  color: #94a3b8;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

/* ── Case Study Card ─────────────────────────── */
.case-study {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s;
}

.case-study:hover { border-color: #3b82f6; }

.case-study h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.case-study .context {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.case-study .results-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.case-study .result-item .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b82f6;
}

.case-study .result-item .label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Steps / Timeline ────────────────────────── */
.steps {
  position: relative;
  padding-left: 2.5rem;
}

.steps::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #334155;
}

.step {
  position: relative;
  margin-bottom: 2.5rem;
}

.step::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3b82f6;
  border: 2px solid #0f172a;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ── Section Divider ─────────────────────────── */
.section {
  margin-bottom: 3rem;
}

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

/* ── CTA Banner ──────────────────────────────── */
.cta {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}

.cta h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.cta p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.cta-btn {
  display: inline-block;
  background: #3b82f6;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}

.cta-btn:hover {
  background: #2563eb;
  color: #fff;
}

/* ── Footer ──────────────────────────────────── */
.footer {
  border-top: 1px solid #1e293b;
  padding: 2rem;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
}

.footer a { color: #94a3b8; }
.footer a:hover { color: #f1f5f9; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ── About Bio Layout ────────────────────────── */
.bio-section {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.bio-photo {
  width: 240px;
  height: 240px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
}

.bio-text h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.bio-text p {
  color: #94a3b8;
  margin-bottom: 1rem;
}

/* ── Tag / Badge ─────────────────────────────── */
.tag {
  display: inline-block;
  background: #334155;
  color: #94a3b8;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin: 0.25rem 0.25rem 0 0;
}

/* ── Hero (Landing Page) ─────────────────────── */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-card {
  text-align: center;
  padding: 3rem 2.5rem;
  max-width: 420px;
  width: 100%;
}

.hero-logo {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.hero-logo span { color: #3b82f6; }

.hero-name {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.hero-tagline {
  color: #94a3b8;
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.5;
  margin-top: 1.5rem;
}

.hero-divider {
  width: 40px;
  height: 2px;
  background: #3b82f6;
  margin: 0 auto 2.5rem;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid #1e293b;
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s;
}

.contact-links a:hover {
  background: #1e293b;
  border-color: #3b82f6;
}

.contact-links svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: #3b82f6;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0f172a;
    border-bottom: 1px solid #1e293b;
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 0.75rem;
  }

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

  .page { padding: 2rem 1.25rem; }

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

  .bio-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .case-study .results-row {
    gap: 1rem;
  }
}
