:root {
    --bg: #f6f7fb;
    --ink: #13151a;
    --muted: #4a4f5c;
    --accent: #1a6dff;
    --dark: #13151a;
    --line: #1c1f26;
  }
  * { box-sizing: border-box; margin: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 72px; }
  body { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); line-height: 1.6;
    background:
      radial-gradient(900px 500px at 8% 38%, rgba(26,109,255,.10), transparent 60%),
      radial-gradient(800px 500px at 95% 62%, rgba(26,109,255,.08), transparent 60%),
      radial-gradient(rgba(19,21,26,.09) 1px, transparent 1px) 0 0 / 24px 24px,
      var(--bg); }
  a { color: inherit; }
  :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

  /* Header */
  header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; height: 64px; background: rgba(246,247,251,.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #e3e5ec; }
  .logo img { height: 44px; display: block; }
  .logo-text { font-weight: 700; letter-spacing: .02em; text-decoration: none; }
  nav { display: flex; gap: 40px; }
  nav a { text-decoration: none; font-size: 15px; font-weight: 500; }
  nav a:hover { color: var(--accent); }

  /* Hero: swap the gradient for a photo by adding url(...) to background-image */
  .hero { display: flex; align-items: center; min-height: 560px; padding: 80px 32px 80px clamp(32px, 8vw, 106px); color: #fff;
    background:
      linear-gradient(90deg, rgba(8,10,14,.92) 0%, rgba(8,10,14,.65) 55%, rgba(8,10,14,.35) 100%),
      radial-gradient(circle at 85% 30%, rgba(26,109,255,.35), transparent 45%),
      #0b0d12;
    background-size: cover; background-position: center; }
  .hero-inner { max-width: 640px; }
  h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
  .hero p { margin: 24px 0 32px; font-size: 1.1rem; font-weight: 500; max-width: 500px; color: #e8eaf0; }
  .btn { display: inline-block; padding: 12px 26px; background: var(--accent); color: #fff; border-radius: 999px; font-weight: 500; text-decoration: none; transition: background .15s; }
  .btn:hover { background: #0f56d6; }

  /* Sections */
  section { padding: 88px 32px; }
  .wrap { max-width: 1160px; margin: 0 auto; }
  h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -.01em; }
  .services h2 { text-align: center; }
  .services .sub { text-align: center; max-width: 520px; margin: 12px auto 0; color: var(--muted); }
  .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 56px; }
  .card { position: relative; overflow: hidden; border: 1px solid #dfe3ee; border-radius: 28px; padding: 32px; background: linear-gradient(180deg, #fff, #f1f4fb); box-shadow: 0 1px 2px rgba(19,21,26,.04), 0 12px 32px -12px rgba(26,109,255,.18); transition: transform .2s, box-shadow .2s, border-color .2s; }
  .card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent), #6fa4ff); }
  .card:hover { transform: translateY(-4px); border-color: #b9cdf7; box-shadow: 0 1px 2px rgba(19,21,26,.04), 0 20px 40px -12px rgba(26,109,255,.3); }
  .icon { width: 48px; height: 48px; background: #12151c; border-radius: 12px; display: grid; place-items: center; margin-bottom: 24px; }
  .icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
  .card p { font-size: .95rem; color: var(--muted); }

  .scale { padding-top: 0; }
  .scale .wrap { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(36px, 6vw, 64px); color: #fff;
    background: radial-gradient(600px 300px at 90% 0%, rgba(26,109,255,.55), transparent 65%), linear-gradient(135deg, #12151c, #1b2540); }
  .scale .wrap::after { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); pointer-events: none; }
  .scale .wrap > * { position: relative; z-index: 1; }
  .scale p { margin: 16px 0 28px; max-width: 560px; color: #cfd6e8; }

  /* Contact */
  .contact { color: #fff; background: radial-gradient(700px 300px at 15% 0%, rgba(26,109,255,.22), transparent 65%), var(--dark); }
  .contact h2 { margin-bottom: 48px; }
  .contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
  .contact-item { border-left: 2px solid var(--accent); padding-left: 20px; }
  .contact-item span { display: block; color: #4d8dff; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
  .contact-item a { font-size: 1.1rem; font-weight: 500; text-decoration: none; }
  .contact-item a:hover { text-decoration: underline; }

  /* Footer */
  footer { padding: 40px 32px 24px; background: linear-gradient(180deg, #eef1f9, var(--bg)); }
  .foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
  footer img { height: 72px; }
  .addr { font-weight: 600; font-size: .9rem; text-align: right; }
  .copy { margin-top: 40px; font-size: .8rem; color: var(--muted); }

  @media (max-width: 600px) {
    header { padding: 0 16px; }
    nav { gap: 20px; }
    section { padding: 64px 20px; }
    .addr { text-align: left; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }