/* ===== Bo sung cho phan blog / trang cong khai ===== */

.active { text-decoration: underline; text-underline-offset: 6px; }

/* Meta bai viet */
.post-meta { color: #6b7280; font-size: 0.9rem; margin: 0.2rem 0 0.8rem; }
.post-cat {
  display: inline-block; background: #eef5fb; color: #235789;
  padding: 2px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 700;
}

/* Danh sach bai viet */
.news article img { border-radius: 8px; }

/* Trang chi tiet bai viet */
.post-full { max-width: 820px; }
.breadcrumb { font-size: 0.85rem; color: #6b7280; margin-bottom: 0.5rem; }
.post-title { margin: 0.2rem 0 0.4rem; line-height: 1.25; }
.post-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 10px; margin: 1rem 0 1.5rem; }
.post-content { font-size: 1.06rem; line-height: 1.85; color: #2b2b2e; }
.post-content h2 { margin-top: 1.8rem; color: #235789; }
.post-content h3 { margin-top: 1.4rem; color: #232325; }
.post-content p { margin: 0.9rem 0; }
.post-content ul, .post-content ol { margin: 0.9rem 0 0.9rem 1.4rem; }
.post-content li { margin: 0.4rem 0; }
.post-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; }
.post-content a { color: #235789; text-decoration: underline; }
.post-content blockquote {
  border-left: 4px solid #23ce6b; background: #f4faf6; margin: 1.2rem 0;
  padding: 0.6rem 1.2rem; color: #33413a; border-radius: 0 8px 8px 0;
}
.post-content pre {
  background: #232325; color: #f4f6f8; padding: 1rem; border-radius: 8px;
  overflow-x: auto; font-size: 0.9rem;
}
.post-content code { background: #eef1f4; padding: 2px 6px; border-radius: 4px; font-size: 0.92em; }
.post-content pre code { background: none; padding: 0; }
.post-cta { margin-top: 2rem; }

/* Phan trang */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 2.5rem 0 1rem; flex-wrap: wrap;
}
.page-info { color: #6b7280; font-weight: 700; }
.page-link { min-width: 90px; text-align: center; }

/* Bang thong bao thanh cong / 404 */
.success-panel { text-align: center; padding: 1rem 0 2rem; }
.success-icon { font-size: 3.4rem; color: #23ce6b; margin-bottom: 0.4rem; }
.success-panel h2 { margin: 0.3rem 0; }
.success-panel .btn { margin: 0.4rem 0.3rem 0; }

/* Nhan dia chi (tru so / chi nhanh) */
.addr-label { font-weight: 700; }

/* Truong honeypot chong spam */
.hidden-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ===== Nut lien he noi (Zalo + Goi) ===== */
.float-contact {
  position: fixed; right: 16px; bottom: 16px; z-index: 900;
  display: flex; flex-direction: column; gap: 10px;
}
.fc-btn {
  display: flex; align-items: center; gap: 8px; text-decoration: none;
  background: #235789; color: #fff; border-radius: 30px; padding: 10px 16px 10px 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22); font-weight: 700; font-size: 0.92rem;
  transition: transform 0.12s, box-shadow 0.12s;
}
.fc-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.28); }
.fc-btn .fc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.22);
  font-size: 0.8rem; font-weight: 800;
}
.fc-zalo { background: #0068ff; }
.fc-call { background: #23ce6b; }
@keyframes fc-ring { 0%,100% { transform: rotate(0); } 20%,60% { transform: rotate(-12deg); } 40%,80% { transform: rotate(12deg); } }
.fc-call .fc-icon i { animation: fc-ring 1.6s ease-in-out infinite; }
@media (max-width: 600px) {
  .fc-btn .fc-label { display: none; }
  .fc-btn { padding: 10px; border-radius: 50%; }
  .fc-btn .fc-icon { margin: 0; }
}

/* ===== Bang gia ===== */
.pricing .content-wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 0 auto; padding: 1rem 20px 2rem;
}
.price-card {
  position: relative; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 1.8rem 1.5rem; text-align: center; box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  display: flex; flex-direction: column;
}
.price-card.featured { border: 2px solid #235789; box-shadow: 0 12px 30px rgba(35,87,137,0.18); }
.price-card h3 { color: #235789; margin: 0 0 0.6rem; font-size: 1.3rem; }
.price-card .price { font-size: 1.25rem; color: #232325; margin: 0.2rem 0; }
.price-card .price strong { font-size: 1.9rem; color: #23ce6b; }
.price-card .price span { color: #6b7280; font-size: 0.9rem; }
.price-card .price-sub { color: #6b7280; font-size: 0.9rem; margin-bottom: 1rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.4rem; text-align: left; flex: 1; }
.price-card li { padding: 0.45rem 0; border-bottom: 1px dashed #eef1f4; }
.price-card li i { color: #23ce6b; margin-right: 8px; }
.price-card .btn { align-self: center; }
.ribbon {
  position: absolute; top: 14px; right: -6px; background: #c1292e; color: #fff;
  font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 4px 0 0 4px;
}
.price-note { background: #eef5fb; border-radius: 10px; padding: 1rem 1.3rem; }
.price-note p { color: #23324a; margin: 0; }
.price-note i { color: #235789; }
.price-note a { color: #235789; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 1.5rem auto 0; }
.faq-item { border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 0.8rem; overflow: hidden; background: #fff; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1rem 1.2rem; font-size: 1.02rem; font-weight: 700; color: #232325;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: inherit;
}
.faq-q i { color: #235789; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; }
.faq-item.open .faq-a { display: block; }
.faq-a p { margin: 0; padding: 0.2rem 1.2rem 1.1rem; color: #46474b; line-height: 1.7; }

/* ===== Chuan hoa doanh nghiep: quy trinh trien khai ===== */
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem; margin-top: 1.2rem;
}
.step {
  position: relative; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 1.5rem 1.2rem 1.2rem; box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: #235789; color: #fff;
  font-weight: 800; font-size: 1.2rem; margin-bottom: 0.6rem;
}
.step h3 { color: #235789; margin: 0.2rem 0 0.4rem; font-size: 1.1rem; }
.step p { margin: 0; color: #46474b; }

/* ===== Danh muc bieu mau ===== */
.form-catalog {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem; max-width: 1000px; margin: 0 auto;
}
.form-group {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.3rem 1.4rem;
  text-align: left; color: #2b2b2e;
}
.form-group h3 { color: #235789; margin: 0 0 0.7rem; font-size: 1.1rem; }
.form-group h3 i { margin-right: 8px; }
.form-group ul { list-style: none; padding: 0; margin: 0; }
.form-group li { padding: 0.4rem 0 0.4rem 1.4rem; position: relative; border-bottom: 1px dashed #eef1f4; }
.form-group li:last-child { border-bottom: 0; }
.form-group li::before { content: "\f0f6"; font-family: "Font Awesome 5 Free"; font-weight: 900; color: #23ce6b; position: absolute; left: 0; font-size: 0.85rem; }
.catalog-note { max-width: 1000px; margin: 1.3rem auto 0; background: #eef5fb; border-radius: 10px; padding: 0.9rem 1.2rem; color: #23324a; }
.catalog-note a { color: #235789; }
.catalog-note i { color: #235789; margin-right: 6px; }

/* ===== Tai bieu mau (download) ===== */
.download-groups {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem; max-width: 1000px; margin: 0 auto;
}
.download-group { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.2rem 1.3rem; text-align: left; }
.download-group h3 { color: #235789; margin: 0 0 0.8rem; font-size: 1.08rem; }
.download-group ul { list-style: none; padding: 0; margin: 0; }
.download-group li { margin-bottom: 0.5rem; }
.download-group li a {
  display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: #232325;
  padding: 0.6rem 0.7rem; border: 1px solid #eef1f4; border-radius: 8px; transition: background 0.12s, border-color 0.12s;
}
.download-group li a:hover { background: #eef5fb; border-color: #235789; }
.download-group li a > .fa-file, .download-group li a > .fa-file-pdf, .download-group li a > .fa-file-word,
.download-group li a > .fa-file-excel, .download-group li a > .fa-file-powerpoint, .download-group li a > .fa-file-archive {
  font-size: 1.3rem; color: #235789; flex-shrink: 0;
}
.download-group .doc-title { flex: 1; font-weight: 600; }
.download-group .doc-meta { color: #6b7280; font-size: 0.8rem; white-space: nowrap; }

/* ===== Danh sach loi ich ===== */
.benefit-list { list-style: none; padding: 0; margin: 1rem 0 0; max-width: 760px; }
.benefit-list li { padding: 0.5rem 0; font-size: 1.05rem; }
.benefit-list li i { color: #23ce6b; margin-right: 10px; }

/* ===== Ban do nhung ===== */
.map-section { padding-bottom: 2.5rem; }
.map-embed {
  position: relative; width: 100%; padding-bottom: 42%; margin: 1rem 0;
  border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; min-height: 260px;
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .map-embed { padding-bottom: 70%; } }
