/* =========================================================
   SinoLitigate — U.S.–China Civil & Commercial Litigators
   Design system (placeholder brand, replace later)
   ========================================================= */

:root {
  --navy:        #0E2A47;
  --navy-deep:   #081B30;
  --navy-soft:   #163A5F;
  --gold:        #C9A24B;
  --gold-soft:   #E7D3A1;
  --ink:         #15202E;
  --muted:       #5B6B7E;
  --bg:          #FFFFFF;
  --bg-alt:      #F4F7FA;
  --bg-tint:     #EEF3F8;
  --line:        #E2E8EF;
  --seal:        #B22222;
  --white:       #FFFFFF;
  --radius:      14px;
  --radius-sm:   9px;
  --shadow-sm:   0 2px 10px rgba(14,42,71,.06);
  --shadow:      0 14px 40px rgba(14,42,71,.12);
  --shadow-lg:   0 26px 70px rgba(14,42,71,.18);
  --maxw:        1180px;
  --font-head:   "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1.05em; color: var(--ink); }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-tint { background: var(--bg-tint); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: .98rem; padding: 13px 26px;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: all .22s ease; font-family: var(--font-body);
}
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: #b98f37; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--bg-tint); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); background: var(--bg-tint); }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 17px; height: 17px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: #cdd8e4; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar a { color: var(--gold-soft); }
.topbar .tb-right { display: flex; gap: 20px; align-items: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(10px);
  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; }
.brand .logo { width: 42px; height: 42px; }
.brand .name { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--navy); line-height: 1.05; }
.brand .sub { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 10px 14px; font-weight: 500; font-size: .93rem;
  color: var(--ink); border-radius: 8px; transition: color .2s, background .2s;
}
.nav-links > li > a:hover, .nav-links > li.active > a { color: var(--navy); background: var(--bg-tint); }
.has-mega:hover .mega { display: grid; }
.mega {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 560px; grid-template-columns: 1fr 1fr; gap: 6px; padding: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); z-index: 60;
}
.mega a { display: block; padding: 12px 14px; border-radius: 10px; }
.mega a:hover { background: var(--bg-tint); }
.mega a .mt { font-weight: 700; color: var(--navy); font-size: .94rem; }
.mega a .md { font-size: .82rem; color: var(--muted); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
}
.hero-pattern { position: absolute; inset: 0; opacity: .14; pointer-events: none; }
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center;
  padding: clamp(54px, 8vw, 110px) 0;
}
.hero h1 { color: #fff; }
.hero .lead { color: #c9d6e4; font-size: 1.2rem; max-width: 540px; }
.hero .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 38px; }
.hero-trust .t { display: flex; flex-direction: column; }
.hero-trust .t b { font-family: var(--font-head); font-size: 1.7rem; color: var(--gold-soft); line-height: 1; }
.hero-trust .t span { font-size: .82rem; color: #aebccd; }
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 26px; backdrop-filter: blur(6px);
}
.hero-card h4 { color: #fff; margin-bottom: 6px; }
.hero-card p { color: #c9d6e4; font-size: .92rem; }
.hero-card .price { font-family: var(--font-head); font-size: 2rem; color: var(--gold-soft); }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--navy); color: #fff; }
.trustbar .container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 20px; padding: 22px; text-align: center; }
.trustbar .t b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--gold-soft); }
.trustbar .t span { font-size: .82rem; color: #b7c4d4; letter-spacing: .03em; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card .ico { width: 50px; height: 50px; border-radius: 12px; background: var(--bg-tint); display: grid; place-items: center; margin-bottom: 16px; color: var(--navy); }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .95rem; color: var(--muted); margin-bottom: 14px; }
.card .more { font-weight: 600; color: var(--gold); font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 15px; height: 15px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* service link list */
.svc-list { display: grid; gap: 14px; }
.svc-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); transition: .2s; background:#fff; }
.svc-item:hover { border-color: var(--gold-soft); box-shadow: var(--shadow-sm); }
.svc-item .num { font-family: var(--font-head); font-size: 1.3rem; color: var(--gold); min-width: 34px; }
.svc-item h3 { margin: 0 0 4px; font-size: 1.08rem; }
.svc-item p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Steps / process ---------- */
.steps { display: grid; gap: 22px; counter-reset: step; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px){ .steps-4 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px){ .steps-4 { grid-template-columns: 1fr;} }
.step { position: relative; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .n { font-family: var(--font-head); font-size: 2.4rem; color: var(--gold-soft); line-height: 1; }
.step h3 { margin: 10px 0 6px; font-size: 1.1rem; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* timeline */
.timeline { position: relative; margin: 30px 0 0; padding-left: 0; }
.timeline .row { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px dashed var(--line); align-items: start; }
.timeline .row:last-child { border-bottom: 0; }
.timeline .phase { font-weight: 700; color: var(--navy); font-size: .95rem; }
.timeline .phase span { display: block; font-size: .76rem; color: var(--gold); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.timeline .body h4 { margin: 0 0 4px; font-size: 1rem; }
.timeline .body p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Badges / pills ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--bg-tint); color: var(--navy); }
.badge-gold { background: #FBF3DF; color: #8a6d1f; }
.badge-seal { background: #FBEAEA; color: var(--seal); }
.badge-line { border: 1px solid var(--line); background: #fff; }

/* ---------- Stat / numbers ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 760px){ .stat-grid { grid-template-columns: repeat(2,1fr);} }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: 2.6rem; color: var(--navy); line-height: 1; }
.stat span { color: var(--muted); font-size: .9rem; }

/* ---------- Team ---------- */
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .22s; }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.team-card .photo { aspect-ratio: 4/5; background: var(--bg-tint); position: relative; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .info { padding: 18px 20px 22px; }
.team-card .info h3 { margin: 0 0 2px; font-size: 1.12rem; }
.team-card .role { color: var(--gold); font-size: .84rem; font-weight: 600; margin-bottom: 10px; }
.team-card .lic { font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* ---------- Cases ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-bar button {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 8px 16px; border-radius: 999px; font-size: .88rem; cursor: pointer; font-family: var(--font-body); transition:.2s;
}
.filter-bar button:hover { border-color: var(--navy); }
.filter-bar button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.case-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--gold); }
.case-card .amt { font-family: var(--font-head); font-size: 1.9rem; color: var(--navy); }
.case-card .meta { font-size: .82rem; color: var(--muted); margin: 6px 0 12px; }
.case-card p { font-size: .92rem; color: var(--ink); }

/* ---------- FAQ accordion ---------- */
.faq-group-title { font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); margin: 30px 0 14px; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 4px; font-size: 1.04rem; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-body); }
.acc-q .plus { font-size: 1.6rem; color: var(--gold); transition: transform .25s; line-height: 1; }
.acc-item.open .acc-q .plus { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-a .inner { padding: 0 4px 22px; color: var(--muted); font-size: .96rem; }

/* ---------- Blog / resources ---------- */
.post { display: grid; grid-template-columns: 240px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; }
.post:last-child { border-bottom: 0; }
.post .thumb { aspect-ratio: 16/10; border-radius: var(--radius-sm); background: var(--bg-tint); overflow: hidden; }
.post .tag { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.post h3 { margin: 6px 0 6px; font-size: 1.18rem; }
.post .ex { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 640px){ .post { grid-template-columns: 1fr; } .post .thumb { aspect-ratio: 16/7; } }

/* ---------- Forms ---------- */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--navy); }
.field label .req { color: var(--seal); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.15); }
.field textarea { resize: vertical; min-height: 110px; }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px){ .form-row { grid-template-columns: 1fr; } }

