/* =========================================================================
   VRC Legal — Landing page đăng ký bảo hộ nhãn hiệu (mockup v3 · sáng, vàng hổ phách)
   Bảng màu theo ảnh mẫu khách chọn: nền trắng ngà, xanh mực đậm, vàng hổ phách.
   Chữ: Be Vietnam Pro cho toàn bộ nội dung (khách chọn), serif chỉ cho tiêu đề lớn.
   ========================================================================= */
:root{
  /* Màu */
  --navy:#0B1435;        /* xanh mực – tiêu đề, chữ chính */
  --navy-2:#17234D;
  --amber:#B85C0A;       /* vàng hổ phách – chữ nhấn cỡ lớn */
  --amber-deep:#A8520A;  /* chữ nhấn cỡ nhỏ (đạt tương phản) */
  --gold:#E3A23A;        /* vàng – icon, viền, nút */
  --gold-hi:#F4C46F;     /* vàng sáng – chữ trên nền tối, gradient nút */
  --gold-soft:#FBE9C6;   /* nền nhấn nhạt */
  --ivory:#FFFDF8;       /* nền chính */
  --cream:#FDF6EA;       /* nền section xen kẽ */
  --card:#FFFFFF;
  --text:#141A3A;
  --muted:#4E5470;
  --line:rgba(11,20,53,.1);
  --line-gold:rgba(227,162,58,.42);
  --on-dark:#FFFDF8;
  --on-dark-muted:rgba(255,253,248,.76);
  --on-dark-line:rgba(244,196,111,.26);
  --ok:#2F7A55; --warn:#B7802A; --no:#B23A30;

  --btn-gold:linear-gradient(100deg,#DD962C 0%,#F4C46F 58%,#EAB04C 100%);
  --text-gold:linear-gradient(90deg,#B85A08 0%,#D98B2B 55%,#C46A12 100%);

  /* Chữ */
  --serif:'Noto Serif Display','Noto Serif',Georgia,'Times New Roman',serif;
  --sans:'Be Vietnam Pro','Segoe UI',system-ui,-apple-system,Roboto,Arial,sans-serif;

  /* Bố cục */
  --gutter:max(clamp(16px,4vw,56px), env(safe-area-inset-left,0px));
  --maxw:1280px;
  --header-h:76px;
  --r:10px;
  --ease:cubic-bezier(.2,.7,.2,1);
  --shadow:0 18px 40px -24px rgba(11,20,53,.28);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 12px)}
body{margin:0;background:var(--ivory);color:var(--text);font-family:var(--sans);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
img,svg{display:block;max-width:100%}
img{height:auto}
a{color:inherit}
button{font:inherit;color:inherit}
h1,h2,h3,h4,p,ul,ol,dl,dd,figure,blockquote{margin:0}
ul,ol{padding:0;list-style:none}
strong,b{font-weight:600}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:12px;top:-60px;z-index:200;background:var(--navy);color:#fff;padding:10px 16px;border-radius:var(--r);text-decoration:none;font-weight:600}
.skip-link:focus{top:12px}
:focus-visible{outline:2.5px solid var(--amber);outline-offset:3px;border-radius:4px}
.band-dark :focus-visible,.process-banner :focus-visible{outline-color:var(--gold-hi)}

.wrap{width:100%;max-width:calc(var(--maxw) + 2 * var(--gutter));margin-inline:auto;padding-inline:var(--gutter)}
.sec{position:relative;padding-block:clamp(56px,7vw,96px)}
.ico{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* ---------- Chữ ---------- */
.h2{font-family:var(--serif);font-weight:600;font-stretch:90%;font-size:clamp(32px,4vw,54px);line-height:1.12;letter-spacing:-.018em;color:var(--navy);text-wrap:balance}
.h3{font-family:var(--sans);font-weight:600;font-size:clamp(18px,1.5vw,21px);line-height:1.35;color:var(--navy)}
.lead{margin-top:14px;font-size:clamp(16.5px,1.25vw,18.5px);line-height:1.65;color:var(--muted);max-width:60ch}
.lead a{color:var(--amber-deep);font-weight:600;text-underline-offset:3px}
.sec-head{margin-bottom:clamp(28px,3.5vw,44px);max-width:820px}
.sec-head.center{margin-inline:auto;text-align:center}
.sec-head.center .lead{margin-inline:auto}
.sec-head .h2::after,.process-banner .h2::after,.faq-head .h2::after,.def-copy .h2::after{content:"";display:block;width:56px;height:3px;border-radius:3px;margin-top:18px;background:var(--btn-gold)}
.sec-head.center .h2::after{margin-inline:auto}
.footnote{margin-top:28px;font-size:14px;line-height:1.55;color:var(--muted);max-width:80ch}
.footnote.center{margin-inline:auto;text-align:center}

.band-dark{background:var(--navy);color:var(--on-dark)}
.band-dark .h2,.band-dark .h3{color:var(--on-dark)}
.band-dark .lead,.band-dark .footnote{color:var(--on-dark-muted)}

/* Tiêu đề + ảnh minh hoạ hai cột */
.head-split{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(28px,5vw,72px);align-items:center;margin-bottom:clamp(28px,3.5vw,44px)}
.head-split .sec-head{margin-bottom:0}
.head-photo img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:var(--r);box-shadow:var(--shadow)}

/* ---------- Nút ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:54px;padding:14px 30px;border-radius:999px;border:1.5px solid transparent;font-weight:600;font-size:16.5px;line-height:1.2;text-decoration:none;cursor:pointer;transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s,background-position .4s}
.btn-sm{min-height:44px;padding:10px 22px;font-size:15px}
.btn-block{width:100%}
.btn-ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.btn-gold{background:var(--btn-gold);background-size:150% 100%;color:var(--navy);box-shadow:0 14px 30px -14px rgba(221,150,44,.85)}
.btn-gold:hover{background-position:100% 0;box-shadow:0 16px 34px -12px rgba(221,150,44,.95)}
.btn-line{background:rgba(255,255,255,.85);border-color:var(--amber);color:var(--navy)}
.btn-line:hover{background:#fff;border-color:var(--amber-deep)}
.btn-navy{background:var(--navy);color:var(--gold-hi);border-color:var(--navy)}
.btn-navy:hover{background:var(--navy-2)}
.btn-ghost-dark{border-color:var(--line);color:var(--navy)}
.btn-ghost-dark:hover{border-color:var(--gold)}
.btn:active{transform:translateY(1px)}

/* ---------- Header ---------- */
.site-header{position:fixed;inset:0 0 auto 0;z-index:50;height:var(--header-h);color:var(--navy);background:rgba(255,253,248,.86);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 1px 0 rgba(227,162,58,.22);transition:background-color .3s,box-shadow .3s}
.site-header.is-scrolled,.site-header.menu-open{background:rgba(255,253,248,.96);box-shadow:0 1px 0 var(--line-gold),0 10px 30px -20px rgba(11,20,53,.3)}
.header-row{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none}
.brand-logo{height:40px;width:auto}
.site-header .brand-name{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.nav{display:flex;align-items:center;gap:34px;font-size:15.5px;font-weight:500}
.nav a{text-decoration:none;color:var(--navy);transition:color .2s}
.nav a:hover{color:var(--amber)}
.nav .nav-cta{color:var(--amber);border:1.5px solid var(--amber);border-radius:999px;padding:9px 22px;background:rgba(255,255,255,.7)}
.nav .nav-cta:hover{background:var(--gold-soft)}
.menu-toggle{display:none;width:46px;height:46px;border:1px solid var(--line-gold);border-radius:50%;background:rgba(255,255,255,.8);position:relative;cursor:pointer}
.menu-toggle span:not(.sr-only){position:absolute;left:13px;right:13px;height:1.5px;background:var(--navy);transition:transform .25s,top .25s}
.menu-toggle span:nth-child(1){top:18px}
.menu-toggle span:nth-child(2){top:26px}
.menu-toggle[aria-expanded="true"] span:nth-child(1){top:22px;transform:rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){top:22px;transform:rotate(-45deg)}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:min(100vh,900px);min-height:min(100svh,900px);display:flex;flex-direction:column;justify-content:space-between;background:var(--ivory);overflow:hidden;isolation:isolate}
.hero-media{position:absolute;inset:0;z-index:-2}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:78% 60%}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(255,253,248,.97) 0%,rgba(255,253,248,.93) 40%,rgba(255,253,248,.55) 58%,rgba(255,253,248,0) 74%)}
.hero-frame{position:absolute;inset:clamp(8px,1.2vw,16px);border:1.5px solid var(--line-gold);border-radius:4px;pointer-events:none;z-index:-1}
.hero-inner{padding-top:calc(var(--header-h) + clamp(40px,7vh,84px));padding-bottom:clamp(28px,4vh,48px)}
.hero-kicker{display:flex;align-items:center;gap:16px;font-size:clamp(13px,1vw,15px);font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--amber)}
.hero-kicker::before{content:"";width:48px;height:1.5px;background:var(--amber);flex:none}
.hero-title{margin-top:22px;font-family:var(--serif);font-weight:700;font-stretch:88%;font-size:clamp(38px,5.2vw,78px);line-height:1.08;letter-spacing:-.025em;color:var(--navy);max-width:13.5em}
.hero-accent{display:block;background:var(--text-gold);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;padding-bottom:.06em}
.hero-pitch{margin-top:22px;max-width:46ch;font-size:clamp(17px,1.5vw,21px);line-height:1.6;color:var(--navy-2)}
.hero-actions{margin-top:32px;display:flex;flex-wrap:wrap;gap:16px}
.hero-features-wrap{padding-bottom:clamp(22px,3vh,36px)}
.hero-features{display:grid;grid-template-columns:repeat(6,1fr);background:rgba(255,253,248,.92);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--line-gold);border-radius:var(--r);padding:20px 8px;box-shadow:var(--shadow)}
.hero-features li{display:flex;align-items:center;gap:12px;padding:4px 16px;font-size:14.5px;font-weight:500;line-height:1.4;color:var(--navy)}
.hero-features li+li{border-left:1px solid var(--line-gold)}
.hero-features .ico{width:34px;height:34px;color:var(--amber)}

