:root {
  --navy: #0b1b33;
  --navy-2: #12284a;
  --ink: #16202e;
  --muted: #5b6678;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --blue: #1677d2;
  --blue-dark: #0f5fae;
  --green: #7cc242;
  --orange: #f7941d;
  --brand-grad: linear-gradient(90deg, #f7941d 0%, #e8412c 25%, #7cc242 60%, #1aa3e0 100%);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 27, 51, .08);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.brand-bar { height: 4px; background: var(--brand-grad); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 10px;
  font-weight: 600; font-size: 1rem; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }

/* Header */
.topbar { background: var(--navy); color: #c9d4e5; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; }
.topbar .tb-right { display: flex; gap: 20px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.logo img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .nav .dd > button {
  color: var(--ink); font-weight: 500; padding: 10px 12px; border-radius: 8px; background: none; border: 0;
  font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
}
.nav > a:hover, .nav .dd > button:hover, .nav a.active { color: var(--blue); }
.dd { position: relative; }
.dd-menu {
  position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none;
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); }
.dd-menu a:hover { background: var(--bg-soft); color: var(--blue); }
.dd-menu small { display: block; color: var(--muted); font-size: .8rem; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(26,163,224,.35), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(124,194,66,.22), transparent 60%),
    var(--navy);
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero h1 { color: #fff; }
.hero h1 .grad { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.18rem; color: #c9d4e5; max-width: 600px; }
.hero .eyebrow { color: #8fd0ff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; color: #c9d4e5; font-size: .95rem; }
.hero-checks li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }
.page-hero { background: var(--navy); color: #fff; padding: 72px 0 64px; position: relative; }
.page-hero h1 { color: #fff; max-width: 800px; }
.page-hero p { color: #c9d4e5; font-size: 1.15rem; max-width: 720px; margin: 0; }
.crumbs { font-size: .88rem; color: #8fa3c0; margin-bottom: 14px; }
.crumbs a { color: #8fa3c0; }

/* Form card */
.form-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 30px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.form-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.form-card p.sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-size: .85rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: 4px; }
input, textarea, select {
  width: 100%; font: inherit; padding: 11px 13px; border: 1px solid #cfd7e3; border-radius: 9px; background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(22,119,210,.25); border-color: var(--blue); }
textarea { min-height: 110px; resize: vertical; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 14px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 10px; text-align: center; }
.req { color: #b42318; }
input.invalid { border-color: #b42318; }
.form-status { margin-top: 12px; font-size: .92rem; display: none; }
.form-status.show { display: block; }

/* Stats */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 2rem; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; display: flex; flex-direction: column;
}
a.card { color: inherit; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #c8d7ea; color: inherit; }
.card p { color: var(--muted); }
.card ul { margin: 0 0 16px; padding: 0; list-style: none; }
.card ul li { padding: 3px 0 3px 22px; position: relative; font-size: .95rem; color: var(--ink); }
.card ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.card .more { margin-top: auto; font-weight: 600; color: var(--blue); }
.icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(22,119,210,.12), rgba(124,194,66,.14)); color: var(--blue);
}
.icon svg { width: 26px; height: 26px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { padding: 8px 0 8px 34px; position: relative; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(124,194,66,.18); color: #4b8f1e; font-weight: 700; font-size: .8rem; display: grid; place-items: center;
}
.checklist li b { color: var(--navy); }
.panel { background: var(--navy); color: #c9d4e5; border-radius: 20px; padding: 36px; position: relative; overflow: hidden; }
.panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--brand-grad); }
.panel h3 { color: #fff; }
.panel .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.panel .row:last-child { border-bottom: 0; }
.panel .ok { color: var(--green); font-weight: 600; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: "0" counter(step); display: block; font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800; font-size: 2.2rem; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px;
}
.step p { color: var(--muted); }

/* Industries */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 500; color: var(--navy); }

/* Clients */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1100px; margin: 0 auto; }
.logos img {
  width: calc((100% - 64px) / 5); height: 110px; object-fit: contain; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px; transition: box-shadow .2s;
}
.logos img:hover { box-shadow: var(--shadow); }
.logos .logo-text {
  width: calc((100% - 64px) / 5); height: 110px; display: grid; place-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px;
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--navy); line-height: 1.25;
}

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; border-radius: 22px; padding: 52px; display: flex; justify-content: space-between; align-items: center; gap: 30px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--brand-grad); }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #c9d4e5; margin: 0; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* Prose */
.prose { max-width: 760px; }
.prose p { color: #3b4657; font-size: 1.05rem; }
.layout-side { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
.sticky { position: sticky; top: 100px; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--bg-soft); }
.side-card h3 { font-size: 1.1rem; }
.side-card .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { margin: 0; width: 44px; height: 44px; flex-shrink: 0; }
.contact-list b { display: block; color: var(--navy); }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); margin-top: 22px; }

/* Footer */
.site-footer { background: var(--navy); color: #9fb0c8; padding: 64px 0 28px; margin-top: 0; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #c9d4e5; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 4px 0; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }
.footer-logo img { height: 30px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem; }

/* Responsive */
@media (max-width: 1020px) {
  .hero .container, .split, .layout-side { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logos img, .logos .logo-text { width: calc((100% - 32px) / 3); }
  .sticky { position: static; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav, .header-cta .btn-outline { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 84px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; box-shadow: var(--shadow);
  }
  .nav.open .dd-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .topbar .tb-left { display: none; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .grid-3, .grid-2, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .logos img, .logos .logo-text { width: calc((100% - 16px) / 2); height: 90px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 24px; }
  .header-cta .btn-primary { display: none; }
  .logo img { height: 40px; }
}

/* Reviews & social */
.stars { color: #f5b301; letter-spacing: 2px; }
.stat .stars { font-size: 1rem; vertical-align: middle; }
a.stat { color: inherit; }
a.stat:hover span:last-child { color: var(--blue); }
.review { margin: 0; }
.review .stars { margin-bottom: 12px; }
.review blockquote { margin: 0 0 18px; color: var(--ink); font-size: 1rem; }
.review figcaption { margin-top: auto; color: var(--muted); font-size: .92rem; }
.review figcaption b { color: var(--navy); }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; font-size: .9rem; }
.social a:hover { border-color: #fff; }
.social svg { width: 18px; height: 18px; }
.social a:last-child svg { color: #f5b301; }

/* Blog */
.post-card h3 { font-size: 1.12rem; }
.post-meta { font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag { font-size: .76rem; font-weight: 600; color: var(--blue-dark); background: rgba(22,119,210,.08); border-radius: 999px; padding: 3px 10px; }
.post-hero-meta { margin-top: 18px; font-size: .92rem; color: #8fa3c0; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; color: var(--muted); }
.source-box { border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 20px 22px; background: var(--bg-soft); }
.source-box b { display: block; color: var(--navy); margin-bottom: 4px; }
.source-box a { font-weight: 600; word-break: break-word; }
.source-box span { display: block; color: var(--muted); font-size: .9rem; }
.source-box p { margin: 12px 0 0; font-size: .85rem; color: var(--muted); }
@media (max-width: 600px) { .pager { flex-wrap: wrap; justify-content: center; } }

/* Floating help widget */
.help-widget { position: fixed; right: 22px; bottom: 22px; z-index: 100; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.help-avatar {
  position: relative; width: 68px; height: 68px; padding: 0; border: 3px solid #fff; border-radius: 50%;
  background: none; cursor: pointer; box-shadow: 0 10px 28px rgba(11,27,51,.3); transition: transform .2s;
}
.help-avatar:hover { transform: scale(1.06); }
.help-avatar img { width: 100%; height: 100%; border-radius: 50%; }
.help-avatar::before {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--blue);
  animation: help-pulse 2.4s ease-out infinite;
}
@keyframes help-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.45); opacity: 0; } }
.help-dot { position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%; background: #3cc13b; border: 2px solid #fff; }
.help-bubble {
  position: relative; max-width: 240px; background: #fff; color: var(--ink); border-radius: 14px 14px 4px 14px;
  padding: 14px 30px 14px 16px; box-shadow: var(--shadow); border: 1px solid var(--line); font-size: .95rem; cursor: pointer;
  animation: help-in .3s ease-out;
}
.help-bubble b { color: var(--navy); display: block; }
.help-panel {
  width: 300px; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(11,27,51,.25);
  border: 1px solid var(--line); overflow: hidden; animation: help-in .25s ease-out; padding-bottom: 10px;
}
.help-head { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--navy); color: #c9d4e5; margin-bottom: 10px; }
.help-head img { border-radius: 50%; border: 2px solid #fff; }
.help-head b { display: block; color: #fff; }
.help-head span { font-size: .85rem; }
.help-head .help-x { color: #fff; position: static; margin-left: auto; }
.help-btn { display: flex; align-items: center; gap: 10px; margin: 6px 12px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .93rem; }
.help-btn:hover { border-color: var(--blue); color: var(--blue); }
.help-btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.help-btn.primary:hover { background: var(--blue-dark); color: #fff; }
.help-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.help-x { position: absolute; top: 6px; right: 8px; background: none; border: 0; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px; }
[hidden] { display: none !important; }
@keyframes help-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .help-avatar::before { animation: none; } }
@media (max-width: 600px) { .help-widget { right: 14px; bottom: 14px; } .help-panel { width: calc(100vw - 28px); } }

/* ---- Mobile menu fixes (phones/tablets only; desktop unchanged) ---- */
@media (max-width: 860px) {
  .site-header .container { position: relative; }
  .menu-toggle { font-size: 1.25rem; line-height: 1; min-width: 44px; min-height: 44px; color: var(--navy); }
  /* Menu scrolls inside itself instead of trapping the page */
  .nav.open {
    max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    z-index: 60; gap: 2px;
  }
  .nav.open > a, .nav.open .dd > button { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  /* Services list is collapsed until tapped; no sticky hover/focus opening on touch */
  .nav.open .dd-menu,
  .nav .dd:hover .dd-menu,
  .nav .dd:focus-within .dd-menu { display: none; }
  .nav.open .dd.open .dd-menu { display: block; position: static; box-shadow: none; border: 0; min-width: 0; padding: 0 0 6px 12px; }
  .nav.open .dd-menu small { display: none; }
  .nav.open .dd-menu a { padding: 11px 12px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .help-bubble { display: none !important; }
}