/* Crawford IT — shared stylesheet (matches landing page design system) */
:root {
  --color-bg: #0A0E0C;
  --color-surface: #111714;
  --color-surface-2: #18211C;
  --color-border: #26302A;
  --color-divider: #1C2620;
  --color-text: #ECF2EE;
  --color-text-muted: #9FB0A6;
  --color-text-faint: #647468;
  --color-primary: #34D399;
  --color-primary-hover: #6EE7B7;
  --color-accent: #FBBF24;
  --color-risk: #F87171;
  --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Satoshi', system-ui, sans-serif;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Clash Display', sans-serif; line-height: 1.15; font-weight: 600; text-wrap: balance; }
a, button { transition: all 180ms cubic-bezier(0.16,1,0.3,1); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
p { color: var(--color-text-muted); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,14,12,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Clash Display'; font-weight: 600; font-size: 19px; color: var(--color-text); text-decoration: none; }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--color-text-muted); text-decoration: none; font-size: 15px; font-weight: 400; }
.nav a:hover { color: var(--color-text); }
.nav a.active { color: var(--color-primary); }
.menu-btn { display: none; background: none; border: 1px solid var(--color-border); border-radius: 8px; padding: 8px; cursor: pointer; color: var(--color-text); }
.menu-btn svg { width: 20px; height: 20px; display: block; }
.cta-btn {
  background: var(--color-primary); color: #0A0E0C; padding: 10px 20px; border-radius: 8px;
  font-weight: 700; font-size: 15px; text-decoration: none; display: inline-block; border: none; cursor: pointer; font-family: 'Satoshi', sans-serif;
}
.cta-btn:hover { background: var(--color-primary-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(52,211,153,0.3); }
.nav .cta-btn { color: #0A0E0C; }
.nav .cta-btn.active { color: #0A0E0C; }
.btn-secondary {
  border: 1px solid var(--color-border); color: var(--color-text); padding: 10px 20px;
  border-radius: 8px; font-weight: 500; font-size: 15px; text-decoration: none; display: inline-block; background: transparent;
}
.btn-secondary:hover { border-color: var(--color-text-muted); }

/* Hero (home) */
.hero { padding: 80px 0 60px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 800px; max-width: 120vw; height: 600px; background: radial-gradient(circle, rgba(52,211,153,0.10) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.25); color: var(--color-primary); padding: 6px 14px;
  border-radius: 999px; font-size: 13px; font-weight: 500; margin-bottom: 24px;
}
.badge-dot { width: 6px; height: 6px; background: var(--color-primary); border-radius: 50%; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 24px; letter-spacing: -0.02em; }
.hero h1 .gradient, .gradient { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--color-text-muted); margin-bottom: 36px; max-width: 640px; }
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-trust { margin-top: 48px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-num { font-family: 'Clash Display'; font-size: 1.8rem; font-weight: 700; color: var(--color-text); }
.trust-label { font-size: 13px; color: var(--color-text-faint); }

/* Page hero (interior pages) */
.page-hero { padding: 72px 0 40px; position: relative; overflow: hidden; border-bottom: 1px solid var(--color-divider); }
.page-hero::before {
  content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; max-width: 120vw; height: 500px; background: radial-gradient(circle, rgba(52,211,153,0.08) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; letter-spacing: -0.02em; }
.page-hero p { font-size: 1.1rem; color: var(--color-text-muted); }

/* Sections */
section { padding: 72px 0; }
.section-label { color: var(--color-primary); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; letter-spacing: -0.02em; }
.section-desc { color: var(--color-text-muted); font-size: 1.05rem; max-width: 640px; margin-bottom: 48px; }

/* Cards */
.problem-grid, .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; padding: 28px; }
.card .icon { width: 40px; height: 40px; background: rgba(251,191,36,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--color-accent); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; font-family: 'Satoshi'; font-weight: 700; }
.card p { font-size: 0.95rem; }

/* Advantage */
.advantage { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.advantage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cred-list { list-style: none; margin-top: 28px; }
.cred-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--color-divider); }
.cred-list .check { flex-shrink: 0; width: 22px; height: 22px; background: rgba(52,211,153,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--color-primary); margin-top: 2px; }
.cred-list li:last-child { border-bottom: none; }
.cred-list strong { color: var(--color-text); font-weight: 600; }
.cred-list span { color: var(--color-text-muted); }
.advantage-visual { position: relative; }
.stack-card { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: 14px; padding: 24px; margin-bottom: 16px; box-shadow: var(--shadow-md); }
.stack-card .layer { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--color-divider); }
.stack-card .layer:last-child { border-bottom: none; }
.stack-card .layer-name { font-weight: 600; font-size: 15px; }
.stack-card .layer-status { font-size: 13px; color: var(--color-primary); font-weight: 500; }
.stack-card .layer-status.warn { color: var(--color-accent); }
.stack-card .layer-status.risk { color: var(--color-risk); }
.stack-title { font-family: 'Clash Display'; font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }

/* Services */
.service-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: 32px; position: relative; }
.service-card.featured { border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-md); }
.service-card .tag { position: absolute; top: -12px; left: 32px; background: var(--color-primary); color: #0A0E0C; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.service-card .icon { width: 44px; height: 44px; background: rgba(52,211,153,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--color-primary); }
.service-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.service-card .price { font-family: 'Clash Display'; font-size: 2rem; font-weight: 700; margin: 12px 0 4px; }
.service-card .price-suffix { color: var(--color-text-faint); font-size: 14px; }
.service-card .desc { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.service-card ul { list-style: none; }
.service-card ul li { display: flex; gap: 10px; padding: 7px 0; font-size: 0.9rem; color: var(--color-text-muted); }
.service-card ul li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; background: var(--color-primary); border-radius: 50%; margin-top: 8px; }

/* Process */
.process { border-top: 1px solid var(--color-divider); }
.process-steps { counter-reset: step; }
.process-step { position: relative; padding-top: 48px; }
.process-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-family: 'Clash Display'; font-size: 2.4rem;
  font-weight: 700; color: var(--color-primary); opacity: 0.4;
}
.process-step h3 { font-size: 1.2rem; margin-bottom: 8px; font-family: 'Satoshi'; font-weight: 700; }
.process-step p { color: var(--color-text-muted); font-size: 0.92rem; }

/* Detailed process (process page) */
.process-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.step-block { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: 32px; }
.step-block .step-num { font-family: 'Clash Display'; font-size: 2.6rem; font-weight: 700; color: var(--color-primary); opacity: 0.5; line-height: 1; margin-bottom: 12px; }
.step-block h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step-block .timing { color: var(--color-accent); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.step-block ul { list-style: none; margin-top: 16px; }
.step-block ul li { display: flex; gap: 10px; padding: 6px 0; font-size: 0.92rem; color: var(--color-text-muted); }
.step-block ul li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; background: var(--color-primary); border-radius: 50%; margin-top: 8px; }

/* Cross-sell */
.crosssell { background: var(--color-surface); border-top: 1px solid var(--color-border); }
.crosssell-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.crosssell-card { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: 14px; padding: 32px; }
.crosssell-card .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.crosssell-card .brand-name { font-family: 'Clash Display'; font-weight: 600; font-size: 1.3rem; }
.crosssell-card .brand-desc { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.crosssell-card ul { list-style: none; }
.crosssell-card ul li { display: flex; gap: 10px; padding: 7px 0; font-size: 0.9rem; color: var(--color-text-muted); }
.crosssell-card ul li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; background: var(--color-accent); border-radius: 50%; margin-top: 8px; }

/* FAQ */
.faq { border-top: 1px solid var(--color-divider); }
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--color-divider); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 22px 0; color: var(--color-text); font-size: 1.05rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: 'Satoshi'; }
.faq-q .chev { transition: transform 180ms; color: var(--color-text-faint); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 240ms cubic-bezier(0.16,1,0.3,1); color: var(--color-text-muted); font-size: 0.97rem; }
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 22px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about-prose p { font-size: 1.05rem; margin-bottom: 20px; color: var(--color-text-muted); }
.about-prose p strong { color: var(--color-text); }
.stat-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; padding: 24px; }
.stat-card .num { font-family: 'Clash Display'; font-size: 2rem; font-weight: 700; color: var(--color-primary); line-height: 1; margin-bottom: 6px; }
.stat-card .lbl { font-size: 0.85rem; color: var(--color-text-faint); }
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cred-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; padding: 28px; }
.cred-card .icon { width: 40px; height: 40px; background: rgba(52,211,153,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--color-primary); }
.cred-card h3 { font-size: 1.1rem; margin-bottom: 8px; font-family: 'Satoshi'; font-weight: 700; }
.cred-card p { font-size: 0.92rem; }