.steps-indicator { display: flex; gap: 8px; margin-bottom: 26px; }
.steps-indicator .dot { flex: 1; height: 6px; border-radius: 999px; background: var(--line); }
.steps-indicator .dot.active { background: var(--gold); }
.steps-indicator .dot.done { background: var(--navy); }
.form-step { display: none; }
.form-step.active { display: block; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: #E7F4EA; color: #2E7D4F; display: grid; place-items: center; margin: 0 auto 16px; font-size: 2rem; }

/* contact side */
.info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; }
.info-card h3 { color: #fff; }
.info-card .line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .92rem; }
.info-card .line:last-child { border-bottom: 0; }
.info-card .line svg { width: 20px; height: 20px; color: var(--gold-soft); flex-shrink: 0; }
.info-card .line b { color: #fff; font-weight: 600; }
.tz-note { background: #FBF3DF; border: 1px solid var(--gold-soft); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .9rem; color: #6f581c; margin-top: 16px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft)); color: #fff; border-radius: 20px; padding: clamp(36px,5vw,60px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d6e4; max-width: 560px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b7c4d4; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 60px 0 40px; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid a { color: #b7c4d4; display: block; padding: 5px 0; transition: color .2s; }
.footer-grid a:hover { color: var(--gold-soft); }
.footer-brand .name { font-family: var(--font-head); color: #fff; font-size: 1.2rem; font-weight: 700; }
.footer-brand p { color: #93a3b6; font-size: .88rem; margin-top: 12px; max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .82rem; color: #8294a8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: #aebccd; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; padding: 13px 20px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(37,211,102,.4); font-weight: 600; font-size: .92rem;
  transition: transform .2s;
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 22px; height: 22px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft)); color: #fff; padding: clamp(48px,7vw,86px) 0; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #c9d6e4; max-width: 640px; }
.breadcrumb { font-size: .82rem; color: #9fb0c4; margin-bottom: 14px; }
.breadcrumb a { color: var(--gold-soft); }

/* two-col feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px){ .feature { grid-template-columns: 1fr; gap: 28px; } }
.feature .visual { border-radius: var(--radius); overflow: hidden; background: var(--bg-tint); aspect-ratio: 4/3; display:grid; place-items:center; }
.feature ul.check { list-style: none; padding: 0; margin: 18px 0 0; }
.feature ul.check li { position: relative; padding-left: 30px; margin-bottom: 11px; color: var(--ink); }
.feature ul.check li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #E7F4EA; }
.feature ul.check li::after { content: "✓"; position: absolute; left: 4px; top: 2px; color: #2E7D4F; font-size: .8rem; font-weight: 700; }

/* legal disclaimer */
.disclaimer { font-size: .78rem; color: var(--muted); background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; margin-top: 30px; }

/* utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; } .mt-60 { margin-top: 60px; }
.divider { height: 1px; background: var(--line); margin: 40px 0; }
.flex { display: flex; } .gap-16 { gap: 16px; } .wrap { flex-wrap: wrap; }
.ai-center { align-items: center; } .jc-between { justify-content: space-between; }
