/*
 * DHTD Child — about.css (Task 15, 05/09/2026)
 * CSS riêng cho Page "Giới thiệu" (/gioi-thieu/) — chỉ enqueue trên chính
 * Page này (is_page('gioi-thieu'), xem inc/enqueue.php). Dùng lại token màu
 * (brand-colors.css) và utility dùng chung (.dhtd-container/.dhtd-eyebrow/
 * .dhtd-section-title/.dhtd-section-head/.dhtd-btn*/.dhtd-bg-light — tất cả
 * đã có sẵn trong main.css, KHÔNG định nghĩa lại ở đây) — chỉ bổ sung phần
 * chưa có: modifier căn giữa cho section-head, biến thể chữ trên nền Navy,
 * breadcrumb (bản sao rút gọn từ catalog.css vì trang này không tải
 * catalog.css), và toàn bộ layout riêng của từng section trang Giới thiệu.
 *
 * Không sửa home.css/catalog.css/main.css — mọi thứ trang này cần đều nằm
 * trong file riêng này để không có rủi ro ảnh hưởng trang khác.
 */

/* ---------------------------------- Section head modifiers (bổ sung, không có sẵn trong main.css) ---------------------------------- */
.dhtd-section-head--center {
  text-align: center;
  margin-inline: auto;
}
.dhtd-section-title--on-navy {
  color: var(--dhtd-white);
}

/* ---------------------------------- Breadcrumb (bản sao rút gọn từ catalog.css — trang này không tải catalog.css) ---------------------------------- */
.dhtd-crumb {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dhtd-muted);
  padding: 22px 0 0;
}
.dhtd-crumb a { color: var(--dhtd-muted); text-decoration: none; }
.dhtd-crumb a:hover { color: var(--dhtd-sky); }
.dhtd-crumb .sep { margin: 0 6px; opacity: .5; }
.dhtd-crumb .current { color: var(--dhtd-text); }

/* ==================================================================
 * 2. Hero
 * ================================================================== */
.dhtd-about-hero {
  /* Task 54 (11/09/2026): bottom 96px + Journey top 88px cộng dồn 184px —
     khoảng trắng lớn nhất bị flag trong ticket, giảm theo token chuẩn hóa. */
  padding: 28px 0 var(--dhtd-hero-space);
  background: var(--dhtd-white);
  overflow: hidden;
}
.dhtd-about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 48px;
  align-items: center;
}
.dhtd-about-hero__title {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.18;
  color: var(--dhtd-navy);
  margin: 0 0 20px;
  max-width: 16ch;
}
.dhtd-about-hero__desc {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--dhtd-text);
  max-width: 46ch;
  margin: 0 0 28px;
}
.dhtd-about-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.dhtd-about-hero__art {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  /* Đường cắt chéo bên trái, giống mockup — clip-path thay vì ảnh cắt sẵn. */
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
}
.dhtd-about-hero__art-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
@media (max-width: 860px) {
  .dhtd-about-hero__grid { grid-template-columns: 1fr; }
  .dhtd-about-hero__content { order: 1; }
  .dhtd-about-hero__art {
    order: 2;
    margin-top: 8px;
    clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
  }
}
@media (max-width: 480px) {
  .dhtd-about-hero__title { max-width: none; }
}

/* ==================================================================
 * 3. Hành trình phát triển
 * ================================================================== */
.dhtd-about-journey { padding: var(--dhtd-section-space) 0; background: var(--dhtd-white); } /* Task 54: 88px→chuẩn */
.dhtd-about-journey__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: start;
}
.dhtd-about-journey__content p {
  color: var(--dhtd-text);
  line-height: 1.7;
  margin: 0 0 20px;
}
.dhtd-about-journey__content p:last-child { margin-bottom: 0; }
.dhtd-about-journey__media { display: flex; flex-direction: column; gap: 0; }
.dhtd-about-journey__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  display: block;
}
.dhtd-about-milestone {
  position: relative;
  background: var(--dhtd-light-bg);
  border: 1px solid var(--dhtd-border);
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 26px 28px 28px 44px;
}
.dhtd-about-milestone__dot {
  position: absolute;
  left: 20px;
  top: 30px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dhtd-gold);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.18);
}
.dhtd-about-milestone__year {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dhtd-navy);
  line-height: 1;
  margin-bottom: 10px;
}
.dhtd-about-milestone__title { font-size: 1.0625rem; color: var(--dhtd-navy); margin: 0 0 6px; }
.dhtd-about-milestone__desc { font-size: 0.9375rem; color: var(--dhtd-muted); line-height: 1.6; margin: 0; }
@media (max-width: 860px) {
  .dhtd-about-journey__grid { grid-template-columns: 1fr; }
  .dhtd-about-journey__content { order: 1; }
  .dhtd-about-journey__media { order: 2; margin-top: 36px; }
}

/* ==================================================================
 * 4. Từ thiết bị đến giải pháp toàn diện
 * ================================================================== */
.dhtd-about-flow { padding: var(--dhtd-section-space) 0; } /* Task 54: 88px→chuẩn */
.dhtd-about-flow__row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.dhtd-about-flow__item {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0 18px;
  position: relative;
}
.dhtd-about-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  left: calc(50% + 46px);
  right: calc(-50% + 46px);
  border-top: 2px dashed var(--dhtd-gold);
  opacity: 0.6;
}
.dhtd-about-flow__icon,
.dhtd-about-flow__icon .dhtd-icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--dhtd-white);
  border: 1px solid var(--dhtd-border);
  color: var(--dhtd-navy);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.dhtd-about-flow__icon { padding: 0; }
