/*
Theme Name: Cánh Diều Child
Theme URI: https://vesinhcongnghiepcanhdieu.com
Description: Giao diện con của Flatsome cho Vệ Sinh Công Nghiệp Cánh Diều.
Author: Vệ Sinh Công Nghiệp Cánh Diều
Template: flatsome
Version: 2.0.0
Text Domain: canhdieu-child
*/

/* ==========================================================================
   GHI CHÚ CHO NGƯỜI SỬA SAU
   --------------------------------------------------------------------------
   Nội dung các trang được dựng bằng PHẦN TỬ THẬT của Flatsome
   ([title] · [ux_text] · [featured_box] · [ux_image_box] · [ux_image] ·
   [button] · [testimonial]), không phải HTML thô nhét vào ô Text.
   Vì vậy tệp này chỉ TÔ LẠI các phần tử sẵn có, gần như không tự dựng khối mới.

   ⚠ Phiên bản style.css được đánh số theo `filemtime()` trong functions.php —
   đừng đổi lại thành chuỗi cứng, máy chủ đệm tệp tĩnh 7 ngày.
   ⚠ Flatsome tự nạp tệp này lần thứ hai nếu tắt `flatsome_disable_style_css`;
   theme mod đó đang đặt = 1, đừng bật lại.
   ========================================================================== */

:root {
  --cd-primary:      #0F62A8;
  --cd-primary-dark: #0B4478;
  --cd-accent:       #16C79A;
  --cd-accent-dark:  #0FA383;
  --cd-dark:         #0B2E4F;
  --cd-soft:         #F4F8FC;
  --cd-line:         #E3ECF4;
  --cd-text:         #2A3B4C;
}

/* ==========================================================================
   TỔNG THỂ  (số đo khớp web mẫu — xem bản bàn giao mục 6b)
   ========================================================================== */
body { color: var(--cd-text); line-height: 1.65; }

h1, h2, h3, h4, h5, h6 { color: var(--cd-dark); font-weight: 700; line-height: 1.3; }

a       { color: var(--cd-primary); }
a:hover { color: var(--cd-accent-dark); }

b, strong { font-weight: 600; }

/* Flatsome in tóm tắt trang ngay dưới đầu trang — ẩn, vẫn giữ trong CSDL để
   dùng làm mô tả SEO. */
.page-header-excerpt { display: none !important; }

/* Chỉ hiện MỘT logo trên đầu trang sáng. */
.header-main .header-logo-dark { display: none !important; }
.nav-dark .header-logo-dark    { display: block !important; }
.nav-dark .header-logo         { display: none !important; }

/* ==========================================================================
   MENU CHÍNH — khớp web mẫu: 16px / 700 / IN HOA
   ========================================================================== */
.header-nav-main > li > a {
  font-size: 16px;
  font-weight: 700;
  padding-left: 10px;
  padding-right: 10px;
  color: var(--cd-dark);
}

.header-nav-main > li > a:hover,
.header-nav-main > li.current-menu-item > a,
.header-nav-main > li.current-page-ancestor > a { color: var(--cd-primary); }

.header-nav-main > li > a:after {
  content: "";
  display: block;
  height: 3px;
  width: 0;
  margin-top: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cd-primary), var(--cd-accent));
  transition: width .22s ease;
}

.header-nav-main > li:hover > a:after,
.header-nav-main > li.current-menu-item > a:after,
.header-nav-main > li.current-page-ancestor > a:after { width: 100%; }

.nav-dropdown { font-size: 14px; padding: 10px 0; border-radius: 3px; min-width: 250px; }

.nav-dropdown > li > a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cd-text);
  border: none;
  transition: background .16s ease, color .16s ease, padding-left .16s ease;
}

.nav-dropdown > li > a:hover {
  background: var(--cd-soft);
  color: var(--cd-primary);
  padding-left: 21px;
}

/* ==========================================================================
   Ô TÌM KIẾM ĐẦU TRANG — hộp có nút, như mẫu
   ========================================================================== */
.header-search-form .searchform-wrapper { width: 250px; }

.header-search-form .searchform .flex-row {
  border: 1px solid #CCCCCC;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}

.header-search-form .searchform input[type="search"] {
  height: 38px;
  margin: 0;
  padding: 0 12px;
  font-size: 13.5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.header-search-form .searchform input[type="search"]:focus { box-shadow: none; }

/* Flatsome đặt `.form-flat .button.icon{background:transparent!important}`
   nên bắt buộc dùng !important mới tô được nền nút. */
.header-search-form .searchform .submit-button,
.header-search-form .searchform .button.icon {
  height: 38px;
  min-height: 38px;
  width: 46px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--cd-primary) !important;
  color: #fff !important;
  box-shadow: none;
}

.header-search-form .searchform .submit-button:hover,
.header-search-form .searchform .button.icon:hover { background: var(--cd-accent-dark) !important; }

.header-search-form .searchform .submit-button i { font-size: 17px; color: #fff !important; }

.header-search-form .searchform-wrapper:focus-within .flex-row {
  border-color: var(--cd-primary);
  box-shadow: 0 0 0 3px rgba(15, 98, 168, .10);
}

@media (max-width: 849px) { .header-search-form { display: none; } }

/* ==========================================================================
   PHẦN TỬ TITLE  — [title style="center"]
   Flatsome dựng: <div class="section-title-container"><h2 class="section-title
   section-title-center"><b></b><span class="section-title-main">…</span><b></b>
   ========================================================================== */
.section-title-container { margin-bottom: 26px; }

.section-title { border: 0; }

.section-title-center span.section-title-main,
.section-title-normal span.section-title-main {
  font-size: 33px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--cd-dark);
  text-transform: none;
  padding: 0;
  border: 0;
}

/* Hai thanh ngang hai bên của kiểu "center" — đổi thành một gạch gradient
   nằm dưới, giống mẫu thiết kế của site. */
.section-title-center { justify-content: center; }
.section-title-center b { display: none; }

.section-title-center span.section-title-main:after {
  content: "";
  display: block;
  width: 66px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--cd-primary), var(--cd-accent));
}

.section-title-normal span.section-title-main:after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin: 12px 0 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--cd-primary), var(--cd-accent));
}

/* Tiêu đề nhỏ trong cột (h3) không cần gạch chân */
.section-title-normal h3.section-title span.section-title-main:after,
h3.section-title span.section-title-main:after { display: none; }

h3.section-title span.section-title-main { font-size: 21px; }

/* Trên nền tối */
.dark .section-title span.section-title-main { color: #fff; }

/* ==========================================================================
   CHỮ NHỎ DẪN ĐỀ  — [ux_text class="cd-eyebrow"]
   ========================================================================== */
.cd-eyebrow .text-inner,
.cd-eyebrow p,
.cd-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--cd-accent-dark);
  margin-bottom: 6px;
}

.cd-eyebrow-light,
.cd-eyebrow-light p {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #22DCAE;
  margin-bottom: 4px;
}

.cd-lead,
.cd-lead p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #5A6B7C;
}

.cd-muted, .cd-muted p { color: #5A6B7C; }

/* ==========================================================================
   ICON BOX  — [featured_box]
   Flatsome dựng: <div class="icon-box featured-box icon-box-{pos}">
                    <div class="icon-box-img"><div class="icon">…</div></div>
                    <div class="icon-box-text">…</div>
   ========================================================================== */
.icon-box .icon-box-text h5 {
  font-size: 17px;
  font-weight: 700;
  text-transform: none;      /* Flatsome mặc định uppercase — quá nặng ở đây */
  letter-spacing: 0;
  color: var(--cd-dark);
  margin-bottom: 6px;
}

.icon-box .icon-box-text p { font-size: 15.5px; color: #5A6B7C; margin-bottom: 0; }

.icon-box-center .icon-box-img { margin-bottom: 14px; }
.icon-box-left  .icon-box-img  { padding-right: 14px; }
.icon-box-top   .icon-box-img  { margin-bottom: 12px; }

/* Icon Box đứng riêng trong cột thì cho nó cái nền thẻ cho gọn mắt. */
.col-inner > .icon-box.featured-box {
  height: 100%;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--cd-line);
  border-radius: 14px;
  transition: box-shadow .25s ease, transform .25s ease;
}

.col-inner > .icon-box.featured-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 98, 168, .14);
}

/* Icon Box NẰM TRONG Image Box thì không cần nền riêng nữa. */
.box-text .icon-box.featured-box {
  padding: 0;
  background: none;
  border: 0;
}

.box-text .icon-box.featured-box:hover { transform: none; box-shadow: none; }

/* Hàng quy trình 5 bước — cột hẹp nên rút đệm lại. */
.cd-buoc .col-inner > .icon-box.featured-box { padding: 20px 14px; }
.cd-buoc .icon-box .icon-box-text h5 { font-size: 15.5px; }
.cd-buoc .icon-box .icon-box-text p  { font-size: 14px; }

/* ==========================================================================
   IMAGE BOX  — [ux_image_box]
   ========================================================================== */
.box.has-hover .box-image { border-radius: 12px; overflow: hidden; }

.cd-tbox .box-text { padding-top: 18px; }

.box-text .icon-box-img .icon { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   NÚT  — [button]
   ========================================================================== */
.button { font-weight: 600; letter-spacing: .2px; }
.button + .button { margin-left: 8px; }

@media (max-width: 549px) {
  .button + .button { margin-left: 0; }
}

/* ==========================================================================
   CẢM NHẬN KHÁCH HÀNG  — [testimonial]
   ========================================================================== */
.testimonial-box {
  height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--cd-line);
  border-left: 4px solid var(--cd-accent);
  border-radius: 12px;
}

.testimonial-box .testimonial-name { color: var(--cd-primary); font-size: 15px; }
.testimonial-box .testimonial-text { font-size: 15.5px; color: #5A6B7C; }

/* ==========================================================================
   BẢNG GIÁ  — bảng dữ liệu, Flatsome không có phần tử tương đương
   ========================================================================== */
.cd-price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(11, 46, 79, .07);
}

.cd-price-table thead th {
  background: var(--cd-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 12px;
  text-align: left;
  border: none;
}

.cd-price-table thead th.cd-col-price,
.cd-price-table thead th.cd-col-unit { color: #fff; }
.cd-price-table thead th.cd-col-unit { text-align: center; }

.cd-price-table tbody td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--cd-line);
  font-size: 15px;
  vertical-align: middle;
}

.cd-price-table tbody tr:nth-child(even) { background: var(--cd-soft); }
.cd-price-table tbody tr:hover           { background: #EAF3FB; }
.cd-price-table tbody tr:last-child td   { border-bottom: none; }

.cd-price-table .cd-col-stt   { width: 62px;  text-align: center; }
.cd-price-table .cd-col-price { white-space: nowrap; font-weight: 700; color: var(--cd-primary); }
.cd-price-table .cd-col-unit  { width: 130px; text-align: center; }

@media (max-width: 549px) {
  .cd-price-table thead { display: none; }

  .cd-price-table,
  .cd-price-table tbody,
  .cd-price-table tbody tr,
  .cd-price-table tbody td {
    display: block;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .cd-price-table tbody tr { padding: 12px 14px; border-bottom: 1px solid var(--cd-line); }

  .cd-price-table tbody td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
    border: none;
    text-align: right;
  }

  .cd-price-table tbody td:before {
    content: attr(data-nhan);
    flex: 0 0 auto;
    white-space: nowrap;
    font-weight: 700;
    color: var(--cd-dark);
    text-align: left;
  }

  .cd-price-table .cd-col-stt { display: none; }
  .cd-price-table .cd-col-price,
  .cd-price-table .cd-col-unit { white-space: normal; text-align: right; }
}

/* ==========================================================================
   BIỂU MẪU LIÊN HỆ (Contact Form 7)
   ========================================================================== */
.cd-form { max-width: 820px; margin: 0 auto; }

.cd-form-hang { display: flex; gap: 18px; }
.cd-form-hang .cd-form-o { flex: 1 1 0; min-width: 0; }

.cd-form label { display: block; font-weight: 600; font-size: 15px; color: var(--cd-dark); margin-bottom: 0; }
.cd-form .cd-sao { color: #E0483C; }

.cd-form input[type="text"],
.cd-form input[type="tel"],
.cd-form input[type="email"],
.cd-form select,
.cd-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
  font-size: 16px;          /* ⛔ dưới 16px là iOS Safari tự phóng to cả trang */
  color: var(--cd-text);
  background: #fff;
  border: 1px solid var(--cd-line);
  border-radius: 10px;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.cd-form input:focus,
.cd-form select:focus,
.cd-form textarea:focus {
  border-color: var(--cd-primary);
  box-shadow: 0 0 0 3px rgba(15, 98, 168, .12);
  outline: none;
}

/* Flatsome đặt height cố định cho select nên chữ 16px bị cắt đáy. */
.cd-form select {
  height: auto;
  min-height: 48px;
  line-height: 1.5;
  padding-top: 11px;
  padding-bottom: 11px;
  background-position: right 12px center;
}

.cd-form textarea { min-height: 118px; resize: vertical; }

.cd-form .cd-form-gui { text-align: center; margin-top: 22px; }

.cd-form input[type="submit"] {
  min-width: 260px;
  height: 52px;
  padding: 0 34px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #fff;
  background: linear-gradient(120deg, var(--cd-primary), var(--cd-accent-dark));
  border: none;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(15, 98, 168, .28);
  transition: transform .18s ease, box-shadow .18s ease;
}

.cd-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 98, 168, .34);
}

.cd-form .cd-form-ghi-chu { text-align: center; margin-top: 12px; font-size: 15px; color: #5A6B7C; }

.wpcf7 form .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 13px 16px;
  border-width: 2px;
  border-radius: 10px;
  font-size: 15px;
}

.wpcf7 form.sent .wpcf7-response-output   { border-color: var(--cd-accent); background: #EDFBF6; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output  { border-color: #E0483C; background: #FDF0EE; }

.wpcf7-not-valid-tip { font-size: 13.5px; color: #E0483C; margin-top: 5px; }
.wpcf7 .wpcf7-not-valid { border-color: #E0483C !important; }

@media (max-width: 639px) {
  .cd-form-hang { flex-direction: column; gap: 0; }
  .cd-form input[type="submit"] { width: 100%; min-width: 0; }
}

/* ==========================================================================
   CHÂN TRANG
   ========================================================================== */
.footer-1 { padding-top: 46px; padding-bottom: 22px; }

.cd-foot h3 {
  color: #fff;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, .18);
}

.cd-foot p,
.cd-foot li,
.cd-foot a { color: rgba(255, 255, 255, .82); font-size: 15px; }

.cd-foot a:hover  { color: var(--cd-accent); }
.cd-foot ul       { list-style: none; margin: 0; padding: 0; }
.cd-foot ul li    { margin-bottom: 11px; line-height: 1.55; }
.footer-1 .widget { margin-bottom: 0; }

.absolute-footer   { padding: 16px 0; font-size: 14px; }
.absolute-footer a { color: var(--cd-accent); }

/* NÚT GỌI / ZALO CỐ ĐỊNH — xem khối mới ở cuối tệp (26/08/2026) */

/* ==========================================================================
   BÀI VIẾT
   ========================================================================== */
.blog-single .entry-title { font-size: 26px; font-weight: 700; }
.blog-single .entry-content { font-size: 16px; }

.blog-single .entry-content h2 {
  margin-top: 1.6em;
  padding-bottom: .35em;
  border-bottom: 2px solid var(--cd-line);
  font-size: 25px;
}

.blog-single .entry-content h3 { margin-top: 1.4em; font-size: 20px; }
.blog-single .entry-content ul { margin-left: 1.1em; }
.blog-single .entry-content li { margin-bottom: .5em; }

.article-inner .header-meta-info { font-size: 14px; color: #7A8A99; }
.post-item .post-title { font-size: 18px; line-height: 1.4; }

.entry-content img,
.entry-content table { max-width: 100%; height: auto; }

/* ==========================================================================
   ĐIỆN THOẠI
   ========================================================================== */
@media (max-width: 767px) {
  .section-title-center span.section-title-main,
  .section-title-normal span.section-title-main { font-size: 26px; }

  .blog-single .entry-title { font-size: 22px; }

  .absolute-footer { padding-bottom: 86px; }
}

/* ==========================================================================
   VÁ: ICON BOX CÓ LIÊN KẾT
   --------------------------------------------------------------------------
   [featured_box link="…"] được Flatsome bọc trong <a class="plain">, nên
   `.col-inner > .icon-box` không khớp và thẻ mất nền. Nhắm thêm nhánh có <a>.
   ========================================================================== */
.col-inner > a.plain { display: block; height: 100%; }

.col-inner > a.plain > .icon-box.featured-box,
.col-inner > .icon-box.featured-box {
  height: 100%;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--cd-line);
  border-radius: 14px;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.col-inner > a.plain:hover > .icon-box.featured-box,
.col-inner > .icon-box.featured-box:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(15, 98, 168, .14);
}

.col-inner > a.plain > .icon-box .icon-box-text h5 { color: var(--cd-dark); }
.col-inner > a.plain:hover > .icon-box .icon-box-text h5 { color: var(--cd-primary); }

/* Khoảng cách giữa các hàng thẻ */
.row > .col { margin-bottom: 0; }

/* Mô tả dưới tiêu đề mục — bớt khoảng trống thừa */
.cd-lead { margin-top: -8px; margin-bottom: 6px; }
.cd-lead p:last-child { margin-bottom: 0; }
/* ==========================================================================
   ĐỘI NGŨ & THIẾT BỊ  — khối trên trang chủ, icon lớn hơn khối 5 bước
   ========================================================================== */
.cd-doingu .col-inner > .icon-box.featured-box { padding: 30px 26px; }
.cd-doingu .icon-box .icon-box-text h5 { font-size: 18.5px; }
.cd-doingu .icon-box .icon-box-text p  { font-size: 15.5px; }

/* ==========================================================================
   Ô CHỜ ẢNH THẬT  — [ux_text class="cd-cho-anh"]
   Dùng cho "Công trình đã thực hiện" (trang chủ) và "Trước / sau" (trang dịch
   vụ) khi chưa có ảnh thật. Viền đứt + icon máy ảnh vẽ bằng CSS, không cần
   tải ảnh nào lên — đổi sang [ux_image] thật là xong, không phải sửa CSS.
   ========================================================================== */
.cd-cho-anh {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 168px;
  padding: 22px;
  text-align: center;
  background: var(--cd-soft);
  border: 2px dashed rgba(15, 98, 168, .32);
  border-radius: 14px;
  transition: border-color .2s ease, background .2s ease;
}

.cd-cho-anh:hover { border-color: rgba(15, 98, 168, .55); background: #EAF3FB; }

.cd-cho-anh:before {
  content: "";
  width: 34px;
  height: 34px;
  opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F62A8' stroke-width='1.6'%3E%3Cpath d='M4 8h3l1.6-2h6.8L17 8h3a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1Z'/%3E%3Ccircle cx='12' cy='13.5' r='3.6'/%3E%3C/svg%3E") no-repeat center / contain;
}

.cd-cho-anh b {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--cd-dark);
}

.cd-cho-anh span {
  font-size: 12.5px;
  font-weight: 500;
  color: #7A8A99;
}

/* Ô nhỏ hơn khi xếp lưới 3–6 ô (gallery công trình) */
.cd-cho-anh--luoi { min-height: 130px; padding: 16px; }
.cd-cho-anh--luoi:before { width: 28px; height: 28px; }

@media (max-width: 549px) {
  .cd-cho-anh { min-height: 140px; }
}

/* === LƯỚI DỊCH VỤ + HỘP GIỚI THIỆU === */
/* ==========================================================================
   Thẻ dịch vụ dùng [ux_image_box]: ảnh là hình vẽ THUẦN (không chứa chữ),
   tên dịch vụ là <h3> nằm trong phần text của Image Box — hai thành phần
   tách rời, đổi tên dịch vụ không phải vẽ lại ảnh.
   Hộp 'Về Cánh Diều' nằm cùng hàng, cột bên phải.
   ========================================================================== */

/* Bố cục: 3 cột icon + 1 cột giới thiệu cao bằng 2 hàng.
   ⛔ Làm bằng CSS Grid chứ KHÔNG bằng [row] lồng trong [col] — Flatsome làm
   bẹt hàng lồng, cột con văng ra thành anh em (CLAUDE.md 4.12). */
.cd-hang-dv .col-inner { height: 100%; }

@media (min-width: 850px) {
  .cd-hang-dv {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.06fr;
  }
  /* huỷ chiều rộng theo span của Flatsome, để Grid quyết định */
  .cd-hang-dv > .col {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
  }
  /* hộp giới thiệu: cột 4, cao trọn 2 hàng */
  .cd-hang-dv > .cd-hop-gt {
    grid-column: 4;
    grid-row: 1 / span 2;
  }
}

/* --- thẻ dịch vụ --- */
.cd-the-dv {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 10px 12px;
  background: #fff;
  border: 2px solid var(--cd-primary);
  border-radius: 14px;
  transition: box-shadow .25s ease, transform .25s ease, background .25s ease;
}

.cd-the-dv:hover {
  transform: translateY(-4px);
  background: var(--cd-soft);
  box-shadow: 0 14px 30px rgba(15, 98, 168, .16);
}

/* ghìm cỡ icon: image_width của Flatsome là PHẦN TRĂM cột, cột rộng
   thì icon phình theo và thẻ cao vọt lên. max-width mới cho số đo ổn định. */
.cd-the-dv .box-image     { margin: 0 auto; max-width: 132px; }
.cd-the-dv .box-image img { display: block; }
.cd-the-dv .box-text      { padding: 6px 4px 0; }

.cd-the-dv h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--cd-primary);
}

.cd-the-dv:hover h3 { color: var(--cd-accent-dark); }

/* --- hộp giới thiệu bên phải --- */
.cd-hop-gt > .col-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 26px;
  background: #fff;
  border: 2px solid var(--cd-primary);
  border-radius: 14px;
}

.cd-hop-gt .section-title-container { margin-bottom: 15px; }
.cd-hop-gt .section-title-main      { color: var(--cd-accent); font-size: 26px; }
/* bỏ gạch gradient dưới tiêu đề — trong hộp hẹp nhìn rối */
.cd-hop-gt .section-title-center span.section-title-main:after { display: none; }
.cd-hop-gt p        { font-size: 15px; text-align: justify; }
.cd-hop-gt .button  { margin-bottom: 6px; }

@media (max-width: 849px) {
  .cd-hop-gt > .col-inner { margin-top: 18px; }
}

@media (max-width: 549px) {
  .cd-the-dv    { padding: 12px 8px 10px; }
  .cd-the-dv h3 { font-size: 14.5px; }
}

/* ==========================================================================
   BANNER "BẠN ĐANG CẦN TƯ VẤN?"  — [ux_text class="cd-tuvan"]
   Dải màu thương hiệu, hai kênh liên hệ (Zalo/điện thoại) ở bên phải.
   ========================================================================== */
.cd-tuvan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding: 26px 32px;
  background: linear-gradient(120deg, var(--cd-primary), var(--cd-primary-dark));
  border-radius: 16px;
}

.cd-tuvan h4 {
  margin: 0 0 6px;
  font-size: 19px;
  color: #fff;
}

.cd-tuvan p {
  margin: 0;
  max-width: 540px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .82);
}

.cd-tuvan-kenh { display: flex; gap: 26px; flex-wrap: wrap; }

.cd-tuvan-o {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

.cd-tuvan-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease, transform .18s ease;
}

.cd-tuvan-icon svg { width: 22px; height: 22px; }

.cd-tuvan-o:hover .cd-tuvan-icon { background: var(--cd-accent); transform: translateY(-2px); }

.cd-tuvan-o span { font-size: 12.5px; font-weight: 700; color: #fff; }

@media (max-width: 639px) {
  .cd-tuvan { padding: 22px; }
  .cd-tuvan-kenh { width: 100%; justify-content: space-around; }
}

/* ==========================================================================
   TIÊU CHÍ HOẠT ĐỘNG  — thẻ ảnh + huy hiệu tròn
   [ux_text class="cd-tieuchi-the"], ảnh dùng lại ô chờ .cd-cho-anh
   ========================================================================== */
.cd-tieuchi-the {
  text-align: center;
  background: #fff;
  border: 1px solid var(--cd-line);
  border-radius: 16px;
  padding-bottom: 22px;
  height: 100%;
}

.cd-tieuchi-the .cd-cho-anh {
  min-height: 176px;
  margin-bottom: 30px;
  border-radius: 16px 16px 0 0;
}

.cd-tieuchi-badge {
  width: 56px;
  height: 56px;
  margin: -28px auto 12px;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cd-accent), var(--cd-accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(15, 98, 168, .22);
}

.cd-tieuchi-badge svg { width: 26px; height: 26px; }

.cd-tieuchi-the h5 {
  margin: 0 18px 8px;
  font-size: 17px;
  color: var(--cd-dark);
}

.cd-tieuchi-the p {
  margin: 0 20px;
  font-size: 14.5px;
  color: #5A6B7C;
}

/* === THẺ CÔNG TRÌNH ĐÃ THỰC HIỆN === */
/* Ảnh công trình có tỉ lệ khác nhau (ảnh thật, không phải hình vẽ). Ép cùng
   chiều cao + object-fit để lưới không so le. Trước đây việc này làm bằng
   thuộc tính style= nhét thẳng vào thẻ <img> thô; nay ảnh do [ux_image_box]
   sinh ra nên phải tô bằng CSS. */
.cd-the-ct .box-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.cd-the-ct .box-text { padding: 10px 4px 0; }

.cd-the-ct .box-text b {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--cd-dark);
}

@media (max-width: 549px) {
  .cd-the-ct .box-image img { height: 150px; }
  .cd-the-ct .box-text b    { font-size: 14px; }
}

/* Ảnh đội ngũ & thiết bị — ép cùng chiều cao cho hai ô không so le */
.cd-anh-doingu img { width: 100%; height: 240px; object-fit: cover; display: block; }
@media (max-width: 549px) { .cd-anh-doingu img { height: 180px; } }

/* === BỐ CỤC TIÊU CHÍ / QUANH ẢNH / HỖ TRỢ TƯ VẤN === */
/* Ảnh thật trong thẻ tiêu chí — thay ô .cd-cho-anh cũ. Giữ đúng bo góc và
   chiều cao để huy hiệu tròn bên dưới vẫn chồng lên mép ảnh như thiết kế. */
.cd-tieuchi-the .cd-tc-anh {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

@media (max-width: 549px) {
  .cd-tieuchi-the .cd-tc-anh { height: 165px; }
}

/* --- Bố cục: 2 mục | ảnh giữa | 2 mục --- */
.cd-quanh-anh .icon-box { margin-bottom: 22px; }
.cd-quanh-anh .icon-box:last-child { margin-bottom: 0; }
.cd-quanh-anh .icon-box .icon-box-text h5 { font-size: 16px; }
.cd-quanh-anh .icon-box .icon-box-text p  { font-size: 14.5px; }



.cd-anh-giua img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

@media (max-width: 849px) {
  .cd-anh-giua { margin-bottom: 18px; }
  .cd-anh-giua img { max-height: 260px; }
}

/* --- Hộp Hỗ trợ tư vấn bên phải mục Cảm nhận --- */
.cd-hop-hotro > .col-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--cd-line);
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(11, 46, 79, .06);
}

.cd-hop-hotro img { border-radius: 999px; }
.cd-hop-hotro .button { margin-bottom: 8px; }
.cd-hop-hotro .cd-muted p { font-size: 14px; }

/* === KHỐI SỐ LIỆU CÓ ẢNH === */
/* Bốn ô số nay nằm trong cột 7/12 nên mỗi ô span=3 vẫn tự chia 4 cột trong đó.
   Ảnh bên phải ép cùng chiều cao cho khối không bị hụt. */
.cd-anh-solieu img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

@media (max-width: 849px) {
  .cd-anh-solieu img { height: 220px; margin-top: 18px; }
}

/* === 4 MỤC ICON NÉT, CHỮ IN HOA CĂN GIỮA === */
/* Theo ảnh mẫu: icon NÉT VIỀN đặt trên đầu, tiêu đề IN HOA, mô tả căn giữa.
   Khác kiểu icon tròn đặc dùng ở các mục khác — cố ý, chỉ áp trong mục này. */
.cd-quanh-anh .icon-box.featured-box {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  margin-bottom: 34px;
}

.cd-quanh-anh .icon-box.featured-box:hover {
  transform: none;
  box-shadow: none;
  background: none;
}

.cd-quanh-anh .col-inner > .icon-box.featured-box:last-child { margin-bottom: 0; }

.cd-quanh-anh .icon-box-img { margin: 0 auto 12px; }

.cd-quanh-anh .icon-box .icon-box-text h5 {
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: 15.5px;
  text-align: center;
  margin-bottom: 8px;
}

.cd-quanh-anh .icon-box .icon-box-text p {
  text-align: center;
  font-size: 14.5px;
  line-height: 1.7;
}

/* ảnh giữa: để nguyên tỉ lệ ảnh người dùng cung cấp, không cắt */
.cd-anh-giua img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 0;
}

/* === KHUÔN CẢM NHẬN KHÁCH HÀNG === */
/* Hai ô cảm nhận nằm CẠNH NHAU trong cột 8/12.
   ⛔ Không dùng [row] lồng trong [col] (bẫy 4.12) — xếp bằng flex trên col-inner. */
@media (min-width: 850px) {
  .cd-cot-camnhan > .col-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-content: flex-start;
  }
  .cd-cot-camnhan > .col-inner > *            { flex: 0 0 100%; margin-bottom: 0; }
    /* height:100% của .testimonial-box khiến ô co theo nội dung thay vì giãn
     bằng nhau — ép về auto rồi để flex tự cân. */
  .cd-cot-camnhan > .col-inner > .testimonial-box {
    flex: 1 1 calc(50% - 10px);
    height: auto;
    align-self: stretch;
  }
}



.cd-cot-camnhan .testimonial-name    { display: block; }
.cd-cot-camnhan .testimonial-company { font-size: 13.5px; color: #7A8A99; }

/* === VÁ TRÀN 7px THẺ TIÊU CHÍ TRÊN ĐIỆN THOẠI === */
/* h5 và p trong thẻ tiêu chí bị gán width:100% (=353px) RỒI CỘNG THÊM lề
   18–20px mỗi bên → hộp chữ rộng 389px trong thẻ 355px, tràn 7px khỏi màn hình
   375px. Không thấy trên desktop vì thẻ rộng hơn.
   Ép width:auto để lề được trừ vào bề rộng thay vì cộng thêm. */
.cd-tieuchi-the h5,
.cd-tieuchi-the p {
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}

/* === BẢNG GIÁ: KẺ Ô ĐẦY ĐỦ NHƯ MẪU === */
/* Mẫu kẻ ô cả bốn phía; bản cũ chỉ có gạch ngang. Thêm kẻ dọc cho ra dáng
   bảng tra cứu, giữ nguyên màu thương hiệu (xanh dương thay vì xanh lá). */
.cd-price-table { border: 1px solid var(--cd-line); }
.cd-price-table thead th   { border-right: 1px solid rgba(255,255,255,.22); }
.cd-price-table thead th:last-child { border-right: 0; }
.cd-price-table tbody td   { border-right: 1px solid var(--cd-line); }
.cd-price-table tbody td:last-child { border-right: 0; }

@media (max-width: 549px) {
  /* điện thoại chuyển sang dạng thẻ — bỏ kẻ dọc kẻo rối */
  .cd-price-table tbody td { border-right: 0; }
}

/* === BẢNG GIÁ TRÊN ĐIỆN THOẠI: GIỮ DẠNG BẢNG NHƯ MẪU === */
@media (max-width: 549px) {
  .cd-price-table {
    display: table !important;
    width: 100% !important;
    table-layout: fixed;
    box-shadow: none;
  }
  .cd-price-table thead     { display: table-header-group !important; }
  .cd-price-table tbody     { display: table-row-group !important; }
  .cd-price-table tbody tr  { display: table-row !important; padding: 0 !important; }

  .cd-price-table thead th,
  .cd-price-table tbody td {
    display: table-cell !important;
    width: auto !important;
    padding: 8px 5px !important;
    font-size: 12.5px;
    line-height: 1.45;
    text-align: left !important;
    vertical-align: middle;
    white-space: normal !important;
    border-right: 1px solid var(--cd-line) !important;
    border-bottom: 1px solid var(--cd-line) !important;
  }

  .cd-price-table thead th {
    font-size: 11.5px;
    padding: 9px 5px !important;
    border-right-color: rgba(255,255,255,.22) !important;
  }

  /* bỏ nhãn của dạng thẻ */
  .cd-price-table tbody td:before { content: none !important; }

  /* bề rộng từng cột — độ đặc hiệu cao hơn luật chung ở trên */
  .cd-price-table thead th.cd-col-stt,
  .cd-price-table tbody td.cd-col-stt   { width: 30px !important;  text-align: center !important; }
  .cd-price-table thead th.cd-col-price,
  .cd-price-table tbody td.cd-col-price { width: 88px !important; }
  .cd-price-table thead th.cd-col-unit,
  .cd-price-table tbody td.cd-col-unit  { width: 52px !important; text-align: center !important; }

  .cd-price-table thead th:last-child,
  .cd-price-table tbody td:last-child   { border-right: 0 !important; }
}

/* === LƯỚI DỊCH VỤ TRANG GIỚI THIỆU === */
/* Icon trên đầu, tên là h3, mô tả bên dưới — như mẫu. Nét đứt ngăn cột do
   [row style="dashed"] của Flatsome lo, không cần CSS thêm. */
.cd-dv-gt .box-image { margin: 0 auto 4px; max-width: 118px; }
.cd-dv-gt .box-text  { padding: 6px 10px 0; }

.cd-dv-gt h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--cd-primary);
}

.cd-dv-gt:hover h3 { color: var(--cd-accent-dark); }

.cd-dv-gt p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #5A6B7C;
}

.cd-luoi-dv-gt .col { padding-bottom: 26px; }

@media (max-width: 549px) {
  .cd-dv-gt .box-image { max-width: 96px; }
  .cd-dv-gt h3         { font-size: 16px; }
}

/* === TRANG GIỚI THIỆU: 2 CỘT + THANH BÊN === */
/* Bố cục theo mẫu: nội dung 8/12 + thanh bên 4/12.
   ⭐ Hàng lồng bên trong dùng [row_inner]/[col_inner] — thẻ lồng ĐÚNG của
   Flatsome. Dùng [row]/[col] để lồng thì bị làm bẹt (xem 10.3, 12.9). */

/* --- tiêu đề có gạch chân ngắn, như 'CÁC DỊCH VỤ CHÍNH' của mẫu --- */
.cd-tieu-de-gach {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--cd-dark);
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--cd-line);
  position: relative;
}
.cd-tieu-de-gach:after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 132px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cd-primary), var(--cd-accent));
}

/* --- ô dịch vụ: icon trên, tên dưới, không mô tả (như mẫu) --- */
.cd-dv-gt .box-image { margin: 0 auto; max-width: 108px; }
.cd-dv-gt .box-text  { padding: 8px 6px 0; }
.cd-dv-gt h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--cd-text);
}
.cd-dv-gt:hover h4 { color: var(--cd-primary); }
.cd-luoi-dv-gt .col-inner { padding-bottom: 18px; }

/* --- thanh bên --- */
.cd-cot-ben .cd-hop-dau {
  margin: 0;
  padding: 11px 14px;
  background: var(--cd-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  border-radius: 8px 8px 0 0;
}

.cd-cot-ben .cd-tin-ben,
.cd-cot-ben .cd-hop-than {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--cd-line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
}

/* bài viết trong thanh bên: ảnh nhỏ bên trái, tiêu đề bên phải */
.cd-tin-ben .post-item { padding: 0 !important; width: 100% !important; }
.cd-tin-ben .box-blog-post {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--cd-line);
}
.cd-tin-ben .post-item:last-child .box-blog-post { border-bottom: 0; }
.cd-tin-ben .box-image { flex: 0 0 66px; width: 66px !important; }
.cd-tin-ben .box-text  { flex: 1 1 auto; padding: 0 !important; }
.cd-tin-ben .post-title {
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 500;
  margin: 0;
}
.cd-tin-ben .from_the_blog_excerpt,
.cd-tin-ben .post-meta { display: none; }

/* hộp hỗ trợ khách hàng */
.cd-cot-ben .cd-hop-than { text-align: center; }
.cd-cot-ben .cd-hop-sdt {
  display: inline-block;
  margin: 4px 0 2px;
  font-size: 21px;
  font-weight: 700;
  color: var(--cd-primary);
}
.cd-cot-ben .cd-hop-nho { font-size: 13.5px; color: #7A8A99; }
.cd-cot-ben .button { margin: 10px 0 0; }

@media (max-width: 849px) {
  .cd-cot-ben { margin-top: 30px; }
}

/* ─── Hotline / Zalo trong menu (khối topbar_left) ─────────────────────────
   Trước đây số điện thoại bị ghi cứng color:#fff ngay trong nội dung khối,
   nên trong menu mobile (nền trắng) nó trắng trên trắng, không đọc được.
   Nay màu do CSS quyết định theo NGỮ CẢNH: nền sáng thì xanh dương, nền tối
   thì trắng. Đừng đặt lại màu bằng style nội tuyến trong Tuỳ biến. */
.cd-tb-lienhe { font-size: 13.5px; }
.cd-tb-lienhe strong { color: var(--cd-dark); }
.cd-tb-tel {
  color: var(--cd-primary);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: .2px;
}
.cd-tb-tel:hover { color: var(--cd-accent-dark); }

/* trong menu trượt ra ở mobile: tách thành một dòng gọi điện rõ ràng */
#main-menu li.html_topbar_left {
  padding: 14px 20px;
  border-top: 1px solid var(--cd-line);
  background: var(--cd-soft);
}
#main-menu .cd-tb-tel { font-size: 18px; }

/* nếu sau này bật thanh trên cùng nền tối thì chữ tự đổi sang trắng */
.header-top.dark .cd-tb-lienhe strong,
.dark .cd-tb-lienhe strong { color: #fff; }
.header-top.dark .cd-tb-tel,
.dark .cd-tb-tel { color: var(--cd-accent); }
/* ─── Dải tiêu đề trang + ảnh banner đầu bài (trang Giới thiệu) ───────────
   Bố cục theo mẫu: dải tiêu đề nhạt mang <h1> → ảnh banner trong khung
   container → nội dung 2 cột. Ảnh banner đã có sẵn text và thương hiệu nên
   ĐỪNG phủ chữ lên nó; để nó đứng riêng một mình. */
.cd-tieu-de-trang h1 {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: var(--cd-dark);
}
.cd-banner-bai .col { padding-bottom: 0; }
.cd-banner-bai .img { margin-bottom: 0; }
.cd-banner-bai img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
/* ─── Chú thích dưới ảnh thật trong bài dịch vụ ──────────────────────────
   Theo mẫu: chữ nhỏ, in nghiêng, canh giữa, ngay dưới ảnh. Chỉ dùng cho
   ẢNH CHỤP THẬT — ảnh minh hoạ SVG không cần chú thích. */
.cd-chu-thich-anh {
  margin: -4px 0 0;
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
  color: #6C7C8C;
}
/* ─── Bố cục bài dịch vụ, dựng theo mẫu (25/08/2026) ─────────────────────
   Thứ tự khối: banner → h2 + mở đầu + ẢNH LỚN có chú thích → 4 lý do đánh
   số → "Các hạng mục" hai hàng ảnh xen kẽ → bảng giá → hỏi đáp → cam kết
   → kết bài → kêu gọi hành động. */

/* ảnh lớn đầu bài: chặn chiều cao, nếu không ảnh dọc 1050×1400 sẽ cao
   hơn 1500px và đẩy toàn bộ nội dung xuống dưới màn hình */
.cd-anh-bai img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 12px;
}
@media (max-width: 549px) { .cd-anh-bai img { max-height: 320px; } }

/* bốn lý do đánh số */
.cd-ly-do h3 {
  margin: 20px 0 6px;
  font-size: 17px;
  line-height: 1.4;
  color: var(--cd-primary);
}
.cd-ly-do h3:first-child { margin-top: 6px; }
.cd-ly-do p { margin: 0; }

/* tiêu đề hạng mục — dải nền bo góc, theo mẫu */
.cd-muc-tieu-de {
  display: inline-block;
  margin: 0 0 10px;
  padding: 7px 15px;
  border-radius: 7px;
  background: var(--cd-accent);
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
}
.cd-muc-tieu-de.cd-muc-xanh { background: var(--cd-primary); }
.cd-muc-tieu-de + .ux-text ul,
.cd-muc-tieu-de + p + ul { margin-top: 0; }

/* quy trình xếp dọc trong cột */
.cd-quy-trinh-doc p { margin: 0 0 9px; font-size: 14.6px; line-height: 1.6; }
.cd-quy-trinh-doc b { color: var(--cd-primary); }

/* cam kết: danh sách gạch đầu dòng thay cho bốn ô */
.cd-cam-ket-ds ul { margin: 0; padding-left: 20px; }
.cd-cam-ket-ds li { margin-bottom: 9px; line-height: 1.65; }
.cd-cam-ket-ds strong { color: var(--cd-dark); }

/* kết bài */
.cd-ket-bai h3 { margin: 0 0 8px; font-size: 18px; color: var(--cd-dark); }

/* hàng hai cột của "Các hạng mục": trên mobile ảnh xuống dưới cho gọn */
@media (max-width: 849px) {
  .cd-muc-tieu-de { font-size: 15px; }
}
/* ─── Top bar trên cùng: tên web + địa chỉ + SĐT (26/08/2026) ────────────
   ⚠ Nền top bar thật sự là NỀN XANH DƯƠNG (--cd-primary), không phải màu
   #0B2E4F đã đặt trong Tuỳ biến — Flatsome tự áp class "nav-dark" đè lên.
   Vì vậy KHÔNG dựa vào selector ".dark" (đã dùng cho menu mobile) — class
   thật ở đây là "nav-dark", và trùng lặp chọn lọc là cách chắc ăn nhất
   luôn thắng bất kể Flatsome đặt tên class dark thế nào. */
.header-top .cd-tb-ten {
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .2px;
}
.header-top .cd-tb-diachi {
  color: rgba(255,255,255,0.92);
  font-size: 13px;
}
.header-top .cd-tb-ngan {
  color: rgba(255,255,255,0.4);
  margin: 0 10px;
}
.header-top .cd-tb-lienhe { font-size: 13px; }
.header-top .cd-tb-tel {
  color: #fff !important;
  font-weight: 700;
  letter-spacing: .2px;
}
.header-top .cd-tb-tel:hover { color: var(--cd-accent) !important; }
.header-top svg { opacity: .85; }

/* màn hình vừa: bớt phần địa chỉ, chỉ giữ SĐT cho khỏi chật */
@media (max-width: 900px) {
  .header-top .cd-tb-diachi,
  .header-top .cd-tb-ngan { display: none; }
}
/* điện thoại: ẩn cả top bar — đã có nút Gọi ngay/Zalo nổi + trong menu */
@media (max-width: 549px) {
  .header-top { display: none !important; }
}
/* ─── Đồng đều cỡ chữ trong top bar (26/08/2026) ──────────────────────────
   ⚠ .cd-tb-tel trước đó kế thừa font-size 15.5px/700 từ rule dùng cho menu
   mobile (mục 13), trong khi .cd-tb-ten là 13.5px/600 và .cd-tb-diachi là
   13px/400 — ba cỡ chữ khác nhau trên cùng một dòng. Ép về MỘT cỡ, chỉ giữ
   khác biệt ở ĐỘ ĐẬM để mắt vẫn phân biệt được tên/địa chỉ/SĐT mà không lệch
   dòng. Scope theo .header-top để không đụng cỡ chữ 18px đã đặt riêng cho
   dòng SĐT trong menu mobile (#main-menu .cd-tb-tel). */
.header-top .cd-tb-ten,
.header-top .cd-tb-diachi,
.header-top .cd-tb-lienhe,
.header-top .cd-tb-tel {
  font-size: 13px;
  line-height: 33px;
  letter-spacing: .15px;
}
.header-top .cd-tb-ten  { font-weight: 600; }
.header-top .cd-tb-diachi { font-weight: 400; }
.header-top .cd-tb-tel  { font-weight: 700; }

/* ==========================================================================
   NÚT GỌI / ZALO CỐ ĐỊNH — nút tròn, vòng rung + icon lắc (26/08/2026)
   -------------------------------------------------------------------------
   Đối chiếu vesinhcongnghiepphatdat.com: họ dùng plugin "Easy Live Chat
   Express" (yivic-easy-live-chat-express/assets/dist/css/elce-style.css).
   Cấu trúc mỗi nút = 3 lớp chồng: VÒNG RUNG (giãn ra rồi mờ dần, lặp lại) +
   VÒNG TRÒN ĐẶC chứa icon (tự lắc qua lại) + với riêng nút gọi có thêm DẢI
   SỐ bung ra bên trái. Dựng lại bằng CSS thuần, không tải plugin ngoài.
   ========================================================================== */
.cd-hotline-fixed {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.cd-hotline-fixed .cd-hf {
  position: relative;
  width: 54px;
  height: 54px;
  display: block;
}

/* vòng tròn đặc chứa icon — tự LẮC qua lại như chuông rung */
.cd-hf-circle {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(11, 46, 79, .32);
  animation: cdLac 1.1s ease-in-out infinite;
  transform-origin: 50% 50%;
}

.cd-hf-zalo .cd-hf-circle { background: #2196F3; }
.cd-hf-call .cd-hf-circle { background: #E0483C; }

/* vòng ngoài — RUNG lan toả rồi mờ dần, lặp vô hạn */
.cd-hf-ring {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  animation: cdRung 1.7s ease-out infinite;
}

.cd-hf-zalo .cd-hf-ring { background: rgba(33, 150, 243, .55); }
.cd-hf-call .cd-hf-ring { background: rgba(224, 72, 60, .55); }

/* dải số điện thoại bung ra bên trái nút gọi — luôn hiện, như bản mẫu */
.cd-hf-pill {
  position: absolute;
  z-index: 1;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: -22px;
  padding: 9px 30px 9px 16px;
  background: #E0483C;
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .2px;
  white-space: nowrap;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(11, 46, 79, .28);
}

@keyframes cdRung {
  0%   { transform: scale(.85); opacity: .85; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

@keyframes cdLac {
  0%, 46%, 100% { transform: rotate(0); }
  6%  { transform: rotate(-17deg); }
  12% { transform: rotate(15deg); }
  18% { transform: rotate(-13deg); }
  24% { transform: rotate(11deg); }
  30% { transform: rotate(-7deg); }
  36% { transform: rotate(5deg); }
  41% { transform: rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .cd-hf-ring   { animation: none; opacity: 0; }
  .cd-hf-circle { animation: none; }
}

@media (max-width: 549px) {
  .cd-hotline-fixed { right: 12px; bottom: 12px; gap: 12px; }
  .cd-hotline-fixed .cd-hf,
  .cd-hf-circle { width: 48px; height: 48px; }
  .cd-hf-circle svg { width: 19px; height: 19px; }
  .cd-hf-pill { font-size: 13px; padding: 7px 26px 7px 13px; margin-right: -18px; }
  .absolute-footer { padding-bottom: 86px; }
}
/* ─── Chữ "Zalo" trong nút tròn (26/08/2026) ─────────────────────────────
   Icon bong bóng chat trước đó quá trừu tượng, người dùng không nhận ra
   đây là nút Zalo. Đổi sang CHỮ TRẮNG ĐẬM — rõ ràng tuyệt đối, không mập mờ,
   và tránh vẽ giống logo Zalo thật (có bản quyền/nhãn hiệu). */
.cd-hf-zalo-chu {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -.2px;
  line-height: 1;
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
}

@media (max-width: 549px) {
  .cd-hf-zalo-chu { font-size: 11px; }
}
/* ─── Bỏ ảnh header ở đầu bài viết (26/08/2026) ──────────────────────────
   Flatsome tự chèn ảnh đại diện thành banner lớn ngay dưới tiêu đề bài, ở
   khối <header class="entry-header"><div class="entry-image">…</div></header>.
   Người dùng không muốn khối này. Chỉ tồn tại ở TRANG CHI TIẾT bài viết —
   đã kiểm chứng .entry-image KHÔNG xuất hiện ở lưới /tin-tuc/ (trang đó dùng
   .post-item .box-image, tên lớp khác hẳn) nên ẩn ở đây không đụng gì tới
   ảnh thu nhỏ trong danh sách. */
.entry-header .entry-image { display: none !important; }
/* ─── Bỏ banner ảnh ở đầu trang /tin-tuc/ (26/08/2026) ───────────────────
   Đây là theme mod riêng của Flatsome cho trang danh sách blog (`blog_header`,
   Tuỳ biến → Blog), khác hẳn khối .entry-image đã ẩn ở bài viết chi tiết —
   hai theme mod độc lập, phải ẩn riêng từng cái.
   ⚠ ĐÃ KIỂM: trang chuyên mục (vd /chuyen-muc/chon-dich-vu/) dùng
   <header class="archive-page-header"> — CHỈ CÓ CHỮ, không có ảnh — nên
   không đụng tới, đúng nghĩa "ảnh header" người dùng yêu cầu bỏ. */
.blog-header-wrapper { display: none !important; }
/* ─── Phụ đề dưới h1 trong dải tiêu đề trang (26/08/2026) ────────────────
   Dùng chung khuôn .cd-tieu-de-trang đã có từ trang Giới thiệu (mục 14),
   thêm riêng .cd-tieu-de-phu cho câu mô tả ngắn phía dưới. */
.cd-tieu-de-phu {
  font-size: 15.5px;
  color: #5A6B7C;
  max-width: 640px;
}