:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --dark: #0b1020;
  --gray-900: #0f172a;
  --gray-700: #334155;
  --gray-500: #64748b;
  --gray-300: #cbd5e1;
  --gray-100: #f1f5f9;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 28px rgba(15, 23, 42, .08);
  --shadow-lg: 0 18px 45px rgba(15, 23, 42, .13);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  color: var(--gray-900);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.content-narrow { width: min(820px, 100%); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 2000;
  transform: translateY(-160%);
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  padding: 10px 14px;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.topbar { background: var(--dark); color: #dbeafe; font-size: .86rem; }
.topbar-inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-contact { display: flex; gap: 18px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }

.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--gray-100); }
.nav-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo-img { width: 84px; height: 64px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links a { color: var(--gray-700); text-decoration: none; font-size: .9rem; font-weight: 700; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); }
.nav-cta { background: var(--primary); color: #fff !important; border-radius: 10px; padding: 11px 15px; }
.nav-toggle { display: none; background: transparent; border: 0; color: var(--gray-900); cursor: pointer; }

.hero {
  padding: 104px 0 88px;
  text-align: center;
  background: linear-gradient(135deg, #f8faff 0%, #e8f0fe 100%);
}
.hero h1 { max-width: 900px; margin: 0 auto 22px; font-size: clamp(2.4rem, 6.5vw, 4.65rem); line-height: 1.03; letter-spacing: -.045em; }
.hero-sub { max-width: 800px; margin: 0 auto; color: var(--gray-500); font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.75; }
.hero-cta { margin-top: 34px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 22px; border: 2px solid transparent; border-radius: 10px; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: #fff; }
.hero-stats { max-width: 760px; margin: 52px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat { padding: 18px; border-top: 1px solid #bfdbfe; }
.stat strong { display: block; color: var(--primary); font-size: 1.5rem; }
.stat span { color: var(--gray-500); font-size: .9rem; }

section { padding: 82px 0; }
section h2 { margin-bottom: 14px; text-align: center; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; letter-spacing: -.025em; }
.section-sub { max-width: 720px; margin: 0 auto 38px; text-align: center; color: var(--gray-500); font-size: 1.08rem; }
.lp-area { background: var(--gray-100); }
.lp-area h2 { margin-top: 20px; }
.lp-area p { margin: 0 auto 16px; color: var(--gray-700); text-align: center; font-size: 1.07rem; line-height: 1.8; }
.lp-breadcrumb { color: var(--primary); font-weight: 700; text-decoration: none; }

.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card { padding: 28px; border: 1px solid var(--gray-100); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.service-card .service-icon { margin-bottom: 15px; font-size: 2rem; }
.service-card h3 { margin-bottom: 9px; color: var(--dark); font-size: 1.17rem; }
.service-card p { color: var(--gray-500); font-size: .95rem; }

.process { background: var(--gray-100); }
.process-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.process-item { display: flex; gap: 15px; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.process-number { flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 900; }
.process-item strong { display: block; margin-bottom: 5px; }
.process-item p { color: var(--gray-500); font-size: .94rem; }

.intent { background: var(--white); }
.intent-list { max-width: 880px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; }
.intent-list li { position: relative; padding: 16px 18px 16px 48px; border: 1px solid #dbeafe; border-radius: 12px; color: var(--gray-700); background: #f8fbff; font-weight: 700; }
.intent-list li::before { content: "✓"; position: absolute; left: 18px; color: var(--primary); font-weight: 900; }
.intent-note { max-width: 760px; margin: 28px auto 0; color: var(--gray-500); text-align: center; }

.proof { background: var(--gray-100); }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.proof-card { padding: 28px; border-top: 4px solid var(--primary); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.proof-card h3 { margin-bottom: 9px; font-size: 1.18rem; }
.proof-card p { color: var(--gray-500); }
.proof-card a { display: inline-block; margin-top: 13px; color: var(--primary); font-weight: 800; }

.lp-cta { color: #fff; text-align: center; background: linear-gradient(135deg, #0a0f1f 0%, #0d2247 55%, #0a1838 100%); }
.lp-cta h2 { color: #fff; }
.lp-cta p { max-width: 690px; margin: 0 auto 28px; color: #cbd5e1; font-size: 1.08rem; }
.lp-cta .btn-outline { color: #fff; border-color: #fff; }

.faq { background: #fff; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { margin-bottom: 13px; padding: 4px 22px; border-radius: 13px; background: var(--gray-100); }
.faq-item summary { position: relative; cursor: pointer; padding: 17px 34px 17px 0; color: var(--dark); font-weight: 800; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; color: var(--primary); font-size: 1.45rem; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 0 18px; color: var(--gray-700); }

.contact { background: var(--gray-100); }
.contact-actions { margin-bottom: 34px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.quote-form { max-width: 820px; margin: 0 auto; padding: 32px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; color: var(--gray-700); font-size: .9rem; font-weight: 800; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--gray-300); border-radius: 9px; background: #fff; color: var(--gray-900); font: inherit; }
.form-group textarea { min-height: 126px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 3px solid #dbeafe; border-color: var(--primary); }
.form-submit { width: 100%; border: 0; cursor: pointer; font: inherit; }
.form-status { margin-top: 12px; min-height: 24px; color: var(--gray-700); text-align: center; }
.form-note { margin-top: 12px; color: var(--gray-500); text-align: center; font-size: .82rem; }

.footer { padding: 34px 0 96px; background: var(--dark); color: #cbd5e1; text-align: center; }
.footer strong { display: block; margin-bottom: 8px; color: #fff; }
.footer-links { margin-top: 16px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.footer a { color: #dbeafe; }
.mobile-cta { display: none; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; top: 78px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; border-bottom: 1px solid var(--gray-100); background: #fff; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 4px; }
  .nav-cta { margin-top: 6px; text-align: center; }
  .services-grid, .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .topbar { display: none; }
  .nav-inner { min-height: 66px; }
  .logo-img { width: 72px; height: 54px; }
  .nav-links { top: 66px; }
  .hero { padding: 72px 0 58px; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 3.25rem); }
  .hero-sub { font-size: 1.03rem; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; gap: 2px; margin-top: 36px; }
  .stat { padding: 12px; }
  section { padding: 58px 0; }
  .services-grid, .proof-grid, .process-grid, .intent-list, .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: 22px 18px; }
  .footer { padding-bottom: 88px; }
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; display: flex; gap: 8px; padding: 8px; border-top: 1px solid var(--gray-100); background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,.08); }
  .mobile-cta a { flex: 1; padding: 11px 6px; border-radius: 8px; text-align: center; text-decoration: none; font-size: .84rem; font-weight: 900; }
  .mobile-call { background: var(--primary); color: #fff; }
  .mobile-text { background: var(--primary-light); color: var(--primary-dark); }
  .mobile-audit { background: var(--dark); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
