/* Hallmark · AngiaCorp · trang chủ (page 11, template Trangchu-nho) · cùng hệ angia-apple.css
 * Apple-inspired (awesome-design-md/apple): chữ Inter đậm vừa, nền trắng/parchment xen kẽ, một khối tối (navy), ảnh bo 18px.
 * Chỉ đổi trình bày; chữ và link giữ nguyên. pre-emit critique: P4 H5 E4 S4 R4 V4 */
body.ag-apple-home {
  --ag-ink: #1d1d1f; --ag-ink-2: #515154; --ag-ink-3: #86868b; --ag-paper: #ffffff; --ag-parchment: #f5f5f7;
  --ag-hair: #e3e3e6; --ag-red: #d83f43; --ag-red-ink: #b8282d; --ag-navy: #0f172a; --ag-red-on-dark: #ff6b6f;
  --ag-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ag-r: 18px; --ag-ease: cubic-bezier(0.16, 1, 0.3, 1);
}
body.ag-apple-home .agh, body.ag-apple-home .agh h1, body.ag-apple-home .agh h2, body.ag-apple-home .agh h3,
body.ag-apple-home .agh p, body.ag-apple-home .agh a, body.ag-apple-home .agh button, body.ag-apple-home .agh dt,
body.ag-apple-home .agh dd, body.ag-apple-home .agh li, body.ag-apple-home .agh span, body.ag-apple-home .agh time,
body.ag-apple-home .cl-bmcn, body.ag-apple-home .cl-bmcn * { font-family: var(--ag-font) !important; -webkit-font-smoothing: antialiased; }

