/* ============================================
   CMF BOOKKEEPING — style.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --dark-bg: #1e2d2b;
  --darker-bg: #172320;
  --card-bg: #253330;
  --card-border: #2e3f3c;
  --mint-bg: #e8f5f0;
  --mint-light: #d4ede4;
  --green-primary: #1a7a4a;
  --green-accent: #22a05a;
  --green-text: #4caf82;
  --white: #ffffff;
  --off-white: #f0f7f4;
  --text-light: #c8d8d4;
  --text-muted: #7a9992;
  --text-dark: #1e2d2b;
  --star-gold: #f5a623;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.25);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.35);

  --transition: 0.25s ease;
  --max-width: 1100px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-text);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background-color: var(--green-primary);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--green-accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,122,74,0.4);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 11px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--white);
  background-color: rgba(255,255,255,0.08);
}

.stars {
  color: var(--star-gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(23, 35, 32, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-light);
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--green-text);
  border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 68px;
  left: 0; right: 0;
  z-index: 999;
  background: var(--darker-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 8px 24px 20px;
  flex-direction: column;
}

.mobile-menu a {
  padding: 14px 0;
  font-size: 16px;
  color: var(--text-light);
  border-bottom: 1px solid var(--card-border);
  display: block;
  transition: color var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a.active { color: var(--green-text); }

.mobile-menu .mobile-cta {
  margin-top: 16px;
  border: none;
  text-align: center;
  background: var(--green-primary);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 13px;
  font-weight: 500;
  font-size: 15px;
}

.mobile-menu .mobile-cta:hover { background: var(--green-accent); }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }
}

/* ── FOOTER ── */
.site-footer {
  background-color: var(--darker-bg);
  border-top: 1px solid var(--card-border);
  padding: 28px 0;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links { display: flex; gap: 28px; }

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

/* ── CREDENTIAL BADGE ── */
.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--card-border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  background: transparent;
  white-space: nowrap;
}

.cred-badge.qb {
  border-color: var(--green-primary);
  color: var(--green-text);
}

.qb-icon {
  width: 20px;
  height: 20px;
  background: var(--green-primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.testimonial-card blockquote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.author-info .name { font-size: 14px; font-weight: 600; color: var(--white); }
.author-info .company { font-size: 12px; color: var(--text-muted); }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--green-primary) 0%, #145c38 100%);
  padding: 80px 24px;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

.btn-cta-white {
  display: inline-block;
  background: var(--white);
  color: var(--green-primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--card-border); padding: 20px 0; }

.faq-question {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  padding: 4px 0;
}

.faq-answer {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  padding-top: 12px;
}

/* ── SOCIAL LINKS ── */
.social-link {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.social-link:hover {
  border-color: var(--green-text);
  color: var(--green-text);
  background-color: rgba(76,175,130,0.08);
}

.social-link svg { width: 20px; height: 20px; fill: currentColor; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .site-footer .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .btn-primary, .btn-outline { padding: 11px 22px; font-size: 14px; }
}
