/* ============================================
   Criterion Group — Design System
   ============================================ */

:root {
  --navy-950: #0a1628;
  --navy-900: #0f2544;
  --navy-800: #16305c;
  --navy-700: #1e3d73;
  --navy-600: #274c8c;
  --blue-500: #3b6fd9;
  --blue-400: #5b8ce8;
  --sky-300: #8fb4f0;
  --sky-100: #eaf1fd;
  --gold-500: #c9a24b;
  --gold-400: #dbb968;
  --ink-900: #10151f;
  --ink-700: #3a4356;
  --ink-500: #667085;
  --paper-0: #ffffff;
  --paper-50: #f7f9fc;
  --paper-100: #eef2f8;
  --border: #e2e8f2;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(15, 37, 68, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 37, 68, 0.10);
  --shadow-lg: 0 20px 60px rgba(15, 37, 68, 0.16);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-950);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

.lede {
  font-size: 19px;
  color: var(--ink-700);
  max-width: 620px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-dark {
  background: var(--navy-950);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-950);
  color: #dbe6fb;
  font-size: 13.5px;
  text-align: center;
  padding: 9px 20px;
  letter-spacing: 0.01em;
}
.topbar strong { color: var(--gold-400); }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--navy-950);
}
.brand .mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-400);
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 15px;
}
nav.main-nav { display: flex; align-items: center; gap: 34px; }
nav.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 0.15s ease;
  position: relative;
}
nav.main-nav a:hover { color: var(--navy-950); }
nav.main-nav a.active { color: var(--navy-950); font-weight: 600; }
nav.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -20px; left: 0; right: 0;
  height: 2px;
  background: var(--gold-500);
}
.nav-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #fff;
  padding: 100px 0 120px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(219,185,104,0.14), transparent 45%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: 52px;
  color: #fff;
  margin-bottom: 22px;
}
.hero h1 em { color: var(--gold-400); font-style: normal; }
.hero p.lede { color: #c3d2ec; font-size: 18px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold-400);
  font-weight: 600;
}
.hero-stats .stat-label { font-size: 13px; color: #9fb3d4; margin-top: 2px; }

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
}
.hero-visual .badge-float {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  background: rgba(10,22,40,0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.hero-visual .badge-float .icon { font-size: 26px; }
.hero-visual .badge-float .title { font-weight: 600; font-size: 14.5px; }
.hero-visual .badge-float .sub { font-size: 12.5px; color: #b8c6e0; }

/* ---------- Section basics ---------- */
.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.section-alt { background: var(--paper-50); }
.section-navy { background: var(--navy-950); color: #fff; }
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 38px; }
.section-navy h2, .section-navy .eyebrow { color: #fff; }
.section-navy .eyebrow { color: var(--gold-400); }
.section-navy p.lede { color: #c3d2ec; }

/* ---------- Grid / Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon-badge {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--sky-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--ink-500); font-size: 15px; }
.card .price {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.card .price .amount { font-family: var(--font-display); font-size: 24px; color: var(--navy-950); font-weight: 600; }
.card .price .amount span { font-size: 13px; color: var(--ink-500); font-family: var(--font-body); font-weight: 400; }

.card-dark {
  background: linear-gradient(155deg, var(--navy-800), var(--navy-950));
  color: #fff;
  border: none;
}
.card-dark h3 { color: #fff; }
.card-dark p { color: #b8c6e0; }
.card-dark .icon-badge { background: rgba(219,185,104,0.16); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--sky-100);
  color: var(--navy-700);
}
.card-dark .tag { background: rgba(255,255,255,0.1); color: #dbe6fb; }

/* ---------- Impact stats ---------- */
.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.impact-cell {
  background: #fff;
  padding: 32px 24px;
  text-align: center;
}
.impact-cell .num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--navy-950);
}
.impact-cell .label { color: var(--ink-500); font-size: 13.5px; margin-top: 6px; }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-left: 4px; }
.step .step-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  color: var(--sky-300);
  margin-bottom: 10px;
  display: block;
}
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--ink-500); font-size: 14.5px; }

/* ---------- Testimonial ---------- */
.testimonial-block {
  background: var(--sky-100);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
}
.testimonial-block .quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--blue-400);
  line-height: 0.6;
}
.testimonial-block p.quote {
  font-size: 20px;
  font-family: var(--font-display);
  color: var(--navy-950);
  margin-bottom: 18px;
}
.testimonial-block .who { font-weight: 600; font-size: 14.5px; }
.testimonial-block .who span { color: var(--ink-500); font-weight: 400; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 64px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h3 { color: #fff; font-size: 30px; max-width: 460px; }
.cta-band p { color: #c3d2ec; margin-top: 10px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-950);
  color: #b8c6e0;
  padding: 70px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h5 { color: #fff; font-size: 14px; margin-bottom: 18px; letter-spacing: 0.03em; text-transform: uppercase; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { font-size: 14.5px; color: #a9bad9; transition: color 0.15s; }
.footer-grid ul a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13.5px;
  color: #7c8fb3;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: #fff;
  padding: 74px 0 74px;
}
.page-hero h1 { color: #fff; font-size: 44px; }
.page-hero p.lede { color: #c3d2ec; margin-top: 16px; }
.breadcrumb { font-size: 13.5px; color: #9fb3d4; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Form ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink-700); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.15s ease;
  background: var(--paper-50);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  background: #fff;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.badge-pill {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .impact-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 40px; }
  nav.main-nav { display: none; }
  .menu-toggle { display: block; }
  .testimonial-block { grid-template-columns: 1fr; padding: 40px; }
  .cta-band { padding: 40px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .grid-3, .grid-4, .steps, .impact-strip { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .hero { padding: 60px 0 70px; }
  .section { padding: 64px 0; }
  .hero h1 { font-size: 32px; }
  .section-head h2 { font-size: 28px; }
}
