:root {
  --ink: #14161a;
  --ink-2: #1c1f25;
  --ink-soft: #3c4046;
  --muted: #6f747b;
  --line: #e7e8ea;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --accent: #3a6ff0;
  --accent-d: #2a55c4;
  --radius: 14px;
  --maxw: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.center { text-align: center; }

/* ---------- header ---------- */
.site-header {
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 38px; width: auto; display: block; }
.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a {
  color: var(--ink-soft); text-decoration: none;
  font-weight: 600; font-size: .95rem; transition: color .15s ease;
}
.site-header nav a:hover, .site-header nav a.on { color: var(--accent); }
.site-header nav a.nav-cta {
  background: var(--ink); color: #fff; padding: 10px 20px; border-radius: 9px;
}
.site-header nav a.nav-cta:hover { background: #000; color: #fff; }

/* ---------- hero (dark) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(58,111,240,.28), transparent 70%),
    linear-gradient(180deg, #15171b 0%, #1b1e24 100%);
  color: #fff;
  text-align: center;
  padding: 116px 0 124px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 40%, transparent 100%);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-block;
  font-size: .76rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: #8fb0fb;
  padding: 7px 15px; border: 1px solid rgba(143,176,251,.3);
  border-radius: 100px; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -.03em;
  max-width: 820px; margin: 0 auto;
}
.hero-sub {
  font-size: 1.15rem; color: #b6bbc4;
  margin: 24px auto 0; max-width: 600px;
}
.hero .btn { margin-top: 36px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  text-decoration: none; font-weight: 700; font-size: .98rem;
  padding: 15px 34px; border-radius: 10px; border: 0; cursor: pointer;
  box-shadow: 0 8px 22px -8px rgba(58,111,240,.6);
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--accent-d); transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(58,111,240,.7); }

/* ---------- content bands ---------- */
.band { padding: 86px 0; }
.band.soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-eyebrow {
  font-size: .76rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
.center .section-eyebrow { display: block; margin-bottom: 12px; }
.band h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 800;
  letter-spacing: -.025em; margin-bottom: 18px;
}
.band h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.05rem); font-weight: 800;
  letter-spacing: -.025em; margin: 8px 0 18px;
}
.band p { color: var(--ink-soft); margin-bottom: 16px; font-size: 1.06rem; }
.band p:last-child { margin-bottom: 0; }

/* ---------- services ---------- */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -18px rgba(20,22,26,.25);
  border-color: #d4d6d9;
}
.service-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(140deg, #3a6ff0, #2a55c4);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px -8px rgba(58,111,240,.5);
}
.service-icon svg { width: 27px; height: 27px; }
.service-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 9px; }
.service-card p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- CTA band (dark) ---------- */
.band.cta {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(58,111,240,.26), transparent 70%),
    linear-gradient(180deg, #16181c 0%, #1c1f25 100%);
  color: #fff; text-align: center;
}
.band.cta h2 { color: #fff; }
.band.cta p { color: #b6bbc4; }
.band.cta .section-eyebrow { color: #8fb0fb; }

/* ---------- contact form ---------- */
.contact-form { margin: 28px 0 12px; }
.contact-form label {
  display: block; font-weight: 700; font-size: .89rem;
  margin-bottom: 17px; color: var(--ink);
}
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 7px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .98rem; color: var(--ink); background: #fff;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58,111,240,.15);
}
.contact-form textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- notices ---------- */
.notice {
  padding: 14px 17px; border-radius: 10px; margin: 22px 0;
  font-size: .97rem; font-weight: 500;
}
.notice.ok { background: #e8f6ed; color: #1c6b3b; border: 1px solid #bfe3cc; }
.notice.err { background: #fdecec; color: #9d2b2b; border: 1px solid #f1c4c4; }

/* ---------- contact details ---------- */
.contact-details {
  margin-top: 46px; padding-top: 32px; border-top: 1px solid var(--line);
}
.contact-details h2 { font-size: 1.3rem; margin-bottom: 14px; }
.email-img { vertical-align: middle; border-radius: 3px; }

/* ---------- misc ---------- */
.muted { color: var(--muted); font-size: .9rem; }
.band .narrow h2 + p { margin-top: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #a9aeb6; }
.footer-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px;
  padding: 58px 24px 40px;
}
.footer-brand img { height: 44px; width: auto; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: .92rem; color: #82878f; max-width: 290px; }
.footer-col h4 {
  color: #fff; font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col a {
  display: block; color: #a9aeb6; text-decoration: none;
  margin-bottom: 9px; font-size: .95rem; transition: color .15s ease;
}
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: .95rem; margin-bottom: 5px; }
.footer-base {
  border-top: 1px solid #292c32; padding: 20px 0;
  font-size: .82rem; color: #6f747c;
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .services { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero { padding: 84px 0 90px; }
  .band { padding: 62px 0; }
}
@media (max-width: 520px) {
  .site-header nav { gap: 15px; }
  .site-header nav a.nav-cta { padding: 8px 14px; }
  .footer-inner { grid-template-columns: 1fr; }
}
