/*
 * About CSS — trang Giới thiệu (page-gioi-thieu.php).
 * Chỉ chứa component riêng của trang; token, nút, card, why-grid,
 * fleet-stats, certs, marquee, footer… dùng lại từ front-page.css
 * (enqueue cùng nhau, front-page.css load trước).
 */

/* ===== PAGE HERO: banner ảnh + overlay navy + breadcrumb ===== */
.page-hero { position: relative; color: #fff; padding-block: 84px 74px; overflow: hidden; isolation: isolate; }
@media (min-width: 900px) { .page-hero { padding-block: 104px 92px; } }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
/* Ảnh dọc hơn banner nhiều: crop giữa cắt mất biển hiệu công ty ở nửa dưới —
   neo khung nhìn xuống để biển hiệu nằm giữa banner. */
.page-hero-bg img.focus-low { object-position: 50% 62%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in srgb, var(--navy-ink) 94%, transparent) 30%, color-mix(in srgb, var(--primary-deep) 72%, transparent)); }
.crumbs { font-size: 13px; margin-bottom: 16px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs li { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.78); }
.crumbs li + li::before { content: "›"; color: #ff8d96; font-weight: 800; }
.crumbs a { color: rgba(255,255,255,.78); text-decoration: none; transition: color 140ms ease; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: #fff; } }
.crumbs [aria-current="page"] { color: #fff; font-weight: 700; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; max-width: 22ch; }
.page-hero h1 em { font-style: normal; color: #ff6b76; }
.page-hero .lead { color: rgba(255,255,255,.86); max-width: 62ch; margin-top: 16px; font-size: 16.5px; }

/* ===== STORY: đảo chiều about-grid (chữ trái, ảnh phải ở desktop) ===== */
@media (min-width: 940px) {
  .ab-story .about-grid { grid-template-columns: 53fr 47fr; }
  .ab-story .about-media { order: 2; }
}
.ab-story .about-media img.main { aspect-ratio: 4 / 3; }
/* Ảnh tập thể rất ngang: giữ khung gốc, đừng ép 4/3 kẻo cắt mất người hai rìa. */
.ab-story .about-media img.main.is-wide { aspect-ratio: 1680 / 936; }
.ab-story p + p { margin-top: 12px; }

/* ===== VALUES: 3 giá trị cốt lõi — card viền trái đỏ trên nền band ===== */
.ab-values { background: var(--band); border-block: 1px solid var(--line); }
.vals { display: grid; gap: 22px; margin-top: 44px; }
@media (min-width: 900px) { .vals { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.val { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); padding: 32px 28px; transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .val:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(15,47,87,.25); }
}
.val .why-ic { margin-bottom: 16px; }
.val h3 { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -0.014em; }
.val p { font-size: 14.5px; color: var(--text-2); margin-top: 9px; }
.val .motto { display: block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--primary); }

/* ===== TIMELINE: cột sống giữa ở desktop, dồn trái ở mobile ===== */
.ab-history { isolation: isolate; }
.ab-history::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--primary) 4%, transparent) 0 1px, transparent 1px 30px); }
.tl { list-style: none; padding: 0; margin: 48px 0 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); }
.tl li { position: relative; padding: 0 0 34px 44px; }
.tl li:last-child { padding-bottom: 0; }
.tl .dot { position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 2px solid var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent); }
.tl li:last-child .dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.tl time { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); background: color-mix(in srgb, var(--accent) 9%, transparent); border-radius: var(--r); padding: 4px 11px; font-variant-numeric: tabular-nums; }
.tl h3 { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -0.014em; margin-top: 10px; }
.tl p { font-size: 14.5px; color: var(--text-2); margin-top: 7px; max-width: 62ch; }
@media (min-width: 900px) {
  .tl::before { left: 50%; margin-left: -1px; }
  .tl li { width: 50%; padding: 0 52px 44px 0; text-align: right; }
  .tl li:nth-child(even) { margin-left: 50%; padding: 0 0 44px 52px; text-align: left; }
  .tl li:last-child { padding-bottom: 0; }
  .tl .dot { left: auto; right: -10px; }
  .tl li:nth-child(even) .dot { right: auto; left: -10px; }
  .tl p { margin-left: auto; }
  .tl li:nth-child(even) p { margin-left: 0; margin-right: auto; }
}

/* ===== BĂNG SỐ LIỆU: dùng nền .fleet, chỉnh lưới 4 cột ===== */
@media (min-width: 940px) { .ab-band .fleet-stats { grid-template-columns: repeat(4, 1fr); } }

/* ===== NETWORK: card trung tâm khai thác (card không link) ===== */
.ab-network { background: var(--band); border-block: 1px solid var(--line); }
.hub .card-body { padding-bottom: 24px; }
.hub .tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.hub address { font-style: normal; font-size: 14.5px; color: var(--text-2); margin-top: 9px; }
.br-note { text-align: center; margin-top: 36px; color: var(--text-2); font-size: 15px; }
.br-note a { color: var(--primary); font-weight: 700; }

/* ===== CUSTOMERS: đoạn dẫn + marquee logo dùng lại .cl-marquee ===== */
.ab-clients .cl-marquee { margin-top: 44px; }

/* ===== PRESS: link nguồn trong trích dẫn báo chí (#minh-chung, #bao-chi) ===== */
.quote cite a { color: inherit; text-decoration: none; }
.quote cite a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .val, .tl .dot { transition: none; }
}
