:root {
    --bg: #07080f;
    --bg-2: #0a0c16;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-2: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --indigo: #5b6cff;
    --indigo-bright: #8a97ff;
    --indigo-deep: #3a44c9;
    --text: #eef0fa;
    --muted: #969ab4;
    --muted-2: #6a6e86;
    --wa: #25d366;
    --display: "Space Grotesk", sans-serif;
    --body: "Manrope", sans-serif;
    --maxw: 1200px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }

  ::selection { background: var(--indigo); color: #fff; }

  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

  h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--indigo-bright);
    font-family: var(--body);
  }
  .eyebrow::before {
    content: ""; width: 22px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--indigo));
  }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--body); font-weight: 600; font-size: 15px;
    padding: 14px 22px; border-radius: 999px; cursor: pointer;
    border: 1px solid transparent; transition: all .25s cubic-bezier(.2,.7,.3,1);
    white-space: nowrap;
  }
  .btn-wa {
    background: var(--wa); color: #04210f;
    box-shadow: 0 8px 30px -8px rgba(37, 211, 102, 0.55);
  }
  .btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(37, 211, 102, 0.7); }
  .btn-primary {
    background: var(--indigo); color: #fff;
    box-shadow: 0 8px 30px -8px rgba(91, 108, 255, 0.6);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px -10px rgba(91,108,255,.8); }
  .btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
  .btn-ghost:hover { background: var(--surface-2); border-color: var(--text); }

  /* ---------- Nav ---------- */
  header.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background .3s, border-color .3s, backdrop-filter .3s;
    border-bottom: 1px solid transparent;
  }
  header.nav.scrolled {
    background: rgba(7, 8, 15, 0.72);
    backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
  .logo { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
  .logo-mark {
    width: 34px; height: 34px; border-radius: 10px;
    background: linear-gradient(145deg, var(--indigo-bright), var(--indigo-deep));
    display: grid; place-items: center; font-size: 17px; color: #fff;
    box-shadow: 0 6px 22px -6px rgba(91,108,255,.7), inset 0 1px 0 rgba(255,255,255,.4);
  }
  .logo-mark span { transform: translateY(-1px); }
  .nav-links { display: flex; align-items: center; gap: 34px; }
  .nav-links a { font-size: 15px; color: var(--muted); font-weight: 500; transition: color .2s; }
  .nav-links a:hover { color: var(--text); }
  .nav-cta { display: flex; align-items: center; gap: 14px; }
  .menu-btn { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }

  /* ---------- Hero ---------- */
  .hero { position: relative; padding: 168px 0 90px; overflow: hidden; }
  .hero-bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
  }
  .hero-glow {
    position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
    width: 900px; height: 620px; border-radius: 50%;
    background: radial-gradient(circle, rgba(91,108,255,.32), rgba(91,108,255,0) 62%);
    filter: blur(20px);
  }
  .hero-grid {
    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: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 35%, transparent 75%);
  }
  .hero-inner { position: relative; z-index: 1; text-align: center; max-width: 920px; margin: 0 auto; }
  .rating-pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 7px 7px 16px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border);
    font-size: 13.5px; color: var(--muted); margin-bottom: 30px;
  }
  .rating-pill b { color: var(--text); font-weight: 700; }
  .stars { color: #ffc555; letter-spacing: 1px; font-size: 13px; }
  .rating-tag {
    background: var(--surface-2); border: 1px solid var(--border);
    padding: 4px 11px; border-radius: 999px; font-size: 12px; color: var(--indigo-bright); font-weight: 600;
  }
  h1.hero-title { font-size: clamp(40px, 6.4vw, 78px); font-weight: 600; }
  h1.hero-title .grad {
    background: linear-gradient(110deg, var(--indigo-bright) 10%, #c9d0ff 55%, var(--indigo-bright));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  }
  .hero p.sub { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 620px; margin: 26px auto 0; line-height: 1.6; }
  .hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
  .hero-meta { margin-top: 26px; font-size: 14px; color: var(--muted-2); display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
  .hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
  .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 10px var(--wa); }

  /* ---------- Stats strip ---------- */
  .stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
  .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 44px 26px; text-align: center; border-right: 1px solid var(--border); }
  .stat:last-child { border-right: 0; }
  .stat .num { font-family: var(--display); font-size: clamp(34px, 4vw, 50px); font-weight: 600; letter-spacing: -0.03em; }
  .stat .num .u { color: var(--indigo-bright); }
  .stat .lbl { color: var(--muted); font-size: 14px; margin-top: 8px; }

  /* ---------- Section shell ---------- */
  section.block { padding: 110px 0; }
  .section-head { max-width: 680px; margin-bottom: 56px; }
  .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
  .section-head h2 { font-size: clamp(30px, 4.2vw, 50px); margin-top: 18px; }
  .section-head p { color: var(--muted); margin-top: 18px; font-size: 18px; }

  /* ---------- Services ---------- */
  .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .svc {
    display: block; color: inherit; text-decoration: none;
    position: relative; padding: 30px; border-radius: 18px;
    background: var(--surface); border: 1px solid var(--border);
    transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s, background .3s;
    overflow: hidden;
  }
  .svc::after {
    content: ""; position: absolute; inset: 0; border-radius: 18px;
    background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(91,108,255,.16), transparent 60%);
    opacity: 0; transition: opacity .3s; pointer-events: none;
  }
  .svc:hover { transform: translateY(-5px); border-color: var(--border-strong); background: var(--surface-2); }
  .svc:hover::after { opacity: 1; }
  .svc-ico {
    width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
    background: linear-gradient(145deg, rgba(138,151,255,.22), rgba(58,68,201,.12));
    border: 1px solid var(--border); color: var(--indigo-bright); margin-bottom: 22px;
  }
  .svc h3 { font-size: 21px; font-weight: 600; }
  .svc p { color: var(--muted); font-size: 15px; margin-top: 10px; line-height: 1.55; }
  .svc .arrow { margin-top: 18px; color: var(--muted-2); font-size: 14px; display: inline-flex; gap: 7px; align-items: center; transition: color .2s, gap .2s; }
  .svc:hover .arrow { color: var(--indigo-bright); gap: 11px; }

  /* ---------- Case studies ---------- */
  .case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .case {
    border-radius: 20px; overflow: hidden; border: 1px solid var(--border);
    background: var(--surface); transition: transform .3s, border-color .3s;
  }
  .case:hover { transform: translateY(-5px); border-color: var(--border-strong); }
  .case image-slot { width: 100%; height: 200px; display: block; }
  .case-body { padding: 24px; }
  .case-tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo-bright); }
  .case-body h3 { font-size: 20px; margin: 12px 0 14px; font-weight: 600; }
  .case-stats { display: flex; gap: 22px; border-top: 1px solid var(--border); padding-top: 16px; }
  .case-stats .num { font-family: var(--display); font-size: 26px; font-weight: 600; }
  .case-stats .num .u { color: var(--wa); }
  .case-stats small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }

  /* ---------- Approach ---------- */
  .approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .steps { display: flex; flex-direction: column; gap: 6px; }
  .step { display: flex; gap: 20px; padding: 22px; border-radius: 16px; transition: background .25s; }
  .step:hover { background: var(--surface); }
  .step-n { font-family: var(--display); font-size: 15px; color: var(--indigo-bright); font-weight: 600; border: 1px solid var(--border); width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--surface); }
  .step h3 { font-size: 19px; font-weight: 600; }
  .step p { color: var(--muted); font-size: 15px; margin-top: 6px; }
  .approach-visual {
    border-radius: 22px; border: 1px solid var(--border); padding: 38px;
    background: linear-gradient(165deg, var(--surface-2), transparent);
    position: relative; overflow: hidden;
  }
  .approach-visual .ring { position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(91,108,255,.25), transparent 65%); }
  .gauge { position: relative; z-index: 1; }
  .gauge .big { font-family: var(--display); font-size: 64px; font-weight: 600; letter-spacing: -.03em; }
  .gauge .big .u { color: var(--indigo-bright); }
  .gauge .cap { color: var(--muted); font-size: 15px; }
  .bars { display: flex; align-items: flex-end; gap: 12px; height: 130px; margin-top: 30px; }
  .bar { flex: 1; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--indigo), var(--indigo-deep)); opacity: .35; }
  .bar:nth-child(2){opacity:.5} .bar:nth-child(3){opacity:.68} .bar:nth-child(4){opacity:.85} .bar:last-child{opacity:1}

  /* ---------- Team ---------- */
  .team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .member { text-align: center; }
  .member image-slot { width: 100%; aspect-ratio: 1 / 1; display: block; border: 1px solid var(--border); }
  .member h3 { font-size: 18px; margin-top: 16px; font-weight: 600; }
  .member p { color: var(--muted); font-size: 14px; margin-top: 3px; }

  /* ---------- CTA band ---------- */
  .cta-band { position: relative; overflow: hidden; }
  .cta-card {
    position: relative; border-radius: 28px; padding: 70px 50px; text-align: center;
    background: linear-gradient(160deg, #11142b, #0a0c18);
    border: 1px solid var(--border-strong); overflow: hidden;
  }
  .cta-card .glow { position: absolute; inset: 0; background: radial-gradient(600px circle at 50% 120%, rgba(91,108,255,.35), transparent 60%); }
  .cta-card h2 { position: relative; font-size: clamp(30px, 4.4vw, 52px); }
  .cta-card p { position: relative; color: var(--muted); max-width: 520px; margin: 20px auto 0; font-size: 18px; }
  .cta-card .hero-actions { position: relative; }

  /* ---------- Footer ---------- */
  footer { border-top: 1px solid var(--border); padding: 64px 0 36px; background: var(--bg-2); }
  .foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
  .foot-grid h4 { font-family: var(--body); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
  .foot-grid a, .foot-grid p { color: var(--muted); font-size: 15px; display: block; margin-bottom: 11px; transition: color .2s; }
  .foot-grid a:hover { color: var(--text); }
  .foot-brand p { color: var(--muted); font-size: 15px; max-width: 280px; margin-top: 18px; }
  .foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 14px; flex-wrap: wrap; gap: 12px; }
  .socials { display: flex; gap: 10px; }
  .socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); transition: all .2s; }
  .socials a:hover { color: var(--text); border-color: var(--text); background: var(--surface); }

  /* ---------- Floating WhatsApp ---------- */
  .fab {
    position: fixed; bottom: 26px; right: 26px; z-index: 90;
    width: 58px; height: 58px; border-radius: 50%; background: var(--wa);
    display: grid; place-items: center; color: #04210f;
    box-shadow: 0 10px 34px -8px rgba(37,211,102,.65); transition: transform .25s;
  }
  .fab:hover { transform: scale(1.08); }
  .fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.4s ease-out infinite; }
  @keyframes pulse { 0%{transform:scale(1);opacity:.7} 100%{transform:scale(1.7);opacity:0} }

  /* ---------- Reveal ---------- */
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

  /* ---------- Why / local content ---------- */
  .local2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
  .local2 h2 { font-size: clamp(30px, 4.2vw, 48px); margin-top: 18px; }
  .local2 .lead { color: var(--muted); font-size: 18px; margin-top: 22px; line-height: 1.65; }
  .local2 .lead strong { color: var(--text); font-weight: 600; }
  .local2-card { border-radius: 22px; border: 1px solid var(--border); padding: 36px; background: linear-gradient(165deg, var(--surface-2), transparent); position: relative; overflow: hidden; }
  .local2-card .ring { position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(91,108,255,.22), transparent 65%); }
  .local2-card h3 { position: relative; z-index: 1; font-size: 20px; font-weight: 600; margin-bottom: 22px; }
  .local2-list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
  .local2-list li { list-style: none; display: flex; gap: 13px; align-items: flex-start; font-size: 16px; }
  .local2-list .ck { width: 24px; height: 24px; flex: none; border-radius: 7px; display: grid; place-items: center; background: rgba(37,211,102,.14); color: var(--wa); margin-top: 1px; }

  /* ---------- Testimonials ---------- */
  .tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .tst { padding: 30px 28px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
  .tst:hover { border-color: var(--border-strong); transform: translateY(-4px); }
  .tst .qstars { color: #ffc555; letter-spacing: 2px; font-size: 14px; }
  .tst .quote { font-size: 16px; line-height: 1.62; color: var(--text); margin: 16px 0 0; flex: 1; }
  .tst .who { display: flex; gap: 13px; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
  .avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--display); font-size: 15px; font-weight: 600; color: #fff; background: linear-gradient(145deg, var(--indigo-bright), var(--indigo-deep)); border: 1px solid rgba(255,255,255,.18); }
  .tst .who .nm { font-size: 14.5px; font-weight: 600; }
  .tst .who .ro { font-size: 13px; color: var(--muted-2); margin-top: 1px; }

  /* ---------- FAQ ---------- */
  .faq { max-width: 820px; margin: 0 auto; }
  .faq-item { border-bottom: 1px solid var(--border); }
  .faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--text); font-family: var(--display); font-size: 19px; font-weight: 500; padding: 24px 0; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
  .faq-q .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; transition: transform .3s, background .3s; color: var(--indigo-bright); }
  .faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--indigo); color: #fff; border-color: var(--indigo); }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .faq-a p { color: var(--muted); font-size: 16px; padding: 0 0 24px; max-width: 94%; }

  /* ---------- Responsive ---------- */
  @media (max-width: 940px) {
    .nav-links, .nav-cta .btn-ghost { display: none; }
    .menu-btn { display: block; }
    .svc-grid, .case-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .approach-grid { grid-template-columns: 1fr; gap: 40px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .stat:nth-child(2){border-right:0}
    .stat { border-bottom: 1px solid var(--border); }
    .local2 { grid-template-columns: 1fr; gap: 40px; }
    .tst-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    .wrap { padding: 0 20px; }
    .svc-grid, .case-grid, .stats-grid, .team-grid { grid-template-columns: 1fr; }
    .stat { border-right: 0; }
    section.block { padding: 78px 0; }
    .cta-card { padding: 50px 26px; }
  }

  /* Mobile menu */
  .mobile-menu { position: fixed; inset: 0; z-index: 200; background: rgba(7,8,15,.96); backdrop-filter: blur(14px); display: none; flex-direction: column; padding: 28px; }
  .mobile-menu.open { display: flex; }
  .mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; }
  .mobile-menu nav { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; }
  .mobile-menu nav a { font-family: var(--display); font-size: 30px; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .mobile-menu .btn-wa { margin-top: 30px; justify-content: center; }


/* ===== Services dropdown (header) ===== */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > .nav-top { display: inline-flex; align-items: center; gap: 5px; font-size: 15px; color: var(--muted); font-weight: 500; transition: color .2s; cursor: pointer; }
.nav-item:hover > .nav-top { color: var(--text); }
.nav-item .caret { transition: transform .25s ease; }
.nav-item:hover .caret { transform: rotate(180deg); }
/* invisible hover bridge so the menu doesn't close in the gap */
.nav-item.has-dd::after { content: ""; position: absolute; left: -24px; right: -24px; top: 100%; height: 26px; }
.dropdown {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%) translateY(8px);
  display: flex; gap: 30px; padding: 20px 22px;
  background: rgba(10, 12, 22, 0.97); backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--border-strong); border-radius: 18px;
  box-shadow: 0 36px 70px -24px rgba(0, 0, 0, 0.7);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, transform .22s ease; z-index: 200;
}
.nav-item.has-dd:hover .dropdown,
.nav-item.has-dd:focus-within .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dd-col { display: flex; flex-direction: column; min-width: 212px; }
.dd-col-title { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; padding: 4px 12px 10px; }
.dropdown a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; color: var(--muted); font-weight: 500; transition: background .18s, color .18s; white-space: nowrap; }
.dropdown a:hover { background: var(--surface-2); color: var(--text); }
.dd-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--indigo-bright); flex: none; opacity: .65; transition: opacity .18s, transform .18s; }
.dropdown a:hover .dd-dot { opacity: 1; transform: scale(1.35); }

/* Mobile menu service groups */
.mobile-menu .mm-label { display: block; font-family: var(--display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin: 18px 0 4px; }
.mobile-menu nav a.mm-sub { font-family: var(--body); font-size: 18px; padding: 9px 0; border-bottom: 1px solid var(--border); color: var(--muted); }
.mobile-menu nav a.mm-sub:hover { color: var(--text); }

@media (max-width: 940px) {
  .nav-item, .dropdown { display: none; }
}
