/* ==========================================================================
   Consul Compass™ — Modern Enterprise Landing Page Stylesheet
   Designed with elite SaaS aesthetics (Linear / Stripe / Palantir inspired).
   ========================================================================== */

:root {
  --font-sans: 'Public Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* High-Contrast Light Theme */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --border-subtle: #cbd5e1;
  --border-medium: #94a3b8;
  --border-strong: #64748b;

  --text-main: #0f172a;
  --text-muted: #1e293b;
  --text-dim: #475569;
  --text-inverse: #ffffff;

  --header-bg: #ffffff;
  --header-border: #e2e8f0;
  --header-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.05);

  --accent-teal: #0d9488;
  --accent-teal-dark: #0f766e;
  --accent-teal-light: #ccfbf1;
  --accent-navy: #1e3a8a;
  --accent-blue: #0284c7;

  --card-bg: #ffffff;
  --card-border: #cbd5e1;
  --card-hover-border: #0d9488;

  --shadow-subtle: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --max-width: 1200px;
}

[data-theme='dark'] {
  --bg-page: #07090e;
  --bg-surface: #0e131f;
  --bg-surface-elevated: #161f33;
  --bg-surface-alt: #121929;
  --border-subtle: #1e293b;
  --border-medium: #334155;
  --border-strong: #475569;

  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --text-inverse: #07090e;

  --header-bg: #0e131f;
  --header-border: #1e293b;
  --header-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.5);

  --accent-teal: #14b8a6;
  --accent-teal-dark: #0d9488;
  --accent-teal-light: #134e48;
  --accent-navy: #3b82f6;
  --accent-blue: #38bdf8;

  --card-bg: #0f1626;
  --card-border: #1e293b;
  --card-hover-border: #38bdf8;

  --shadow-subtle: 0 1px 3px 0 rgb(0 0 0 / 0.5);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.6);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg-page: #07090e;
    --bg-surface: #0e131f;
    --bg-surface-elevated: #161f33;
    --bg-surface-alt: #121929;
    --border-subtle: #1e293b;
    --border-medium: #334155;
    --border-strong: #475569;

    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --text-dim: #94a3b8;
    --text-inverse: #07090e;

    --header-bg: #0e131f;
    --header-border: #1e293b;
    --header-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.5);

    --accent-teal: #14b8a6;
    --accent-teal-dark: #0d9488;
    --accent-teal-light: #134e48;
    --accent-navy: #3b82f6;
    --accent-blue: #38bdf8;

    --card-bg: #0f1626;
    --card-border: #1e293b;
    --card-hover-border: #38bdf8;

    --shadow-subtle: 0 1px 3px 0 rgb(0 0 0 / 0.5);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.6);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.7);
  }
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent-teal);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--header-shadow);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 750;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 28px;
  height: 28px;
  color: var(--accent-teal);
  flex-shrink: 0;
}

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

.nav-item {
  display: inline-flex;
}

.nav-item a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
  display: inline-block;
}

.nav-item a:hover {
  color: var(--accent-teal);
  background-color: var(--bg-surface-alt);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: var(--shadow-subtle);
  transition: all 0.15s ease;
}

.theme-toggle:hover {
  background: var(--bg-surface-alt);
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  background-color: var(--accent-teal);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 3px 0 rgba(13, 148, 136, 0.35);
  transition: all 0.15s ease;
}

