@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

/* KT Corporate Heritage — shared visual system */
:root {
  --ink: #17233b;
  --muted: #667085;
  --green-950: #0b1930;
  --green-900: #102541;
  --green-700: #1b5a6a;
  --green-600: #2b7480;
  --mint: #e8f0ee;
  --cream: #f7f5f0;
  --gold: #c3a35e;
  --gold-light: #dfc98f;
  --silver: #d7dce2;
  --white: #fff;
  --line: #e1e2df;
  --shadow: 0 18px 46px rgba(12, 25, 48, .10);
  --radius: 8px;
}

html { background: var(--cream); }
body { color: var(--ink); background: var(--cream); font-family: "Be Vietnam Pro", Arial, sans-serif; line-height: 1.75; }
h1, h2, h3, .doc-title, .price, .rating-score, .quote-card blockquote { font-family: "Playfair Display", Georgia, serif; font-weight: 700; letter-spacing: -.025em; }
h1, h2 { color: #102541; line-height: 1.15; }
h1 { font-size: clamp(42px, 5.4vw, 71px); }
h2 { font-size: clamp(32px, 3.5vw, 51px); }
h3 { line-height: 1.3; }
section { scroll-margin-top: 100px; }
.container { width: min(1180px, calc(100% - 48px)); }
.eyebrow { color: #97783c; font-size: 10px; font-weight: 800; letter-spacing: .20em; }
.eyebrow::before { width: 28px; height: 1px; background: var(--gold); }
.section-heading p, .about-copy > p { color: #667085; font-size: 16px; }

/* Header */
.site-header { background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(199,163,94,.35); box-shadow: 0 4px 24px rgba(12,25,48,.045); backdrop-filter: blur(16px); }
.site-header::before { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, transparent 3%, rgba(195,163,94,.78) 28%, rgba(195,163,94,.78) 72%, transparent 97%); }
.nav { min-height: 84px; }
.brand { gap: 13px; }
.brand-mark { width: 47px; height: 47px; }
.brand-text { color: #102541; font-family: "Playfair Display", Georgia, serif; font-size: 23px; letter-spacing: .01em; }
.brand-text small { margin-top: 4px; color: #8a7544; font-family: "Be Vietnam Pro", Arial, sans-serif; font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.nav-links { gap: 12px; }
.nav-links a:not(.btn) { color: #34445c; font-size: 11px; font-weight: 700; letter-spacing: .01em; }
.nav-links a:not(.btn):hover { color: #997b42; }
.menu-toggle { color: var(--green-900); background: #f3ecde; border-radius: 4px; }

/* CTAs */
.btn { min-height: 50px; border-radius: 4px; font-size: 13px; font-weight: 750; letter-spacing: .015em; }
.btn-primary { color: #fff; background: #183e55; box-shadow: 0 10px 24px rgba(20,57,79,.18); }
.btn-primary:hover { background: #28576c; box-shadow: 0 14px 28px rgba(20,57,79,.25); }
.btn-green { color: #fff; background: #1b5362; box-shadow: 0 9px 22px rgba(27,83,98,.16); }
.btn-green:hover { background: #2a6c78; }
.btn-outline { border-color: rgba(223,201,143,.72); background: rgba(255,255,255,.025); }
.btn-outline:hover { background: rgba(195,163,94,.14); }

/* Homepage credibility-first hero */
.hero { min-height: 730px; background: radial-gradient(circle at 74% 18%, rgba(195,163,94,.16), transparent 27%), radial-gradient(circle at 88% 76%, rgba(43,116,128,.18), transparent 24%), linear-gradient(122deg, #09182d 2%, #102943 60%, #183d4f 100%); }
.hero::before, .hero::after { border-color: rgba(223,201,143,.16); }
.hero .eyebrow, .process .eyebrow, .resources .section-heading .eyebrow { color: var(--gold-light); }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--gold-light); }
.hero-lead { color: #d6dce4; font-size: 18px; }
.hero-notes { color: #d2d9e2; }
.check-dot { color: var(--gold-light); background: rgba(195,163,94,.14); }
.visual-orbit { border-color: rgba(223,201,143,.28); }
.document-card { border: 1px solid rgba(195,163,94,.45); border-radius: 6px; box-shadow: 0 32px 70px rgba(0,0,0,.30); }
.doc-badge { color: #81652e; background: #f2ebda; border-radius: 3px; }
.doc-stamp { color: #8d6d32; border-color: #8d6d32; }
.doc-signature { color: #8d6d32; }
.float-card { border: 1px solid rgba(195,163,94,.28); border-radius: 5px; box-shadow: 0 17px 38px rgba(0,0,0,.22); }
.float-icon { color: #80652f; background: #f3ecdf; border-radius: 4px; }
.trust-strip { color: #17233b; background: linear-gradient(90deg, #d8c18b, #c3a35e 55%, #b48d45); }
.trust-label, .trust-stat { font-family: "Be Vietnam Pro", Arial, sans-serif; }
.trust-stat { border-left-color: rgba(23,35,59,.22); }

/* Shared sections and cards */
main > section:first-child:not(.hero) { padding-top: 152px; }
.services, .pricing, .faq { background: #f7f5f0; }
.services, .training, .resources, .about, .process, .pricing, .testimonial, .faq, .contact { padding-block: 120px; }
.service-card, .price-card, .course-card.light { border-color: #e1ddd4; border-radius: 6px; box-shadow: 0 6px 18px rgba(16,37,65,.04); }
.service-card { min-height: 305px; border-top: 3px solid transparent; }
.service-card:hover { border-color: #d3bf8a; border-top-color: #b99957; box-shadow: 0 18px 38px rgba(16,37,65,.11); }
.service-card::after { color: rgba(181,144,70,.075); font-family: "Playfair Display", Georgia, serif; }
.service-icon { color: #80642f; background: #f3ebda; border-radius: 4px; }
.service-card p, .price-desc { color: #697386; }
.text-link { color: #8b6a31; }
.text-link:hover { color: #183e55; }
.training { background: #fff; }
.training-summary { border-left-color: var(--gold); }
.course-card { border-radius: 7px; background: linear-gradient(135deg, #10243e, #1a4758 100%); box-shadow: 0 22px 48px rgba(15,39,62,.16); }
.course-card.light { background: #fbfaf7; }
.course-tag { color: #f0d99b; border-radius: 3px; }
.course-card.light .course-tag { color: #87682f; background: #f3ecda; }
.course-card h3 { color: inherit; }
.course-list li::before { color: var(--gold-light); }
.course-card.light .course-list li::before { color: #957537; }

/* Resources: keep imagery but make it understated */
.resources, .process { background: #0b1930; }
.resources .section-heading p:last-child, .process .section-heading p { color: #c5ceda; }
.resource-card { border-color: rgba(223,201,143,.24); border-radius: 7px; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.resource-icon { color: #112541; background: #dfc98f; border-radius: 4px; }
.resource-head small { color: #e0c88e; }
.resource-list li { border: 1px solid rgba(223,201,143,.12); border-radius: 4px; background: rgba(10,25,48,.36); }
.resource-list li span:last-child, .update-card .source-link { color: #e4cd91; }
.resource-actions .btn { box-shadow: none; }

/* Credibility blocks */
.about { background: #fff; }
.about-panel, .rating-box, .contact-shell { background: linear-gradient(145deg, #0f263f, #183f50); }
.about-panel { border-radius: 7px; }
.quote-mark { color: var(--gold-light); }
.person-avatar { color: #173c50; background: #e8d5a1; }
.experience-badge { color: #17233b; background: #d8c18b; border-color: #fff; border-radius: 50%; }
.benefit-list .check { color: #fff; background: #2a6874; }
.process { background: linear-gradient(135deg, #09182d, #102a3f); }
.step { border-left-color: rgba(223,201,143,.25); }
.step-num { color: #17233b; background: #d8c18b; }
.price-card { background: #fff; }
.price-card.featured { background: linear-gradient(145deg, #102642, #1c4a59); border-color: #1c4a59; box-shadow: 0 22px 48px rgba(12,25,48,.19); }
.popular { color: #17233b; background: #dfc98f; border-radius: 3px; }
.price-label { color: #8c6f36; }
.featured .price-label { color: #e5cf98; }
.price-list li::before { color: #9a7838; }
.featured .price-list li::before { color: #e5cf98; }
.rating-box { border-radius: 7px; }
.stars { color: #dfc98f; }
.quote-card::before { color: #f4ede0; }
.faq-aside .hotline { background: #f3eddf; border-left: 3px solid #c3a35e; border-radius: 4px; }
.faq-question span:last-child { color: #825f25; background: #f4ecdc; }
.contact-shell { border-radius: 8px; }
.contact-copy .eyebrow { color: #e2c98d; }
.contact-item .icon { color: #e5cf98; }
.contact-form { border-radius: 5px; }
.field input, .field select, .field textarea { background: #fcfbf8; border-color: #e3dfd5; border-radius: 4px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #b99957; box-shadow: 0 0 0 3px rgba(195,163,94,.14); }

/* Footer */
.footer { padding-top: 70px; background: #071323; border-top: 3px solid #b99957; }
.footer .brand-text { color: #fff; }
.footer .brand-text small { color: #cbb98c; }
.footer h4 { color: #e7d39e; font-family: "Playfair Display", Georgia, serif; font-size: 16px; }
.footer-links a:hover { color: #e2c98d; }
.back-top { border-radius: 4px; background: #1b5a6a; }

/* Chat Zalo */
.page-zalo .site-header { position: fixed; }
.zalo-connect {
  min-height: calc(100vh - 84px);
  padding: 154px 0 92px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 82% 18%, rgba(195,163,94,.18), transparent 25%), linear-gradient(135deg, #f2ecdf 0, #fbfaf7 52%, #eaf0ed 100%);
}
.zalo-connect::before { content: ""; position: absolute; inset: 84px 0 auto; height: 4px; background: linear-gradient(90deg,#8d6e35,#dec98f 50%,#8d6e35); }
.zalo-connect-grid { display: grid; grid-template-columns: 1fr .78fr; align-items: center; gap: 78px; }
.zalo-connect-copy h1 { max-width: 650px; margin-bottom: 24px; color: #102541; }
.zalo-lead { max-width: 660px; margin-bottom: 30px; color: #606c7e; font-size: 18px; }
.zalo-profile { width: max-content; margin-bottom: 28px; padding: 13px 18px 13px 12px; display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid #ded7c8; box-shadow: 0 10px 25px rgba(12,25,48,.07); }
.zalo-profile-mark { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: #0878e4; border-radius: 50%; font-size: 12px; font-weight: 900; }
.zalo-profile small, .zalo-profile strong { display: block; }
.zalo-profile small { color: #7b8493; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.zalo-profile strong { color: #102541; font-size: 16px; }
.zalo-benefits { margin: 0 0 32px; padding: 0; display: grid; gap: 11px; color: #405069; list-style: none; }
.zalo-benefits li::before { content: "✓"; width: 23px; height: 23px; margin-right: 10px; display: inline-grid; place-items: center; color: #fff; background: #1b5a6a; border-radius: 50%; font-weight: 900; }
.zalo-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.zalo-phone { color: #173149; background: transparent; border-color: #b89a5a; }
.zalo-phone:hover { background: #f0e6d1; }
.zalo-hours { margin: 18px 0 0; color: #778193; font-size: 12px; }
.zalo-qr-panel { padding: 30px; background: #102541; border: 1px solid rgba(195,163,94,.65); border-top: 5px solid #c3a35e; box-shadow: 0 28px 65px rgba(12,25,48,.22); }
.zalo-qr-frame { max-width: 390px; margin: auto; padding: 10px; background: #fff; }
.zalo-qr-frame img { width: 100%; height: auto; display: block; }
.zalo-scan-note { padding-top: 22px; color: #fff; text-align: center; }
.zalo-scan-note strong, .zalo-scan-note span { display: block; }
.zalo-scan-note strong { color: #e5cf98; font-family: "Playfair Display",Georgia,serif; font-size: 20px; }
.zalo-scan-note span { margin-top: 5px; color: #c6d0db; font-size: 12px; }

/* Site-wide Zalo access */
.nav-links { gap: 14px; }
.nav-links a:not(.btn) { font-size: 11px; }
.zalo-float { min-height: 52px !important; padding: 0 17px 0 8px !important; color: #fff !important; background: #0878e4 !important; border: 2px solid #fff !important; box-shadow: 0 15px 36px rgba(8,78,160,.34) !important; }
.zalo-float .zalo-mark { color: #0878e4; background: #fff; }
.zalo-float:hover { transform: translateY(-3px); }

/* Interior pages — explicit premium treatment */
.page-services main > .services,
.page-training main > .training,
.page-resources main > .resources,
.page-about main > .about,
.page-process main > .process,
.page-faq main > .faq,
.page-contact main > .contact {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 84px);
  padding-top: 158px !important;
}
.page-services main > .services::before,
.page-training main > .training::before,
.page-resources main > .resources::before,
.page-about main > .about::before,
.page-process main > .process::before,
.page-faq main > .faq::before,
.page-contact main > .contact::before {
  content: "";
  position: absolute;
  inset: 84px 0 auto;
  height: 4px;
  z-index: -1;
  background: linear-gradient(90deg, #8d6e35, #dec98f 50%, #8d6e35);
}

/* Dịch vụ */
.page-services main > .services { background: linear-gradient(180deg, #f4f0e7 0, #fbfaf7 360px, #f7f5f0 100%) !important; }
.page-services .services .section-heading { max-width: 780px; padding-left: 30px; border-left: 3px solid #c3a35e; }
.page-services .service-grid { gap: 24px; }
.page-services .service-card { min-height: 320px; padding: 36px; background: rgba(255,255,255,.94); }
.page-services .pricing { border-top: 1px solid #ded7c7; background: #efeadd !important; }

/* Đào tạo */
.page-training main > .training { background: linear-gradient(180deg, #f5f1e8 0, #fff 390px) !important; }
.page-training .training-intro { padding-bottom: 38px; border-bottom: 1px solid #d9ccb0; }
.page-training .course-card { min-height: 440px; border: 1px solid rgba(195,163,94,.42); }

/* Thư viện & Phần mềm */
.page-resources main > .resources {
  color: #17233b !important;
  background: linear-gradient(180deg, #eee7d8 0, #f8f6f1 330px, #f1eee7 100%) !important;
}
.page-resources .resources .section-heading { max-width: 820px; }
.page-resources .resources .section-heading h2 { color: #102541 !important; }
.page-resources .resources .section-heading p:last-child { color: #687386 !important; }
.page-resources .resources .section-heading .eyebrow { color: #8d6e35 !important; }
.page-resources .resource-grid { gap: 24px; }
.page-resources .resource-card {
  border: 1px solid rgba(195,163,94,.58) !important;
  border-top: 4px solid #c3a35e !important;
  box-shadow: 0 20px 48px rgba(12,25,48,.16) !important;
}
.page-resources .update-card { border-top-color: #dfc98f !important; }

/* Thư viện độc lập */
.page-library .resource-card { grid-column: 1 / -1; }
.page-library .tax-library { order: -2; }
.page-library .update-card { order: -1; }
.page-library .new-documents-section { margin: 0 0 44px; padding: 32px; color: #17233b; background: linear-gradient(135deg, #f2ead9, #fffdf8 58%, #e9efed); border: 1px solid #d6c7a4; border-top: 4px solid #c3a35e; box-shadow: 0 18px 40px rgba(12,25,48,.10); }
.new-documents-heading { margin: 0 0 23px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.new-documents-heading .eyebrow { margin-bottom: 7px; color: #8d6e35 !important; }
.new-documents-heading h3 { margin: 0; color: #102541; font: 700 29px/1.18 "Playfair Display",Georgia,serif; }
.new-documents-heading p:last-child { max-width: 750px; margin: 9px 0 0; color: #697487; font-size: 13px; }
.new-documents-heading .new-document-badge { min-width: 44px; height: 44px; color: #fff; background: #173e55; font-size: 14px; box-shadow: 0 7px 16px rgba(12,25,48,.14); }
.library-categories-section > .eyebrow { margin-bottom: 8px; color: #8d6e35 !important; }
.library-categories-section > h3 { margin: 0 0 20px; color: #102541; font: 700 27px/1.2 "Playfair Display",Georgia,serif; }
.inline-new-status { margin-bottom: 18px; padding: 24px 26px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; color: #17233b; background: #fff; border: 1px solid #ded7c8; border-left: 5px solid #c3a35e; box-shadow: 0 12px 28px rgba(12,25,48,.07); }
.inline-status-count { min-width: 76px; height: 76px; display: grid; place-items: center; color: #fff; background: #173e55; font: 800 29px/1 "Playfair Display",Georgia,serif; }
.inline-new-status h3 { margin: 0 0 4px; color: #102541; font-size: 21px; }
.inline-new-status p { margin: 0; color: #697487; font-size: 13px; }
.inline-new-list { display: grid; gap: 12px; }
.inline-new-document { padding: 20px 22px; display: grid; grid-template-columns: 155px 1fr auto; align-items: start; gap: 18px; color: #17233b; background: rgba(255,255,255,.97); border: 1px solid #ded8cb; border-top: 3px solid #c3a35e; box-shadow: 0 7px 22px rgba(12,25,48,.055); }
.inline-document-meta span, .inline-document-meta strong { display: block; }
.inline-document-meta span { color: #7a8494; font-size: 11px; }
.inline-document-meta strong { margin-top: 2px; color: #936f30; font-size: 12px; }
.inline-new-document h3 { margin: 0; color: #162946; font: 700 15px/1.45 "Be Vietnam Pro",Arial,sans-serif; }
.inline-new-document p { margin: 7px 0 0; color: #6b7586; font-size: 11px; }
.inline-new-document > a { min-width: 102px; padding: 9px 11px; color: #fff; background: #183e55; text-align: center; font-size: 11px; font-weight: 800; }
.inline-empty { padding: 38px; color: #687386; background: #fff; border: 1px solid #ded8cb; text-align: center; }
.inline-library-link { margin-top: 22px; }
.new-document-badge { min-width: 25px; height: 25px; padding: 0 7px; display: inline-grid; place-items: center; color: #102541; background: #dfc98f; border-radius: 50px; font-size: 10px; font-weight: 900; }
.new-document-badge[hidden] { display: none; }
.tax-group-actions { margin: 0 0 22px; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tax-group-actions a { min-height: 70px; padding: 13px 15px; display: flex; flex-direction: column; justify-content: center; color: #fff; background: rgba(8,20,39,.72); border: 1px solid rgba(223,201,143,.24); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.tax-group-actions a:hover { transform: translateY(-2px); background: rgba(195,163,94,.16); border-color: #dfc98f; }
.tax-group-actions strong, .tax-group-actions span { display: block; }
.tax-group-actions strong { font-size: 13px; }
.tax-group-actions span { margin-top: 2px; color: #d9c58f; font-size: 10px; }
.tax-group-actions .general { grid-column: 1 / -1; min-height: 58px; flex-direction: row; align-items: center; justify-content: space-between; background: rgba(195,163,94,.15); }
.library-all-button { position: relative; z-index: 2; }

/* Phần mềm độc lập */
.page-software main > .software-page {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 84px);
  padding-top: 158px !important;
  color: #17233b !important;
  background: linear-gradient(180deg, #eee7d8 0, #fbfaf7 380px, #f1eee7 100%) !important;
}
.page-software main > .software-page::before {
  content: "";
  position: absolute;
  inset: 84px 0 auto;
  height: 4px;
  z-index: -1;
  background: linear-gradient(90deg, #8d6e35, #dec98f 50%, #8d6e35);
}
.page-software .resources .section-heading { max-width: 820px; }
.page-software .resources .section-heading h2 { color: #102541 !important; }
.page-software .resources .section-heading p:last-child { color: #687386 !important; }
.page-software .resources .section-heading .eyebrow { color: #8d6e35 !important; }
.software-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.software-tool {
  min-height: 530px;
  padding: 38px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255,255,255,.96);
  border: 1px solid #ded7c8;
  border-top: 4px solid #c3a35e;
  box-shadow: 0 18px 42px rgba(12,25,48,.09);
}
.software-tool.featured { color: #fff; background: linear-gradient(145deg, #102541, #1a4a59); border-color: #c3a35e; box-shadow: 0 24px 52px rgba(12,25,48,.20); }
.software-tool .tool-number { position: absolute; right: 22px; top: 10px; color: rgba(195,163,94,.16); font-family: "Playfair Display", Georgia, serif; font-size: 82px; font-weight: 800; line-height: 1; }
.software-icon { width: 58px; height: 58px; margin-bottom: 28px; display: grid; place-items: center; color: #80642f; background: #f2ead9; border-radius: 4px; }
.software-tool.featured .software-icon { color: #102541; background: #dfc98f; }
.software-tool h3 { position: relative; max-width: 270px; color: #102541; font-size: 28px; }
.software-tool.featured h3 { color: #fff; }
.software-tool > p:not(.eyebrow) { color: #687386; font-size: 14px; }
.software-tool.featured > p:not(.eyebrow) { color: #d1dae4; }
.software-tool ul { margin: 20px 0 30px; padding: 20px 0 0; display: grid; gap: 10px; color: #596579; border-top: 1px solid #ded8cc; list-style: none; font-size: 13px; }
.software-tool.featured ul { color: #d2dbe5; border-color: rgba(223,201,143,.25); }
.software-tool li::before { content: "✓"; margin-right: 9px; color: #987637; font-weight: 900; }
.software-tool.featured li::before { color: #dfc98f; }
.software-tool .btn { width: 100%; margin-top: auto; }
.software-tool.featured .btn { color: #17233b; background: #dfc98f; }
.software-note { margin-top: 28px; padding: 25px 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; color: #fff; background: #102541; border-left: 4px solid #c3a35e; }
.software-note strong { font-family: "Playfair Display", Georgia, serif; font-size: 19px; }
.software-note span { color: #cbd4de; font-size: 13px; }
.software-note .text-link { color: #dfc98f; white-space: nowrap; }

/* Về chúng tôi */
.page-about main > .about { background: linear-gradient(135deg, #f6f2e8 0, #fff 48%, #edf1ef 100%) !important; }
.page-about .about-grid { gap: 72px; }
.page-about .about-visual { min-height: 570px; }
.page-about .about-panel {
  inset: 0 26px 26px 0;
  height: 535px;
  padding: 54px;
  border: 1px solid rgba(223,201,143,.52);
  box-shadow: 0 28px 58px rgba(12,25,48,.20);
}
.page-about .about-panel blockquote { color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 31px; }
.page-about .about-copy { padding: 42px 0 42px 42px; border-left: 1px solid #d8c18b; }
.page-about .about-copy h2 { color: #102541; }
.page-about .benefit-list { padding-top: 25px; border-top: 1px solid #ddd6c7; }

/* Quy trình */
.page-process main > .process {
  background: radial-gradient(circle at 88% 20%, rgba(195,163,94,.17), transparent 24%), linear-gradient(135deg, #081629, #102b43 70%, #173f50) !important;
}
.page-process .process .section-heading { max-width: 760px; margin-bottom: 64px; }
.page-process .process .section-heading h2 { color: #fff; }
.page-process .steps { gap: 18px; }
.page-process .step,
.page-process .step:first-child,
.page-process .step:nth-child(3) {
  min-height: 280px;
  padding: 34px !important;
  border: 1px solid rgba(223,201,143,.28) !important;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.page-process .step-num { border-radius: 3px; }
.page-process .step h3 { color: #fff; font-size: 24px; }
.page-process .step p { color: #c9d2dd; }

/* FAQ */
.page-faq main > .faq { background: linear-gradient(180deg, #f2ecdf 0, #faf9f5 390px, #f7f5f0 100%) !important; }
.page-faq .faq-grid { gap: 70px; }
.page-faq .faq-aside { padding: 40px; color: #fff; background: linear-gradient(145deg, #102541, #1a4a59); border-top: 4px solid #c3a35e; box-shadow: 0 22px 48px rgba(12,25,48,.16); }
.page-faq .faq-aside h2 { color: #fff; }
.page-faq .faq-aside > p { color: #d0d8e1; }
.page-faq .faq-aside .hotline { color: #17233b; }
.page-faq .faq-list { padding: 10px 36px; background: #fff; border: 1px solid #e0dbcf; box-shadow: 0 16px 38px rgba(12,25,48,.07); }
.page-faq .faq-question { padding-block: 26px; }

/* Liên hệ */
.page-contact main > .contact { background: linear-gradient(135deg, #f2ecdf 0, #faf9f5 52%, #edf2ef 100%) !important; }
.page-contact .contact-shell { border: 1px solid rgba(195,163,94,.48); border-top: 5px solid #c3a35e; box-shadow: 0 28px 66px rgba(12,25,48,.18); }
.page-contact .contact-copy { padding: 64px; }
.page-contact .contact-form { margin: 20px; padding: 48px; border: 1px solid #e1ddd4; box-shadow: 0 12px 30px rgba(12,25,48,.08); }

/* News — card system matched to the process section */
.page-news main > .news-page, .page-library main > .news-page { min-height: calc(100vh - 84px); padding: 154px 0 96px; color: #fff; background: radial-gradient(circle at 84% 8%, rgba(66,112,132,.24), transparent 26%), linear-gradient(135deg, #07192b, #0d2940 58%, #0b2237); }
.news-hero { max-width: 900px; padding: 0 0 42px; }
.news-hero h1 { margin: 6px 0 18px; color: #fff; font-family: "Playfair Display", Georgia, serif; }
.news-hero > p { max-width: 800px; margin: 0; color: #d7e0e9; font-size: 16px; }
.news-hero .eyebrow, .news-category-heading .eyebrow { color: #dfc98f; }
.news-source-note { margin-top: 20px; padding: 11px 14px; display: inline-block; color: #f1e3bc; background: rgba(223,201,143,.10); border-left: 3px solid #dfc98f; font-size: 12px; }
.news-tools { margin-bottom: 34px; padding: 18px; display: grid; grid-template-columns: 1fr 230px auto; align-items: center; gap: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(223,201,143,.35); }
.news-tools input, .news-tools select { min-height: 46px; padding: 10px 13px; color: #fff; background: rgba(5,20,35,.55); border: 1px solid rgba(223,201,143,.35); font: inherit; }
.news-tools select option { color: #17233b; background: #fff; }
.news-tools input::placeholder { color: #b8c5d2; }
.news-tools span { color: #e3eaf0; font-size: 12px; white-space: nowrap; }
.news-category-sections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: start; }
.news-category-card { min-height: 510px; padding: 34px; display: flex; flex-direction: column; color: #fff; background: rgba(28,57,79,.78); border: 1px solid rgba(223,201,143,.34); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.news-category-card:hover { transform: translateY(-5px); background: rgba(35,70,94,.94); border-color: #dfc98f; }
.news-category-card.finance-news { border-top: 3px solid #6a9ab8; }
.news-category-card.social-insurance-news { border-top: 3px solid #77b69c; }
.news-category-card.supporting-news { border-top: 3px solid #c9a963; }
.news-category-heading { margin-bottom: 20px; padding-bottom: 18px; display: block; border-bottom: 1px solid rgba(223,201,143,.24); }
.news-category-heading .eyebrow { margin: 0 0 10px; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.news-category-heading h2 { margin: 0; color: #fff; font: 700 28px/1.12 "Playfair Display", Georgia, serif; }
.news-category-heading p:not(.eyebrow) { margin: 12px 0 0; color: #c7d3df; font-size: 13px; line-height: 1.65; }
.news-group-count { display: inline-block; margin-top: 16px; padding: 9px 12px; color: #112541; background: #dfc98f; border: 0; border-radius: 4px; font-size: 12px; font-weight: 850; white-space: nowrap; }
.news-category-link { display: inline-block; margin-top: 15px; color: #dfc98f; font-size: 11px; font-weight: 800; }
.news-category-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.news-group-items { display: grid; gap: 10px; }
.news-item { min-height: 0; padding: 0 0 13px; display: block; color: #fff; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: none; }
.news-item:hover { transform: none; background: transparent; border-color: rgba(223,201,143,.6); }
.news-date { display: flex; flex-direction: row; align-items: center; gap: 8px; margin: 0 0 8px; }
.news-date::before { content: attr(data-number); width: 25px; height: 25px; display: grid; place-items: center; color: #102541; background: #dfc98f; border-radius: 3px; font-size: 10px; font-weight: 850; }
.news-date span, .news-date b { display: inline; }
.news-date span { order: 2; color: #bdcad6; font-size: 10px; }
.news-date b { order: 1; color: #ecdcae; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.news-copy { display: block; }
.news-copy h3 { margin: 0; color: #fff; font: 700 16px/1.38 "Be Vietnam Pro", Arial, sans-serif; letter-spacing: -.01em; }
.news-copy p { display: none; }
.news-copy small { display: none; }
.news-source { display: inline-block; width: auto; margin-top: 8px; padding: 0; color: #dfc98f; border: 0; font-size: 10px; font-weight: 800; }
.news-source:hover { color: #fff; }
.news-expand { width: 100%; margin-top: auto; padding: 12px 0 0; color: #fff; background: transparent; border: 0; border-top: 1px solid rgba(223,201,143,.42); font: 800 11px "Be Vietnam Pro", Arial, sans-serif; text-align: left; }
.news-expand:hover { color: #dfc98f; }
.news-empty { padding: 18px 0; color: #d7e0e9; background: transparent; border: 0; text-align: left; font-size: 12px; }


/* Global footer must visibly match the new system */
.page-home .footer, .page-services .footer, .page-training .footer,
.page-resources .footer, .page-about .footer, .page-process .footer,
.page-faq .footer, .page-contact .footer, .page-news .footer, .page-zalo .footer {
  background: linear-gradient(135deg, #06111f, #0b1d31) !important;
}
.footer-grid { padding-bottom: 42px; }
.footer-grid > div { padding-top: 4px; }
.footer h4 { padding-bottom: 10px; border-bottom: 1px solid rgba(223,201,143,.25); }
.footer-bottom { border-top-color: rgba(223,201,143,.20); }

/* Legal library page */
body > header:not(.site-header) { padding-block: 20px; background: #fffdf9; border-bottom: 1px solid rgba(195,163,94,.42); box-shadow: 0 3px 18px rgba(12,25,48,.05); }
body > header:not(.site-header) .brand { font-family: "Playfair Display", Georgia, serif; color: #102541; font-size: 24px; letter-spacing: .02em; }
body > header:not(.site-header) .brand small { color: #8c7040; font-family: "Be Vietnam Pro", Arial, sans-serif; font-size: 8px; }
.back, .source { border-radius: 3px !important; }
.back { background: #1b5362 !important; box-shadow: 0 8px 18px rgba(27,83,98,.16); }
body > .hero { min-height: auto; padding-block: 86px 58px; }
body > .hero h1 { color: #fff; }
body > .hero p { color: #d7dfe7; }
.notice { border-left-color: #dfc98f !important; border-radius: 3px !important; background: rgba(223,201,143,.10) !important; }
body > main.container { padding-top: 46px; }
.toolbar { border-color: #e0dbcf !important; border-radius: 6px !important; box-shadow: 0 12px 30px rgba(12,25,48,.06) !important; }
input, select { border-color: #dfd9cd !important; border-radius: 3px !important; background: #fffefa !important; }
.document { border-color: #e1ddd4 !important; border-radius: 5px !important; box-shadow: 0 5px 18px rgba(12,25,48,.035); }
.document h2 { color: #162946; font-family: "Be Vietnam Pro", Arial, sans-serif; font-size: 15px; letter-spacing: 0; }
.code { color: #936f30 !important; }
.source { background: #183e55 !important; }
.pagination button, .empty { border-color: #e0dbcf !important; border-radius: 3px !important; }
body > footer:not(.footer) { background: #071323; border-top: 3px solid #b99957; }
body > footer:not(.footer) a { color: #e2c98d; }

@media (max-width: 980px) {
  .nav-links { inset: 84px 0 auto; gap: 20px; background: #fffdf9; border-bottom-color: #dccb9c; }
  .nav-links a:not(.btn) { font-size: 13px; }
  .zalo-connect-grid { grid-template-columns: 1fr; gap: 46px; }
  .zalo-connect-copy { max-width: 760px; }
  .zalo-qr-panel { width: min(520px,100%); margin-inline: auto; }
  .price-grid .price-card:last-child { grid-column: 1 / -1; }
  .software-grid { grid-template-columns: 1fr 1fr; }
  .software-tool:last-child { grid-column: 1 / -1; }
  .news-tools { grid-template-columns: 1fr 220px; }
  .news-tools span { grid-column: 1 / -1; }
  .news-category-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-category-card { min-height: 480px; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 30px, 1180px); }
  .zalo-connect { padding: 126px 0 75px; }
  .zalo-connect-grid { gap: 32px; }
  .zalo-connect-copy h1 { font-size: 42px; }
  .zalo-lead { font-size: 16px; }
  .zalo-actions { display: grid; }
  .zalo-actions .btn { width: 100%; }
  .zalo-qr-panel { padding: 18px; }
  main > section:first-child:not(.hero) { padding-top: 126px; }
  .page-services main > .services,
  .page-training main > .training,
  .page-resources main > .resources,
  .page-about main > .about,
  .page-process main > .process,
  .page-faq main > .faq,
  .page-contact main > .contact,
  .page-software main > .software-page { padding-top: 126px !important; }
  .page-news main > .news-page, .page-library main > .news-page { padding: 126px 0 72px; }
  .news-hero { padding-left: 20px; }
  .news-tools { grid-template-columns: 1fr; }
  .news-tools span { grid-column: auto; }
  .news-category-sections { grid-template-columns: 1fr; }
  .news-category-card { min-height: auto; padding: 26px; }
  .news-category-heading { display: block; }
  .news-group-count { display: inline-block; margin-top: 13px; }
  .news-item { grid-template-columns: 1fr; gap: 10px; }
  .news-source { width: max-content; }
  .software-grid { grid-template-columns: 1fr; }
  .software-tool, .software-tool:last-child { min-height: auto; grid-column: auto; }
  .software-note { grid-template-columns: 1fr; }
  .page-about .about-copy { padding: 30px 0 0; border-left: 0; border-top: 1px solid #d8c18b; }
  .page-about .about-panel { padding: 34px; }
  .page-about .about-panel blockquote { font-size: 25px; }
  .page-process .steps { gap: 14px; }
  .page-process .step,
  .page-process .step:first-child,
  .page-process .step:nth-child(3) { min-height: auto; padding: 28px !important; }
  .page-process .step-num { position: static; }
  .page-faq .faq-aside, .page-faq .faq-list { padding: 28px 22px; }
  .page-contact .contact-copy, .page-contact .contact-form { padding: 34px 24px; }
  .services, .training, .resources, .about, .process, .pricing, .testimonial, .faq, .contact { padding-block: 82px; }
  .hero { padding-top: 132px; }
  .hero h1 { font-size: 42px; }
  .resource-actions { grid-template-columns: 1fr; }
  .page-library .new-documents-section { padding: 22px 18px; }
  .new-documents-heading { display: block; }
  .new-documents-heading .new-document-badge { margin-top: 14px; }
  .inline-new-status { grid-template-columns: 1fr; padding: 20px; }
  .inline-status-count { min-width: 62px; width: 62px; height: 62px; }
  .inline-new-document { grid-template-columns: 1fr; gap: 10px; }
  .inline-new-document > a { width: max-content; }
  .tax-group-actions { grid-template-columns: 1fr 1fr; }
  .tax-group-actions .general { grid-column: 1 / -1; }
  .footer-grid { gap: 32px; }
}
