:root{
    --bg:#080a0f;
    --bg-2:#0e1218;
    --bg-3:#141923;
    --surface:#161c27;
    --line:#232b39;
    --text:#eef2f8;
    --muted:#9aa6b8;
    --muted-2:#69748a;
    --accent:#f5a623;       /* amber/gold */
    --accent-2:#e2941a;
    --accent-soft:rgba(245,166,35,.12);
    --teal:#2dd4bf;
    --radius:16px;
    --maxw:1180px;
    --font-display:"Sora",system-ui,sans-serif;
    --font-body:"Inter",system-ui,sans-serif;
  }
  html[lang="zh"]{ --font-display:"Noto Sans SC","Sora",system-ui,sans-serif; --font-body:"Noto Sans SC","Inter",system-ui,sans-serif; }
  *{box-sizing:border-box;margin:0;padding:0}
  html{scroll-behavior:smooth}
  body{
    background:var(--bg);
    color:var(--text);
    font-family:var(--font-body);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  .wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
  a{color:inherit;text-decoration:none}
  section{position:relative}
  .eyebrow{
    display:inline-flex;align-items:center;gap:10px;
    font-family:var(--font-display);font-weight:600;
    letter-spacing:.18em;text-transform:uppercase;font-size:12px;
    color:var(--accent);
  }
  .eyebrow::before{content:"";width:28px;height:2px;background:var(--accent);display:inline-block}
  h1,h2,h3{font-family:var(--font-display);font-weight:700;line-height:1.1;letter-spacing:-.02em}
  .lead{color:var(--muted);font-size:18px;max-width:560px}

  /* ---------- NAV ---------- */
  header{
    position:sticky;top:0;z-index:50;
    background:rgba(8,10,15,.72);
    backdrop-filter:blur(14px);
    border-bottom:1px solid var(--line);
  }
  .nav{display:flex;align-items:center;justify-content:space-between;height:74px}
  .brand{display:flex;align-items:center;gap:12px}
  .logo-type{display:flex;flex-direction:column;line-height:1}
  .logo-type .lt-main{font-family:var(--font-display);font-weight:800;font-size:22px;letter-spacing:-.03em;color:var(--text);display:inline-flex;align-items:baseline;text-transform:none}
  .logo-type .lt-dot{width:8px;height:8px;border-radius:2px;background:var(--accent);display:inline-block;margin-left:2px}
  .logo-type .lt-light{font-weight:500;color:var(--text);margin-left:8px}
  .logo-type .lt-sub{font-size:10px;color:var(--muted-2);letter-spacing:.2em;text-transform:uppercase;margin-top:7px}
  .nav-links{display:flex;align-items:center;gap:34px}
  .nav-links a{font-size:14px;color:var(--muted);font-weight:500;transition:color .2s}
  .nav-links a:hover{color:var(--text)}
  .nav-right{display:flex;align-items:center;gap:18px}
  .langtoggle{display:flex;border:1px solid var(--line);border-radius:9px;overflow:hidden}
  .langtoggle button{
    background:transparent;border:0;color:var(--muted);
    font-family:var(--font-display);font-weight:600;font-size:12px;
    padding:7px 11px;cursor:pointer;transition:.2s;
  }
  .langtoggle button.active{background:var(--accent);color:#1a1205}
  .btn{
    display:inline-flex;align-items:center;gap:8px;
    font-family:var(--font-display);font-weight:600;font-size:14px;
    padding:12px 22px;border-radius:10px;cursor:pointer;border:1px solid transparent;white-space:nowrap;
    transition:transform .15s ease, box-shadow .2s ease, background .2s;
  }
  .btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#1a1205;box-shadow:0 8px 26px -10px var(--accent)}
  .btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 32px -10px var(--accent)}
  .btn-ghost{background:transparent;border-color:var(--line);color:var(--text)}
  .btn-ghost:hover{border-color:var(--accent);color:var(--accent)}
  .menu-btn{display:none;background:none;border:0;color:var(--text);cursor:pointer}

  /* ---------- HERO ---------- */
  .hero{padding:96px 0 80px;overflow:hidden}
  .hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center}
  .hero h1{font-size:clamp(40px,5.4vw,68px);font-weight:800;margin:22px 0}
  .hero h1 em{font-style:normal;color:var(--accent);position:relative}
  .hero .lead{font-size:19px;margin-bottom:34px}
  .hero-cta{display:flex;gap:14px;flex-wrap:wrap}
  .hero-bg{position:absolute;inset:0;z-index:-1;pointer-events:none}
  .glow{position:absolute;border-radius:50%;filter:blur(110px);opacity:.5}
  .glow.a{width:480px;height:480px;background:rgba(245,166,35,.16);top:-120px;right:-80px}
  .glow.b{width:420px;height:420px;background:rgba(45,212,191,.10);bottom:-140px;left:-100px}

  .hero-card{
    background:linear-gradient(180deg,var(--bg-3),var(--bg-2));
    border:1px solid var(--line);border-radius:22px;padding:26px;
    box-shadow:0 40px 80px -40px rgba(0,0,0,.7);
  }
  .hero-card h4{font-family:var(--font-display);font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted-2);margin-bottom:18px}
  .mini{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--surface);margin-bottom:12px;transition:.2s}
  .mini:hover{border-color:var(--accent);transform:translateX(3px)}
  .mini .ic{width:42px;height:42px;border-radius:11px;background:var(--accent-soft);display:grid;place-items:center;flex-shrink:0}
  .mini .ic svg{width:21px;height:21px;stroke:var(--accent)}
  .mini b{font-family:var(--font-display);font-size:15px;display:block}
  .mini small{color:var(--muted);font-size:12.5px}

  /* interactive "what we deliver" tabs */
  .deliver-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:20px}
  .dt{display:flex;flex-direction:column;align-items:center;gap:8px;padding:13px 6px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--muted);cursor:pointer;text-align:center;transition:.18s;font-family:var(--font-body)}
  .dt:hover{border-color:#33405a;transform:translateY(-2px)}
  .dt .dic{width:34px;height:34px;border-radius:9px;background:rgba(255,255,255,.05);display:grid;place-items:center;transition:.18s}
  .dt .dic svg{width:18px;height:18px;stroke:var(--muted);transition:.18s}
  .dt .lbl{font-size:11px;font-weight:600;line-height:1.2}
  .dt.active{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}
  .dt.active .dic{background:var(--accent-soft)}
  .dt.active .dic svg{stroke:var(--accent)}
  .deliver-panel{border-top:1px solid var(--line);padding-top:18px;min-height:78px}
  .dp{display:none}
  .dp.active{display:block;animation:dpfade .28s ease}
  @keyframes dpfade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
  .dp .dp-t{font-family:var(--font-display);font-weight:700;font-size:18px;display:block;margin-bottom:6px}
  .dp p{color:var(--muted);font-size:14.5px}

  /* ---------- STATS BAR ---------- */
  .stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg-2)}
  .stats .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:38px 24px}
  .stat b{font-family:var(--font-display);font-size:34px;font-weight:800;color:var(--text);display:block;line-height:1}
  .stat b span{color:var(--accent)}
  .stat small{color:var(--muted);font-size:13px;letter-spacing:.04em}

  /* ---------- SECTION SHELL ---------- */
  .sec{padding:96px 0}
  .sec-head{max-width:640px;margin-bottom:54px}
  .sec-head h2{font-size:clamp(30px,3.6vw,44px);margin:18px 0 16px}
  .sec-head p{color:var(--muted);font-size:17px}

  /* ---------- SERVICES ---------- */
  .svc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
  .svc{
    background:linear-gradient(180deg,var(--bg-3),var(--bg-2));
    border:1px solid var(--line);border-radius:var(--radius);padding:32px;
    position:relative;overflow:hidden;transition:.25s;
  }
  .svc::after{content:"";position:absolute;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,var(--accent),transparent);transform:scaleX(0);transform-origin:left;transition:transform .35s}
  .svc:hover{border-color:#33405a;transform:translateY(-4px)}
  .svc:hover::after{transform:scaleX(1)}
  .svc .ic{width:54px;height:54px;border-radius:14px;background:var(--accent-soft);display:grid;place-items:center;margin-bottom:22px}
  .svc .ic svg{width:26px;height:26px;stroke:var(--accent)}
  .svc h3{font-size:21px;margin-bottom:10px}
  .svc p{color:var(--muted);font-size:15px;margin-bottom:18px}
  .svc ul{list-style:none;display:flex;flex-direction:column;gap:8px}
  .svc li{display:flex;gap:10px;font-size:14px;color:var(--muted)}
  .svc li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent);margin-top:8px;flex-shrink:0}

  /* ---------- PROCESS ---------- */
  .process{background:var(--bg-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
  .steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;counter-reset:s}
  .step{padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg-3);position:relative}
  .step .n{font-family:var(--font-display);font-weight:800;font-size:15px;color:#1a1205;background:var(--accent);width:34px;height:34px;border-radius:9px;display:grid;place-items:center;margin-bottom:18px}
  .step h4{font-family:var(--font-display);font-size:17px;margin-bottom:8px}
  .step p{color:var(--muted);font-size:14px}

  /* ---------- PORTFOLIO ---------- */
  .work-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
  .work{
    border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
    background:var(--bg-3);transition:.25s;
  }
  .work:hover{transform:translateY(-4px);border-color:#33405a}
  .work .top{height:185px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;font-family:var(--font-display);font-weight:800;font-size:24px;letter-spacing:-.02em}
  .work .top img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;transition:transform .4s ease}
  .work:hover .top img{transform:scale(1.05)}
  .work .top::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(8,10,15,.34),rgba(8,10,15,.74))}
  .work .top span{position:relative;z-index:2;color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.75)}
  .work .top.t1{background:linear-gradient(135deg,#1f3a2e,#2f5541)}
  .work .top.t2{background:linear-gradient(135deg,#241712,#3a2110)}
  .work .top.t3{background:linear-gradient(135deg,#10203a,#1a3358)}
  .work .top.t4{background:linear-gradient(135deg,#1a2230,#2b3a4f)}
  .work .body{padding:24px}
  .work .tag{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);font-family:var(--font-display);font-weight:600}
  .work h4{font-family:var(--font-display);font-size:18px;margin:8px 0 8px}
  .work p{color:var(--muted);font-size:14px;margin-bottom:14px}
  .work .meta{display:flex;gap:8px;flex-wrap:wrap}
  .chip{font-size:11.5px;color:var(--muted);border:1px solid var(--line);padding:4px 10px;border-radius:20px}

  /* ---------- WHY / ABOUT ---------- */
  .about-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
  .why-list{display:flex;flex-direction:column;gap:18px}
  .why{display:flex;gap:16px}
  .why .ic{width:44px;height:44px;border-radius:12px;background:var(--accent-soft);display:grid;place-items:center;flex-shrink:0}
  .why .ic svg{width:22px;height:22px;stroke:var(--accent)}
  .why b{font-family:var(--font-display);font-size:16px;display:block;margin-bottom:3px}
  .why p{color:var(--muted);font-size:14.5px}
  .about-card{background:linear-gradient(180deg,var(--bg-3),var(--bg-2));border:1px solid var(--line);border-radius:20px;padding:36px}
  .about-card .badge{display:inline-flex;align-items:center;gap:8px;background:var(--accent-soft);color:var(--accent);font-family:var(--font-display);font-weight:600;font-size:12px;padding:7px 13px;border-radius:20px;margin-bottom:20px}
  .about-card h3{font-size:24px;margin-bottom:14px}
  .about-card p{color:var(--muted);font-size:15px;margin-bottom:16px}

  /* ---------- CONTACT ---------- */
  .contact{background:var(--bg-2);border-top:1px solid var(--line)}
  .contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
  .qr-card{background:var(--bg-3);border:1px solid var(--line);border-radius:20px;padding:36px;text-align:center}
  .qr-box{width:200px;height:200px;margin:0 auto 22px;border-radius:16px;background:var(--surface);border:1px dashed var(--line);display:grid;place-items:center;color:var(--muted-2);font-size:13px;text-align:center;padding:20px}
  .qr-box svg{width:54px;height:54px;stroke:var(--accent);margin-bottom:10px}
  .wechat-id{font-family:var(--font-display);font-weight:700;font-size:18px;color:var(--text)}
  .wechat-id span{color:var(--accent)}
  .contact-list{display:flex;flex-direction:column;gap:14px;margin-top:26px}
  .contact-row{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--bg-3)}
  .contact-row .ic{width:40px;height:40px;border-radius:11px;background:var(--accent-soft);display:grid;place-items:center;flex-shrink:0}
  .contact-row .ic svg{width:20px;height:20px;stroke:var(--accent)}
  .contact-row b{font-family:var(--font-display);font-size:14px;display:block}
  .contact-row small{color:var(--muted);font-size:13px}

  /* ---------- FOOTER ---------- */
  footer{padding:54px 0 40px;border-top:1px solid var(--line)}
  .foot{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
  .foot small{color:var(--muted-2);font-size:13px}
  .foot-links{display:flex;gap:24px}
  .foot-links a{color:var(--muted);font-size:13px;transition:.2s}
  .foot-links a:hover{color:var(--accent)}

  /* ---------- FAQ ---------- */
  .faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
  .faq-item{background:var(--bg-3);border:1px solid var(--line);border-radius:var(--radius);padding:26px;transition:.2s}
  .faq-item:hover{border-color:#33405a}
  .faq-item h3{font-family:var(--font-display);font-size:17px;margin-bottom:10px;display:flex;gap:10px;align-items:flex-start;line-height:1.3}
  .faq-item h3::before{content:"Q";color:var(--accent);font-weight:800;flex-shrink:0}
  .faq-item p{color:var(--muted);font-size:14.5px}

  .reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease, transform .6s ease}
  .reveal.in{opacity:1;transform:none}

  /* Language toggle: only hide the inactive language so each element keeps its natural display */
  html:lang(en) [data-zh]{display:none}
  html:lang(zh) [data-en]{display:none}

  /* ---------- RESPONSIVE ---------- */
  @media(max-width:900px){
    .menu-btn{display:inline-flex;align-items:center;justify-content:center;order:3;font-size:24px;line-height:1;padding:4px 8px}
    .nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:var(--bg-2);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0;padding:6px 0;z-index:60}
    .nav-links.open{display:flex}
    .nav-links a{padding:13px 24px;font-size:16px}
    .hero-grid{grid-template-columns:1fr;gap:40px}
    .hero-card{order:0}
    .stats .wrap{grid-template-columns:repeat(2,1fr);gap:30px}
    .svc-grid,.work-grid,.about-grid,.contact-grid,.steps,.faq-grid{grid-template-columns:1fr}
    .steps{gap:16px}
    .about-grid{gap:36px}
  }
  @media(max-width:560px){
    .wrap{padding:0 16px}
    .nav{height:64px}
    .logo-type .lt-main{font-size:18px}
    .logo-type .lt-sub{display:none}
    .nav-right{gap:8px}
    .langtoggle button{padding:6px 9px;font-size:11px}
    .btn{padding:10px 15px;font-size:13px}
    .hero{padding:54px 0 50px}
    .sec{padding:64px 0}
  }

/* ---------- work cards: clickable browser-framed links ---------- */
a.work{display:block;color:inherit;text-decoration:none}
.work .bframe{margin:14px 14px 0;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#0b0e14}
.work .bbar{height:28px;display:flex;align-items:center;gap:6px;padding:0 11px;background:#161c27;border-bottom:1px solid var(--line)}
.work .bdot{width:8px;height:8px;border-radius:50%}
.work .burl{flex:1;height:15px;border-radius:7px;background:#0b0e14;margin-left:10px;max-width:62%}
.work .bshot{display:block;width:100%;height:160px;object-fit:cover;object-position:top center;transition:transform .5s ease}
.work:hover .bshot{transform:scale(1.04)}
.work .viewcase{display:inline-block;margin-top:14px;color:var(--accent);font-family:var(--font-display);font-weight:600;font-size:14px}

/* ---------- case study page ---------- */
.casehero{padding:64px 0 26px}
.back-link{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:14px;margin-bottom:24px}
.back-link:hover{color:var(--accent)}
.casehero h1{font-size:clamp(32px,4.4vw,52px);margin:14px 0}
.case-meta{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 30px}
.case-shot{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#0b0e14}
.case-shot .bbar{height:36px;display:flex;align-items:center;gap:7px;padding:0 15px;background:#161c27;border-bottom:1px solid var(--line)}
.case-shot .bdot{width:10px;height:10px;border-radius:50%}
.case-shot .burl{flex:1;height:19px;border-radius:9px;background:#0b0e14;margin-left:12px;max-width:55%}
.case-shot img{display:block;width:100%}
.case-body{display:grid;grid-template-columns:1.6fr .9fr;gap:48px;padding:54px 28px}
.case-body h2{font-size:24px;margin:0 0 14px}
.case-body h2:not(:first-child){margin-top:34px}
.case-body p{color:var(--muted);font-size:16px;margin-bottom:14px}
.case-body ul{list-style:none;display:flex;flex-direction:column;gap:10px;margin-top:8px}
.case-body li{display:flex;gap:10px;color:var(--muted);font-size:15px}
.case-body li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent);margin-top:8px;flex-shrink:0}
.case-side{align-self:start;position:sticky;top:100px;background:linear-gradient(180deg,var(--bg-3),var(--bg-2));border:1px solid var(--line);border-radius:16px;padding:28px}
.case-side h3{font-size:16px;margin-bottom:8px}
.case-side .row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:14px}
.case-side .row:first-of-type{border-top:0}
.case-side .row span:first-child{color:var(--muted-2)}
.case-side .row span:last-child{color:var(--text);text-align:right}
.case-side .btn{margin-top:20px;width:100%;justify-content:center}
@media(max-width:900px){.case-body{grid-template-columns:1fr;gap:30px;padding:38px 24px}.case-side{position:static}}

/* ---------- services accordion (interactive, SEO-safe: content stays in DOM) ---------- */
.acc{display:flex;flex-direction:column;gap:12px}
.acc-item{border:1px solid var(--line);border-radius:14px;background:linear-gradient(180deg,var(--bg-3),var(--bg-2));overflow:hidden;transition:border-color .2s}
.acc-item:hover{border-color:#33405a}
.acc-item.open{border-color:#3a4763}
.acc-head{width:100%;display:flex;align-items:center;gap:16px;padding:20px 22px;background:none;border:0;cursor:pointer;text-align:left;color:var(--text);font-family:var(--font-display)}
.acc-head .ic{width:46px;height:46px;border-radius:12px;background:var(--accent-soft);display:grid;place-items:center;flex-shrink:0}
.acc-head .ic svg{width:22px;height:22px;stroke:var(--accent)}
.acc-title{flex:1;font-size:clamp(17px,2.2vw,20px);font-weight:700}
.acc-chev{font-size:26px;line-height:1;color:var(--muted-2);transition:transform .3s,color .3s;flex-shrink:0}
.acc-item.open .acc-chev{transform:rotate(45deg);color:var(--accent)}
.acc-body{max-height:0;overflow:hidden;transition:max-height .4s ease;padding:0 22px}
.acc-item.open .acc-body{max-height:460px;padding-bottom:22px}
.acc-body p{color:var(--muted);font-size:15px;margin-bottom:14px;max-width:70ch}
.acc-body ul{list-style:none;display:flex;flex-direction:column;gap:8px}
.acc-body li{display:flex;gap:10px;font-size:14px;color:var(--muted)}
.acc-body li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent);margin-top:8px;flex-shrink:0}

/* ---------- work category filter ---------- */
.work-filter{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:30px}
.wf{font-family:var(--font-display);font-weight:600;font-size:13.5px;padding:9px 18px;border-radius:100px;border:1px solid var(--line);background:transparent;color:var(--muted);cursor:pointer;transition:.18s}
.wf:hover{border-color:#33405a;color:var(--text)}
.wf.active{background:var(--accent);border-color:var(--accent);color:#1a1205}
.work.hide{display:none}

/* ---------- cursor-follow glow (desktop only, respects reduced motion) ---------- */
.cursor-glow{position:fixed;left:0;top:0;width:540px;height:540px;margin:-270px 0 0 -270px;border-radius:50%;background:radial-gradient(circle,rgba(245,166,35,.10),rgba(245,166,35,0) 64%);pointer-events:none;z-index:0;opacity:0;will-change:transform;transition:opacity .5s ease}
@media (prefers-reduced-motion: reduce){.cursor-glow{display:none}}
@media (hover: none){.cursor-glow{display:none}}
main, section, footer{position:relative;z-index:1}

/* ---------- hero export-route animation (replaces repeated services teaser) ---------- */
.route-card{display:flex;flex-direction:column}
.route-top{margin-bottom:6px}
.route-sub{display:block;color:var(--muted);font-size:13.5px;margin-top:6px}
.route-svg{width:100%;height:auto;display:block;overflow:visible;margin:6px 0 4px}
.route-svg .rt-base{fill:none;stroke:var(--line);stroke-width:2}
.route-svg .rt-flow{fill:none;stroke:var(--accent);stroke-width:2.5;stroke-linecap:round;stroke-dasharray:5 13;animation:routeflow 1.5s linear infinite}
@keyframes routeflow{to{stroke-dashoffset:-36}}
.route-svg .nodeg{cursor:pointer}
.route-svg .dot{transition:transform .25s ease;transform-box:fill-box;transform-origin:center}
.route-svg .nodeg:hover .dot{transform:scale(1.4)}
.route-svg .ring{fill:none;stroke:var(--accent)}
.route-svg .rl{font-family:var(--font-display);font-weight:600;font-size:12.5px;fill:var(--text)}
.route-legend{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.route-legend span{font-size:11.5px;color:var(--muted);border:1px solid var(--line);padding:5px 12px;border-radius:100px}
.route-legend span.amber{border-color:var(--accent);color:var(--accent)}
@media (prefers-reduced-motion: reduce){.route-svg .rt-flow{animation:none}.route-svg .pulse,.route-svg .ring{display:none}}

/* ---------- real world map route ---------- */
.route-map{position:relative;width:100%;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#0b1320;margin:8px 0 4px}
.route-world{display:block;width:100%;height:auto;opacity:.5}
.route-overlay{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.route-overlay .rt-base{fill:none;stroke:var(--line-2,#3a4763);stroke-width:1.4;opacity:.7}
.route-overlay .rt-flow{fill:none;stroke:var(--accent);stroke-width:2;stroke-linecap:round;stroke-dasharray:4 9;animation:routeflow 1.5s linear infinite}
.route-overlay .nodeg{cursor:pointer}
.route-overlay .dot{transition:transform .25s ease;transform-box:fill-box;transform-origin:center}
.route-overlay .nodeg:hover .dot{transform:scale(1.4)}
.route-overlay .ring{fill:none;stroke:var(--accent)}
.route-overlay .rl{font-family:var(--font-display);font-weight:600;font-size:13px;fill:var(--text);paint-order:stroke;stroke:#0b1320;stroke-width:3px}
@media (prefers-reduced-motion: reduce){.route-overlay .rt-flow{animation:none}.route-overlay .pulse,.route-overlay .ring{display:none}}

/* fix: prevent large world SVG from blowing out the hero grid column */
.hero-grid>div{min-width:0}
.hero-card{min-width:0;overflow:hidden}
.route-world{max-width:100%}

/* dotted-map route overlay scale (viewBox 730x406) */
.route-world{opacity:.9}
.route-overlay .rl{font-size:20px}
.route-overlay .rt-flow{stroke-width:3;stroke-dasharray:6 14}
.route-overlay .rt-base{stroke-width:2}

/* ===== markets click-expand (hero, replaces map) ===== */
.markets-card .route-top{margin-bottom:14px}
.mkt{display:flex;flex-direction:column;gap:10px}
.mkt-item{border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden;transition:border-color .2s}
.mkt-item.open{border-color:var(--accent)}
.mkt-head{width:100%;display:flex;align-items:center;gap:12px;padding:14px 16px;background:none;border:0;cursor:pointer;color:var(--text);font-family:var(--font-display);font-weight:600;font-size:15px}
.mkt-dot{width:10px;height:10px;border-radius:50%;background:var(--muted-2);flex-shrink:0}
.mkt-dot.a{background:var(--accent)}
.mkt-dot.light{background:#dfe6f1}
.mkt-name{flex:1;text-align:left}
.mkt-chev{font-size:21px;line-height:1;color:var(--muted-2);transition:transform .3s,color .3s}
.mkt-item.open .mkt-chev{transform:rotate(45deg);color:var(--accent)}
.mkt-body{max-height:0;overflow:hidden;transition:max-height .35s ease;padding:0 16px}
.mkt-item.open .mkt-body{max-height:220px;padding-bottom:14px}
.mkt-body p{color:var(--muted);font-size:14px;margin:0;line-height:1.6}

/* ===== services as click-expand boxes (keep 2-col grid) ===== */
.svc{padding:0 !important}
.svc-head{width:100%;display:flex;align-items:center;gap:14px;padding:24px 26px;background:none;border:0;cursor:pointer;text-align:left;color:var(--text)}
.svc-head .ic{margin-bottom:0;width:48px;height:48px;flex-shrink:0}
.svc-head h3{flex:1;margin:0;font-size:19px;font-family:var(--font-display);font-weight:700}
.svc-chev{font-size:25px;line-height:1;color:var(--muted-2);transition:transform .3s,color .3s;flex-shrink:0}
.svc.open .svc-chev{transform:rotate(45deg);color:var(--accent)}
.svc-body{max-height:0;overflow:hidden;transition:max-height .45s ease;padding:0 26px}
.svc.open .svc-body{max-height:340px;padding-bottom:26px}
.svc-body p{margin-bottom:14px}

/* unify: services = full-width single-column click-expand, same look as markets */
.svc-grid{gap:16px;align-items:start}
.svc{border-radius:12px}
.svc.open{border-color:var(--accent)}
.svc::after{display:none}
.svc-head{padding:18px 20px;gap:14px}
.svc-head .ic{width:44px;height:44px;border-radius:11px}
.svc-head h3{font-size:18px}
.svc-body{padding:0 20px}
.svc.open .svc-body{padding-bottom:22px}

/* reliable services expand (override max-height approach) */
.svc-body{display:none !important;max-height:none}
.svc.open .svc-body{display:block !important;animation:dpfade .3s ease}

/* markets as link-buttons (override accordion) */
.mkt-item{display:flex !important;align-items:center;gap:12px;text-decoration:none;color:var(--text);padding:15px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);transition:border-color .2s,transform .15s,background .2s}
.mkt-item:hover{border-color:var(--accent);transform:translateX(3px)}
.mkt-name{flex:1;font-family:var(--font-display);font-weight:600;font-size:15px}
.mkt-go{font-family:var(--font-display);font-weight:600;font-size:13px;color:var(--muted-2);transition:color .2s}
.mkt-item:hover .mkt-go{color:var(--accent)}

/* market page: 2-col hero with static map */
.casehero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center;margin-top:8px}
.casehero-grid .lead{margin-bottom:0}
.market-map{position:relative;width:100%;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#0b1320}
.market-map img{display:block;width:100%;height:auto;opacity:.9}
.market-map .ov{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.market-map .dot{fill:#f5a623}
.market-map .ring{fill:none;stroke:var(--accent);opacity:.4}
.market-map .rl{font-family:var(--font-display);font-weight:600;font-size:20px;fill:var(--text);paint-order:stroke;stroke:#0b1320;stroke-width:3px}
@media(max-width:900px){.casehero-grid{grid-template-columns:1fr;gap:24px}.market-map{order:-1;max-width:480px}}

/* contact: align left boxes' bottom with the QR card bottom */
.contact-grid{align-items:stretch}
.contact-grid>div:first-child{display:flex;flex-direction:column}
.contact-grid .contact-list{margin-top:auto}

/* section-page H1 (match section H2 sizing) */
.sec-head h1{font-size:clamp(30px,3.6vw,44px);margin:18px 0 16px;line-height:1.1}
.about-text h1{font-size:clamp(30px,3.8vw,48px);margin-bottom:22px;line-height:1.1}

/* more space between contact intro text and the boxes */
.contact .lead{margin-bottom:42px}
.contact-grid .contact-list{margin-top:auto;gap:16px}

/* brand mark (logo kit) */
.brand-mark{width:40px;height:40px;flex-shrink:0;display:block}
@media(max-width:560px){.brand-mark{width:34px;height:34px}}

/* phones: show only the mark in the header to avoid crowding */
@media(max-width:560px){.brand .logo-type{display:none}.brand-mark{width:38px;height:38px}}
