:root {
  --brand-primary: #2563eb;
  --brand-secondary: #1e40af;
  --brand-accent: #3b82f6;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --brand-font-family: system-ui, -apple-system, BlinkMacSystemFont, &#39;Segoe UI&#39;, sans-serif;
  --heading-font-family: system-ui, -apple-system, BlinkMacSystemFont, &#39;Segoe UI&#39;, sans-serif;
  --font-size-sm: 14px;
  --font-size-md: 16px;
  --font-size-lg: 20px;
  --font-size-xl: clamp(36px, 5vw, 56px);
  --font-size-2xl: clamp(24px, 3vw, 36px);
  --font-weight-body: 400;
  --font-weight-heading: 700;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 80px;
  --radius: 10px;
  --button-padding: 14px 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--brand-font-family);
  color: var(--text-primary);
  background: var(--surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Layout ---- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--spacing-2xl) 0;
}

.section--alt {
  background: var(--surface-alt);
}

/* ---- Header / Navigation ---- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: var(--spacing-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.site-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--heading-font-family);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-heading);
  color: var(--brand-primary);
  line-height: 1.2;
}

.logo-tagline {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.3;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: var(--font-size-md);
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--brand-primary);
  background: rgba(37, 99, 235, 0.06);
}

.nav-link--active {
  color: var(--brand-primary);
  font-weight: var(--font-weight-heading);
}

/* ---- Typography ---- */
.heading {
  font-family: var(--heading-font-family);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-heading);
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.heading--hero {
  color: #ffffff;
}

.section-heading {
  font-family: var(--heading-font-family);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-heading);
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.subheading {
  font-size: var(--font-size-lg);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
}

.body-text {
  font-size: var(--font-size-md);
  color: var(--text-secondary);
  line-height: 1.7;
}

.eyebrow {
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: var(--spacing-sm);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.8);
}

/* ---- Hero Section ---- */
.hero {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #ffffff;
  padding: var(--spacing-2xl) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero .body-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-top: var(--spacing-md);
}

.hero .subheading {
  color: rgba(255, 255, 255, 0.85);
}

/* ---- Buttons / CTAs ---- */
.cta {
  display: inline-block;
  padding: var(--button-padding);
  font-size: var(--font-size-md);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta:active {
  transform: translateY(0);
}

.cta--primary {
  background: var(--brand-primary);
  color: #ffffff;
}

.cta--primary:hover {
  background: var(--brand-secondary);
}

.cta--secondary {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.cta--secondary:hover {
  background: var(--brand-primary);
  color: #ffffff;
}

.cta--hero {
  background: #ffffff;
  color: var(--brand-primary);
  border-color: #ffffff;
}

.cta--hero:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cta--hero-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta--hero-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

/* ---- Value Props ---- */
.value-props {
  list-style: none;
  display: grid;
  gap: var(--spacing-lg);
}

.value-prop {
  background: var(--surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-prop:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06), 0 12px 32px rgba(0, 0, 0, 0.1);
}

.value-prop-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  margin-bottom: var(--spacing-md);
}

.value-prop-title {
  font-family: var(--heading-font-family);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-heading);
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

/* ---- Services List ---- */
.services-list {
  list-style: none;
  display: grid;
  gap: var(--spacing-md);
}

.service-item {
  background: var(--surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-accent);
}

.service-title {
  font-family: var(--heading-font-family);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-heading);
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

/* ---- CTA Band ---- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #ffffff;
  padding: var(--spacing-2xl) 0;
  text-align: center;
}

.cta-band .section-heading {
  color: #ffffff;
}

.cta-band .body-text {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto var(--spacing-lg);
}

/* ---- Grid Layouts ---- */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid--two-col {
  gap: var(--spacing-xl);
}

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

.section-intro {
  max-width: 640px;
  margin: 0 auto var(--spacing-xl);
  text-align: center;
}

/* ---- Mission Statement ---- */
.mission-block {
  background: var(--surface);
  border-left: 4px solid var(--brand-primary);
  padding: var(--spacing-lg);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: var(--spacing-lg) 0;
}

.mission-block p {
  font-size: 18px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
}

/* ---- Forms ---- */
.lead-form {
  background: var(--surface);
  padding: var(--spacing-xl);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  margin-top: var(--spacing-lg);
}

.form-title {
  font-family: var(--heading-font-family);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-heading);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-textarea {
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  font-family: var(--brand-font-family);
  font-size: var(--font-size-md);
  color: var(--text-primary);
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

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

/* ---- Footer ---- */
.site-footer {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--spacing-xl) 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  text-align: center;
}

.footer-logo {
  font-family: var(--heading-font-family);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-heading);
  color: #ffffff;
}

.footer-tagline {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.4);
  margin-top: var(--spacing-sm);
}

/* ---- Responsive ---- */
@media (min-width: 768px) {
  .grid--two-col {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .value-props {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .services-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hero {
    padding: var(--spacing-xl) 0;
  }

  .section {
    padding: var(--spacing-xl) 0;
  }
}
