/* ===== BABBITT CAPITAL CONSULTING GROUP ===== */
/* Design: Apple/McKinsey hybrid. Clean, premium, minimal. */

:root {
  --navy: #1a2332;
  --charcoal: #2c3e50;
  --dark: #0f1923;
  --gold: #c9a84c;
  --gold-hover: #b8953f;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-gray: #e9ecef;
  --text-primary: #1a2332;
  --text-secondary: #556677;
  --text-light: #8899aa;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --section-padding: 100px 0;
  --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 680px;
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  white-space: nowrap;
}

.nav-logo span {
  color: var(--gold);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  padding: 40px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.testimonial-quote {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  flex-grow: 1;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  border-top: 1px solid var(--light-gray);
  padding-top: 20px;
}

.testimonial-author h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.testimonial-author p {
  font-size: 0.8125rem;
  color: var(--text-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.8125rem !important;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  padding: 160px 0 120px;
  background: var(--white);
  position: relative;
}

.hero-content {
  max-width: 720px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 .gold {
  color: var(--gold);
}

.hero p {
  font-size: 1.1875rem;
  margin-bottom: 12px;
  line-height: 1.8;
}

.hero-sub {
  font-size: 1rem !important;
  color: var(--text-light) !important;
  margin-bottom: 40px !important;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
section {
  padding: var(--section-padding);
}

.section-header {
  margin-bottom: 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.0625rem;
}

/* Alt background */
.bg-light {
  background: var(--off-white);
}

.bg-dark {
  background: var(--navy);
  color: var(--white);
}

.bg-dark h2, .bg-dark h3, .bg-dark h4 {
  color: var(--white);
}

.bg-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.bg-dark .section-label {
  color: var(--gold);
}

/* ===== GRID LAYOUTS ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

/* ===== CARDS ===== */
.card {
  padding: 40px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.25rem;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.9375rem;
}

/* ===== AIMES METHODOLOGY ===== */
.aimes-flow {
  display: flex;
  gap: 0;
  position: relative;
  margin-top: 48px;
}

.aimes-step {
  flex: 1;
  text-align: center;
  padding: 40px 24px;
  position: relative;
  background: var(--white);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.aimes-step:first-child {
  border-radius: 12px 0 0 12px;
}

.aimes-step:last-child {
  border-radius: 0 12px 12px 0;
}

.aimes-step:hover {
  background: rgba(201, 168, 76, 0.04);
  border-color: var(--gold);
  z-index: 1;
}

.aimes-letter {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.aimes-step h4 {
  margin-bottom: 8px;
  color: var(--navy);
}

.aimes-step p {
  font-size: 0.875rem;
  margin: 0 auto;
}

/* Arrow between steps */
.aimes-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-50%) rotate(-45deg);
  z-index: 2;
  background: transparent;
}

/* ===== SERVICES ===== */
.service-item {
  padding: 48px;
  border-left: 3px solid var(--gold);
  margin-bottom: 32px;
  background: var(--white);
  border-radius: 0 12px 12px 0;
  transition: var(--transition);
}

.service-item:hover {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.service-item h3 {
  margin-bottom: 16px;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  position: relative;
  padding-left: 24px;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 2px;
  background: var(--gold);
}

/* ===== ABOUT ===== */
.about-values {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.about-value {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 200px;
}

.about-value .dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.about-value p {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
}

/* ===== PARTNERS ===== */
.partner-card {
  padding: 48px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--light-gray);
  max-width: 600px;
}

.partner-card h3 {
  margin-bottom: 8px;
}

.partner-card .partner-role {
  font-size: 0.875rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border: 1.5px solid var(--light-gray);
  border-radius: 8px;
  background: var(--white);
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info h3 {
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 32px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  margin: 0 auto 40px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--light-gray);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  font-size: 0.8125rem;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-light);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--navy);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .grid-3, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .aimes-flow {
    flex-direction: column;
    gap: 0;
  }

  .aimes-step {
    border-radius: 0;
  }

  .aimes-step:first-child {
    border-radius: 12px 12px 0 0;
  }

  .aimes-step:last-child {
    border-radius: 0 0 12px 12px;
  }

  .aimes-step:not(:last-child)::after {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--light-gray);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .grid-3, .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .nav-logo {
    font-size: 0.8125rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .about-values {
    flex-direction: column;
  }
}