.dhtd-about-flow__icon .dhtd-icon-svg { width: 26px; height: 26px; border: none; margin-bottom: 0; }
.dhtd-about-flow__title { font-size: 1.0625rem; color: var(--dhtd-navy); margin: 0 0 8px; }
.dhtd-about-flow__desc { font-size: 0.9375rem; color: var(--dhtd-muted); line-height: 1.6; margin: 0; max-width: 26ch; margin-inline: auto; }
@media (max-width: 860px) {
  .dhtd-about-flow__row { flex-wrap: wrap; gap: 40px 24px; }
  .dhtd-about-flow__item { flex: 1 1 40%; }
  .dhtd-about-flow__item::after { display: none; }
}
@media (max-width: 540px) {
  .dhtd-about-flow__item { flex: 1 1 100%; }
}

/* ==================================================================
 * 5. Năng lực phục vụ doanh nghiệp
 * ================================================================== */
.dhtd-about-cap { padding: var(--dhtd-section-space) 0; background: var(--dhtd-white); } /* Task 54: 88px→chuẩn */
.dhtd-about-cap__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.dhtd-about-cap__card {
  padding: 30px 26px;
  background: var(--dhtd-white);
  border: 1px solid var(--dhtd-border);
  border-radius: 10px;
  transition: border-color .15s ease, transform .15s ease;
}
.dhtd-about-cap__card:hover { border-color: var(--dhtd-sky); transform: translateY(-3px); }
.dhtd-about-cap__icon,
.dhtd-about-cap__icon .dhtd-icon-svg {
  display: inline-block;
  width: 30px;
  height: 30px;
  color: var(--dhtd-navy);
  margin-bottom: 18px;
}
.dhtd-about-cap__title { font-size: 1.0625rem; color: var(--dhtd-navy); margin: 0 0 10px; line-height: 1.35; }
.dhtd-about-cap__desc { color: var(--dhtd-muted); line-height: 1.6; font-size: 0.9375rem; margin: 0 0 16px; }
.dhtd-about-cap__link { font-weight: 700; color: var(--dhtd-sky); text-decoration: none; font-size: 0.9375rem; }
.dhtd-about-cap__link:hover { color: var(--dhtd-navy); }
@media (max-width: 1000px) {
  .dhtd-about-cap__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .dhtd-about-cap__grid { grid-template-columns: 1fr; }
}

/* ==================================================================
 * 6. Cách DHTD tiếp cận dự án — nền Deep Navy
 * ================================================================== */
.dhtd-about-approach { padding: var(--dhtd-section-space) 0; background: var(--dhtd-navy); } /* Task 54: 88px→chuẩn */
.dhtd-about-approach__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.dhtd-about-approach__item { text-align: center; }
.dhtd-about-approach__icon,
.dhtd-about-approach__icon .dhtd-icon-svg {
  display: inline-block;
  width: 32px;
  height: 32px;
  color: var(--dhtd-gold);
  margin-bottom: 16px;
}
.dhtd-about-approach__title { font-size: 1.0313rem; color: var(--dhtd-white); margin: 0 0 8px; }
.dhtd-about-approach__desc { color: rgba(255,255,255,0.72); line-height: 1.6; font-size: 0.9375rem; margin: 0; }
@media (max-width: 860px) {
  .dhtd-about-approach__row { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 540px) {
  .dhtd-about-approach__row { grid-template-columns: 1fr; }
}

/* ==================================================================
 * 7. Nguyên tắc làm việc
 * ================================================================== */
.dhtd-about-principles { padding: var(--dhtd-section-space) 0; background: var(--dhtd-white); } /* Task 54: 88px→chuẩn */
.dhtd-about-principles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.dhtd-about-principles__card {
  padding: 32px 26px;
  background: var(--dhtd-light-bg);
  border-radius: 10px;
  text-align: center;
}
.dhtd-about-principles__icon,
.dhtd-about-principles__icon .dhtd-icon-svg {
  display: inline-block;
  width: 30px;
  height: 30px;
  color: var(--dhtd-sky);
  margin-bottom: 16px;
}
.dhtd-about-principles__title { font-size: 1.0625rem; color: var(--dhtd-navy); margin: 0 0 10px; }
.dhtd-about-principles__desc { color: var(--dhtd-muted); line-height: 1.6; font-size: 0.9375rem; margin: 0; }
@media (max-width: 860px) {
  .dhtd-about-principles__grid { grid-template-columns: 1fr; }
}

/* ==================================================================
 * 8. CTA cuối trang — nền Deep Navy + circuit line trang trí
 * ================================================================== */
.dhtd-about-cta {
  position: relative;
  padding: var(--dhtd-cta-space) 0; /* Task 54: CTA cuối trang theo chuẩn 56-64px */
  background: var(--dhtd-navy);
  overflow: hidden;
}
.dhtd-about-cta__art {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  opacity: 0.16;
  pointer-events: none;
}
.dhtd-about-cta__art .dhtd-circuit-svg { width: 100%; height: 100%; }
.dhtd-about-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.dhtd-about-cta__title { color: var(--dhtd-white); font-size: 1.6rem; margin: 0 0 10px; max-width: 32ch; }
.dhtd-about-cta__desc { color: rgba(255,255,255,0.72); margin: 0; max-width: 46ch; }
@media (max-width: 700px) {
  .dhtd-about-cta__art { display: none; }
}

/* ==================================================================
 * Responsive chung — không tràn ngang ở mọi breakpoint yêu cầu (1440/768/390)
 * Task 54 (11/09/2026): bỏ override cứng 64px ở ≤480px trước đây — mọi
 * section trên đã dùng var(--dhtd-section-space)/var(--dhtd-hero-space)/
 * var(--dhtd-cta-space), tự co giãn theo breakpoint qua override token
 * trong brand-colors.css (≤900px / ≤600px), không cần lặp lại ở đây nữa.
 * ================================================================== */
