/* =========================================================
   AVAM Associates — Global Styles
   Palette: Navy + Muted Emerald (Executive Consulting)
   ========================================================= */

/* ---------- CSS Variables (Design Tokens) ---------- */
:root {
  /* Brand Colors */
  --primary: #0B1E2D;     /* Midnight Navy */
  --secondary: #243A5E;   /* Slate Blue */
  --accent: #2F8F83;      /* Muted Emerald */

  /* Neutrals */
  --bg: #F9FBFC;          /* Porcelain White */
  --surface: #FFFFFF;
  --text: #1F2937;        /* Graphite */
  --muted: #6B7280;       /* Cool Gray */
  --border: #E5E7EB;      /* Soft Gray */

  /* Layout */
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 30, 45, 0.08);
  --max-width: 1200px;
}

/* ---------- Base Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ---------- Global Elements ---------- */
a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
}

h1 {
  font-size: 44px;
  line-height: 1.15;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.kicker {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.sub {
  margin-top: 14px;
  max-width: 820px;
  color: var(--muted);
}

/* ---------- Header & Navigation ---------- */
header {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand img {
  height: 28px;
}

.navlinks {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.navlinks a {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.navlinks a:hover {
  background-color: #F1F5F9;
  color: var(--primary);
}

.navlinks a.active {
  background-color: #ECFEF8;
  color: var(--accent);
  border: 1px solid #D1FAE5;
}

/* ---------- Hero Section ---------- */
.hero {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #FFFFFF;
  padding: 96px 0 80px;
}

.hero h1 {
  color: #FFFFFF;
  max-width: 860px;
}

.hero p {
  color: #DBEAFE;
  max-width: 720px;
  font-size: 18px;
  margin-top: 16px;
}

.badge {
  display: inline-block;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #ECFEF8;
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 14px;
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
}

.surface {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Grid Utilities ---------- */
.grid {
  display: grid;
  gap: 28px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 34px;
  }
}

/* ---------- Cards ---------- */
.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--secondary);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #2F8F83, #256F66);
  color: #FFFFFF;
}

.btn-primary:hover {
  filter: brightness(0.95);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #FFFFFF;
}

.btn-ghost {
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
}

.btn-ghost:hover {
  background-color: #F1F5F9;
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 16px;
}

label {
  font-size: 13px;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 14px;
  background-color: var(--surface);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* ---------- Lists & Separators ---------- */
.list {
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
}

.sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

/* ---------- Footer ---------- */
footer {
  background-color: var(--primary);
  color: #CBD5E1;
  padding: 50px 0;
}

footer .cols {
  display: grid;
  gap: 24px;
  grid-template-columns: 2fr 1fr 1fr;
}

footer a {
  color: #E5E7EB;
}

footer a:hover {
  text-decoration: underline;
}

.small {
  font-size: 13px;
  color: #9CA3AF;
}

@media (max-width: 900px) {
  footer .cols {
    grid-template-columns: 1fr;
  }
}