/* Mở trang: chỉ một hiệu ứng, ở hero */
.js .hero-kicker,.js .hero-title,.js .hero-pitch,.js .hero-actions,.js .hero-features{opacity:0;transform:translateY(14px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.js .hero.is-in .hero-kicker{opacity:1;transform:none}
.js .hero.is-in .hero-title{opacity:1;transform:none;transition-delay:.1s}
.js .hero.is-in .hero-pitch{opacity:1;transform:none;transition-delay:.24s}
.js .hero.is-in .hero-actions{opacity:1;transform:none;transition-delay:.34s}
.js .hero.is-in .hero-features{opacity:1;transform:none;transition-delay:.46s}

/* ---------- Tình huống ---------- */
.situations-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(36px,5vw,80px);align-items:center}
.checklist{margin-top:28px;border-top:1px solid var(--line)}
.checklist li{border-bottom:1px solid var(--line)}
.checklist label,.doc-list label{display:flex;gap:16px;align-items:flex-start;padding:14px 4px;cursor:pointer;line-height:1.5}
.checklist input,.doc-list input{position:absolute;opacity:0;width:1px;height:1px}
.box{flex:none;width:24px;height:24px;margin-top:1px;border:1.5px solid var(--gold);border-radius:6px;display:grid;place-items:center;background:var(--card);transition:background-color .2s,border-color .2s}
.box svg{width:16px;height:16px;fill:none;stroke:var(--navy);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0;transform:scale(.6);transition:opacity .2s,transform .2s}
input:checked+.box{background:var(--gold);border-color:var(--gold)}
input:checked+.box svg{opacity:1;transform:none}
input:focus-visible+.box{outline:2.5px solid var(--amber);outline-offset:3px}
.checklist label:hover .box{border-color:var(--amber)}
.situations-result{margin-top:20px;display:flex;flex-direction:column;align-items:flex-start;gap:14px;color:var(--muted);font-size:15.5px}
.situations-result b{color:var(--navy)}
.situations-photo{position:relative;margin:0}
.situations-photo img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:var(--r);box-shadow:var(--shadow)}
.statement{position:relative;margin:-72px 24px 0;background:var(--navy);color:var(--on-dark);padding:clamp(22px,2.6vw,32px);border-radius:var(--r);border-top:3px solid var(--gold);box-shadow:0 26px 50px -28px rgba(11,20,53,.6)}
.statement blockquote{font-family:var(--sans);font-weight:500;font-size:clamp(17px,1.45vw,20px);line-height:1.5;color:var(--on-dark)}
.stair{margin-top:16px;display:flex;flex-wrap:wrap;gap:6px 0;font-size:13.5px;color:var(--gold-hi)}
.stair li{display:flex;align-items:center}
.stair li+li::before{content:"";width:16px;height:1px;margin:0 8px;background:var(--gold)}