/* Services detail (services page) */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.service-detail.full { grid-template-columns: 1fr; }
.detail-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: 32px; }
.detail-card .head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.detail-card .icon { width: 44px; height: 44px; background: rgba(52,211,153,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--color-primary); flex-shrink: 0; }
.detail-card h3 { font-size: 1.3rem; }
.detail-card .price-row { font-family: 'Clash Display'; font-weight: 700; font-size: 1.1rem; color: var(--color-accent); }
.detail-card p.lead { color: var(--color-text-muted); margin-bottom: 20px; font-size: 0.98rem; }
.detail-card ul { list-style: none; }
.detail-card ul li { display: flex; gap: 10px; padding: 7px 0; font-size: 0.92rem; color: var(--color-text-muted); }
.detail-card ul li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; background: var(--color-primary); border-radius: 50%; margin-top: 8px; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--color-divider); font-size: 0.95rem; overflow-wrap: anywhere; }
.compare-table th { color: var(--color-text-faint); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.compare-table td:first-child { color: var(--color-text); font-weight: 600; }
.compare-table .yes { color: var(--color-primary); font-weight: 600; }
.compare-table .no { color: var(--color-text-faint); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.contact-info p { font-size: 1.05rem; margin-bottom: 28px; }
.contact-methods { list-style: none; }
.contact-methods li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--color-divider); }
.contact-methods .icon { width: 40px; height: 40px; background: rgba(52,211,153,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--color-primary); flex-shrink: 0; }
.contact-methods .label { font-size: 0.8rem; color: var(--color-text-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-methods .value { color: var(--color-text); font-weight: 600; }
.contact-methods .value a { color: var(--color-text); text-decoration: none; }
.contact-methods .value a:hover { color: var(--color-primary); }
.form-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: 32px; box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.form-card .form-sub { color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--color-text); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 8px;
  padding: 12px 14px; color: var(--color-text); font-size: 0.95rem; font-family: 'Satoshi', sans-serif;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(52,211,153,0.15); }
.field textarea { resize: vertical; min-height: 120px; }
.form-card .cta-btn { width: 100%; text-align: center; margin-top: 8px; }
.form-note { font-size: 0.82rem; color: var(--color-text-faint); margin-top: 14px; }
.form-success { display: none; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3); border-radius: 8px; padding: 16px; color: var(--color-primary); font-size: 0.95rem; margin-top: 16px; }
.form-success.show { display: block; }

