/* ============================================================
   THÀNH HƯNG TAXI TẢI — Trang chủ (Homepage)
   Stylesheet cho theme Flatsome / WordPress
   Tự chứa: không phụ thuộc React hay design-system bundle.
   Nạp SAU style.css của Flatsome (xem functions-snippet.php).
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Đỏ thương hiệu (CTA + từ khóa) */
  --th-red: #BF0603;
  --th-red-hover: #A30503;
  --red-50: #FCF0F0;   /* nền hồng nhạt */
  --red-100: #F9D9D8;
  --red-400: #D63B37;
  --red-500: #BF0603;
  --red-700: #850402;

  /* Navy (header, footer, vùng tối) */
  --navy-900: #011631;
  --navy-800: #131540;
  --navy-700: #1A1D5C;
  --navy-50: #EAEBF6;

  /* Vàng đồng (badge, accent < 5%) */
  --copper-400: #E4BC6C;
  --copper-500: #D4A24A;

  /* Xanh dịch vụ (link, info, Zalo) */
  --blue-400: #4CA9DF;
  --blue-800: #004E89;

  /* Trung tính */
  --white: #FFFFFF;
  --neutral-50: #F0F3FA;
  --neutral-100: #E5E7EB;
  --neutral-200: #C9CDD2;
  --neutral-400: #9EA4AA;
  --neutral-500: #72787F;
  --neutral-700: #4B4F54;
  --neutral-900: #1B1D1F;

  /* Aliases ngữ nghĩa */
  --surface-tint-red: var(--red-50);
  --border-subtle: var(--neutral-200);
  --border-strong: var(--neutral-400);
  --success: #1E9E6A;
  --success-bg: #E6F6EF;

  /* Hiệu ứng */
  --shadow-sm: 0 1px 3px rgba(1,22,49,.08);
  --shadow-md: 0 4px 12px rgba(1,22,49,.10);
  --shadow-lg: 0 12px 28px rgba(1,22,49,.16);
  --shadow-cta: 0 6px 16px rgba(191,6,3,.30);
  --ease-out: cubic-bezier(0.22,0.61,0.36,1);

  /* Layout */
  --sec-pad: 64px;
  --maxw: 1200px;
}

/* ---------- 2. BASE (scope trong #content trang chủ để không đụng header/footer Flatsome) ---------- */
body.home #content { font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif; color: var(--neutral-900); font-size: 16px; -webkit-font-smoothing: antialiased; }
body.home #content * { box-sizing: border-box; }
body.home #content img { max-width: 100%; display: block; height: auto; }
body.home #content a { color: inherit; text-decoration: none; }
/* Gỡ max-width/padding mặc định của Flatsome cho vùng nội dung để section chạy full-width */
body.home #content .page-wrapper-inner, body.home #content .entry-content { max-width: none !important; padding: 0 !important; margin: 0 !important; }

.th-container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.th-section { padding: var(--sec-pad) 0; }
.th-section.tight { padding: calc(var(--sec-pad) * 0.7) 0; }

/* ---------- 3. TYPOGRAPHY HELPERS ---------- */
.th-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.01em; text-transform: none; color: var(--th-red); display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.th-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--th-red); display: inline-block; }

/* Mũi tên cuộn xuống: style chung ở global.css (nguồn duy nhất). Tại đây chỉ
   thu gọn padding 2 đầu transition hero→section "Lợi thế" để khoảng cách quanh
   mũi tên KHỚP trang dịch vụ (54px trên / ~57px dưới, cân đối). */
body.th-home #top.th-hero { padding-bottom: calc(var(--sec-pad) * .35); }
body.th-home #loi-the { padding-top: calc(var(--sec-pad) * .35); }
.th-h2 { font-size: 34px; line-height: 1.18; font-weight: 800; color: var(--navy-900); margin: 0 0 14px; letter-spacing: -0.02em; text-wrap: balance; }
.th-h2 .kw { color: var(--th-red); }
.th-lead { font-size: 18px; line-height: 1.6; color: var(--neutral-500); margin: 0; max-width: 640px; text-wrap: pretty; }
.th-center { text-align: center; }
.th-center .th-eyebrow { justify-content: center; }
.th-center .th-lead { margin-left: auto; margin-right: auto; }

