:root {
  --blue: #0069ff;
  --blue-dark: #0052cc;
  --blue-soft: #e8f1ff;
  --navy: #132c4f;
  --navy-deep: #0b1b33;
  --ink: #1b2533;
  --muted: #5a6778;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(19, 44, 79, .06), 0 8px 24px rgba(19, 44, 79, .08);
  --max: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: .96rem;
}
.nav-links a:hover { background: var(--blue-soft); color: var(--blue); }
.nav-links a[aria-current="page"] { color: var(--blue); }
.nav-links .btn { margin-left: 8px; color: #fff; }
.nav-links .btn:hover { color: #fff; background: var(--blue-dark); }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--navy);
}
.menu-toggle svg { width: 22px; height: 22px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1rem; padding: 14px 26px; border-radius: 999px;
  border: 2px solid var(--blue); cursor: pointer; font-family: inherit;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 105, 255, .28); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: #fff; color: var(--blue); border-color: var(--blue); box-shadow: none; }
.btn-light { background: #fff; color: var(--blue); border-color: #fff; }
.btn-light:hover { background: var(--blue-soft); color: var(--blue-dark); border-color: var(--blue-soft); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(0, 105, 255, .14), transparent 60%),
    radial-gradient(600px 400px at -10% 110%, rgba(0, 105, 255, .08), transparent 60%),
    var(--bg-alt);
  padding: 96px 0 88px;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 .accent { color: var(--blue); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-mark { width: 100%; max-width: 360px; justify-self: center; filter: drop-shadow(0 24px 40px rgba(0, 105, 255, .25)); }

.page-hero { background: var(--bg-alt); padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 60ch; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -44px; position: relative; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px; box-shadow: var(--shadow); }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: rgba(0, 105, 255, .35); box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue); margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }
.link-arrow { display: inline-block; margin-top: 28px; font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.panel {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%); color: #dfe7f3;
  border-radius: 20px; padding: 40px; box-shadow: var(--shadow);
}
.panel h3 { color: #fff; }
.panel .big { font-size: 3rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.03em; }
.panel .big span { color: #5aa2ff; }
.panel hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .14); margin: 24px 0; }

/* Clients */
.clients { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.clients li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  font-weight: 600; font-size: .93rem; color: var(--navy);
}
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: scroll 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .clients { flex-wrap: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Service detail */
.service { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
.service h2 { font-size: 1.7rem; }
.service .icon { width: 56px; height: 56px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags span { background: var(--blue-soft); color: var(--blue-dark); font-weight: 600; font-size: .85rem; padding: 5px 12px; border-radius: 999px; }

/* CTA band */
.cta {
  background: linear-gradient(120deg, var(--blue) 0%, #004fc4 100%); color: #e6f0ff;
  border-radius: 24px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

/* About */
.about-photo {
  aspect-ratio: 4 / 5; border-radius: 20px; background: linear-gradient(160deg, var(--blue-soft), #fff);
  border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden;
}
.about-photo img { width: 60%; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list .icon { margin: 0; flex-shrink: 0; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { text-decoration: none; font-weight: 600; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: .93rem; color: var(--navy); margin-bottom: 6px; }
label .opt { color: var(--muted); font-weight: 500; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid #cdd6e2; border-radius: 10px; padding: 12px 14px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 105, 255, .15); }
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.hidden { display: none; }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #a9b8cc; padding: 64px 0 28px; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 1.15rem; text-decoration: none; margin-bottom: 14px; }
.footer-brand img { width: 40px; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #dce6f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .service { grid-template-columns: 1fr; gap: 16px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .about-photo { aspect-ratio: 16 / 9; }
  .about-photo img { width: 34%; }
}
@media (max-width: 820px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 20px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .btn { margin: 8px 0 0; justify-content: center; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .brand img { height: 38px; }
  .hero { padding: 64px 0 76px; }
  .section { padding: 64px 0; }
  .grid-3, .form-row { grid-template-columns: 1fr; }
  .stat strong { font-size: 1.6rem; }
  .form-card { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
