:root {
  --bg: #eef2f7;
  --surface: #ffffff;
  --surface-alt: #f6f8fb;
  --surface-dark: #172231;
  --surface-dark-2: #213044;
  --text: #162130;
  --muted: #5d6879;
  --line: #d8dee8;
  --accent: #254f8f;
  --accent-strong: #183867;
  --accent-soft: #dfe8f6;
  --success: #11795a;
  --danger: #a53b3b;
  --shadow: 0 20px 60px rgba(18, 30, 48, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(238, 242, 247, 0.84);
  border-bottom: 1px solid rgba(216, 222, 232, 0.7);
}
.nav-row, .footer-row, .admin-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-row { min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-size: 0.95rem;
}
.brand-text { font-size: 0.98rem; letter-spacing: 0; }
.main-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.main-nav a { color: var(--muted); font-weight: 500; }
.main-nav a:hover { color: var(--text); }

.hero-section {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at top right, rgba(37, 79, 143, 0.16), transparent 34%),
    linear-gradient(180deg, #f9fbfe 0%, #eef2f7 100%);
}
.hero-grid, .split-grid, .contact-grid {
  display: grid;
  gap: 28px;
}
.hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); align-items: stretch; }
.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.03;
  max-width: 11ch;
  margin-bottom: 18px;
}
.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.eyebrow-light { color: #a9bfdc; }
.hero-text, .body-copy, .section-side-copy {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 62ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-strong); }
.button-secondary {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--line);
  color: var(--text);
}
.button-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.hero-panel, .contact-panel, .admin-panel, .admin-login-card {
  background: var(--surface);
  border: 1px solid rgba(216, 222, 232, 0.9);
  box-shadow: var(--shadow);
}
.hero-panel { border-radius: 8px; padding: 22px; }
.panel-card {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
  color: #fff;
  padding: 28px;
}
.panel-kicker {
  color: #abc1e6;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.panel-card h2 { font-size: 1.8rem; line-height: 1.15; margin-bottom: 18px; max-width: 13ch; }
.panel-card p { color: #d3ddeb; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 16px;
}
.stat-card strong { display: block; font-size: 1.4rem; margin-bottom: 6px; }
.stat-card span { color: #c7d6eb; font-size: 0.92rem; }

.section { padding: 74px 0; }
.section-light { background: var(--surface); }
.section-dark { background: #122133; color: #fff; }
.split-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.section h2 { font-size: clamp(1.85rem, 3vw, 2.8rem); line-height: 1.12; margin-bottom: 0; }
.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 30px;
}
.section-side-copy { max-width: 34ch; }
.service-grid, .insight-grid, .team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card, .insight-card, .team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.service-card { min-height: 220px; }
.service-index {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  margin-bottom: 26px;
}
.service-card h3, .insight-card h3, .team-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p, .insight-card p, .team-card p { color: var(--muted); }
.industries-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: start;
}
.industry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.industry-item {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}
.insight-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.team-avatar {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 18px;
}
.team-role { color: var(--accent); font-weight: 600; }
.contact-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.contact-panel { border-radius: 8px; padding: 28px; }
.contact-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
}
.contact-row:last-child { border-bottom: 0; }
.contact-row span { color: var(--muted); font-weight: 600; }
.site-footer {
  background: #101926;
  color: #c6d0df;
  padding: 22px 0;
}
.site-footer a { color: #fff; }

.admin-body { background: #edf2f8; }
.admin-login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.admin-login-card {
  width: min(560px, 100%);
  border-radius: 8px;
  padding: 32px;
}
.compact { max-width: none; }
.admin-form, .form-grid { display: grid; gap: 16px; }
.admin-form label, .form-grid label { display: grid; gap: 8px; font-weight: 600; }
.admin-form span, .form-grid span { font-size: 0.92rem; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
textarea { resize: vertical; }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 79, 143, 0.14);
}
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(237, 242, 248, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 222, 232, 0.8);
  padding: 18px 0;
}
.admin-topbar-actions { display: flex; gap: 12px; align-items: center; }
.admin-dashboard { padding: 28px 0 56px; }
.admin-editor-grid { display: grid; gap: 18px; }
.admin-panel {
  border-radius: 8px;
  padding: 22px;
}
.admin-panel h2 { font-size: 1.2rem; margin-bottom: 14px; }
.admin-help { margin: 0 0 12px; color: var(--muted); font-size: 0.92rem; }
.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.full-span { grid-column: 1 / -1; }
.admin-submit-row {
  display: flex;
  justify-content: flex-end;
}
.flash {
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-weight: 600;
}
.flash-success { background: rgba(17, 121, 90, 0.12); color: var(--success); }
.flash-error { background: rgba(165, 59, 59, 0.1); color: var(--danger); }

@media (max-width: 1024px) {
  .hero-grid, .split-grid, .industries-wrap, .contact-grid, .service-grid, .insight-grid, .team-grid {
    grid-template-columns: 1fr;
  }
  .section-heading-row, .nav-row, .footer-row, .admin-topbar-row {
    align-items: start;
    flex-direction: column;
  }
  .stats-grid, .industry-list, .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-section { padding-top: 44px; }
  .container { width: min(100% - 20px, 1180px); }
  .main-nav { gap: 14px; }
  .hero-copy h1 { max-width: none; }
  .button { width: 100%; }
  .hero-actions { flex-direction: column; }
  .contact-row { grid-template-columns: 1fr; gap: 6px; }
}