/* ---------- 4. CARD + BUTTON + ICON CHIP ---------- */
.th-card { background: var(--white); border: 1px solid var(--border-subtle); border-radius: 12px; box-shadow: var(--shadow-sm); }
.th-pill { border-radius: 999px; height: 46px; padding: 0 26px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .18s var(--ease-out), color .18s var(--ease-out), transform .12s, box-shadow .18s; white-space: nowrap; font-family: inherit; text-transform: none; letter-spacing: normal; }
/* !important: Flatsome style link <a> trong nội dung (selector ID #content a...)
   thắng class -> đè mất màu nền/chữ của nút. Buộc !important để CTA luôn đúng màu. */
.th-pill.primary { background: var(--th-red) !important; color: #fff !important; box-shadow: var(--shadow-cta); }
.th-pill.primary:hover { background: var(--th-red-hover) !important; transform: translateY(-1px); color: #fff !important; }
.th-pill.outline { background: transparent !important; color: var(--th-red) !important; border-color: var(--th-red); }
.th-pill.outline:hover { background: var(--th-red) !important; color: #fff !important; }
.th-pill.heronavy { background: var(--navy-900) !important; color: #fff !important; box-shadow: 0 6px 16px rgba(1,22,49,.28); }
.th-pill.heronavy:hover { background: #02244e !important; transform: translateY(-1px); color: #fff !important; }
.th-pill.white { background: #fff !important; color: var(--th-red) !important; }
.th-pill.white:hover { background: var(--neutral-50) !important; transform: translateY(-1px); }
.th-pill:active { transform: translateY(1px); }

.icon-chip { width: 52px; height: 52px; border-radius: 50%; background: var(--surface-tint-red); display: inline-flex; align-items: center; justify-content: center; color: var(--th-red); flex: none; }
.icon-chip i, .icon-chip svg { width: 24px; height: 24px; }

/* lucide icons inherit color via currentColor */
body.home #content [data-lucide], body.home #content svg.lucide { stroke-width: 2; }

/* ---------- 5. GRID HELPERS ---------- */
.th-grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 6. HEADER (sticky navy) ---------- */
.th-header { position: sticky; top: 0; z-index: 60; background: var(--navy-900); transition: box-shadow .2s; }
.th-header.solid { box-shadow: 0 2px 14px rgba(1,22,49,.35); }
.th-header-bar { display: flex; align-items: center; gap: 18px; height: 68px; }
.th-logo { background: #fff; border-radius: 8px; padding: 6px 10px; display: flex; flex: none; }
.th-logo img { height: 30px; }
.th-nav { display: flex; gap: 22px; margin-left: 8px; }
.th-nav a { color: #DCE0EC; text-decoration: none; font-size: 15px; font-weight: 500; transition: color .15s; }
.th-nav a:hover { color: #fff; }
.th-burger { background: transparent; border: none; color: #fff; cursor: pointer; padding: 6px; }
.th-mobile-menu { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.1); padding: 8px 0 16px; }
.th-mobile-menu .th-container { display: flex; flex-direction: column; gap: 4px; }
.th-mobile-menu a { color: #DCE0EC; text-decoration: none; font-size: 16px; padding: 10px 4px; }

/* ---------- 7. HERO ---------- */
.th-hero { background: linear-gradient(180deg,#FCF0F0 0%,#fff 78%); padding-top: calc(var(--sec-pad) * .85); }
.th-hero-grid { display: grid; grid-template-columns: minmax(0,55fr) minmax(0,45fr); gap: 44px; align-items: center; }
.hero-commit { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; color: var(--neutral-700); }
.hero-commit .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-tint-red); color: var(--th-red); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.hero-img { width: 100%; height: 430px; border-radius: 16px; object-fit: cover; background: var(--neutral-50); }
/* Ảnh thật thay cho ô .ph: phủ kín khung, giữ tỉ lệ (height do inline-style/contextual quy định) */
img.ph { width: 100%; object-fit: cover; display: block; }
.svc-card img.ph { border-top-left-radius: 16px; border-top-right-radius: 16px; }
.article-card img.ph { border-top-left-radius: 16px; border-top-right-radius: 16px; }
.hero-trust { display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 0; border-radius: 16px; }
.hero-trust-cell { display: flex; align-items: center; gap: 14px; justify-content: center; padding: 18px 16px; }
.hero-trust-cell + .hero-trust-cell { border-left: 1px solid var(--border-subtle); }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.hero-badge.gold { background: var(--copper-50, #FFF8EB); color: var(--copper-700, #8C6429); }
.hero-badge.red { background: var(--surface-tint-red); color: var(--th-red); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--surface-tint-red); color: var(--navy-900); font-size: 14px; font-weight: 600; white-space: nowrap; }

/* ---------- 8. ADVANTAGE / SERVICE / STATS CARDS ---------- */
.adv-card { padding: 24px; }
.svc-card { overflow: hidden; text-decoration: none; display: block; transition: transform .15s, box-shadow .15s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stats-dark { background: var(--navy-900); background-image: radial-gradient(rgba(228,188,108,.16) 1px, transparent 1.4px); background-size: 22px 22px; }

/* ---------- 9. PRICE TABLE + FEE LISTS ---------- */
.pm-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pm-table th { text-align: right; padding: 11px 12px; color: var(--navy-900); font-weight: 700; font-size: 13px; border-bottom: 1px solid var(--border-subtle); background: var(--neutral-50); }
.pm-table th:first-child, .pm-table td:first-child { text-align: left; padding-left: 20px; }
.pm-table th:last-child, .pm-table td:last-child { padding-right: 20px; }
.pm-table td { text-align: right; padding: 11px 12px; border-bottom: 1px solid var(--border-subtle); color: var(--neutral-700); font-weight: 500; }
.pm-table td:first-child { color: var(--navy-900); font-weight: 600; }
.fee-box { padding: 26px; display: grid; grid-template-columns: 1fr 1px 1fr; gap: 36px; }
.fee-divider { background: var(--border-subtle); }
.fee-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border-subtle); }
.fee-row:last-child { border-bottom: none; }
.fee-row .k { font-size: 14.5px; color: var(--neutral-700); line-height: 1.45; }
.fee-row .v { font-size: 14.5px; color: var(--th-red); font-weight: 700; white-space: nowrap; }

/* ---------- 10. QUICK PRICE CALCULATOR ---------- */
.calc-card { display: grid; grid-template-columns: 1.3fr 1fr; }
.calc-addon { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; border: 1.5px solid var(--border-subtle); border-radius: 10px; cursor: pointer; transition: all .14s; }
.calc-addon.on { border-color: var(--th-red); background: var(--surface-tint-red); }
.calc-box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border-strong); flex: none; display: flex; align-items: center; justify-content: center; transition: all .14s; }
.calc-addon.on .calc-box { background: var(--th-red); border-color: var(--th-red); color: #fff; }
.calc-result { background: var(--navy-900); color: #fff; padding: 26px; display: flex; flex-direction: column; background-image: radial-gradient(rgba(228,188,108,.14) 1px, transparent 1.4px); background-size: 20px 20px; }
.th-input { width: 100%; height: 46px; border: 1.5px solid var(--border-subtle); border-radius: 8px; padding: 0 14px; font-family: inherit; font-size: 15px; color: var(--navy-900); }
.th-input:focus { outline: none; border-color: var(--th-red); box-shadow: 0 0 0 3px rgba(191,6,3,.12); }
.th-select { width: 100%; height: 46px; border: 1.5px solid var(--border-subtle); border-radius: 8px; padding: 0 14px; font-family: inherit; font-size: 15px; color: var(--navy-900); background: #fff; }
.th-label { font-size: 14px; font-weight: 600; color: var(--navy-900); display: block; margin-bottom: 7px; }

/* booking modal */
.th-modal-overlay { position: fixed; inset: 0; background: rgba(1,22,49,.6); z-index: 95; display: flex; align-items: center; justify-content: center; padding: 20px; }
.th-modal { width: min(420px, 94vw); padding: 26px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); }

/* ---------- 11. INSURANCE BANNER ---------- */
.ins-banner { position: relative; overflow: hidden; background: linear-gradient(110deg, var(--red-700), var(--red-500)); border-radius: 20px; padding: 36px 40px; display: flex; align-items: center; gap: 28px; }
.ins-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.4px); background-size: 20px 20px; pointer-events: none; }
.ins-badge { position: relative; z-index: 1; flex: none; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff; font-weight: 800; font-size: 13px; text-align: center; line-height: 1.1; }

/* ---------- 12. WORKFLOW ---------- */
.flow-grid7 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.flow-step7 { padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.flow-ico { position: relative; flex: none; }
.flow-ico .circle { width: 52px; height: 52px; border-radius: 50%; background: var(--surface-tint-red); color: var(--th-red); display: flex; align-items: center; justify-content: center; }
.flow-ico .num { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--th-red); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* ---------- 13. SOCIAL PROOF ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rating-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.rev-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-50); color: var(--navy-700); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }

/* ---------- 14. GALLERY (masonry + lightbox) ---------- */
.masonry { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; gap: 16px; grid-auto-flow: row dense; }
.masonry-item { grid-row: span 1; position: relative; border: none; padding: 0; cursor: pointer; border-radius: 12px; overflow: hidden; background: none; width: 100%; }
.masonry-item.tall { grid-row: span 2; }
.masonry-item .ph { width: 100%; height: 100%; object-fit: cover; background: var(--neutral-50); }
.masonry-cap { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(transparent, rgba(1,22,49,.78)); display: flex; align-items: flex-end; padding: 14px; pointer-events: none; }
.masonry-cap span { color: #fff; font-weight: 600; font-size: 14.5px; text-align: left; line-height: 1.35; }
.th-lightbox { position: fixed; inset: 0; background: rgba(1,22,49,.86); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; }

/* ---------- 15. MEDIA / PRESS ---------- */
.press-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.press-logo { padding: 12px 22px; border: 1px solid var(--border-subtle); border-radius: 999px; font-weight: 800; font-size: 16px; color: var(--neutral-400); letter-spacing: -0.01em; transition: color .2s, border-color .2s; cursor: default; }
.press-logo:hover { color: var(--navy-900); border-color: var(--th-red); }

/* Dải logo báo chí chạy 1 hàng (marquee liền mạch) — nhân đôi logo trong HTML,
   dịch -50% = đúng 1 bộ → nối vòng không giật. Hover dừng; tôn trọng reduce-motion. */
.press-marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.press-track { display: flex; flex-wrap: nowrap; width: max-content; animation: press-scroll 38s linear infinite; }
.press-marquee:hover .press-track { animation-play-state: paused; }
.press-track .press-logo { flex: none; margin: 0 8px; padding: 0 26px; height: 76px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--border-subtle); border-radius: 14px; box-shadow: 0 4px 14px rgba(1,22,49,.05); }
.press-track .press-logo img { max-height: 40px; max-width: 200px; width: auto; height: auto; object-fit: contain; display: block; }
@keyframes press-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .press-track { animation: none; } }
.article-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { overflow: hidden; text-decoration: none; display: block; }

/* ---------- 16. COVERAGE (map + directory + tabs) ---------- */
.cov-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: stretch; }
.cov-map { position: relative; overflow: hidden; border-radius: 16px; min-height: 520px; background: var(--navy-900); box-shadow: var(--shadow-md); }
.cov-map .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cov-map-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,22,49,.55) 0%, rgba(1,22,49,.12) 32%, rgba(1,22,49,.62) 100%); pointer-events: none; }
.cov-map-head { position: absolute; top: 22px; left: 24px; right: 24px; z-index: 3; }
.cov-pin { position: absolute; transform: translate(-50%, -100%); z-index: 4; }
.cov-pin-dot { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--th-red); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,.35); }
.cov-pin-dot i, .cov-pin-dot svg { transform: rotate(45deg); }
.cov-pin.main .cov-pin-dot { width: 40px; height: 40px; box-shadow: 0 0 0 8px rgba(191,6,3,.22), 0 4px 12px rgba(0,0,0,.4); animation: covpulse 2.2s infinite; }
@keyframes covpulse { 0% { box-shadow: 0 0 0 0 rgba(191,6,3,.4), 0 4px 12px rgba(0,0,0,.4);} 70% { box-shadow: 0 0 0 16px rgba(191,6,3,0), 0 4px 12px rgba(0,0,0,.4);} 100% { box-shadow: 0 0 0 0 rgba(191,6,3,0), 0 4px 12px rgba(0,0,0,.4);} }
.cov-office-card { position: absolute; bottom: 20px; left: 20px; z-index: 5; width: min(280px, 70%); background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow-lg); }
.cov-dir { display: flex; flex-direction: column; border: 1px solid var(--border-subtle); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.cov-dir-head { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 20px 22px; border-bottom: 1px solid var(--border-subtle); }
.cov-count { flex: none; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; background: var(--surface-tint-red); color: var(--th-red); font-weight: 800; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; }
.cov-svc-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cov-svc-tab { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 9px 8px; border-radius: 999px; border: 1.5px solid var(--border-subtle); background: #fff; color: var(--th-red); font-family: inherit; font-weight: 700; font-size: 12.5px; line-height: 1.1; text-transform: none; letter-spacing: 0; cursor: pointer; transition: all .14s; white-space: nowrap; }
.cov-svc-tab.on { background: var(--th-red); color: #fff; border-color: var(--th-red); }
.cov-svc-tab i, .cov-svc-tab svg { width: 15px; height: 15px; flex: none; }
/* Mobile: thu gọn pill chọn dịch vụ cho khỏi tràn chữ (3 cột hẹp) */
@media (max-width: 560px) {
  .cov-svc-tabs { gap: 5px; }
  .cov-svc-tab { gap: 4px; padding: 8px 4px; font-size: 11.5px; }
  .cov-svc-tab i, .cov-svc-tab svg { width: 13px; height: 13px; }
}
.cov-list { padding: 10px; overflow-y: auto; max-height: 470px; display: grid; grid-template-columns: 1fr; gap: 6px; align-content: start; }
.cov-list::-webkit-scrollbar { width: 8px; }
.cov-list::-webkit-scrollbar-thumb { background: var(--neutral-200); border-radius: 999px; }
.cov-item { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; text-decoration: none; color: var(--navy-900); border: 1px solid transparent; transition: background .14s, border-color .14s, color .14s; }
.cov-item:hover, .cov-item.on { background: var(--surface-tint-red); border-color: var(--red-100); color: var(--th-red); }
.cov-item-pin { width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--surface-tint-red); display: flex; align-items: center; justify-content: center; }
.cov-item.on .cov-item-pin, .cov-item:hover .cov-item-pin { background: #fff; }
.cov-item-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cov-item-name { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.cov-item-zone { font-size: 11.5px; color: var(--neutral-500); }
.cov-item.on .cov-item-zone, .cov-item:hover .cov-item-zone { color: var(--red-400); }

/* ---------- 17. NEWS GRID ---------- */
.news-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; }
.news-card { overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card.feature { grid-row: span 2; }
.news-thumb { position: relative; }
.news-thumb .ph { width: 100%; height: 100%; object-fit: cover; background: var(--neutral-50); }
.news-card.feature .news-thumb { height: 240px; }
.news-card:not(.feature) .news-thumb { height: 130px; }
.news-cat { position: absolute; top: 12px; left: 12px; background: var(--th-red); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.news-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }

/* ---------- 18. FAQ ---------- */
.faq-item { padding: 0; overflow: hidden; border: 1px solid var(--border-subtle); border-radius: 12px; transition: border-color .2s; background: #fff; }
.faq-item.open { border-color: var(--th-red); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: none; border: none; cursor: pointer; text-align: left; font-family: inherit; text-transform: none; letter-spacing: normal; }
.faq-q span.q { flex: 1; font-size: 16px; font-weight: 600; color: var(--navy-900); text-transform: none; letter-spacing: normal; }
.faq-toggle { width: 30px; height: 30px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--neutral-50); color: var(--th-red); transition: background .2s; }
.faq-item.open .faq-toggle { background: var(--th-red); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease-out); }
.faq-item.open .faq-a { max-height: 460px; }
.faq-a p { padding: 0 20px 18px; margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--neutral-700); }

/* ---------- 19. FINAL CTA (red band) ---------- */
.final-cta { background: var(--th-red); background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.4px); background-size: 22px 22px; }

/* ---------- 20. FOOTER ---------- */
.th-footer { background: var(--navy-900); color: #C9CDD2; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.th-footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin: 0 0 14px; }
.th-footer a { color: #C9CDD2; text-decoration: none; font-size: 14px; }
.th-footer a:hover { color: #fff; }

/* ---------- 21. FLOATING ACTION BUTTONS ---------- */
.th-fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; gap: 12px; }
.th-fab a { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); color: #fff; }
.th-fab .call { background: var(--th-red); animation: thpulse 2.2s infinite; }
.th-fab .zalo { background: var(--blue-800); }
@keyframes thpulse { 0% { box-shadow: 0 0 0 0 rgba(191,6,3,.5); } 70% { box-shadow: 0 0 0 14px rgba(191,6,3,0); } 100% { box-shadow: 0 0 0 0 rgba(191,6,3,0); } }

/* ---------- 22. UTILITIES ---------- */
.only-mobile { display: none; }

/* ---------- 23. RESPONSIVE ---------- */
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-row { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .masonry { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) { .flow-grid7 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  :root { --sec-pad: 44px; }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .only-desktop { display: none !important; }
  .only-mobile { display: block; }
  .th-h2 { font-size: 27px; }
  .th-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .hero-trust-cell + .hero-trust-cell { border-left: none; }
  .intro-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .fee-box { grid-template-columns: 1fr; gap: 28px; }
  .fee-divider { display: none; }
  .calc-card { grid-template-columns: 1fr; }
  .ins-banner { flex-direction: column; text-align: center; }
  .cov-wrap { grid-template-columns: 1fr; }
  .cov-map { min-height: 320px; }
  .cov-list { max-height: 380px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.feature { grid-row: span 1; grid-column: span 2; }
  .news-card.feature .news-thumb { height: 200px; }
}
@media (max-width: 560px) {
  .cols-2, .cols-3, .cols-4, .svc-grid, .proof-grid, .article-row, .footer-grid, .masonry, .flow-grid7, .news-grid { grid-template-columns: 1fr !important; }
  .masonry-item.tall { grid-row: span 1; }
  .news-card.feature { grid-column: span 1; }
  /* Hàng chỉ số (4.9 / 5.0 / 1500+): bỏ kiểu wrap-canh-giữa (thẻ hẹp lửng lơ),
     đổi sang 3 cột đều nhau, nội dung xếp dọc cho gọn & cân đối trên điện thoại. */
  .rating-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .rating-row .th-card { flex-direction: column !important; align-items: center !important; text-align: center; gap: 8px !important; padding: 16px 6px !important; }
  .rating-row .th-card > div { display: flex; flex-direction: column; align-items: center; }
  .rating-row .icon-chip { width: 40px !important; height: 40px !important; }
  /* Nút pill chữ dài (vd "Xem chi tiết dịch vụ Chuyển nhà trọn gói"): bỏ nowrap +
     height cố định để chữ tự xuống dòng trong khung, không tràn/cắt mép màn hình. */
  .th-pill { white-space: normal; height: auto !important; min-height: 46px; max-width: 100%; padding: 11px 22px; line-height: 1.3; text-align: center; }
  .th-pill i, .th-pill svg { flex: none; }
  /* 3 chip hero ("Đa dạng tải trọng" / "An toàn tài sản" / "Hỗ trợ 24/7") nằm
     trên CÙNG 1 hàng ở điện thoại: ép nowrap + thu gọn padding/font/icon cho vừa. */
  .hero-chips { flex-wrap: nowrap; gap: 5px; max-width: 100%; }
  .hero-chips .hero-chip { padding: 7px 8px; font-size: 10.5px; gap: 4px; }
  .hero-chips .hero-chip i, .hero-chips .hero-chip svg { width: 13px; height: 13px; }
}
@media (prefers-reduced-motion: reduce) { .th-home * { animation: none !important; scroll-behavior: auto !important; } }