/* ---------- Tiêu đề khối: đậm, khít, màu mực (thay chữ mảnh đỏ) ---------- */
body.ag-apple-home .agh .agh-title {
  font-weight: 700 !important; font-size: clamp(36px, 4.6vw, 64px) !important; line-height: 1.06 !important;
  letter-spacing: -0.035em !important; color: var(--ag-ink) !important; text-transform: none !important;
}
body.ag-apple-home .agh .agh-title-light { color: #fff !important; }
body.ag-apple-home .agh .agh-lead { font-weight: 500 !important; color: var(--ag-ink-2) !important; letter-spacing: -0.015em; }
body.ag-apple-home .agh .agh-kicker { color: var(--ag-red) !important; font-weight: 600 !important; letter-spacing: 0.08em !important; font-size: 13px !important; }
body.ag-apple-home .agh .agh-body, body.ag-apple-home .agh .agh-about-text p { color: var(--ag-ink-2) !important; font-size: 17px !important; line-height: 1.6 !important; }

/* Nút vòng tròn mũi tên → nút viên thuốc */
body.ag-apple-home .agh .agh-circle-link { display: inline-flex !important; align-items: center; gap: 10px; border: 1px solid var(--ag-red) !important; border-radius: 9999px !important; padding: 6px 20px 6px 6px !important; color: var(--ag-red) !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; transition: background-color 220ms var(--ag-ease), color 220ms var(--ag-ease); }
body.ag-apple-home .agh .agh-circle-link .agh-circle { width: 34px !important; height: 34px !important; border: 0 !important; background: var(--ag-red) !important; color: #fff !important; }
body.ag-apple-home .agh .agh-circle-link .agh-circle svg { stroke: #fff !important; }
@media (hover: hover) { body.ag-apple-home .agh .agh-circle-link:hover { background: var(--ag-red) !important; color: #fff !important; } }
body.ag-apple-home .agh a:focus-visible, body.ag-apple-home .agh button:focus-visible { outline: 2px solid var(--ag-red) !important; outline-offset: 3px; }

/* ---------- Hero: số liệu thành dải kính mờ, tab dự án dạng viên thuốc ---------- */
body.ag-apple-home .agh-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0)); pointer-events: none; z-index: 1; }
body.ag-apple-home .agh-hero-stats { z-index: 2; }
body.ag-apple-home .agh-hero-stats strong { color: #fff !important; font-weight: 700 !important; letter-spacing: -0.03em !important; text-shadow: none !important; }
body.ag-apple-home .agh-hero-stats span { color: rgba(255, 255, 255, 0.82) !important; font-weight: 500 !important; letter-spacing: 0.02em !important; text-transform: none !important; text-shadow: none !important; }
body.ag-apple-home .agh-hero-foot { background: var(--ag-paper) !important; border-bottom: 1px solid var(--ag-hair) !important; }
body.ag-apple-home .agh-hero-tab { font-weight: 600 !important; letter-spacing: 0 !important; color: var(--ag-ink-3) !important; border-radius: 9999px !important; transition: color 220ms var(--ag-ease), background-color 220ms var(--ag-ease); }
body.ag-apple-home .agh-hero-tab.is-active { color: #fff !important; background: var(--ag-red) !important; }
body.ag-apple-home .agh-hero-tab::before, body.ag-apple-home .agh-hero-tab::after { display: none !important; }

/* ---------- Dự án nổi bật: giữ ảnh tròn + quỹ đạo của giao diện gốc (chủ site yêu cầu 15/10) ---------- */
body.ag-apple-home .agh-projects { background: var(--ag-paper) !important; }
body.ag-apple-home .agh-projects-title { text-align: left !important; }
body.ag-apple-home .agh-proj-name, body.ag-apple-home .agh-proj-name a { font-weight: 700 !important; letter-spacing: -0.025em !important; color: var(--ag-ink) !important; }
body.ag-apple-home .agh-proj-facts dt { color: var(--ag-ink-3) !important; font-weight: 600 !important; font-size: 13px !important; }
body.ag-apple-home .agh-proj-facts dd { color: var(--ag-ink) !important; }
body.ag-apple-home .agh-proj-desc { color: var(--ag-ink-2) !important; font-size: 17px !important; line-height: 1.6 !important; }
body.ag-apple-home .agh-proj-more { background: var(--ag-red) !important; color: #fff !important; border: 0 !important; border-radius: 9999px !important; padding: 11px 24px !important; font-weight: 600 !important; transition: background-color 220ms var(--ag-ease); }
@media (hover: hover) { body.ag-apple-home .agh-proj-more:hover { background: var(--ag-red-ink) !important; } }
body.ag-apple-home .agh-proj-phone { color: var(--ag-ink) !important; font-weight: 600 !important; }
body.ag-apple-home .agh-proj-nav .agh-circle { border-color: var(--ag-hair) !important; background: var(--ag-parchment) !important; }
body.ag-apple-home .agh-proj-nav-label { font-weight: 600 !important; letter-spacing: 0.04em !important; color: var(--ag-ink-3) !important; }
body.ag-apple-home .agh-proj-count { color: var(--ag-ink-3) !important; }

/* ---------- Tin tức: thẻ ảnh bo góc trên nền parchment ---------- */
body.ag-apple-home .agh-news { background: var(--ag-parchment) !important; }
body.ag-apple-home .agh-news-img, body.ag-apple-home .agh-news-img img { border-radius: 14px !important; overflow: hidden; }
body.ag-apple-home .agh-news-img img { transition: transform 700ms var(--ag-ease); }
@media (hover: hover) { body.ag-apple-home .agh-news-item:hover .agh-news-img img { transform: scale(1.03); } }
body.ag-apple-home .agh-news-title, body.ag-apple-home .agh-news-title a { font-weight: 600 !important; letter-spacing: -0.02em !important; color: var(--ag-ink) !important; line-height: 1.3 !important; }
@media (hover: hover) { body.ag-apple-home .agh-news-title a:hover { color: var(--ag-red) !important; } }
body.ag-apple-home .agh-news-meta span { color: var(--ag-red) !important; font-weight: 600 !important; }
body.ag-apple-home .agh-news-meta time { color: var(--ag-ink-3) !important; }

/* ---------- Về chúng tôi ---------- */
body.ag-apple-home .agh-about { background: var(--ag-paper) !important; }
body.ag-apple-home .agh-about-img, body.ag-apple-home .agh-about-img img { border-radius: var(--ag-r) !important; overflow: hidden; }
body.ag-apple-home .agh-about .agh-lead { font-size: clamp(22px, 2vw, 28px) !important; line-height: 1.3 !important; color: var(--ag-ink) !important; }

/* ---------- Chúng tôi hỗ trợ: 4 ô parchment bo góc ---------- */
body.ag-apple-home .agh-values { background: var(--ag-paper) !important; }
body.ag-apple-home .agh-values-list { border-top: 0 !important; gap: 16px !important; }
body.ag-apple-home .agh-values-list li { background: var(--ag-parchment) !important; border: 0 !important; border-radius: var(--ag-r) !important; padding: 28px 26px 30px !important; transition: transform 300ms var(--ag-ease); }
@media (hover: hover) { body.ag-apple-home .agh-values-list li:hover { transform: translateY(-3px); } }
body.ag-apple-home .agh-values-num { color: var(--ag-red) !important; font-weight: 600 !important; font-size: 15px !important; letter-spacing: 0.04em !important; }
body.ag-apple-home .agh-values-list h3 { color: var(--ag-ink) !important; font-weight: 700 !important; font-size: 21px !important; letter-spacing: -0.02em !important; text-transform: none !important; }
body.ag-apple-home .agh-values-list p { color: var(--ag-ink-2) !important; font-size: 16px !important; line-height: 1.55 !important; }

/* ---------- Khách hàng nói: khối tối navy (thay nền đỏ), trích dẫn căn trái ---------- */
body.ag-apple-home .agh-reviews { background: var(--ag-navy) !important; }
body.ag-apple-home .agh-reviews::before, body.ag-apple-home .agh-reviews::after { opacity: 0.06 !important; }
body.ag-apple-home .agh-rev-photo, body.ag-apple-home .agh-rev-photo img { border-radius: var(--ag-r) !important; overflow: hidden; }
body.ag-apple-home .agh-rev-mark { color: var(--ag-red-on-dark) !important; }
body.ag-apple-home .agh-rev-quote { text-align: left !important; font-weight: 400 !important; font-size: clamp(19px, 1.7vw, 24px) !important; line-height: 1.5 !important; letter-spacing: -0.01em; color: #fff !important; }
body.ag-apple-home .agh-rev-who { font-style: normal !important; color: #94a3b8 !important; font-weight: 500 !important; }

/* ---------- Bài mới cập nhật ---------- */
body.ag-apple-home .cl-bmcn { background: var(--ag-parchment) !important; }
body.ag-apple-home .cl-bmcn h2 { font-weight: 700 !important; letter-spacing: -0.03em !important; color: var(--ag-ink) !important; border: 0 !important; padding-left: 0 !important; }
body.ag-apple-home .cl-bmcn h2::before { display: none !important; }
body.ag-apple-home .cl-bmcn__the { border: 0 !important; border-radius: 14px !important; box-shadow: none !important; overflow: hidden; background: var(--ag-paper) !important; transition: transform 300ms var(--ag-ease); }
@media (hover: hover) { body.ag-apple-home .cl-bmcn__the:hover { transform: translateY(-3px); } }
body.ag-apple-home .cl-bmcn__the h3, body.ag-apple-home .cl-bmcn__the a { color: var(--ag-ink) !important; font-weight: 600 !important; letter-spacing: -0.01em; }

/* ---------- Thanh số mục bên trái ---------- */
body.ag-apple-home .agh-secnav b { font-family: var(--ag-font) !important; font-weight: 600 !important; font-size: 14px !important; }

@media (prefers-reduced-motion: reduce) { body.ag-apple-home * { transition-duration: 1ms !important; } }
/* sửa: lớp tối chỉ phủ ảnh, không phủ dải tab */
body.ag-apple-home .agh-hero .agh-hero-foot { z-index: 3; background: var(--ag-paper) !important; }
body.ag-apple-home .agh-hero .agh-hero-tabs .agh-hero-tab.is-active,
body.ag-apple-home .agh-hero .agh-hero-tabs .agh-hero-tab.is-active * { color: #fff !important; }
body.ag-apple-home .agh-hero .agh-hero-tab { border: 0 !important; box-shadow: none !important; }

/* ---------- Khoảng cách các khối: 72px máy tính / 44px điện thoại (đo Playwright 15/10, trước 110–160px) ---------- */
body.ag-apple-home .agh-projects, body.ag-apple-home .agh-news, body.ag-apple-home .agh-about,
body.ag-apple-home .agh-values, body.ag-apple-home .agh-reviews { padding-top: 72px !important; padding-bottom: 72px !important; }
body.ag-apple-home .cl-bmcn { padding-top: 56px !important; padding-bottom: 56px !important; }
body.ag-apple-home .agh .agh-title { margin-top: 0 !important; margin-bottom: 28px !important; }
body.ag-apple-home .agh-values-list, body.ag-apple-home .agh-proj, body.ag-apple-home .agh-news-grid, body.ag-apple-home .agh-rev { margin-bottom: 0 !important; }
body.ag-apple-home .agh-projects .agh-circle-link { margin-top: 24px !important; }
@media (max-width: 767px) {
  body.ag-apple-home .agh-projects, body.ag-apple-home .agh-news, body.ag-apple-home .agh-about,
  body.ag-apple-home .agh-values, body.ag-apple-home .agh-reviews, body.ag-apple-home .cl-bmcn { padding-top: 44px !important; padding-bottom: 44px !important; }
  body.ag-apple-home .agh .agh-title { margin-bottom: 20px !important; }
}
body.ag-apple-home .agh-values-list { margin: 0 !important; padding-bottom: 0 !important; }
/* mobile 15/10: tab dự án dưới ảnh lớn cao 35px → 44px để dễ bấm */
@media (max-width: 767px) { body.ag-apple-home .agh-hero .agh-hero-tab { min-height: 44px !important; } }