/* ---------- Nhãn hiệu là gì ---------- */
.definition{background:var(--cream)}
.def-top{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(36px,5vw,80px);align-items:center}
.def-tagline{margin-top:16px;font-weight:600;font-size:clamp(18px,1.5vw,21px);color:var(--amber)}
.def-text{margin-top:16px;font-size:clamp(17px,1.35vw,19.5px);line-height:1.65;max-width:44ch}
.def-text strong{color:var(--navy)}
.def-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r);box-shadow:var(--shadow)}
.specimen-title{margin-top:clamp(40px,5vw,64px);margin-bottom:22px}
.specimens{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.spec{background:var(--card);border:1px solid var(--line-gold);border-radius:var(--r);padding:10px 10px 14px;display:flex;flex-direction:column;transition:box-shadow .25s,transform .25s}
.spec img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:6px}
.spec figcaption{margin-top:12px;padding-inline:4px;font-weight:600;font-size:15px;line-height:1.35;color:var(--navy)}
.spec figcaption small{font-weight:400;color:var(--muted)}

.distinct{margin-top:clamp(36px,4.5vw,56px);display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,4vw,64px);align-items:center;background:var(--card);border:1px solid var(--line-gold);border-radius:var(--r);padding:clamp(24px,3.4vw,48px)}
.distinct-copy p{color:var(--muted);max-width:46ch}
.distinct-quote{margin:16px 0;font-weight:600;font-size:clamp(19px,1.7vw,24px);line-height:1.4;color:var(--navy)!important;padding-left:20px;border-left:3px solid var(--gold)}
.distinct-visual{display:flex;align-items:flex-end;justify-content:center;gap:clamp(16px,3vw,40px)}
.cup{display:flex;flex-direction:column;align-items:center;gap:12px}
.cup-lid{width:118px;height:14px;border-radius:6px 6px 2px 2px;background:#EEE6D6;border:1px solid var(--line)}
.cup-body{width:104px;height:140px;clip-path:polygon(0 0,100% 0,90% 100%,10% 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;margin-top:-12px;text-align:center}
.cup-body svg{width:34px;height:34px;fill:none;stroke-width:2}
.cup-body b{font-weight:700;font-size:15px;line-height:1.15}
.cup-body small{font-size:11px;opacity:.75}
.cup-a .cup-body{background:var(--navy);color:var(--gold-hi)}
.cup-a .cup-body svg{stroke:var(--gold-hi)}
.cup-b .cup-body{background:linear-gradient(160deg,#F7D58E,#E3A23A);color:var(--navy)}
.cup-b .cup-body svg{fill:var(--navy);stroke:none}
.cup-tag{font-size:13px;font-weight:600;color:var(--muted)}
.neq{font-family:var(--serif);font-size:64px;line-height:1;color:var(--gold);margin-bottom:60px}

/* ---------- Ai cần đăng ký ---------- */
.who-list{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.who-list li{padding:24px 24px 26px;background:var(--card);border:1px solid var(--line);border-top:3px solid var(--gold);border-radius:var(--r)}
.who-list .ico{width:38px;height:38px;color:var(--amber);margin-bottom:16px}
.who-list h3{font-weight:600;font-size:18.5px;line-height:1.35;color:var(--navy)}
.who-list p{margin-top:8px;color:var(--muted);font-size:15.5px}

/* ---------- Lợi ích ---------- */
.benefits{background:var(--cream)}
.benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.benefit-grid article{padding:24px 24px 26px;border:1px solid var(--line-gold);border-radius:var(--r);background:var(--card)}
.benefit-grid .ico{width:42px;height:42px;padding:8px;border-radius:50%;background:var(--gold-soft);color:var(--amber)}
.benefit-grid h3{margin-top:16px;font-weight:600;font-size:18.5px;line-height:1.35;color:var(--navy)}
.benefit-grid p{margin-top:8px;color:var(--muted);font-size:15.5px}

/* ---------- Thủ tục ---------- */
.process-banner{position:relative;min-height:clamp(340px,48vh,500px);display:flex;align-items:flex-end;color:var(--on-dark);overflow:hidden;isolation:isolate;padding-block:clamp(72px,8vw,100px) clamp(44px,5vw,64px)}
.process-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;z-index:-2}
.process-banner::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(11,20,53,.95) 0%,rgba(11,20,53,.78) 45%,rgba(11,20,53,.3) 100%)}
.process-banner .h2{color:var(--on-dark);max-width:22ch}
.process-banner .lead{color:var(--on-dark-muted);max-width:72ch}
.process-body{padding-block:clamp(48px,6vw,80px) clamp(56px,7vw,96px)}
.process-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(32px,5vw,72px);align-items:start}
.process-panel{position:sticky;top:calc(var(--header-h) + 24px);background:var(--navy);color:var(--on-dark);border-radius:var(--r);padding:clamp(20px,2.2vw,28px);border-top:3px solid var(--gold)}
.pp-current{display:flex;gap:18px;align-items:center;padding-bottom:20px;border-bottom:1px solid var(--on-dark-line)}
.pp-num{font-family:var(--serif);font-size:52px;line-height:1;font-weight:600;color:var(--gold-hi);font-variant-numeric:lining-nums}
.pp-title{display:block;font-weight:600;font-size:19px;line-height:1.3;margin-bottom:8px}
.chip{display:inline-block;padding:3px 10px;border-radius:999px;font-family:var(--sans);font-size:12.5px;font-weight:600;line-height:1.5;vertical-align:middle;background:var(--gold-soft);color:var(--amber-deep);border:1px solid var(--line-gold);white-space:nowrap}
.process-panel .chip{color:var(--gold-hi);background:rgba(244,196,111,.12)}
.gantt{margin-top:20px;--pre:16%}
.gantt-axis{display:flex;font-size:11.5px;color:var(--on-dark-muted);margin-left:118px}
.ga-pre{width:var(--pre);white-space:nowrap}
.ga-months{flex:1;display:flex;justify-content:space-between}
.ga-months i{font-style:normal;width:0;display:flex;justify-content:center}
.gantt-rows{margin-top:8px}
.g-row{display:flex;align-items:center;height:30px}
.g-label{width:118px;flex:none;font-size:12.5px;color:var(--on-dark-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:10px;transition:color .3s}
.g-track{flex:1;position:relative;height:100%;background:linear-gradient(to right,rgba(255,255,255,.05) var(--pre),transparent var(--pre));border-left:1px solid var(--on-dark-line)}
.g-track::after{content:"";position:absolute;top:0;bottom:0;left:var(--pre);border-left:1px dashed var(--on-dark-line)}
.g-track b{position:absolute;top:8px;bottom:8px;border-radius:3px;background:rgba(244,196,111,.28);left:calc(var(--pre) + (100% - var(--pre)) * var(--s) / 9);width:calc((100% - var(--pre)) * (var(--e) - var(--s)) / 9);transition:background-color .3s}
.g-track b.pre{left:calc(var(--pre) * var(--s));width:calc(var(--pre) * (var(--e) - var(--s)))}
.g-track b.maybe{background:repeating-linear-gradient(45deg,rgba(244,196,111,.34) 0 4px,transparent 4px 8px)}
.g-row.is-past b{background:rgba(227,162,58,.55)}
.g-row.is-active .g-label{color:var(--gold-hi);font-weight:600}
.g-row.is-active b:not(.maybe){background:var(--btn-gold)}
.gantt-note{margin-top:14px;font-size:12.5px;line-height:1.5;color:var(--on-dark-muted)}

.step{display:grid;grid-template-columns:56px 1fr;gap:18px;padding:24px 0;border-top:1px solid var(--line);transition:opacity .3s}
.step:last-child{border-bottom:1px solid var(--line)}
.step-n{font-family:var(--serif);font-size:34px;line-height:1;font-weight:600;color:var(--gold);font-variant-numeric:lining-nums;transition:color .3s}
.step h3{font-weight:600;font-size:19px;line-height:1.4;color:var(--navy)}
.step h3 .chip{margin-left:8px}
.step p{margin-top:8px;color:var(--muted);max-width:60ch}
.js .step{opacity:.72}
.js .step.is-active{opacity:1}
.step.is-active .step-n{color:var(--amber)}
.notice{margin-top:clamp(32px,4vw,48px);padding:22px 26px;border-radius:var(--r);background:var(--gold-soft);border-left:4px solid var(--gold);font-size:15.5px;color:var(--text)}
.notice strong{color:var(--navy)}

/* ---------- Sơ đồ ---------- */
.flow-sec{background:var(--cream)}
.flow-head{display:grid;grid-template-columns:1.2fr 1fr;gap:28px;align-items:end;max-width:none}
.flow-controls{display:flex;flex-direction:column;align-items:flex-end;gap:14px}
.seg{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;background:var(--card);border:1px solid var(--line);border-radius:999px}
.seg button{border:0;background:transparent;padding:9px 16px;border-radius:999px;font-size:14.5px;font-weight:500;color:var(--muted);cursor:pointer;transition:background-color .2s,color .2s}
.seg button:hover{color:var(--navy)}
.seg button.is-on{background:var(--navy);color:var(--gold-hi)}
.legend{display:flex;flex-wrap:wrap;gap:16px;font-size:13.5px;color:var(--muted)}
.legend li{display:flex;align-items:center;gap:8px}
.legend i{width:14px;height:14px;border-radius:3px;display:block;border:1px solid}
.k-app,.node.app{background:#FCEBC4;border-color:#E9C27A!important}
.k-off,.node.off{background:#DFE5F2;border-color:#A6B4D2!important}
.k-oth,.node.oth{background:#FFFFFF;border-color:#D5C08F!important}
.flow{display:flex;flex-direction:column;align-items:stretch}
.flow-start{display:flex;justify-content:center;padding-bottom:22px;position:relative}
.flow-start::after,.stage+.stage::before{content:"";display:block;width:2px;height:22px;background:var(--gold)}
.flow-start::after{position:absolute;bottom:0;left:calc(50% - 1px)}
.stage{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:clamp(16px,2vw,24px)}
.stage+.stage{margin-top:22px;position:relative}
.stage+.stage::before{position:absolute;top:-23px;left:calc(50% - 1px)}
.stage-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.stage-k{display:inline-block;padding:3px 12px;border-radius:999px;background:var(--navy);color:var(--gold-hi);font-size:12.5px;font-weight:600;white-space:nowrap}
.stage-head h3{font-family:var(--sans);font-weight:700;font-size:17px;line-height:1.3;color:var(--navy)}
.lanes{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.lane{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px;border-radius:6px;background:var(--ivory);transition:opacity .3s,filter .3s}
.cond{display:flex;align-items:center;gap:8px;font-weight:600;font-size:15px;color:var(--navy)}
.dot{width:9px;height:9px;border-radius:50%}
.dot.ok{background:var(--ok)}.dot.fix{background:var(--warn)}.dot.no{background:var(--no)}
.node{display:inline-block;padding:8px 12px;border:1px solid;border-radius:4px;font-size:14px;line-height:1.4;color:var(--text)}
.lane>.node+.node::before{content:"↓";display:block;text-align:center;margin:-30px 0 8px;color:var(--amber);font-size:13px;height:14px}
.lane>.node+.node{margin-top:14px}
.lane-note{font-size:13.5px;line-height:1.5;color:var(--muted)}
.lane-note.loop{color:var(--warn);font-weight:600}
.lane-note.loop::before{content:"↺ "}
.appeal{width:100%;padding:12px;border:1px dashed var(--line-gold);border-radius:4px;display:flex;flex-direction:column;gap:8px}
.appeal-k{font-size:13px;font-weight:600;color:var(--muted)}
.ap-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.ap-row .node{font-size:13px;padding:5px 9px}
.ap-row .node+.node::before{content:"→ ";color:var(--amber)}
.final-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.final-row .node+.node::before{content:"→ ";color:var(--amber)}
.final-note{margin-top:12px}
.flow[data-scenario="ok"] .lane:not([data-lane="ok"]),
.flow[data-scenario="fix"] .lane:not([data-lane="fix"]),
.flow[data-scenario="reject"] .lane:not([data-lane="reject"]),
.flow[data-scenario="fix"] .stage-final,.flow[data-scenario="reject"] .stage-final{opacity:.28;filter:grayscale(1)}
.flow[data-scenario="ok"] .lane[data-lane="ok"],.flow[data-scenario="fix"] .lane[data-lane="fix"],.flow[data-scenario="reject"] .lane[data-lane="reject"]{box-shadow:inset 0 0 0 1.5px var(--gold)}

/* ---------- Hồ sơ ---------- */
.docs-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:clamp(24px,4vw,48px);align-items:start}
.dossier-tabs{margin-bottom:16px}
.folder{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:6px clamp(18px,2.2vw,28px) 22px;border-top:3px solid var(--gold)}
.doc-list li{border-bottom:1px solid var(--line)}
.doc-list label span:last-child{display:flex;flex-direction:column}
.doc-list b{font-weight:600;color:var(--navy)}
.doc-list small{font-size:14px;color:var(--muted)}
.doc-progress{margin-top:20px;display:flex;align-items:center;gap:16px;font-size:14.5px;color:var(--muted)}
.doc-progress .bar{flex:1;height:6px;border-radius:6px;background:var(--cream);overflow:hidden}
.doc-progress .bar i{display:block;height:100%;width:0;background:var(--btn-gold);transition:width .4s var(--ease)}
.doc-progress.is-full{color:var(--ok);font-weight:600}
.sample{background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.sample-photo img{width:100%;aspect-ratio:16/10;object-fit:cover;object-position:50% 62%}
.sample-body{padding:22px clamp(18px,2.2vw,26px) 26px}
.sample-figure{margin:16px 0;display:flex;align-items:center;gap:18px}
.sample-box{width:84px;height:84px;display:grid;place-items:center;background:#fff;border:1px dashed var(--gold);outline:1px solid var(--line);outline-offset:5px}
.combo-mark{width:44px;height:44px;fill:none;stroke:var(--amber);stroke-width:1.6}
.combo-mark path{fill:var(--gold);stroke:none}
.sample-dim{font-size:14px;font-weight:600;color:var(--amber-deep);line-height:1.5}
.sample-rules li{position:relative;padding:8px 0 8px 22px;font-size:15.5px;border-top:1px solid var(--line)}
.sample-rules li::before{content:"";position:absolute;left:2px;top:17px;width:7px;height:7px;background:var(--gold);transform:rotate(45deg)}

/* ---------- Vì sao chọn đại diện ---------- */
.why{background:var(--cream);padding-block:clamp(56px,7vw,96px)}
.why-grid{width:100%;max-width:calc(var(--maxw) + 2 * var(--gutter));margin-inline:auto;padding-inline:var(--gutter);display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(32px,5vw,72px);align-items:center}
.why-photo{position:relative;padding-bottom:64px}
.why-photo>img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r);box-shadow:var(--shadow)}
.why-list{display:grid;grid-template-columns:1fr 1fr;gap:22px 30px}
.why-list article{display:flex;gap:14px;align-items:flex-start}
.why-list .ico{color:var(--amber);width:32px;height:32px}
.why-list h3{font-weight:600;font-size:17px;line-height:1.35;color:var(--navy)}
.why-list p{margin-top:4px;font-size:15px;color:var(--muted)}
.tracker{position:absolute;left:clamp(-24px,-1.6vw,0px);bottom:0;z-index:2;width:min(340px,calc(100% - 32px));background:#fff;color:var(--text);border-radius:var(--r);padding:16px 18px;box-shadow:0 24px 50px -22px rgba(11,20,53,.45);border-top:3px solid var(--gold)}
.tracker-top{display:flex;justify-content:space-between;gap:10px;font-size:13px;font-weight:600;color:var(--navy);padding-bottom:10px;border-bottom:1px solid var(--line)}
.tracker-id{color:var(--muted);font-weight:500}
.tracker-steps li{display:flex;gap:12px;padding:8px 0}
.tracker-steps b{display:block;font-size:14px;color:var(--navy)}
.tracker-steps small{font-size:12.5px;color:var(--muted)}
.t-dot{flex:none;width:20px;height:20px;border-radius:50%;border:1.5px solid var(--gold);display:grid;place-items:center;margin-top:1px;background:#fff}
.t-dot svg{width:12px;height:12px;fill:none;stroke:var(--navy);stroke-width:3.5}
.done .t-dot{background:var(--gold)}
.new .t-dot{background:var(--navy);border-color:var(--navy);box-shadow:0 0 0 4px rgba(227,162,58,.35)}
.next .t-dot{border-style:dashed}
.tracker-cap{font-size:11.5px;color:var(--muted);text-align:right}
.why .footnote{margin-top:28px}

/* ---------- Nhãn hiệu & quyền tác giả ---------- */
.dual-grid{display:grid;grid-template-columns:1fr minmax(0,320px) 1fr;gap:clamp(18px,3vw,36px);align-items:center}
.dual-card{background:var(--card);border:1px solid var(--line-gold);border-radius:var(--r);padding:clamp(24px,3vw,40px);text-align:center}
.emblem{width:120px;height:120px;margin:0 auto 18px}
.emblem path{fill:none;stroke:var(--gold);stroke-width:.5;opacity:.6}
.emblem .e-ring{fill:none;stroke:var(--amber);stroke-width:1.2}
.emblem text{font-family:var(--serif);font-size:84px;fill:var(--navy)}
.dual-card h3{font-weight:700;font-size:20px;color:var(--navy)}
.dual-card p{margin:8px auto 0;color:var(--muted);max-width:34ch}
.dual-assets{text-align:center}
.dual-photo{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:var(--r);margin-bottom:16px;box-shadow:var(--shadow)}
.dual-k{font-size:14px;font-weight:600;color:var(--amber-deep);margin-bottom:8px}
.dual-assets li{font-weight:500;font-size:16px;color:var(--navy);padding:8px 0;border-top:1px solid var(--line-gold)}
.dual-assets li:last-child{border-bottom:1px solid var(--line-gold)}
.dual-cta{margin:clamp(32px,4vw,48px) auto 0;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px 24px;text-align:center}
.dual-cta p{font-weight:600;font-size:clamp(17px,1.4vw,19px);color:var(--navy)}

/* ---------- Hỏi đáp ---------- */
.faq{background:var(--cream)}
.faq-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr);gap:clamp(32px,5vw,80px);align-items:start}
.faq-head{position:sticky;top:calc(var(--header-h) + 24px)}
.faq-photo{margin-top:28px}
.faq-photo img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 20%;border-radius:var(--r);box-shadow:var(--shadow)}
.faq-list{background:var(--card);border:1px solid var(--line-gold);border-radius:var(--r);padding:4px clamp(18px,2.4vw,30px)}
.faq-list details+details{border-top:1px solid var(--line)}
.faq-list summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:18px 0;font-family:var(--sans);font-weight:600;font-size:clamp(16px,1.25vw,17.5px);line-height:1.45;color:var(--navy)}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"";flex:none;width:28px;height:28px;margin-top:-2px;border-radius:50%;border:1px solid var(--line-gold);background:linear-gradient(var(--amber),var(--amber)) center/11px 1.5px no-repeat,linear-gradient(var(--amber),var(--amber)) center/1.5px 11px no-repeat;transition:transform .25s,background-color .25s}
.faq-list details[open] summary::after{transform:rotate(45deg);background-color:var(--gold-soft)}
.faq-list summary:hover{color:var(--amber)}
.ans{padding:0 44px 20px 0;color:var(--muted);font-size:16px}
.ans strong{color:var(--text)}

/* ---------- Tư vấn ---------- */
.contact{overflow:hidden;isolation:isolate}
.contact-photo{position:absolute;top:0;left:0;bottom:0;width:44%;height:100%;object-fit:cover;object-position:40% 30%;z-index:-2;opacity:.42;-webkit-mask-image:linear-gradient(to right,#000 30%,transparent 100%);mask-image:linear-gradient(to right,#000 30%,transparent 100%)}
.contact::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to right,rgba(11,20,53,.55),rgba(11,20,53,.2) 40%,rgba(11,20,53,0) 60%)}
.contact-grid{display:grid;grid-template-columns:1fr minmax(0,560px);gap:clamp(32px,5vw,88px);align-items:center}
.contact-title{color:var(--gold-hi)!important;max-width:16em}
.contact-list{margin-top:32px;display:grid;gap:16px}
.contact-list li{display:flex;gap:16px;align-items:center}
.contact-list .ico{width:44px;height:44px;padding:10px;border:1px solid var(--on-dark-line);border-radius:50%;color:var(--gold-hi)}
.contact-list small{display:block;font-size:13px;color:var(--on-dark-muted)}
.contact-list a,.contact-list span{font-size:17px;color:var(--on-dark);text-decoration:none}
.contact-list a:hover{color:var(--gold-hi)}
.contact-phone{font-weight:700;font-size:22px!important;color:var(--gold-hi)!important}
.form-card{background:var(--ivory);color:var(--text);border-radius:var(--r);padding:clamp(22px,2.8vw,36px);border-top:3px solid var(--gold);box-shadow:0 40px 80px -30px rgba(0,0,0,.55)}
.lead-form h3,.form-done h3{font-weight:700;font-size:22px;color:var(--navy);margin-bottom:18px}
.f-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field{display:block;margin-bottom:14px}
.field>span{display:block;font-size:14px;font-weight:600;color:var(--navy);margin-bottom:6px}
.field i{color:var(--no);font-style:normal}
.field input,.field textarea{width:100%;font:inherit;font-size:16px;padding:12px 14px;border:1px solid rgba(11,20,53,.2);border-radius:8px;background:#fff;color:var(--text);transition:border-color .2s,box-shadow .2s}
.field textarea{resize:vertical;min-height:110px}
.field input::placeholder,.field textarea::placeholder{color:#8C8F99}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(227,162,58,.25)}
.err{display:block;font-style:normal;font-size:13px;color:var(--no);margin-top:5px}
.err:empty{display:none}
.has-err input{border-color:var(--no)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.form-privacy{margin-top:12px;font-size:13.5px;color:var(--muted);text-align:center}
.form-done{text-align:center;padding:20px 0}
.form-done:focus{outline:none}
.form-done p{color:var(--muted);margin-bottom:20px}
.form-done a{color:var(--amber-deep);font-weight:600}
.seal{width:150px;height:150px;margin:0 auto 18px}
.seal .s-ink{fill:none;stroke:var(--amber)}
.seal text{fill:var(--amber);font-family:var(--sans);font-weight:700}
.seal .s-glyph{font-family:var(--serif);font-weight:500;fill:var(--navy)}
.form-done:not([hidden]) .seal{animation:stamp .6s var(--ease) both}
@keyframes stamp{from{opacity:0;transform:scale(1.4) rotate(-12deg)}to{opacity:1;transform:rotate(-6deg)}}

/* ---------- Chân trang ---------- */
.site-footer{background:var(--ivory);color:var(--muted);padding:clamp(48px,6vw,72px) 0 28px;border-top:3px solid var(--gold)}
.footer-top{display:grid;grid-template-columns:1fr 1.6fr;gap:44px}
.brand-footer img{width:220px}
.footer-brand p{margin-top:14px;max-width:36ch;font-size:15px}
.footer-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.footer-cols h4{font-weight:700;font-size:16px;color:var(--navy);margin-bottom:12px}
.footer-cols a{display:block;padding:5px 0;font-size:15px;text-decoration:none}
.footer-cols a:hover{color:var(--amber)}
.footer-bottom{margin-top:44px;padding-top:22px;border-top:1px solid var(--line-gold);display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 32px;font-size:13px}
.footer-meta{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;color:#7A7F94}
.footer-admin{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border:1px solid var(--line-gold);border-radius:999px;font-size:13px;font-weight:600;color:var(--navy);text-decoration:none;transition:border-color .2s,background-color .2s}
.footer-admin .ico{width:16px;height:16px;color:var(--amber)}
.footer-admin:hover{border-color:var(--amber);background:var(--gold-soft)}

/* ---------- Liên hệ nhanh ---------- */
.quick-contact{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:40;display:flex;flex-direction:column;gap:10px;transition:opacity .3s,transform .3s}
.quick-contact.is-hidden{opacity:0;transform:translateY(20px);pointer-events:none}
.qc{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;text-decoration:none;font-weight:700;font-size:13px;box-shadow:0 12px 26px -10px rgba(11,20,53,.5)}
.qc-zalo{background:var(--navy);color:var(--gold-hi);border:1px solid var(--line-gold)}
.qc-phone{background:var(--btn-gold);color:var(--navy)}
.qc-phone svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2}

/* ---------- Responsive ---------- */
@media (max-width:1180px){
  .hero-features{grid-template-columns:repeat(3,1fr);row-gap:16px}
  .hero-features li:nth-child(4){border-left:0}
  .specimens{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:1100px){
  .nav{gap:22px}
  .why-list{grid-template-columns:1fr}
}
@media (max-width:960px){
  :root{--header-h:68px}
  .menu-toggle{display:block}
  .nav{position:fixed;top:var(--header-h);left:0;right:0;flex-direction:column;align-items:stretch;gap:0;padding:8px var(--gutter) 24px;background:rgba(255,253,248,.98);border-bottom:1px solid var(--line-gold);transform:translateY(-8px);opacity:0;visibility:hidden;transition:opacity .25s,transform .25s,visibility .25s}
  .nav.is-open{opacity:1;transform:none;visibility:visible}
  .nav a{padding:14px 0;font-size:17px;border-bottom:1px solid var(--line)}
  .nav .nav-cta{margin-top:16px;text-align:center}

  .hero::before{background:linear-gradient(180deg,rgba(255,253,248,.96) 0%,rgba(255,253,248,.9) 55%,rgba(255,253,248,.55) 100%)}
  .situations-grid,.def-top,.process-grid,.docs-grid,.faq-grid,.contact-grid,.flow-head,.head-split,.why-grid{grid-template-columns:1fr}
  .flow-controls{align-items:flex-start}
  .situations-photo,.def-photo,.head-photo{max-width:620px}
  .process-panel{position:relative;top:0}
  .faq-head{position:static}
  .faq-photo{display:none}
  .distinct{grid-template-columns:1fr}
  .who-list,.benefit-grid{grid-template-columns:1fr 1fr}
  .lanes{grid-template-columns:1fr}
  .dual-grid{grid-template-columns:1fr}
  .dual-assets{max-width:360px;margin-inline:auto}
  .contact-photo{width:100%;opacity:.2;-webkit-mask-image:none;mask-image:none}
  .footer-top{grid-template-columns:1fr}
}
@media (max-width:760px){
  .hero-media img{object-position:50% 100%}
  .hero::before{background:linear-gradient(180deg,rgba(255,253,248,.97) 0%,rgba(255,253,248,.93) 52%,rgba(255,253,248,.35) 78%,rgba(255,253,248,.7) 100%)}
}
@media (max-width:640px){
  body{font-size:16px}
  .hero-inner{padding-top:calc(var(--header-h) + 32px)}
  .hero-kicker{letter-spacing:.05em}
  .hero-kicker::before{width:28px}
  .hero-actions .btn{width:100%}
  .hero-features{grid-template-columns:1fr 1fr;padding:14px 4px}
  .hero-features li{padding:8px 10px;font-size:13.5px;gap:10px}
  .hero-features li+li{border-left:0}
  .hero-features li:nth-child(even){border-left:1px solid var(--line-gold)}
  .hero-features .ico{width:28px;height:28px}
  .specimens{grid-template-columns:1fr 1fr}
  .who-list,.benefit-grid,.f-row,.footer-cols{grid-template-columns:1fr}
  .footer-cols{gap:8px}
  .statement{margin:-48px 12px 0}
  .step{grid-template-columns:44px 1fr;gap:12px}
  .step-n{font-size:28px}
  .step h3 .chip{margin-left:0;margin-top:6px;display:table}
  .gantt{--pre:12%}
  .ga-pre{visibility:hidden}
  .gantt-axis{margin-left:92px}
  .g-label{width:92px;font-size:11.5px}
  .ans{padding-right:0}
  .distinct-visual{transform:scale(.85)}
  .why-photo{padding-bottom:0}
  .tracker{position:relative;right:auto;width:auto;margin:-40px 12px 0}
  .seg button{padding:8px 12px;font-size:13.5px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
  .js .hero-kicker,.js .hero-title,.js .hero-pitch,.js .hero-actions,.js .hero-features{opacity:1;transform:none}
}

/* ---------- Form: lỗi chung, bản xem trước ---------- */
.form-err{margin:0 0 12px;font-size:14px}
.preview-badge{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:90;background:var(--navy);color:var(--gold-hi);font-size:13px;font-weight:600;padding:8px 16px;border-radius:999px;box-shadow:0 10px 30px -10px rgba(11,20,53,.6)}
@media (max-width:640px){.site-footer{padding-bottom:96px}}
