/* Trang dịch vụ khảo sát thị trường ứng viên (Talent Mapping).
   Dùng lại hero tối + thẻ "Phù hợp với" (sv-hero-card), thẻ tình huống (fd-pain),
   ô gợi ý (br-hint), hỏi đáp gập mở (hb-faq), hàng dịch vụ liên quan (cf-links)
   và dải CTA đỏ (sv-cta). Phần riêng của trang này: bảng câu hỏi hai cột, ba cột
   thông tin – kết quả – quy trình, bảng so sánh với headhunter, lưới nhóm vị trí,
   hai thẻ case và khối biểu mẫu cuối trang. */

/* Dòng nhấn màu đỏ trong tiêu đề hero. */
.cnk-landing-page .tm-accent { color: #e97676; }

/* --- hai cột: khái niệm | khi nào cần --- */
.cnk-landing-page .tm-two { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.25fr); gap: 34px; align-items: start; }
.cnk-landing-page .tm-two h2 { margin: 0 0 12px; color: #061d3d; font: 800 1.25rem/1.35 Manrope, sans-serif; }
.cnk-landing-page .tm-two > div > p,
.cnk-landing-page .tm-two > .wp-block-group__inner-container > div > p { color: var(--lp-gray); font-size: 12.5px; line-height: 1.75; }

/* Bảng "doanh nghiệp muốn biết / khảo sát giúp trả lời" */
.cnk-landing-page .tm-table { margin-top: 18px; overflow: hidden; border: 1px solid var(--lp-line); border-radius: 10px; }
.cnk-landing-page .tm-table__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); background: #f2f5f8; }
.cnk-landing-page .tm-table__head span { padding: 12px 16px; color: #061d3d; font-size: 12px; font-weight: 700; }
.cnk-landing-page .tm-table__head span + span { border-left: 1px solid var(--lp-line); }
.cnk-landing-page .tm-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border-top: 1px solid var(--lp-line); background: #fff; }
.cnk-landing-page .tm-row > * { padding: 11px 16px; }
.cnk-landing-page .tm-row > span + span { border-left: 1px solid var(--lp-line); }
.cnk-landing-page .tm-row__q { display: flex; align-items: flex-start; gap: 10px; color: #33455f; font-size: 12px; line-height: 1.55; }
.cnk-landing-page .tm-row__q svg { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 1px; fill: none; stroke: var(--lp-red); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cnk-landing-page .tm-row__a { color: var(--lp-gray); font-size: 12px; line-height: 1.55; }

/* Lưới bảy tình huống nên khảo sát */
.cnk-landing-page .tm-when { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* --- ba cột: thông tin khảo sát | kết quả | quy trình --- */
.cnk-landing-page .tm-trio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.15fr); gap: 26px; align-items: start; }
.cnk-landing-page .tm-trio h2 { margin: 0 0 18px; color: #061d3d; font: 800 1.05rem/1.4 Manrope, sans-serif; }

/* Danh sách thông tin CNK khảo sát */
.cnk-landing-page .tm-info { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 11px; margin-bottom: 14px; }
.cnk-landing-page .tm-info svg { width: 19px; height: 19px; margin-top: 2px; fill: none; stroke: var(--lp-red); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cnk-landing-page .tm-info p { margin: 0; color: var(--lp-gray); font-size: 12px; line-height: 1.6; }
.cnk-landing-page .tm-info strong { color: #061d3d; font-weight: 700; }

/* Thẻ ảnh minh hoạ + danh sách kết quả */
.cnk-landing-page .tm-result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 16px; border: 1px solid var(--lp-line); border-radius: 10px; background: #fff; }
.cnk-landing-page .tm-snapshot__tag { margin: 0 0 10px !important; color: #061d3d; font-size: 10.5px; font-weight: 800; letter-spacing: .07em; }
.cnk-landing-page .tm-snapshot__chart { margin: 0; padding: 12px; border: 1px solid var(--lp-line); border-radius: 6px; background: #f7f9fb; }
.cnk-landing-page .tm-snapshot__chart svg { display: block; width: 100%; height: auto; }
.cnk-landing-page .tm-result ul { margin: 0; padding: 0; list-style: none; }
.cnk-landing-page .tm-result li { position: relative; padding: 7px 0 7px 22px; border-bottom: 1px solid var(--lp-line); color: #33455f; font-size: 11.5px; line-height: 1.5; }
.cnk-landing-page .tm-result li:last-child { border-bottom: 0; }
.cnk-landing-page .tm-result li::before { content: "✓"; position: absolute; left: 0; top: 7px; color: var(--lp-red); font-weight: 800; }

/* Quy trình tám bước */
.cnk-landing-page .tm-step { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; margin-bottom: 14px; }
.cnk-landing-page .tm-step__num { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lp-red); color: #fff; font: 800 10.5px Manrope, sans-serif; }
.cnk-landing-page .tm-step:first-child .tm-step__num { background: #061d3d; }
.cnk-landing-page .tm-step p { margin: 0; color: var(--lp-gray); font-size: 11.5px; line-height: 1.6; }
.cnk-landing-page .tm-step strong { color: #061d3d; font-weight: 700; }

/* --- so sánh với headhunter + nhóm vị trí --- */
.cnk-landing-page .tm-compare-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.cnk-landing-page .tm-compare-row h2 { margin: 0 0 18px; color: #061d3d; font: 800 1.1rem/1.4 Manrope, sans-serif; text-align: center; }
.cnk-landing-page .tm-vs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cnk-landing-page .tm-vs__badge { position: absolute; top: 46px; left: 50%; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; transform: translateX(-50%); border-radius: 50%; background: #061d3d; color: #fff; font: 800 11px Manrope, sans-serif; }
.cnk-landing-page .tm-panel { overflow: hidden; border: 1px solid var(--lp-line); border-radius: 8px; background: #fff; }
.cnk-landing-page .tm-panel__head { padding: 11px 14px; color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.4; text-align: center; }
.cnk-landing-page .tm-panel--map .tm-panel__head { background: var(--lp-red); }
.cnk-landing-page .tm-panel--hunt .tm-panel__head { background: #061d3d; }
.cnk-landing-page .tm-panel ul { margin: 0; padding: 6px 14px 12px; list-style: none; }
.cnk-landing-page .tm-panel li { position: relative; padding: 8px 0 8px 20px; border-bottom: 1px solid var(--lp-line); color: #33455f; font-size: 11.5px; line-height: 1.55; }
.cnk-landing-page .tm-panel li:last-child { border-bottom: 0; }
.cnk-landing-page .tm-panel li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 10px; border: 1px solid var(--lp-line); border-radius: 2px; }

/* Nhóm vị trí phù hợp */
.cnk-landing-page .tm-roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cnk-landing-page .tm-role { padding: 18px 12px; border: 1px solid var(--lp-line); border-radius: 8px; background: #fff; text-align: center; }
.cnk-landing-page .tm-role svg { display: block; width: 26px; height: 26px; margin: 0 auto 10px; fill: none; stroke: var(--lp-red); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cnk-landing-page .tm-role p { margin: 0; color: #061d3d; font-size: 11.5px; font-weight: 600; line-height: 1.45; }
.cnk-landing-page .tm-roles-note { margin: 16px 0 0 !important; padding: 14px 16px; border-radius: 8px; background: #f3f6f8; color: var(--lp-gray); font-size: 11.5px; line-height: 1.7; }

/* --- case ẩn danh + dịch vụ liên quan --- */
.cnk-landing-page .tm-cases-row { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.cnk-landing-page .tm-cases-row h2 { margin: 0 0 18px; color: #061d3d; font: 800 1.05rem/1.4 Manrope, sans-serif; }
.cnk-landing-page .tm-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cnk-landing-page .tm-case { padding: 20px; border: 1px solid var(--lp-line); border-radius: 10px; background: #fff; }
.cnk-landing-page .tm-case__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cnk-landing-page .tm-case__head svg { flex: 0 0 30px; width: 30px; height: 30px; fill: none; stroke: var(--lp-red); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cnk-landing-page .tm-case__tag { margin: 0 !important; color: #061d3d; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.cnk-landing-page .tm-case p { margin: 0 0 10px; color: var(--lp-gray); font-size: 11.5px; line-height: 1.7; }
.cnk-landing-page .tm-case p:last-child { margin-bottom: 0; }
.cnk-landing-page .tm-case strong { color: #061d3d; }

/* --- hàng cuối: hỏi đáp | biểu mẫu | thẻ liên hệ --- */
.cnk-landing-page .tm-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, .9fr); gap: 22px; align-items: start; }
.cnk-landing-page .tm-bottom h2 { margin: 0 0 16px; color: #061d3d; font: 800 1.05rem/1.4 Manrope, sans-serif; }

/* Biểu mẫu gửi yêu cầu khảo sát */
.cnk-landing-page .tm-form { padding: 24px; border: 1px solid var(--lp-line); border-radius: 10px; background: #fff; }
.cnk-landing-page .tm-form__note { margin: -8px 0 18px !important; color: var(--lp-gray); font-size: 12px; line-height: 1.7; }
.cnk-landing-page .tm-form .wpcf7, .cnk-landing-page .tm-form .tm-cf7 { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.cnk-landing-page .tm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.cnk-landing-page .tm-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cnk-landing-page .tm-field--full { grid-column: 1 / -1; }
.cnk-landing-page .tm-field label { color: #33455f; font-size: 11.5px; font-weight: 600; }
.cnk-landing-page .tm-req { color: var(--lp-red); }
.cnk-landing-page .tm-field input[type="text"],
.cnk-landing-page .tm-field input[type="email"],
.cnk-landing-page .tm-field input[type="tel"],
.cnk-landing-page .tm-field select,
.cnk-landing-page .tm-field textarea {
  width: 100%; min-height: 40px; padding: 9px 12px;
  border: 1px solid var(--lp-line); border-radius: 5px; background: #fff;
  color: #14243a; font: inherit; font-size: 12.5px;
}
.cnk-landing-page .tm-field textarea { height: 72px; min-height: 72px; resize: vertical; line-height: 1.6; }
.cnk-landing-page .tm-field input:focus-visible,
.cnk-landing-page .tm-field select:focus-visible,
.cnk-landing-page .tm-field textarea:focus-visible { outline: none; border-color: var(--lp-blue); box-shadow: 0 0 0 3px rgba(44,100,133,.16); }
.cnk-landing-page .tm-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2358595b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; background-size: 15px; padding-right: 32px; }
.cnk-landing-page .tm-consent { margin-top: 16px; }
.cnk-landing-page .tm-consent label { display: flex; align-items: flex-start; gap: 9px; color: var(--lp-gray); font-size: 11.5px; line-height: 1.6; cursor: pointer; }
.cnk-landing-page .tm-consent input[type="checkbox"] { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 2px; accent-color: var(--lp-red); }
.cnk-landing-page .tm-submit, .cnk-landing-page input.tm-submit {
  width: 100%; min-height: 44px; margin-top: 14px; border: 0; border-radius: 5px;
  background: var(--lp-red); color: #fff; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.cnk-landing-page .tm-submit:hover { background: #8d1b1b; }
.cnk-landing-page .tm-submit:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(110,19,19,.28), 0 0 0 5px rgba(255,255,255,.9); }
.cnk-landing-page .tm-form__foot { margin: 12px 0 0 !important; color: #9aa4ae; font-size: 11px; line-height: 1.6; text-align: center; }

/* Thẻ liên hệ nền tối */
.cnk-landing-page .tm-contact { padding: 24px; border-radius: 10px; color: #fff; background: linear-gradient(160deg, #071f3c 0%, #0d2d4e 100%); }
.cnk-landing-page .tm-contact h2 { margin: 0 0 8px; color: #fff; font: 800 1.05rem/1.4 Manrope, sans-serif; }
.cnk-landing-page .tm-contact > p,
.cnk-landing-page .tm-contact > .wp-block-group__inner-container > p { margin: 0 0 16px; color: rgba(255,255,255,.72); font-size: 11.5px; line-height: 1.65; }
.cnk-landing-page .tm-contact__links a { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; color: rgba(255,255,255,.88); font-size: 12px; text-decoration: none; }
.cnk-landing-page .tm-contact__links svg { flex: 0 0 15px; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cnk-landing-page .tm-contact__links a:hover { color: #fff; text-decoration: underline; }
.cnk-landing-page .tm-contact .wp-block-buttons { margin-top: 16px; }
.cnk-landing-page .tm-contact .lp-button--light .wp-block-button__link { width: 100%; border-color: rgba(255,255,255,.5); text-align: center; }
.cnk-landing-page .tm-why { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.cnk-landing-page .tm-why strong { display: block; margin-bottom: 12px; color: #fff; font-size: 12.5px; }
.cnk-landing-page .tm-why ul { margin: 0; padding: 0; list-style: none; }
.cnk-landing-page .tm-why li { position: relative; padding: 6px 0 6px 20px; color: rgba(255,255,255,.78); font-size: 11.5px; line-height: 1.55; }
.cnk-landing-page .tm-why li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: rgba(255,255,255,.62); }

/* --- khổ hẹp --- */
@media (max-width: 1200px) {
  .cnk-landing-page .tm-trio,
  .cnk-landing-page .tm-bottom { grid-template-columns: 1fr 1fr; }
  .cnk-landing-page .tm-trio > *:last-child,
  .cnk-landing-page .tm-contact { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .cnk-landing-page .tm-two,
  .cnk-landing-page .tm-compare-row,
  .cnk-landing-page .tm-cases-row { grid-template-columns: 1fr; }
  .cnk-landing-page .tm-when { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .cnk-landing-page .tm-when,
  .cnk-landing-page .tm-trio,
  .cnk-landing-page .tm-bottom,
  .cnk-landing-page .tm-vs,
  .cnk-landing-page .tm-cases,
  .cnk-landing-page .tm-result,
  .cnk-landing-page .tm-grid { grid-template-columns: 1fr; }
  .cnk-landing-page .tm-roles { grid-template-columns: 1fr 1fr; }
  .cnk-landing-page .tm-vs__badge { display: none; }
  .cnk-landing-page .tm-table__head,
  .cnk-landing-page .tm-row { grid-template-columns: 1fr; }
  .cnk-landing-page .tm-table__head span + span,
  .cnk-landing-page .tm-row > span + span { border-left: 0; border-top: 1px solid var(--lp-line); }
  .cnk-landing-page .tm-form { padding: 20px 16px; }
}
