/* ══════════════════════════════════════════════
   main.css — KB Benton Design System
   Shared across all pages (management + consulting)
   Colors & fonts sourced from business card design
   ══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Serif+4:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ── Design Tokens ── */
:root {
  /* Primary palette — from business card */
  --navy: #1b2a4a;
  --navy-light: #243656;
  --steel: #4a6fa5;
  --light-blue: #d0ddef;
  --sky: #7eb8da;
  --muted-blue: #7a8fad;
  --rule-blue: #4a6fa5;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8f9fb;
  --gray-50: #f3f5f8;
  --gray-100: #e8ecf1;
  --gray-300: #cbd5e0;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;

  /* Fonts */
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-padding: 5rem 2rem;
  --max-width: 1100px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
}

a { color: var(--steel); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  z-index: 1000;
  padding: 0 2rem;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.nav-brand span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--steel);
  margin-left: 0.75rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--navy-light) !important; }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger svg { width: 24px; height: 24px; color: var(--gray-700); }

/* ── Section Basics ── */
section {
  padding: var(--section-padding);
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--steel);
  margin-bottom: 0.5rem;
}
section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(170deg, var(--off-white) 0%, var(--white) 50%, var(--gray-50) 100%);
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--navy);
}
.hero .section-inner {
  padding-left: 2rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.25rem;
}
.hero .headline-line2 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--light-blue);
  line-height: 1.35;
  margin-bottom: 0.2rem;
}
.hero .headline-line3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--sky);
  line-height: 1.35;
  margin-bottom: 2rem;
}
.hero-body {
  font-size: 1.1rem;
  color: var(--gray-700);
  max-width: 640px;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
}
.badge svg { width: 16px; height: 16px; color: var(--steel); }
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--navy-light); color: var(--white); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--navy);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid var(--gray-300);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.btn-secondary:hover {
  border-color: var(--steel);
  box-shadow: 0 2px 8px rgba(74,111,165,0.1);
  color: var(--navy);
}

/* ── Track Record / Results ── */
.results-section { background: var(--navy); color: var(--white); }
.results-section .section-label { color: var(--sky); }
.results-section h2 { color: var(--white); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.result-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
}
.result-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--sky);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.result-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* ── Expertise / Services ── */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.expertise-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.expertise-card:hover {
  border-color: var(--steel);
  box-shadow: 0 4px 24px rgba(27,42,74,0.06);
}
.expertise-card.featured {
  border-color: var(--steel);
  border-width: 2px;
  background: var(--off-white);
}
.expertise-icon {
  width: 48px;
  height: 48px;
  background: var(--off-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.expertise-icon svg { width: 24px; height: 24px; color: var(--steel); }
.expertise-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.expertise-card p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* Also support old class names for consulting page */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.service-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: 12px; padding: 2rem; transition: border-color 0.2s, box-shadow 0.2s; }
.service-card:hover { border-color: var(--steel); box-shadow: 0 4px 24px rgba(27,42,74,0.06); }
.service-icon { width: 48px; height: 48px; background: var(--off-white); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.service-icon svg { width: 24px; height: 24px; color: var(--steel); }
.service-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.service-card p { font-size: 0.95rem; color: var(--gray-700); line-height: 1.6; }

/* ── Skills Tags ── */
.skills-section { background: var(--gray-50); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.skill-group h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.skill-tag {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
  color: var(--gray-700);
}

/* ── Timeline / Experience ── */
.tl-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.tl-date {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--steel);
  padding-top: 0.15rem;
}
.tl-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.15rem;
}
.tl-company {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}
.tl-desc {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ── About ── */
.about-content {
  max-width: 780px;
}
.about-content p {
  margin-bottom: 1.25rem;
  color: var(--gray-700);
  line-height: 1.8;
}
.credentials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-100);
}
.credential {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.credential-icon {
  width: 36px;
  height: 36px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.credential-icon svg { width: 18px; height: 18px; color: var(--steel); }
.credential-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
}
.credential-text span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ── Problem Solving / Case Studies ── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.case-tag {
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}
.case-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.case-card p {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.7;
}
.case-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--gray-700);
  font-style: italic;
  max-width: 700px;
}

/* ── Testimonials ── */
.testimonials-section { background: var(--navy); color: var(--white); }
.testimonials-section .section-label { color: var(--sky); }
.testimonials-section h2 { color: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
}
.testimonial-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}
.testimonial-attr {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ── How I Work ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.process-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 2rem;
}
.process-number {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.process-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.process-card p {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.6;
}
.comm-style {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: var(--off-white);
  border-radius: 12px;
  border-left: 4px solid var(--navy);
}
.comm-style strong { color: var(--navy); }

/* ── FAQ ── */
.faq-list {
  max-width: 780px;
  margin-top: 1rem;
}
.faq-item {
  border-bottom: 1px solid var(--gray-100);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}
.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--steel);
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding-bottom: 1.25rem;
}
.faq-a p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
}

/* ── Contact ── */
.contact-section {
  background: linear-gradient(175deg, var(--white) 0%, var(--off-white) 100%);
}
.contact-inner {
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
}
.contact-inner p { color: var(--gray-700); margin-bottom: 2.5rem; }
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--gray-700);
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--navy); }
.contact-link svg { width: 20px; height: 20px; color: var(--steel); }

/* ── Footer ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
}
footer a { color: rgba(255,255,255,0.7); }
footer a:hover { color: var(--white); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.1rem; }
  .hero .headline-line2 { font-size: 1.6rem; }
  .hero .headline-line3 { font-size: 1.3rem; }
  section { padding: 3.5rem 1.25rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-100);
    gap: 1.25rem;
  }
  .hamburger { display: block; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .tl-item { grid-template-columns: 1fr; gap: 0.25rem; }
  .tl-date { padding-top: 0; }
  .hero .section-inner { padding-left: 1rem; }
  .credentials-row { flex-direction: column; gap: 1.25rem; }
}