/* Final CTA */
.final-cta { background: var(--color-surface); border-top: 1px solid var(--color-border); text-align: center; }
.final-cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.final-cta p { color: var(--color-text-muted); margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }
.book-embed { max-width: 680px; margin: 0 auto; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--color-surface); }

/* Footer */
.footer { border-top: 1px solid var(--color-divider); padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer p { color: var(--color-text-faint); font-size: 14px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--color-text-muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--color-text); }

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 8px 16px; box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--color-divider); font-size: 16px; }
  .nav a:last-of-type { border-bottom: none; }
  .nav .cta-btn { margin-top: 8px; text-align: center; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .problem-grid, .services-grid, .process-steps, .cred-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid, .crosssell-inner, .about-grid, .contact-grid, .process-detail, .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .stat-rail { grid-template-columns: 1fr 1fr; }
  .compare-table th, .compare-table td { padding: 10px 8px; font-size: 0.82rem; }
  /* Stacked comparison table on mobile */
  .compare-table, .compare-table thead, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; }
  .compare-table thead { display: none; }
  .compare-table tr { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: 10px; padding: 8px 14px; margin-bottom: 10px; }
  .compare-table tr:last-child { margin-bottom: 0; }
  .compare-table td { padding: 8px 0; border-bottom: 1px solid var(--color-divider); overflow-wrap: break-word; }
  .compare-table td:last-child { border-bottom: none; }
  .compare-table td:first-child { font-family: 'Clash Display'; font-size: 1rem; color: var(--color-text); padding-top: 4px; }
  .compare-table td::before { content: attr(data-label); display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-faint); margin-bottom: 2px; font-weight: 600; }
  .compare-table td:first-child::before { display: none; }
  .hero-trust { gap: 20px; }
  .trust-num { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  a, button { transition: none; }
  .faq-a { transition: none; }
  html { scroll-behavior: auto; }
}
