/* The Jakovenko Group — Shared Stylesheet */

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

:root {
  --dark:    #0f172a;
  --navy:    #1e293b;
  --slate:   #334155;
  --mid:     #64748b;
  --light:   #f1f5f9;
  --white:   #ffffff;
  --accent:  #2563eb;
  --accent2: #1d4ed8;
  --gold:    #f59e0b;
  --text:    #1e293b;
  --muted:   #64748b;
  --border:  #e2e8f0;
  --radius:  6px;
  --max:     1140px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Layout ─────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Nav ─────────────────────────────────────── */
nav {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.75); font-size: 0.875rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--white); text-decoration: none; }
.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--accent2) !important; }

/* ── Hero ────────────────────────────────────── */
.hero {
  background: var(--dark);
  padding: 100px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  color: #93c5fd;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.125rem;
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: all 0.15s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent2); color: var(--white); text-decoration: none; }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: var(--white); text-decoration: none; }
.hero-proof {
  margin-top: 64px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.proof-item { display: flex; flex-direction: column; }
.proof-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.proof-num span { color: var(--gold); }
.proof-label { color: rgba(255,255,255,0.5); font-size: 0.8rem; font-weight: 500; margin-top: 4px; }

/* ── Section headings ────────────────────────── */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Pull quote ──────────────────────────────── */
.pull-quote {
  background: var(--light);
  border-left: 4px solid var(--accent);
  padding: 32px 36px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 48px 0;
}
.pull-quote p {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
  font-style: italic;
}
.pull-quote cite {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  font-style: normal;
  margin-top: 12px;
  font-weight: 500;
}

/* ── Services ────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); border-color: var(--accent); }
.service-icon {
  width: 44px;
  height: 44px;
  background: rgba(37,99,235,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--accent); }
.service-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; letter-spacing: -0.01em; }
.service-card p { font-size: 0.9375rem; color: var(--muted); line-height: 1.65; }

/* ── Process ─────────────────────────────────── */
.process-bg { background: var(--dark); }
.process-bg .section-title { color: var(--white); }
.process-bg .section-label { color: #93c5fd; }
.process-bg .section-sub { color: rgba(255,255,255,0.6); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  margin-top: 48px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
}
.process-step {
  background: rgba(255,255,255,0.03);
  padding: 32px 28px;
  position: relative;
}
.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 12px;
}
.process-step h3 { font-size: 0.9375rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.process-step p { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ── Belief block ────────────────────────────── */
.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.belief-item { padding: 28px 0; border-top: 2px solid var(--border); }
.belief-item h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; letter-spacing: -0.01em; }
.belief-item p { font-size: 0.9375rem; color: var(--muted); line-height: 1.65; }

/* ── CTA band ────────────────────────────────── */
.cta-band {
  background: var(--accent);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.cta-band p { color: rgba(255,255,255,0.8); font-size: 1.0625rem; margin-bottom: 36px; }
.btn-white { background: var(--white); color: var(--accent); }
.btn-white:hover { background: var(--light); color: var(--accent); text-decoration: none; }

/* ── Footer ──────────────────────────────────── */
footer {
  background: var(--dark);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.4); margin-top: 8px; max-width: 260px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h5 { color: rgba(255,255,255,0.5); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* ── Page hero (interior pages) ─────────────── */
.page-hero { background: var(--dark); padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; color: var(--white); letter-spacing: -0.03em; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.0625rem; max-width: 560px; line-height: 1.7; }

/* ── About specific ──────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-body p { font-size: 1.0625rem; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.about-body p strong { color: var(--dark); font-weight: 600; }
.cred-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.cred-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9375rem; color: var(--muted); }
.cred-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 9px; flex-shrink: 0; }

/* ── Blog ────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; margin-top: 48px; }
.blog-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: box-shadow 0.2s; }
.blog-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.blog-card-body { padding: 24px; }
.blog-tag { font-size: 0.75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }
.blog-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 8px 0 10px; letter-spacing: -0.01em; line-height: 1.4; }
.blog-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ── Contact form ────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info h3 { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; letter-spacing: -0.02em; }
.contact-info p { font-size: 0.9375rem; color: var(--muted); line-height: 1.7; margin-bottom: 32px; }
.contact-detail { display: flex; flex-direction: column; gap: 12px; }
.contact-detail a { font-size: 0.9375rem; color: var(--text); font-weight: 500; }
form { display: flex; flex-direction: column; gap: 16px; }
label { font-size: 0.875rem; font-weight: 600; color: var(--dark); display: block; margin-bottom: 6px; }
input, textarea, select {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.8rem; color: var(--muted); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 56px; }
  .hero-proof { gap: 32px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { flex-direction: column; }
  .process-steps { grid-template-columns: 1fr; }
}