.btn-cta:hover {
  background-color: var(--accent-teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(13, 148, 136, 0.45);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 80px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, rgba(2, 132, 199, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-teal);
  border-radius: 50%;
  display: inline-block;
}

.hero-heading {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-highlight {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  background-color: var(--accent-teal);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(13, 148, 136, 0.35);
  transition: all 0.15s ease;
}
.btn-primary-lg:hover {
  background-color: var(--accent-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(13, 148, 136, 0.45);
}

.btn-outline-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  transition: all 0.15s ease;
}
.btn-outline-lg:hover {
  border-color: var(--text-main);
  background-color: var(--bg-surface-alt);
}

/* Proof Bar */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 20px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  text-align: left;
  margin-top: 48px;
}

.metric-card {
  padding: 6px 20px;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.metric-card:first-child {
  padding-left: 8px;
}
.metric-card:last-child {
  border-right: none;
  padding-right: 8px;
}

.metric-val {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.metric-desc {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-dim);
  margin-top: 4px;
  font-weight: 500;
}

/* ==========================================================================
   Section Styling General
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Bento Architecture Grid
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-subtle);
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.bento-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-surface-alt) 100%);
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.bento-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bento-list {
  margin-top: 16px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Commodity Pricing & Interactive Calculator
   ========================================================================== */
.pricing-section {
  background-color: var(--bg-surface-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-layout {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 32px;
  align-items: stretch;
}

.pricing-card-main {
  background: var(--card-bg);
  border: 2px solid var(--accent-teal);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-ribbon {
  position: absolute;
  top: 18px;
  right: 24px;
  background: var(--accent-teal);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-header {
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.plan-summary {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Calculator Box */
.calc-widget {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 20px 0 28px;
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.calc-control label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.calc-select {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: inherit;
  background-color: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.15s ease;
}
.calc-select:focus {
  border-color: var(--accent-teal);
}

.calc-output {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.calc-total-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.calc-total-amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
}

.calc-total-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
}

.calc-breakdown-line {
  font-size: 0.8125rem;
  color: var(--accent-teal);
  font-weight: 600;
  margin-top: 6px;
  text-align: right;
  font-family: var(--font-mono);
}

.calc-addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: border-color 0.15s ease;
}

.calc-addon-row:hover {
  border-color: var(--accent-teal);
}

.calc-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
}

.calc-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-teal);
  cursor: pointer;
}

.calc-addon-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-teal);
  background: var(--accent-teal-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
}

.email-protect {
  cursor: pointer;
  transition: color 0.15s ease;
}

.plan-features-list {
  list-style: none;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.plan-features-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-icon {
  color: var(--accent-teal);
  font-weight: bold;
}

/* Secondary Libby Card */
.pricing-card-secondary {
  background: var(--card-bg);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.libby-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  width: fit-content;
}

.libby-price {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
  margin: 16px 0 4px;
}

.libby-price span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dim);
}

.libby-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--bg-surface-alt);
  border-left: 3px solid var(--accent-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 12px 14px;
  margin-top: 20px;
  line-height: 1.5;
}

/* ==========================================================================
   Dedicated Federal Contracting & FAR Part 12 Section
   ========================================================================== */
.contracting-section {
  background-color: var(--bg-surface);
  position: relative;
}

.contracting-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.contracting-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-subtle);
}

.contracting-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contracting-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.co-checklist-card {
  background: var(--card-bg);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-subtle);
}

.co-info h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.co-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.co-codes {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.co-actions {
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
  background-color: var(--bg-surface-alt);
  border-top: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-main);
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-teal);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 24px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Procurement Desk & Contact Form
   ========================================================================== */
.contact-section {
  padding: 80px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info-col h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.contact-info-col p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-meta-box {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-meta-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-meta-icon {
  font-size: 1.25rem;
  color: var(--accent-teal);
  flex-shrink: 0;
}

.contact-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.contact-meta-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
}
.contact-meta-val a {
  color: var(--accent-teal);
  text-decoration: none;
}
.contact-meta-val a:hover {
  text-decoration: underline;
}

/* Form Styling */
.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

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

.form-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-family: inherit;
  background-color: var(--bg-surface-alt);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-teal);
  background-color: var(--card-bg);
}

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

.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  margin-bottom: 16px;
  display: none;
}
.form-alert.success {
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid var(--accent-teal);
  color: var(--accent-teal);
  display: block;
}
.form-alert.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #ef4444;
  display: block;
}

/* ==========================================================================
   Modern Enterprise Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col-brand .brand-link {
  margin-bottom: 16px;
}

.footer-col-brand p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: var(--accent-teal);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.5;
  background: var(--bg-surface-alt);
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-heading {
    font-size: 2.75rem;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-featured {
    grid-column: span 1;
  }
  .pricing-layout {
    grid-template-columns: 1fr;
  }
  .contracting-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .metrics-strip {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px;
  }
  .metric-card {
    padding: 10px 12px;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .metric-card:first-child {
    padding-left: 12px;
  }
  .metric-card:last-child {
    padding-right: 12px;
  }
  .metric-card:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .metric-val {
    white-space: normal;
  }
  .calc-row {
    grid-template-columns: 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .metrics-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }
  .metric-card {
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 8px;
  }
  .metric-card:last-child {
    border-bottom: none;
  }
}
