/* Capital Hart Corp — Clean, modern, SEO-ready */
:root {
  --red: #bc001f;
  --red-dark: #9a001a;
  --dark: #1a1a2e;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-900);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  color: var(--red);
  font-size: 1.2rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-800);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: var(--gray-700);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--red); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

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

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

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

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  color: var(--white);
  padding: 100px 0 110px;
}

.hero-inner { max-width: 700px; }

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.highlight { color: var(--red); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-400);
  margin-bottom: 32px;
  line-height: 1.7;
}

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

/* Stats */
.stats {
  background: var(--red);
  color: var(--white);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
}

.stat-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--gray-100);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  text-align: center;
}

.section-desc {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.feature {
  padding: 28px;
  background: var(--gray-100);
  border-radius: 10px;
  border: 1px solid var(--gray-200);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.feature p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.cta-center { text-align: center; }

/* Solutions */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.solution-card {
  background: var(--white);
  padding: 36px;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
}

.solution-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--gray-900);
}

.solution-card p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.7;
}

.link-arrow {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.link-arrow:hover { text-decoration: underline; }

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

.value {
  text-align: center;
  padding: 24px;
}

.value h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.value p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-inner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-inner p {
  color: var(--gray-400);
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
}

.footer li a {
  font-size: 0.9rem;
}

.footer-nmls {
  font-weight: 600;
  color: var(--gray-400);
  margin-top: 12px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gray-800);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-400);
}

.social-links a:hover {
  background: var(--red);
  color: var(--white);
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid var(--gray-800);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

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

  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: 2rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  color: var(--white);
  padding: 60px 0;
}

.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--gray-400);
  font-size: 1.1rem;
}

/* Content Page */
.content-page h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 36px 0 14px;
}

.content-page h2:first-child { margin-top: 0; }

.content-page p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 14px;
}

.content-page a {
  color: var(--red);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2,
.contact-form-wrap h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.contact-item {
  margin-bottom: 20px;
}

.contact-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-item a {
  color: var(--red);
  text-decoration: none;
}

.contact-item a:hover { text-decoration: underline; }

/* Forms */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0;
}

.step {
  text-align: center;
  padding: 24px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.step p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr; }
}
