/* =====================================================================
   JTVERTEX — SHARED SITE CSS (chrome + components dùng chung cho trang con)
   Tông: obsidian / ruby / champagne gold · nền ngà · Sora + Inter
   Dùng: <link rel="stylesheet" href="assets/jtvertex-site.css"> cho các trang con.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&family=Sora:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --ink:#1A0E10; --brand-700:#3A1218;
  --ruby:#C8102E; --ruby-light:#E8505B; --ruby-deep:#9E1B22; --ruby-bright:#EE1C2E;
  --gold:#D4AF37; --gold-light:#E5C158; --gold-2:#B8862F; --gold-deep:#9C7A1E;
  --dark:#0C0607; --bg:#FAF6EE; --surface:#FFFFFF; --surface-2:#F4ECDD; --line:#E6DCC8;
  --text:#4A3E35; --muted:#6B5D52;
  --head:'Sora',system-ui,sans-serif; --body:'Inter',system-ui,sans-serif;
  --display:'Cinzel',Georgia,serif;
  --grad-gold:linear-gradient(135deg,var(--gold-light),var(--gold-2));
  --grad-accent:linear-gradient(135deg,var(--ink),var(--ruby));
  --shadow:0 10px 30px rgba(26,14,16,.10);
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; font-family:var(--body); color:var(--text); background:var(--bg); line-height:1.7; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.wrap{ max-width:1140px; margin:0 auto; padding:0 24px; }
.eyebrow{ font-family:var(--head); font-weight:700; font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-deep); margin:0 0 12px; }
.eyebrow.on-dark{ color:var(--gold); }
h2.sec-title{ font-family:var(--head); font-weight:800; font-size:38px; line-height:1.18; color:var(--ink); margin:0 0 18px; letter-spacing:-.01em; }
.lead{ font-size:18px; color:var(--muted); max-width:640px; }
.btn{ display:inline-block; font-family:var(--head); font-weight:700; font-size:15px; padding:14px 30px; border-radius:40px; transition:transform .25s ease,box-shadow .25s ease,filter .25s ease; cursor:pointer; border:none; }
.btn-gold{ background:var(--grad-gold); color:#2A1A04; box-shadow:0 8px 22px rgba(184,134,47,.32); }
.btn-gold:hover{ transform:translateY(-2px); filter:brightness(1.06); box-shadow:0 12px 30px rgba(184,134,47,.45); }
.btn-ghost{ border:1px solid var(--ruby); color:var(--ruby); background:transparent; }
.btn-ghost:hover{ background:var(--ruby); color:#fff; }
.btn-ghost.on-dark{ border-color:var(--ruby-light); color:var(--ruby-light); }
.btn-ghost.on-dark:hover{ background:var(--ruby); color:#fff; }

/* ===== HEADER ===== */
header.nav{ position:sticky; top:0; z-index:50; background:rgba(12,6,7,.96); backdrop-filter:blur(8px); border-bottom:1px solid rgba(212,175,55,.16); }
.nav-inner{ display:flex; align-items:center; justify-content:space-between; height:72px; }
.logo{ display:flex; align-items:center; gap:12px; }
.logo .lock{ font-family:var(--display); font-weight:600; font-size:26px; letter-spacing:.06em; }
.logo .lock .jt{ color:var(--ruby-bright); } .logo .lock .vx{ color:var(--gold); }
.nav-menu{ display:flex; align-items:center; gap:30px; }
.nav-menu a{ font-family:var(--head); font-weight:500; font-size:14px; color:#C9BCAF; transition:color .2s; }
.nav-menu a:hover{ color:var(--gold); }
.nav-menu a.nav-cta{ background:linear-gradient(135deg,#F0CE6A,#C9982F); color:#1A0E10; font-weight:800; font-size:14px; letter-spacing:.01em; padding:10px 24px; border-radius:40px; animation:ctaGlow 2.6s ease-in-out infinite; }
.nav-menu a.nav-cta:hover{ color:#1A0E10; transform:translateY(-1px) scale(1.03); }
@keyframes ctaGlow{ 0%,100%{ box-shadow:0 4px 14px rgba(184,134,47,.4); } 50%{ box-shadow:0 4px 14px rgba(184,134,47,.4),0 0 16px 2px rgba(229,193,88,.55); } }
.nav-toggle{ display:none; background:none; border:none; color:#FAF6EE; font-size:26px; cursor:pointer; }

/* ===== PAGE HERO (sub-page band) ===== */
.page-hero{ background:radial-gradient(130% 120% at 82% 0%,#3A1218 0%,#0C0607 55%); color:#FAF6EE; padding:72px 0 64px; position:relative; overflow:hidden; }
.page-hero::after{ content:""; position:absolute; right:-120px; top:-80px; width:380px; height:380px; border-radius:50%; background:radial-gradient(circle,rgba(200,16,46,.18),transparent 70%); }
.page-hero .wrap{ position:relative; z-index:2; }
.page-hero h1{ font-family:var(--head); font-weight:800; font-size:44px; line-height:1.15; margin:0 0 14px; color:#FAF6EE; }
.page-hero p{ font-size:18px; color:#C9BCAF; max-width:600px; margin:0; }
.crumb{ font-size:13px; color:#9C8F82; margin-bottom:14px; }
.crumb a:hover{ color:var(--gold); }

/* ===== SECTION ===== */
section{ padding:84px 0; }
.sec-head{ text-align:center; max-width:680px; margin:0 auto 52px; }
.sec-head .lead{ margin:0 auto; }
.section-alt{ background:var(--surface-2); }

/* ===== BLOG / posts ===== */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.post{ background:var(--surface); border:1px solid var(--line); border-radius:18px; overflow:hidden; transition:transform .25s ease,box-shadow .25s ease; display:flex; flex-direction:column; }
.post:hover{ transform:translateY(-6px); box-shadow:0 20px 46px rgba(26,14,16,.16); }
.post .thumb{ height:150px; background:radial-gradient(120% 120% at 80% 0%,#3A1218,#0C0607); display:flex; align-items:center; justify-content:center; }
.post .thumb svg{ width:46px; height:46px; opacity:.92; }
.post .body{ padding:22px 24px 26px; flex:1; display:flex; flex-direction:column; }
.post .cat{ font-family:var(--head); font-weight:700; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-deep); margin-bottom:10px; }
.post h3{ font-family:var(--head); font-weight:700; font-size:18px; line-height:1.35; color:var(--ink); margin:0 0 10px; }
.post p{ font-size:14.5px; color:var(--muted); margin:0 0 16px; flex:1; }
.post .meta{ font-size:12.5px; color:var(--gold-deep); font-style:italic; }

/* ===== OPPORTUNITIES ===== */
.opp-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.opp-card{ background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:34px 32px; box-shadow:var(--shadow); }
.opp-card h3{ font-family:var(--head); font-weight:800; font-size:22px; color:var(--ink); margin:0 0 12px; }
.opp-card p{ font-size:15px; color:var(--muted); margin:0 0 22px; }
.opp-card ul{ margin:0 0 24px; padding:0; list-style:none; }
.opp-card li{ font-size:14.5px; color:var(--text); padding:9px 0 9px 26px; position:relative; border-bottom:1px solid var(--line); }
.opp-card li:last-child{ border-bottom:none; }
.opp-card li::before{ content:"▲"; color:var(--gold-2); font-size:9px; position:absolute; left:4px; top:13px; }

/* ===== ROLE LIST ===== */
.role{ background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:22px 26px; margin-bottom:14px; display:flex; align-items:center; justify-content:space-between; gap:18px; box-shadow:var(--shadow); transition:transform .2s,box-shadow .2s; }
.role:hover{ transform:translateY(-3px); box-shadow:0 16px 36px rgba(26,14,16,.14); }
.role .rt{ font-family:var(--head); font-weight:700; font-size:17px; color:var(--ink); margin:0 0 4px; }
.role .rm{ font-size:13.5px; color:var(--muted); }
.role .rtag{ font-family:var(--head); font-size:12px; font-weight:700; color:var(--gold-deep); border:1px solid var(--line); border-radius:30px; padding:6px 14px; white-space:nowrap; }

/* ===== ARTICLE (privacy / terms) ===== */
.article{ max-width:760px; margin:0 auto; }
.article h2{ font-family:var(--head); font-weight:800; font-size:24px; color:var(--ink); margin:34px 0 14px; padding-bottom:10px; border-bottom:2px solid var(--line); position:relative; }
.article h2::after{ content:""; position:absolute; left:0; bottom:-2px; width:54px; height:3px; background:var(--grad-accent); border-radius:3px; }
.article h3{ font-family:var(--head); font-weight:700; font-size:18px; color:var(--ink); margin:24px 0 10px; }
.article p, .article li{ font-size:16px; color:var(--text); line-height:1.8; }
.article ul{ padding-left:22px; }
.article a{ color:var(--ruby); text-decoration:underline; text-underline-offset:2px; }
.article .updated{ font-size:14px; color:var(--muted); font-style:italic; margin-bottom:24px; }

/* ===== FOOTER ===== */
footer{ background:var(--dark); color:#9C8F82; padding:64px 0 28px; }
.foot-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; margin-bottom:44px; }
.foot-brand .lock{ font-family:var(--display); font-weight:600; font-size:28px; letter-spacing:.06em; margin-bottom:14px; }
.foot-brand .lock .jt{ color:var(--ruby-bright); } .foot-brand .lock .vx{ color:var(--gold); }
.foot-brand p{ font-size:14px; max-width:300px; line-height:1.7; }
.foot-col h4{ font-family:var(--head); font-weight:700; font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:var(--gold); margin:0 0 16px; }
.foot-col a{ display:block; font-size:14px; color:#B7AA9C; padding:6px 0; transition:color .2s; }
.foot-col a:hover{ color:var(--gold); }
.foot-bottom{ border-top:1px solid rgba(212,175,55,.14); padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:13px; }
.foot-social{ display:flex; gap:14px; }
.foot-social a{ width:36px; height:36px; border-radius:50%; border:1px solid rgba(212,175,55,.3); display:flex; align-items:center; justify-content:center; color:var(--gold); transition:background .2s,color .2s; }
.foot-social a:hover{ background:var(--gold); color:var(--dark); }
.foot-social svg{ width:16px; height:16px; }

/* ===== FLOATING CHAT ===== */
.chat-fab{ position:fixed; right:22px; bottom:22px; z-index:80; display:flex; align-items:center; gap:10px; background:var(--grad-gold); color:#2A1A04; font-family:var(--head); font-weight:700; font-size:15px; padding:13px 22px 13px 18px; border:none; border-radius:40px; cursor:pointer; box-shadow:0 10px 28px rgba(184,134,47,.45); transition:transform .2s; }
.chat-fab:hover{ transform:translateY(-2px) scale(1.03); }
.chat-fab svg{ width:22px; height:22px; }
.chat-panel{ position:fixed; right:22px; bottom:84px; z-index:80; width:330px; max-width:calc(100vw - 44px); background:var(--surface); border:1px solid var(--line); border-radius:18px; box-shadow:0 24px 60px rgba(26,14,16,.3); overflow:hidden; display:none; }
.chat-panel.open{ display:block; }
.chat-panel .ch-head{ background:radial-gradient(120% 120% at 80% 0%,#3A1218,#0C0607); color:#FAF6EE; padding:18px 20px; display:flex; align-items:center; gap:12px; }
.chat-panel .ch-head .ch-av{ width:40px; height:40px; border-radius:50%; background:#0C0607; border:1px solid rgba(212,175,55,.4); display:flex; align-items:center; justify-content:center; }
.chat-panel .ch-head .ch-av svg{ width:24px; height:24px; }
.chat-panel .ch-head .ch-t{ font-family:var(--head); font-weight:700; font-size:15px; }
.chat-panel .ch-head .ch-s{ font-size:12px; color:#9C8F82; }
.chat-panel .ch-body{ padding:18px 20px; }
.chat-panel .ch-msg{ background:var(--surface-2); border-radius:12px; padding:12px 14px; font-size:14px; color:var(--text); margin-bottom:14px; }
.chat-panel .ch-body input{ width:100%; padding:11px 14px; border:1px solid var(--line); border-radius:10px; font-family:var(--body); font-size:14px; margin-bottom:10px; background:var(--bg); }
.chat-panel .ch-body button{ width:100%; }
.chat-close{ margin-left:auto; background:none; border:none; color:#C9BCAF; font-size:20px; cursor:pointer; line-height:1; }

/* ===== CONTACT FORM ===== */
.contact-form-wrap{ max-width:580px; margin:0 auto; }
form.cform{ background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:32px; box-shadow:var(--shadow); }
form.cform label{ display:block; font-family:var(--head); font-weight:600; font-size:13px; color:var(--ink); margin:0 0 7px; }
form.cform .row{ margin-bottom:18px; }
form.cform input, form.cform textarea{ width:100%; padding:13px 16px; border:1px solid var(--line); border-radius:12px; font-family:var(--body); font-size:15px; color:var(--ink); background:var(--bg); transition:border-color .2s,box-shadow .2s; }
form.cform input:focus, form.cform textarea:focus{ outline:none; border-color:var(--gold-2); box-shadow:0 0 0 3px rgba(212,175,55,.18); }
form.cform textarea{ min-height:120px; resize:vertical; }
form.cform button{ width:100%; }

/* ===== ABOUT ===== */
.about-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.about-grid p{ margin:0 0 18px; font-size:16px; }
.pillars{ display:grid; gap:16px; }
.pillar{ background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:22px 24px; box-shadow:var(--shadow); }
.pillar .pt{ font-family:var(--head); font-weight:700; color:var(--ink); font-size:17px; margin:0 0 6px; display:flex; align-items:center; gap:10px; }
.pillar .pt .dot{ width:9px; height:9px; border-radius:50%; background:var(--grad-gold); flex:0 0 auto; }
.pillar p{ margin:0; font-size:14.5px; color:var(--muted); }

/* ===== DIVISIONS ===== */
.div-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.div-card{ background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:32px 28px; transition:transform .25s ease,box-shadow .25s ease; position:relative; overflow:hidden; }
.div-card::before{ content:""; position:absolute; left:0; top:0; height:4px; width:100%; background:var(--grad-accent); opacity:0; transition:opacity .25s; }
.div-card:hover{ transform:translateY(-6px); box-shadow:0 20px 46px rgba(26,14,16,.16); }
.div-card:hover::before{ opacity:1; }
.div-ico{ width:54px; height:54px; border-radius:15px; background:rgba(212,175,55,.14); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.div-ico svg{ width:28px; height:28px; }
.div-card h3{ font-family:var(--head); font-weight:700; font-size:20px; color:var(--ink); margin:0 0 10px; }
.div-card p{ font-size:15px; color:var(--muted); margin:0 0 18px; }
.div-card .more{ font-family:var(--head); font-weight:600; font-size:14px; color:var(--ruby); display:inline-flex; align-items:center; gap:6px; }
.div-card .more::after{ content:"→"; transition:transform .2s; }
.div-card:hover .more::after{ transform:translateX(4px); }

/* ===== RESPONSIVE ===== */
@media (max-width:920px){
  .blog-grid{ grid-template-columns:1fr 1fr; }
  .foot-grid{ grid-template-columns:1fr 1fr; }
  .about-grid{ grid-template-columns:1fr; gap:36px; }
  .div-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:720px){
  .nav-menu{ position:absolute; top:72px; left:0; right:0; background:var(--dark); flex-direction:column; gap:0; padding:8px 0; border-bottom:1px solid rgba(212,175,55,.2); display:none; }
  .nav-menu.open{ display:flex; }
  .nav-menu a{ padding:14px 24px; width:100%; }
  .nav-menu a.nav-cta{ margin:10px 24px; text-align:center; }
  .nav-toggle{ display:block; }
  .page-hero{ padding:52px 0 46px; }
  .page-hero h1{ font-size:34px; }
  h2.sec-title{ font-size:30px; }
  section{ padding:60px 0; }
  .blog-grid, .opp-grid, .div-grid{ grid-template-columns:1fr; }
  .role{ flex-direction:column; align-items:flex-start; gap:10px; }
}
@media (prefers-reduced-motion:reduce){ *{ transition:none !important; scroll-behavior:auto !important; animation:none !important; } }
