/* TRANG-CHU.CSS — Website công khai Phục Hồi Mâm Xe Đà Nẵng (theme vàng-đen thương hiệu) */

:root {
  /* Chiều rộng khung nội dung — dùng chung cho MỌI khối để lề
     thẳng hàng khi cuộn. Trước đây header 1240px còn thân 1200px,
     lệch 40px nhìn thấy rõ. */
  --rong: 1200px;

  --c-bg:       #06090f;
  --c-surface:  #0d1420;
  --c-card:     #111827;
  --c-border:   #1e2d45;
  --c-gold:     #c8952a;
  --c-gold-lt:  #e8b84b;
  --c-gold-dim: rgba(200,149,42,.15);
  --c-white:    #f5f0e8;
  --c-muted:    #8a96a8;
  --c-accent:   #3b82f6;
  --c-success:  #22c55e;
  --f-display:  'Cormorant Garamond', Georgia, serif;
  --f-body:     'DM Sans', sans-serif;
  --f-mono:     'Space Mono', monospace;
  --r-card:     16px;
  --r-btn:      10px;
  --shadow-card: 0 4px 32px rgba(0,0,0,.5);
  --shadow-gold: 0 4px 24px rgba(200,149,42,.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); background: var(--c-bg); color: var(--c-white); min-height: 100vh; overflow-x: hidden; }

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: .5;
}

h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.15; }
.gold { color: var(--c-gold); }
.mono { font-family: var(--f-mono); }

@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes pulse-ring { 0%,100% { box-shadow: 0 0 0 0 rgba(200,149,42,.4); } 50% { box-shadow: 0 0 0 14px rgba(200,149,42,0); } }

.reveal { opacity:0; transform:translateY(28px); }
.reveal.show { animation: fadeUp .7s cubic-bezier(.22,.68,0,1.2) forwards; }
.stagger-1 { animation-delay: .1s !important; } .stagger-2 { animation-delay: .2s !important; }
.stagger-3 { animation-delay: .3s !important; } .stagger-4 { animation-delay: .4s !important; }
.stagger-5 { animation-delay: .5s !important; } .stagger-6 { animation-delay: .6s !important; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-surface); }
::-webkit-scrollbar-thumb { background: var(--c-gold); border-radius: 3px; }

/* ─── HEADER ─────────────────────────────────────────── */
/* Khung header — phần trình bày nằm ở mục HEADER phía dưới.
   [DỌN] Bỏ nền mờ và .logo-name cũ ở đây: chúng đứng TRƯỚC nên đè lên
   thiết kế trong suốt mới, làm header luôn có nền dù ở đầu trang. */
.site-header { position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: var(--rong); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }

.header-nav { display: flex; align-items: center; gap: 8px; }
.nav-link { font-size: .82rem; font-weight: 500; color: var(--c-muted); text-decoration: none; padding: 7px 14px; border-radius: 8px; transition: all .2s; border: 1px solid transparent; background: none; cursor: pointer; font-family: var(--f-body); letter-spacing: .02em; }
.nav-link:hover { color: var(--c-white); background: rgba(255,255,255,.06); border-color: var(--c-border); }
.nav-btn-gold { font-size: .82rem; font-weight: 600; color: var(--c-bg); background: var(--c-gold); padding: 8px 18px; border-radius: 8px; border: none; cursor: pointer; font-family: var(--f-body); transition: all .2s; letter-spacing: .03em; }
.nav-btn-gold:hover { background: var(--c-gold-lt); transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.nav-phone { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid rgba(200,149,42,.4); border-radius: 8px; color: var(--c-gold); text-decoration: none; font-size: .82rem; font-weight: 600; transition: all .2s; font-family: var(--f-mono); }
.nav-phone:hover { background: var(--c-gold-dim); border-color: var(--c-gold); }


/* ─── MOBILE SIDEBAR ─────────────────────────────────── */
.sidebar-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 200; }
.sidebar-overlay.active { opacity:1; pointer-events:all; }
/* ═══ MENU ĐIỆN THOẠI ═══
   Đánh số thứ tự bằng font mono — đây là danh sách có trật tự
   người dùng lướt từ trên xuống, không phải trang trí. */
#mobile-sidebar {
  position: fixed; top: 0; right: 0; width: min(340px, 88vw); height: 100dvh;
  background: var(--c-surface); border-left: 1px solid var(--c-border);
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.22,.68,0,1);
  z-index: 300; overflow-y: auto;
  padding: 1.75rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0));
  display: flex; flex-direction: column;
}
#mobile-sidebar.open { transform: none; }

.sidebar-close {
  position: absolute; top: 1.1rem; left: 1.1rem;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--c-card); border: 1px solid var(--c-border);
  color: var(--c-muted); cursor: pointer;
  display: grid; place-items: center; font-size: .9rem;
  transition: all .2s; z-index: 2;
}
.sidebar-close:hover { color: var(--c-gold); border-color: rgba(200,149,42,.4); }

.sidebar-logo {
  display: flex; align-items: center; gap: 11px; padding-left: 44px;
  padding-bottom: 1.35rem; margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--c-border);
}
.sidebar-logo img { width: 40px; height: 40px; object-fit: contain; }
.sidebar-logo span {
  font-family: var(--f-display); font-size: 1.05rem; color: var(--c-white); line-height: 1.2;
}
.sidebar-logo small {
  display: block; font-family: var(--f-mono); font-size: .58rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold);
  margin-top: 3px; opacity: .8;
}

.sidebar-nav { display: flex; flex-direction: column; flex: 1; }

/* Nhãn nhóm */
.sb-nhan {
  font-family: var(--f-mono); font-size: .58rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--c-muted);
  padding: 1rem .25rem .45rem; opacity: .6;
}
.sb-nhan:first-child { padding-top: .25rem; }

.sidebar-nav a, .sidebar-nav button {
  position: relative;
  display: flex; align-items: center; gap: 13px; width: 100%;
  text-align: left; padding: 12px 14px; border-radius: 10px;
  color: var(--c-muted); font-size: .9rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--f-body); text-decoration: none;
  transition: color .2s, background .2s;
}
/* Số thứ tự — vệt mảnh bên trái khi chạm */
.sidebar-nav a::before, .sidebar-nav button::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 2px; height: 0; background: var(--c-gold); border-radius: 2px;
  transition: height .22s cubic-bezier(.22,.68,0,1);
}
.sidebar-nav a:hover, .sidebar-nav button:hover,
.sidebar-nav a:active, .sidebar-nav button:active {
  color: var(--c-white); background: rgba(200,149,42,.07);
}
.sidebar-nav a:hover::before, .sidebar-nav button:hover::before { height: 62%; }
.sidebar-nav a:focus-visible, .sidebar-nav button:focus-visible {
  outline: 1px solid var(--c-gold); outline-offset: -1px;
}
.sb-so {
  font-family: var(--f-mono); font-size: .66rem; color: var(--c-gold);
  opacity: .5; min-width: 17px; transition: opacity .2s;
}
.sidebar-nav a:hover .sb-so, .sidebar-nav button:hover .sb-so { opacity: 1; }

/* Nút gọi — điểm nhấn duy nhất trong menu */
.sidebar-call {
  margin-top: auto !important; padding: 15px !important;
  background: var(--c-gold); color: var(--c-bg) !important;
  justify-content: center !important; gap: 9px !important;
  font-weight: 700 !important; border-radius: 11px;
  font-family: var(--f-mono) !important; font-size: .86rem !important;
  letter-spacing: .02em;
}
.sidebar-call::before { display: none !important; }
.sidebar-call:hover { background: var(--c-gold-lt); color: var(--c-bg) !important; }

@media (prefers-reduced-motion: reduce) {
  #mobile-sidebar, .nav-drop, .nav-main .nav-link::after { transition: none; }
}

.gold-line { width: 48px; height: 2px; background: linear-gradient(90deg, var(--c-gold), transparent); border-radius: 2px; margin: 1rem auto; }
.gold-line.left { margin-left: 0; }
.section-label { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--c-gold); display: block; margin-bottom: .5rem; }

/* ─── HERO ───────────────────────────────────────────── */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 70% 50%, rgba(200,149,42,.08) 0%, transparent 60%), radial-gradient(ellipse 50% 60% at 10% 80%, rgba(59,130,246,.06) 0%, transparent 50%), var(--c-bg); }
.hero-ring { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); width: min(560px, 55vw); height: min(560px, 55vw); border-radius: 50%; border: 1px solid rgba(200,149,42,.12); display: flex; align-items: center; justify-content: center; }
.hero-ring::before { content: ''; position: absolute; inset: 24px; border-radius: 50%; border: 1px solid rgba(200,149,42,.08); }
.hero-ring::after { content: ''; position: absolute; inset: 60px; border-radius: 50%; background: radial-gradient(circle, rgba(200,149,42,.06) 0%, transparent 70%); }
.hero-wheel-icon { font-size: clamp(8rem, 18vw, 15rem); color: rgba(200,149,42,.08); animation: spin-slow 30s linear infinite; line-height: 1; user-select: none; }
.hero-logo-center { position: absolute; width: 110px; height: 110px; object-fit: contain; filter: drop-shadow(0 0 40px rgba(200,149,42,.5)); animation: pulse-ring 3s ease-in-out infinite; }

.hero-content { position: relative; z-index: 2; max-width: var(--rong); margin: 0 auto; padding: 0 2rem; width: 100%; }
.hero-eyebrow { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-gold); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 12px; }
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--c-gold); flex-shrink: 0; }
.hero-h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); font-weight: 300; line-height: 1.08; max-width: 620px; color: var(--c-white); }
.hero-h1 em { font-style: italic; color: var(--c-gold); }
.hero-h1 strong { font-weight: 700; display: block; }
.hero-sub { margin-top: 1.5rem; max-width: 480px; font-size: 1rem; line-height: 1.7; color: var(--c-muted); font-weight: 300; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }
.hero-tag { font-size: .75rem; font-family: var(--f-mono); letter-spacing: .06em; padding: 5px 12px; border: 1px solid rgba(200,149,42,.3); border-radius: 4px; color: var(--c-gold); background: rgba(200,149,42,.06); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.5rem; }

.btn-gold { display: inline-flex; align-items: center; gap: 8px; background: var(--c-gold); color: var(--c-bg); font-family: var(--f-body); font-weight: 600; font-size: .9rem; padding: 14px 28px; border-radius: var(--r-btn); border: none; cursor: pointer; text-decoration: none; transition: all .25s; letter-spacing: .02em; }
.btn-gold:hover { background: var(--c-gold-lt); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline-gold { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--c-white); font-family: var(--f-body); font-weight: 500; font-size: .9rem; padding: 13px 26px; border-radius: var(--r-btn); border: 1px solid rgba(255,255,255,.2); cursor: pointer; text-decoration: none; transition: all .25s; }
.btn-outline-gold:hover { border-color: rgba(200,149,42,.5); color: var(--c-gold); background: rgba(200,149,42,.06); }

.hero-stats { display: flex; gap: 48px; margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--c-border); flex-wrap: wrap; }
.hero-stat-num { font-family: var(--f-display); font-size: 2.4rem; font-weight: 600; color: var(--c-gold); line-height: 1; }
.hero-stat-label { font-size: .78rem; color: var(--c-muted); margin-top: 4px; letter-spacing: .04em; }

/* ─── SECTION WRAPPER ────────────────────────────────── */
.section { max-width: var(--rong); margin: 0 auto; padding: 5rem 2rem; }
.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--c-white); }
.section-desc { margin-top: .75rem; color: var(--c-muted); font-size: .95rem; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ─── PROCESS STEPS ──────────────────────────────────── */
.process-section { background: var(--c-surface); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.process-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--c-border); border: 1px solid var(--c-border); border-radius: 16px; overflow: hidden; }
.process-step { background: var(--c-surface); padding: 2rem 1.25rem; text-align: center; position: relative; transition: background .3s; }
.process-step:hover { background: rgba(200,149,42,.05); }
.step-num { font-family: var(--f-mono); font-size: .65rem; color: var(--c-gold); letter-spacing: .12em; display: block; margin-bottom: 1rem; }
.step-icon { width: 44px; height: 44px; margin: 0 auto 1rem; border-radius: 12px; background: var(--c-gold-dim); border: 1px solid rgba(200,149,42,.25); display: flex; align-items: center; justify-content: center; color: var(--c-gold); font-size: 1rem; transition: all .3s; }
.process-step:hover .step-icon { background: var(--c-gold); color: var(--c-bg); }
.step-name { font-weight: 600; font-size: .88rem; color: var(--c-white); margin-bottom: .35rem; }
.step-desc { font-size: .76rem; color: var(--c-muted); line-height: 1.5; }

/* ─── SERVICE CARDS ──────────────────────────────────── */
.services-section { background: var(--c-bg); }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.plan-card { background: var(--c-card); border: 1px solid var(--c-border); border-radius: 20px; overflow: hidden; transition: all .35s cubic-bezier(.22,.68,0,1.2); position: relative; }
.plan-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--c-gold), transparent); opacity: 0; transition: opacity .35s; }
.plan-card:hover { transform: translateY(-6px); border-color: rgba(200,149,42,.35); box-shadow: 0 20px 50px rgba(0,0,0,.5), var(--shadow-gold); }
.plan-card:hover::before { opacity: 1; }
.plan-card.featured { border-color: rgba(200,149,42,.4); background: linear-gradient(145deg, var(--c-card) 0%, rgba(200,149,42,.04) 100%); }
.plan-card.featured::before { opacity: 1; }
.plan-badge { position: absolute; top: 1.25rem; right: 1.25rem; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; background: var(--c-gold); color: var(--c-bg); padding: 3px 10px; border-radius: 20px; font-weight: 700; }
.plan-body { padding: 2rem; }
.plan-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--c-gold-dim); border: 1px solid rgba(200,149,42,.2); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--c-gold); margin-bottom: 1.25rem; }
.plan-name { font-size: 1.35rem; font-weight: 600; color: var(--c-white); margin-bottom: .5rem; }
.plan-desc { font-size: .85rem; color: var(--c-muted); line-height: 1.6; margin-bottom: 1.5rem; }
.plan-price { font-family: var(--f-display); font-size: 2rem; color: var(--c-gold); font-weight: 600; margin-bottom: 1.5rem; }
.plan-price span { font-size: .85rem; color: var(--c-muted); font-family: var(--f-body); font-weight: 400; }
.plan-features { list-style: none; margin-bottom: 1.75rem; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: .87rem; color: #c8d0dc; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.plan-features li:last-child { border: none; }
.plan-features li i { width: 18px; color: var(--c-gold); font-size: .75rem; flex-shrink: 0; }
.plan-btn { display: block; width: 100%; text-align: center; padding: 13px; border-radius: 10px; font-weight: 600; font-size: .88rem; border: none; cursor: pointer; font-family: var(--f-body); transition: all .25s; }
.plan-btn-gold { background: var(--c-gold); color: var(--c-bg); }
.plan-btn-gold:hover { background: var(--c-gold-lt); box-shadow: var(--shadow-gold); }
.plan-btn-outline { background: transparent; color: var(--c-white); border: 1px solid var(--c-border) !important; }
.plan-btn-outline:hover { border-color: rgba(200,149,42,.4) !important; color: var(--c-gold); background: rgba(200,149,42,.06); }
.plan-warranty { text-align: center; margin-top: 1rem; font-size: .75rem; color: var(--c-muted); font-family: var(--f-mono); letter-spacing: .06em; }

/* ─── FAQ ────────────────────────────────────────────── */
.faq-section { background: var(--c-surface); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; background: none; border: none; color: var(--c-white); font-family: var(--f-body); font-size: .95rem; font-weight: 500; text-align: left; cursor: pointer; transition: color .2s; }
.faq-q:hover { color: var(--c-gold); }
.faq-q-icon { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--c-border); display: flex; align-items: center; justify-content: center; font-size: .75rem; color: var(--c-gold); flex-shrink: 0; transition: all .3s; }
.faq-item.open .faq-q-icon { background: var(--c-gold); color: var(--c-bg); border-color: var(--c-gold); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 0 0 1.4rem; color: var(--c-muted); font-size: .9rem; line-height: 1.75; }

/* ─── MAP ────────────────────────────────────────────── */
.map-section { background: var(--c-bg); }
.map-wrap { border-radius: 20px; overflow: hidden; border: 1px solid var(--c-border); box-shadow: var(--shadow-card); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-address { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 1.25rem; font-size: .9rem; color: var(--c-muted); }
.map-address i { color: var(--c-gold); }

/* ─── TESTIMONIALS ───────────────────────────────────── */
.testi-section { background: var(--c-surface); border-top: 1px solid var(--c-border); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testi-card { background: var(--c-card); border: 1px solid var(--c-border); border-radius: 16px; padding: 1.75rem; position: relative; transition: all .3s; }
.testi-card:hover { border-color: rgba(200,149,42,.3); transform: translateY(-4px); }
.testi-card::before { content: '"'; position: absolute; top: 1rem; right: 1.5rem; font-family: var(--f-display); font-size: 4rem; color: rgba(200,149,42,.12); line-height: 1; }
.testi-stars { color: var(--c-gold); font-size: .85rem; margin-bottom: .85rem; letter-spacing: 2px; }
.testi-text { font-size: .88rem; line-height: 1.75; color: #b0bcc8; margin-bottom: 1.25rem; }
.testi-author { font-size: .78rem; font-weight: 600; color: var(--c-white); font-family: var(--f-mono); letter-spacing: .06em; }

/* ─── CTA BANNER ─────────────────────────────────────── */
.cta-section { position: relative; overflow: hidden; background: var(--c-card); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 100% at 0% 50%, rgba(200,149,42,.12) 0%, transparent 60%), radial-gradient(ellipse 40% 80% at 100% 50%, rgba(59,130,246,.07) 0%, transparent 50%); pointer-events: none; }
.cta-inner { position: relative; max-width: var(--rong); margin: 0 auto; padding: 5rem 2rem; text-align: center; }
.cta-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; margin-bottom: 1rem; color: var(--c-white); }
.cta-title em { font-style: italic; color: var(--c-gold); }
.cta-sub { color: var(--c-muted); font-size: 1rem; margin-bottom: 2.5rem; max-width: 400px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ─── FOOTER ─────────────────────────────────────────── */
.footer { background: var(--c-surface); border-top: 1px solid var(--c-border); padding: 3rem 2rem 2rem; }
.footer-inner { max-width: var(--rong); margin: 0 auto; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 3rem; flex-wrap: wrap; margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--c-border); }
.footer-brand { max-width: 300px; }
.footer-brand img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(200,149,42,.4)); margin-bottom: .75rem; }
.footer-brand p { font-family: var(--f-display); font-size: 1.2rem; color: var(--c-white); margin-bottom: .5rem; }
.footer-brand small { font-size: .8rem; color: var(--c-muted); line-height: 1.6; display: block; }
.footer-links h4 { font-size: .75rem; font-family: var(--f-mono); letter-spacing: .12em; color: var(--c-gold); text-transform: uppercase; margin-bottom: 1rem; }
.footer-links a { display: block; color: var(--c-muted); text-decoration: none; font-size: .85rem; margin-bottom: .5rem; transition: color .2s; }
.footer-links a:hover { color: var(--c-white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: .78rem; color: var(--c-muted); }
.footer-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-stat { font-size: .78rem; color: var(--c-muted); display: flex; align-items: center; gap: 6px; }
.footer-stat i { color: var(--c-gold); font-size: .7rem; }
#visitor-count { font-size: .8rem; color: var(--c-muted); }
#visitor-count strong { color: var(--c-gold); }

/* ─── MODALS ─────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 0; visibility: hidden; transition: all .3s cubic-bezier(.25,.46,.45,.94); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-hidden { display: none !important; }
.modal-content { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 20px; box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(200,149,42,.08); max-width: 90vw; width: 100%; margin: 1rem; transform: translateY(16px) scale(.97); transition: all .35s cubic-bezier(.25,.46,.45,.94); overflow: hidden; }
.modal-overlay.active .modal-content { transform: none; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 1.75rem 1.75rem 1.25rem; border-bottom: 1px solid var(--c-border); }
.modal-title { font-size: 1.4rem; font-weight: 600; color: var(--c-white); font-family: var(--f-display); margin-bottom: .3rem; }
.modal-sub { font-size: .82rem; color: var(--c-muted); }
.modal-close { background: rgba(255,255,255,.06); border: 1px solid var(--c-border); color: var(--c-muted); cursor: pointer; width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: .9rem; transition: all .2s; flex-shrink: 0; }
.modal-close:hover { background: rgba(200,149,42,.1); color: var(--c-gold); border-color: rgba(200,149,42,.3); }
.modal-body { padding: 1.75rem; overflow-y: auto; max-height: calc(90vh - 110px); }
.modal-body::-webkit-scrollbar { width: 4px; }
.modal-body::-webkit-scrollbar-track { background: var(--c-card); }
.modal-body::-webkit-scrollbar-thumb { background: var(--c-gold); border-radius: 2px; }

/* Form Inputs */
.form-label { display: block; font-size: .8rem; font-weight: 500; color: var(--c-muted); margin-bottom: 6px; letter-spacing: .03em; text-transform: uppercase; font-family: var(--f-mono); }
.form-input { width: 100%; background: var(--c-card); border: 1px solid var(--c-border); color: var(--c-white); padding: 11px 14px; border-radius: 10px; font-family: var(--f-body); font-size: .9rem; outline: none; transition: all .2s; }
.form-input::placeholder { color: #3d4a5c; }
.form-input:focus { border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(200,149,42,.12); }
select.form-input { appearance: none; }
.form-group { margin-bottom: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; padding: 14px; background: var(--c-gold); color: var(--c-bg); border: none; border-radius: 10px; font-family: var(--f-body); font-weight: 700; font-size: .95rem; cursor: pointer; transition: all .25s; margin-top: .5rem; }
.form-submit:hover { background: var(--c-gold-lt); box-shadow: var(--shadow-gold); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-note { text-align: center; font-size: .75rem; color: var(--c-muted); margin-top: .75rem; }

/* Thông báo trong form (thay cho alert()) */
.form-msg { display:none; align-items:center; gap:10px; padding:12px 14px; border-radius:10px; font-size:.85rem; margin-bottom:1rem; }
.form-msg.show { display:flex; }
.form-msg.ok { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: #4ade80; }
.form-msg.err { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: #f87171; }
.form-msg.warn { background: var(--c-gold-dim); border: 1px solid rgba(200,149,42,.3); color: var(--c-gold-lt); }

/* ─── PRICE CALC inside modal ────────────────────────── */
.calc-bg { background: var(--c-card); border-radius: 14px; padding: 1.5rem; }
.wheel-cards { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.wheel-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 12px; padding: 1.25rem; width: 230px; flex-shrink: 0; transition: border-color .2s; }
.wheel-card:hover { border-color: rgba(200,149,42,.3); }
.wheel-card h3 { font-size: .9rem; font-weight: 600; color: var(--c-gold); margin-bottom: .85rem; font-family: var(--f-display); }
.wheel-card label { display: block; font-size: .72rem; font-family: var(--f-mono); color: var(--c-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.wheel-card input[type=number], .wheel-card input[type=text] { background: var(--c-card); border: 1px solid var(--c-border); color: var(--c-white); padding: 7px 10px; border-radius: 7px; font-family: var(--f-body); font-size: .85rem; outline: none; transition: border-color .2s; }
.wheel-card input:focus { border-color: var(--c-gold); }
.sizeInput { width: 110px; }
.qtyInput  { width: 70px;  }
.svc-list { margin-top: .75rem; }
.svc-list label { display: flex; align-items: center; gap: 8px; padding: 5px 0; color: #b0bcc8; font-size: .82rem; cursor: pointer; font-family: var(--f-body); text-transform: none; letter-spacing: 0; }
.svc-list input[type=checkbox], .warranty-list input[type=radio] { accent-color: var(--c-gold); }
.warranty-list { margin-top: .75rem; }
.warranty-list label { display: flex; align-items: center; gap: 8px; padding: 4px 0; color: #b0bcc8; font-size: .82rem; cursor: pointer; font-family: var(--f-body); text-transform: none; letter-spacing: 0; }
.wheel-warn { display:none; font-size:.72rem; color: var(--c-gold-lt); margin-top:6px; }
.wheel-warn.show { display:block; }
.calc-add-btn { background: rgba(200,149,42,.12); border: 1px dashed rgba(200,149,42,.3); color: var(--c-gold); padding: 8px 18px; border-radius: 8px; font-size: .83rem; font-family: var(--f-body); cursor: pointer; transition: all .2s; }
.calc-add-btn:hover { background: rgba(200,149,42,.2); }
.promo-wrap { margin-top: 1.25rem; background: var(--c-surface); border: 1px dashed rgba(200,149,42,.25); border-radius: 10px; padding: 1rem; }
.promo-wrap label { font-size: .72rem; font-family: var(--f-mono); color: var(--c-gold); letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: .6rem; }
.promo-row { display: flex; gap: 8px; }
.promo-input { flex: 1; background: var(--c-card); border: 1px solid var(--c-border); color: var(--c-white); padding: 8px 12px; border-radius: 8px; font-family: var(--f-body); font-size: .85rem; outline: none; }
.promo-input:focus { border-color: var(--c-gold); }
.promo-apply { background: var(--c-gold); color: var(--c-bg); border: none; padding: 8px 16px; border-radius: 8px; font-size: .83rem; font-weight: 600; cursor: pointer; font-family: var(--f-body); transition: all .2s; }
.promo-apply:hover { background: var(--c-gold-lt); }
.calc-summary { margin-top: 1.25rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden; }
.summary-item { padding: .85rem 1rem; border-bottom: 1px solid var(--c-border); font-size: .85rem; }
.summary-item:last-child { border: none; }
.summary-item-name { color: var(--c-white); font-weight: 500; margin-bottom: .25rem; }
.summary-item-detail { color: var(--c-muted); font-size: .78rem; }
.summary-item-price { color: var(--c-gold); font-weight: 600; text-align: right; margin-top: .25rem; }
.summary-discount { color: #f97316; }
.calc-total { padding: 1rem; display: flex; align-items: center; justify-content: space-between; background: var(--c-card); border-top: 1px solid rgba(200,149,42,.2); }
.total-label { font-family: var(--f-mono); font-size: .75rem; color: var(--c-muted); letter-spacing: .1em; text-transform: uppercase; }
.total-value { font-family: var(--f-display); font-size: 1.8rem; color: var(--c-gold); font-weight: 700; }

/* Lookup results */
.lookup-result { background: var(--c-card); border: 1px solid var(--c-border); border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.lookup-result-head { background: rgba(200,149,42,.08); padding: 1rem 1.25rem; border-bottom: 1px solid var(--c-border); font-weight: 600; color: var(--c-gold); font-family: var(--f-display); font-size: 1.1rem; }
.lookup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.lookup-cell { padding: .85rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.04); border-right: 1px solid rgba(255,255,255,.04); }
.lookup-cell:nth-child(2n) { border-right: none; }
.lookup-cell-label { font-size: .7rem; font-family: var(--f-mono); color: var(--c-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.lookup-cell-val { font-size: .88rem; color: var(--c-white); font-weight: 500; }
.status-badge { display: inline-block; padding: 3px 10px; background: rgba(59,130,246,.15); color: #60a5fa; border: 1px solid rgba(59,130,246,.25); border-radius: 20px; font-size: .75rem; font-family: var(--f-mono); }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) { .plans-grid { grid-template-columns: 1fr 1fr; } .process-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
  /* header-nav giờ chứa số điện thoại + nút mở panel nên KHÔNG ẩn;
     riêng nhóm link giữa đã ẩn từ 860px ở phần menu phía trên. */
  .hero { min-height: 100svh; padding-top: 4rem; } .hero-ring { display: none; }
  .hero-stats { gap: 2rem; } .plans-grid { grid-template-columns: 1fr; } .testi-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); } .form-row { grid-template-columns: 1fr; }
  .lookup-grid { grid-template-columns: 1fr; } .lookup-cell { border-right: none; }
  .footer-top { flex-direction: column; gap: 2rem; } .footer-bottom { flex-direction: column; align-items: flex-start; }
  .modal-body { padding: 1.25rem; } .modal-header { padding: 1.25rem; }
}
@media (max-width: 480px) {
  .hero-h1 { font-size: 2.4rem; } .hero-cta { flex-direction: column; }
  .hero-cta .btn-gold, .hero-cta .btn-outline-gold { justify-content: center; }
  .process-grid { grid-template-columns: 1fr; } .section { padding: 3.5rem 1.25rem; }
  .cta-btns { flex-direction: column; align-items: center; }
}

/* ══ KHỐI TUYỂN DỤNG TRÊN TRANG CHỦ ══ */
.home-job-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:1.25rem; }
.home-job-loading { grid-column:1/-1; text-align:center; padding:2.5rem; color:var(--c-muted); }
.home-job-card { background:var(--c-card); border:1px solid var(--c-border); border-radius:16px; padding:1.5rem; transition:all .3s; position:relative; overflow:hidden; }
.home-job-card::before { content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,var(--c-gold),transparent); opacity:0; transition:opacity .3s; }
.home-job-card:hover { transform:translateY(-4px); border-color:rgba(200,149,42,.35); box-shadow:0 16px 40px rgba(0,0,0,.4); }
.home-job-card:hover::before { opacity:1; }
.home-job-title { font-family:var(--f-display); font-size:1.2rem; font-weight:600; color:var(--c-white); margin-bottom:.5rem; }
.home-job-salary { font-family:var(--f-mono); font-size:.95rem; font-weight:700; color:var(--c-gold); margin-bottom:.75rem; }
.home-job-tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:1rem; }
.home-job-tag { font-size:.7rem; font-family:var(--f-mono); padding:3px 10px; border:1px solid var(--c-border); border-radius:20px; color:var(--c-muted); }
.home-job-tag.hot { border-color:rgba(200,149,42,.4); color:var(--c-gold); background:rgba(200,149,42,.08); }
.home-job-link { display:inline-flex; align-items:center; gap:6px; font-size:.84rem; font-weight:600; color:var(--c-gold); text-decoration:none; }
.home-job-link:hover { text-decoration:underline; }

/* ══ POPUP QUẢNG CÁO TRANG CHỦ ══ */
#promoOverlay {
  position:fixed; inset:0; z-index:10000;
  background:rgba(0,0,0,.82); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center; padding:20px;
  opacity:0; visibility:hidden; transition:opacity .35s ease, visibility .35s;
}
#promoOverlay.show { opacity:1; visibility:visible; }
.promo-box {
  position:relative; max-width:520px; width:100%;
  transform:translateY(24px) scale(.96); transition:transform .4s cubic-bezier(.22,.68,0,1.2);
}
#promoOverlay.show .promo-box { transform:none; }
.promo-title {
  text-align:center; font-family:var(--f-display); font-size:1.5rem; font-weight:600;
  color:var(--c-gold); margin-bottom:14px; line-height:1.3; text-shadow:0 2px 12px rgba(0,0,0,.6);
}
.promo-img-wrap {
  border-radius:16px; overflow:hidden; border:1px solid rgba(200,149,42,.35);
  box-shadow:0 30px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(200,149,42,.1);
  background:var(--c-surface); line-height:0;
}
.promo-img-wrap img { width:100%; height:auto; display:block; max-height:70vh; object-fit:contain; }
.promo-img-wrap a { display:block; line-height:0; }
.promo-img-wrap a:hover img { opacity:.94; }
.promo-close {
  position:absolute; top:-14px; right:-14px; z-index:2;
  width:40px; height:40px; border-radius:50%; cursor:pointer;
  background:var(--c-surface); border:1px solid var(--c-border); color:var(--c-white);
  font-size:1.1rem; display:flex; align-items:center; justify-content:center;
  transition:all .2s; box-shadow:0 6px 18px rgba(0,0,0,.5);
}
.promo-close:hover { background:var(--c-gold); color:var(--c-bg); border-color:var(--c-gold); transform:rotate(90deg); }
.promo-actions { display:flex; justify-content:center; margin-top:16px; }
.promo-dismiss {
  background:none; border:none; cursor:pointer;
  color:var(--c-muted); font-family:var(--f-body); font-size:.83rem;
  padding:9px 18px; border-radius:8px; transition:all .2s;
  display:inline-flex; align-items:center; gap:8px;
}
.promo-dismiss:hover { color:var(--c-white); background:rgba(255,255,255,.07); }
.promo-dismiss input { accent-color:var(--c-gold); width:15px; height:15px; cursor:pointer; }
@media (max-width:560px){
  .promo-close { top:-10px; right:-6px; width:36px; height:36px; }
  .promo-title { font-size:1.2rem; }
}
@media (prefers-reduced-motion: reduce){
  #promoOverlay, .promo-box { transition:none; }
}

/* ══ TRA CỨU TIẾN ĐỘ — chi tiết từng mâm ══ */
.tc-bar { height:7px; background:rgba(255,255,255,.07); border-radius:5px; overflow:hidden; margin-top:.55rem; }
.tc-fill { height:100%; background:linear-gradient(90deg,var(--c-gold),var(--c-gold-lt)); border-radius:5px; transition:width .6s ease; }

.tc-mam-wrap { margin-top:1.15rem; padding-top:1rem; border-top:1px solid var(--c-border); }
.tc-mam-title { font-family:var(--f-mono); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--c-gold); margin-bottom:.7rem; }
.tc-mam {
  display:flex; align-items:center; gap:.75rem; padding:.55rem 0;
  border-bottom:1px solid rgba(255,255,255,.04); font-size:.85rem;
}
.tc-mam:last-child { border-bottom:none; }
.tc-mam-no {
  width:24px; height:24px; border-radius:7px; display:grid; place-items:center; flex-shrink:0;
  background:var(--c-gold-dim); border:1px solid rgba(200,149,42,.3);
  font-family:var(--f-mono); font-size:.7rem; font-weight:700; color:var(--c-gold);
}
.tc-mam-kt { color:var(--c-white); font-weight:500; min-width:58px; }
.tc-mam-tt { color:var(--c-muted); margin-left:auto; font-size:.82rem; }
.tc-note { margin-top:1rem; font-size:.72rem; color:var(--c-muted); font-family:var(--f-mono); opacity:.7; }

/* Ảnh mâm trong kết quả tra cứu */
.tc-mam-anh {
  width:46px; height:46px; border-radius:9px; object-fit:cover; cursor:zoom-in; flex-shrink:0;
  border:1px solid var(--c-border); background:var(--c-surface); transition:all .2s;
}
.tc-mam-anh:hover { border-color:var(--c-gold); transform:scale(1.06); }
.tc-mam-noanh {
  width:46px; height:46px; border-radius:9px; flex-shrink:0;
  border:1px dashed var(--c-border); background:var(--c-surface);
  display:grid; place-items:center; color:var(--c-muted); font-size:.85rem; opacity:.5;
}

/* Xem ảnh lớn */
.tc-xem-anh {
  position:fixed; inset:0; z-index:11000; background:rgba(0,0,0,.9);
  display:flex; align-items:center; justify-content:center; padding:24px;
  opacity:0; transition:opacity .25s; cursor:zoom-out;
}
.tc-xem-anh.hien { opacity:1; }
.tc-xem-anh img { max-width:92%; max-height:88vh; object-fit:contain; border-radius:10px; box-shadow:0 20px 60px rgba(0,0,0,.6); }
.tc-xem-dong {
  position:absolute; top:20px; right:24px; width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,.12); color:#fff; font-size:1.7rem; cursor:pointer;
  display:grid; place-items:center; transition:all .2s;
}
.tc-xem-dong:hover { background:var(--c-gold); color:var(--c-bg); transform:rotate(90deg); }


/* ════════════════════════════════════════════════════════════
   BỔ SUNG — các khối mới trên trang chủ
   Dùng lại toàn bộ biến màu và font sẵn có của theme.
   ════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   HEADER
   Ở đầu trang: trong suốt hoàn toàn để ảnh hero thở.
   Khi cuộn: nền kính đen + viền vàng mảnh.
   Chiều cao CỐ ĐỊNH — đổi chiều cao khi cuộn gây rung trang.
   ═══════════════════════════════════════════════════════ */
.site-header {
  padding: 0 2rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.site-header.thu-gon {
  background: rgba(8,12,20,.88);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-bottom-color: rgba(200,149,42,.2);
  box-shadow: 0 6px 30px rgba(0,0,0,.5);
}
.header-inner { max-width: var(--rong); height: 78px; gap: 2rem; }

/* ── Logo ── */
.logo-wrap {
  display: flex; align-items: center; gap: 13px;
  text-decoration: none; flex-shrink: 0;
}
.logo-img {
  width: 44px; height: 44px; object-fit: contain;
  transition: transform .4s cubic-bezier(.22,.68,0,1);
}
.logo-wrap:hover .logo-img { transform: rotate(28deg); }   /* mâm xoay nhẹ */
.logo-chu { display: flex; flex-direction: column; line-height: 1; }
.logo-chu em {
  font-family: var(--f-display); font-style: italic;
  font-size: 1.28rem; font-weight: 600; color: var(--c-white);
  letter-spacing: .005em;
}
.logo-chu small {
  font-family: var(--f-mono); font-size: .56rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-gold); margin-top: 6px; opacity: .85;
}
.logo-wrap:focus-visible { outline: 1px solid var(--c-gold); outline-offset: 5px; border-radius: 6px; }

/* ── Điều hướng ── */
.header-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 1.75rem; }
.nav-main { flex: 1; display: flex; justify-content: center; gap: 2px; }

.nav-main .nav-link {
  position: relative;
  border: none !important; background: none !important;
  padding: 9px 17px;
  font-family: var(--f-body);
  font-size: .875rem; font-weight: 400; letter-spacing: .005em;
  color: rgba(255,255,255,.62); white-space: nowrap;
  transition: color .26s ease;
}
/* Chấm nhỏ thay gạch chân — nhẹ nhàng hơn, không cắt ngang chữ */
.nav-main .nav-link::after {
  content: ''; position: absolute; left: 50%; bottom: -1px;
  width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--c-gold);
  opacity: 0; transform: translateY(4px);
  transition: opacity .26s ease, transform .26s cubic-bezier(.22,.68,0,1.4);
}
.nav-main .nav-link:hover { color: #fff; }
.nav-main .nav-link:hover::after,
.nav-main .nav-link.dang-xem::after { opacity: 1; transform: translateY(0); }
.nav-main .nav-link.dang-xem { color: var(--c-gold); }
.nav-main .nav-link:focus-visible { outline: 1px solid var(--c-gold); outline-offset: 2px; border-radius: 6px; }

/* ── Cụm phải ── */
.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav-phone {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 100px;
  border: 1px solid rgba(200,149,42,.45); background: transparent;
  color: var(--c-gold); text-decoration: none;
  font-family: var(--f-mono); font-size: .82rem; font-weight: 700;
  white-space: nowrap; z-index: 0;
  transition: color .3s ease, border-color .3s ease;
}
/* Nền vàng trượt lên từ dưới khi rê chuột */
.nav-phone::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--c-gold);
  transform: translateY(101%);
  transition: transform .34s cubic-bezier(.22,.68,0,1);
}
.nav-phone:hover { color: var(--c-bg); border-color: var(--c-gold); }
.nav-phone:hover::before { transform: none; }
.nav-phone i { font-size: .74rem; }
.nav-phone:focus-visible { outline: 1px solid var(--c-gold); outline-offset: 3px; }

/* Nút mở panel — hai vạch, tinh hơn ba */
.nav-panel-btn {
  width: 42px; height: 42px; border-radius: 100px; flex-shrink: 0;
  background: none; border: 1px solid rgba(255,255,255,.16); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: border-color .26s ease, background .26s ease;
}
.nav-panel-btn:hover { border-color: rgba(200,149,42,.5); background: rgba(200,149,42,.07); }
.nav-panel-btn:focus-visible { outline: 1px solid var(--c-gold); outline-offset: 3px; }
.nav-panel-btn span {
  display: block; height: 1.5px; background: rgba(255,255,255,.85); border-radius: 2px;
  transition: transform .34s cubic-bezier(.22,.68,0,1), width .3s ease, background .26s;
}
.nav-panel-btn span:nth-child(1) { width: 18px; }
.nav-panel-btn span:nth-child(2) { width: 12px; align-self: flex-end; margin-right: 12px; }
.nav-panel-btn:hover span { background: var(--c-gold); }
.nav-panel-btn:hover span:nth-child(2) { width: 18px; margin-right: 12px; }
body.menu-mo .nav-panel-btn span:nth-child(1) { width: 18px; transform: translateY(3.25px) rotate(45deg); }
body.menu-mo .nav-panel-btn span:nth-child(2) { width: 18px; margin-right: 12px; transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 1000px) { .nav-an-1000 { display: none !important; } }
@media (max-width: 880px)  { .nav-main { display: none; } }
@media (max-width: 600px)  {
  .site-header { padding: 0 1.1rem; }
  .header-inner { height: 68px; gap: 1rem; }
  .nav-phone span { display: none; }
  .nav-phone { padding: 10px 14px; }
  .logo-img { width: 38px; height: 38px; }
  .logo-chu em { font-size: 1.1rem; }
  .logo-chu small { font-size: .5rem; letter-spacing: .18em; }
}

/* ═══ THANH LIÊN HỆ DƯỚI ĐÁY ═══
   Chỉ chứa việc cần làm NGAY: gọi, nhắn, báo giá, tra cứu, đường đi.
   Nội dung tìm hiểu (dịch vụ, tuyển dụng, kinh nghiệm) ở menu trên. */
.dockbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: rgba(14,20,31,.94);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border-top: 1px solid rgba(200,149,42,.24);
  box-shadow: 0 -10px 34px rgba(0,0,0,.6);
  display: flex;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.dockbar::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,149,42,.5) 22%, rgba(200,149,42,.5) 78%, transparent);
}

.dock-item {
  position: relative; flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 4px 10px;
  background: none; border: none; cursor: pointer; text-decoration: none;
  color: rgba(255,255,255,.62); font-family: var(--f-body);
  font-size: .67rem; letter-spacing: .02em;
  transition: color .22s ease, background .22s ease;
}
.dock-item + .dock-item::after {
  content: ''; position: absolute; left: 0; top: 24%; bottom: 24%;
  width: 1px; background: rgba(255,255,255,.07);
}
.dock-item::before {
  content: ''; position: absolute; top: 0; left: 22%; right: 22%;
  height: 2px; background: var(--c-gold); border-radius: 0 0 2px 2px;
  transform: scaleX(0);
  transition: transform .28s cubic-bezier(.22,.68,0,1);
}
.dock-item:hover, .dock-item:active { color: #fff; background: rgba(200,149,42,.07); }
.dock-item:hover::before, .dock-item:active::before { transform: scaleX(1); }
.dock-item:focus-visible { outline: 1px solid var(--c-gold); outline-offset: -2px; }
.dock-item i { font-size: 1.04rem; line-height: 1; transition: transform .24s cubic-bezier(.22,.68,0,1.3); }
.dock-item:hover i { transform: translateY(-3px); }
.dock-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* Gọi ngay — hành động chính */
.dock-chinh { color: var(--c-gold); }
.dock-chinh i { color: var(--c-gold); }
.dock-chinh::before { transform: scaleX(1); opacity: .45; }
.dock-chinh:hover { color: var(--c-bg); background: var(--c-gold); }
.dock-chinh:hover i { color: var(--c-bg); }
.dock-chinh:hover::before { opacity: 1; background: var(--c-gold-lt); }

/* Chừa chỗ để thanh đáy không che nội dung cuối trang */
body { padding-bottom: 72px; }

/* Máy tính: thu thành thanh nổi bo tròn giữa màn hình */
@media (min-width: 900px) {
  .dockbar {
    left: 50%; right: auto; bottom: 24px; transform: translateX(-50%);
    width: auto; border-radius: 100px;
    border: 1px solid rgba(200,149,42,.24);
    box-shadow: 0 18px 48px rgba(0,0,0,.68);
    padding: 6px; gap: 2px;
  }
  .dockbar::before { display: none; }
  .dock-item {
    flex: 0 0 auto; flex-direction: row; gap: 9px;
    padding: 11px 20px; border-radius: 100px; font-size: .8rem;
  }
  .dock-item + .dock-item::after,
  .dock-item::before { display: none; }
  .dock-item:hover { background: rgba(200,149,42,.13); }
  .dock-item:hover i { transform: none; }
  .dock-chinh { background: var(--c-gold); color: var(--c-bg); font-weight: 600; }
  .dock-chinh i { color: var(--c-bg); }
  .dock-chinh:hover { background: var(--c-gold-lt); }
  /* Thanh nổi giữa màn hình nên không chiếm chỗ */
  body { padding-bottom: 0; }
}

/* ─── 1. HERO CÓ ẢNH NỀN ──────────────────────────────── */
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  /* Nền dự phòng vẽ bằng CSS: vòng tiện đồng tâm như mặt mâm.
     Chưa có ảnh thật thì vẫn nhìn được, không bị trống trơn. */
  background-color: #080c14;
  background-image:
    var(--hero-img, none),
    repeating-radial-gradient(circle at 72% 46%,
      rgba(200,149,42,.055) 0 1px, transparent 1px 9px),
    radial-gradient(circle at 72% 46%, rgba(200,149,42,.14) 0%, transparent 46%),
    radial-gradient(ellipse at 20% 90%, rgba(30,58,95,.35) 0%, transparent 55%);
  background-size: cover, auto, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}
/* lớp phủ tối để chữ luôn đọc được trên mọi ảnh */
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,9,15,.9) 0%, rgba(6,9,15,.68) 38%, rgba(6,9,15,.16) 66%, rgba(6,9,15,.34) 100%),
    linear-gradient(180deg, rgba(6,9,15,.55) 0%, transparent 22%, transparent 70%, rgba(6,9,15,.88) 100%);
}
.hero.has-photo .hero-ring { opacity: .35; }
.hero.has-photo .hero-bg { opacity: .55; }
@media (max-width: 768px) {
  .hero-photo::after {
    background: linear-gradient(180deg, rgba(6,9,15,.9) 0%, rgba(6,9,15,.72) 35%, rgba(6,9,15,.9) 100%);
  }
}

/* ─── 2. DẢI THÔNG TIN NHANH ──────────────────────────── */
.quickfacts {
  position: relative; z-index: 2;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.quickfacts-inner { max-width: var(--rong); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.qf-item { display: flex; gap: 16px; align-items: flex-start; padding: 1.9rem 2rem; border-left: 1px solid var(--c-border); }
.qf-item:first-child { border-left: none; }
.qf-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  background: var(--c-gold-dim); border: 1px solid rgba(200,149,42,.25);
  display: flex; align-items: center; justify-content: center; color: var(--c-gold); font-size: 1.05rem;
}
.qf-val { font-family: var(--f-display); font-size: 1.65rem; font-weight: 600; color: var(--c-white); line-height: 1.15; margin-bottom: 2px; }
.qf-val em { font-style: normal; color: var(--c-gold); }
.qf-label { font-size: .8rem; color: var(--c-muted); line-height: 1.5; }

/* ─── 3. CHẨN ĐOÁN HƯ HỎNG ────────────────────────────── */
.diag-section { background: var(--c-bg); }
.diag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.diag-stage {
  position: relative; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 45%, rgba(200,149,42,.07), transparent 62%), var(--c-card);
  border: 1px solid var(--c-border); border-radius: 20px;
  padding: 2.5rem; display: grid; place-items: center;
}
.diag-stage svg.wheel { width: 90%; height: auto; }
.diag-hs {
  position: absolute; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: var(--c-white); color: var(--c-bg);
  font-family: var(--f-mono); font-weight: 700; font-size: .82rem;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.55); transition: all .25s;
}
.diag-hs::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid var(--c-gold); opacity: 0; transition: opacity .25s; }
.diag-hs:hover, .diag-hs.on { background: var(--c-gold); transform: scale(1.15); }
.diag-hs.on::after { opacity: 1; }
.diag-hs.p1 { top: 10%; left: 46%; }
.diag-hs.p2 { top: 29%; left: 80%; }
.diag-hs.p3 { top: 46%; left: 52%; }
.diag-hs.p4 { top: 72%; left: 70%; }
.diag-hs.p5 { top: 66%; left: 24%; }
.diag-hint { text-align: center; margin-top: 1rem; font-size: .78rem; color: var(--c-muted); font-family: var(--f-mono); letter-spacing: .04em; }
.diag-panel {
  background: var(--c-card); border: 1px solid var(--c-border); border-left: 2px solid var(--c-gold);
  border-radius: 14px; padding: 1.6rem 1.75rem; margin-top: 1.75rem; min-height: 176px;
}
.diag-panel h3 { font-size: 1.3rem; font-weight: 600; color: var(--c-white); margin-bottom: .5rem; }
.diag-panel p { font-size: .9rem; color: #b0bcc8; line-height: 1.7; margin-bottom: .9rem; }
.diag-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.diag-chip {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; padding: 5px 12px; border-radius: 4px;
  border: 1px solid rgba(200,149,42,.3); color: var(--c-gold); background: rgba(200,149,42,.06);
}
.diag-chip.warn { border-color: rgba(239,68,68,.3); color: #f87171; background: rgba(239,68,68,.07); }

/* ─── 4. TRƯỚC / SAU ──────────────────────────────────── */
.ba-section { background: var(--c-surface); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
/* Hẹp hơn khung chung có chủ đích: kéo thanh so sánh trên khung
   quá rộng sẽ phải rê tay xa, mỏi và khó canh. */
.ba-stage { position: relative; max-width: 980px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.ba-nav {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: var(--c-card); border: 1px solid var(--c-border); color: var(--c-gold);
  font-size: 1.15rem; cursor: pointer; display: grid; place-items: center; transition: all .22s;
}
.ba-nav:hover { background: var(--c-gold); color: var(--c-bg); border-color: var(--c-gold); transform: scale(1.08); }
.ba-frame {
  position: relative; flex: 1; min-width: 0;
  aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--c-border); box-shadow: var(--shadow-card);
  user-select: none; touch-action: none;
}
.ba-layer { position: absolute; inset: 0; display: grid; place-items: center; }
.ba-layer img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-layer svg { width: 46%; max-width: 300px; height: auto; }
.ba-before { background: linear-gradient(150deg, #2a2118, #0b0d11); }
.ba-after  { background: linear-gradient(150deg, #1c2634, #080a0e); clip-path: inset(0 0 0 50%); }
.ba-tag {
  position: absolute; bottom: 18px; z-index: 3;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 6px; backdrop-filter: blur(6px);
}
.ba-tag.left { left: 18px; background: rgba(6,9,15,.78); color: var(--c-white); border: 1px solid var(--c-border); }
.ba-tag.right { right: 18px; background: var(--c-gold); color: var(--c-bg); font-weight: 700; }
.ba-caption {
  position: absolute; top: 16px; left: 18px; z-index: 3;
  background: rgba(6,9,15,.8); border: 1px solid var(--c-border); backdrop-filter: blur(6px);
  border-radius: 8px; padding: 7px 14px; font-size: .8rem; color: var(--c-white);
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: var(--c-gold); transform: translateX(-50%); z-index: 4;
  box-shadow: 0 0 18px rgba(200,149,42,.75);
  /* [SỬA] Trước đây pointer-events:none nên không bấm được vào tay cầm,
     phải kéo từ khung — bấm đâu là thanh nhảy tới đó, khó chịu.
     Nay nhấn giữ đúng tay cầm mới kéo. */
  cursor: grab; touch-action: none;
}
.ba-frame.dang-keo .ba-handle { cursor: grabbing; }

/* Vùng bắt chuột rộng hơn vạch 2px cho dễ trúng */
.ba-handle::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 34px; transform: translateX(-50%);
}

.ba-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-gold); color: var(--c-bg);
  display: grid; place-items: center; font-size: 1.05rem;
  box-shadow: 0 6px 22px rgba(0,0,0,.55), 0 0 0 0 rgba(200,149,42,.35);
  cursor: grab;
  transition: transform .2s cubic-bezier(.22,.68,0,1.3), box-shadow .25s;
}
.ba-handle:hover .ba-knob {
  transform: translate(-50%,-50%) scale(1.1);
  box-shadow: 0 6px 22px rgba(0,0,0,.55), 0 0 0 9px rgba(200,149,42,.16);
}
.ba-frame.dang-keo .ba-knob {
  cursor: grabbing;
  transform: translate(-50%,-50%) scale(.94);
  box-shadow: 0 4px 14px rgba(0,0,0,.6), 0 0 0 13px rgba(200,149,42,.2);
}
/* Nhắc người dùng lần đầu — tắt khi đã kéo */
.ba-frame.dang-keo .ba-nhac { opacity: 0; }
.ba-nhac {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 5; pointer-events: none;
  background: rgba(6,9,15,.86); border: 1px solid var(--c-border);
  border-radius: 100px; padding: 6px 15px;
  font-family: var(--f-body); font-size: .74rem; color: var(--c-white);
  white-space: nowrap; transition: opacity .3s;
}

/* bảng chọn ca — ảnh thu nhỏ */
.ba-thumbs {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin: 1.6rem auto 0; max-width: 980px;
}
.ba-thumb {
  width: 108px; border-radius: 12px; overflow: hidden; cursor: pointer;
  background: var(--c-card); border: 1px solid var(--c-border);
  padding: 0; transition: all .22s; font-family: var(--f-body);
}
.ba-thumb:hover { border-color: rgba(200,149,42,.4); transform: translateY(-3px); }
.ba-thumb.on { border-color: var(--c-gold); box-shadow: 0 0 0 1px var(--c-gold), 0 8px 22px rgba(200,149,42,.18); }
.ba-thumb-img { width: 100%; aspect-ratio: 4/3; display: block; object-fit: cover; background: linear-gradient(150deg, #1c2634, #0b0d11); }
.ba-thumb-ph { width: 100%; aspect-ratio: 4/3; display: grid; place-items: center; background: linear-gradient(150deg, #1c2634, #0b0d11); color: rgba(200,149,42,.5); font-size: 1.1rem; }
.ba-thumb-name {
  display: block; padding: 7px 8px; font-size: .7rem; line-height: 1.3;
  color: var(--c-muted); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ba-thumb.on .ba-thumb-name { color: var(--c-gold); }
.ba-count { text-align: center; margin-top: 1rem; font-family: var(--f-mono); font-size: .74rem; color: var(--c-muted); letter-spacing: .08em; }
.ba-note { text-align: center; margin-top: .6rem; font-size: .74rem; color: var(--c-muted); font-family: var(--f-mono); opacity: .7; }

@media (max-width: 768px) {
  .ba-nav { width: 38px; height: 38px; font-size: 1rem; }
  .ba-stage { gap: 8px; }
  .ba-frame { aspect-ratio: 4/3; }
  .ba-thumb { width: 84px; }
}

/* ─── 5. BẢNG CHỌN MÀU SƠN ────────────────────────────── */
.paint-section { background: var(--c-bg); }
.paint-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: start; }
.paint-preview {
  position: relative; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #1a2432, #06090f 70%);
  border: 1px solid var(--c-border); display: grid; place-items: center;
}
.paint-preview svg { width: 66%; height: auto; position: relative; z-index: 2; filter: drop-shadow(0 22px 40px rgba(0,0,0,.6)); }
.paint-name {
  position: absolute; left: 18px; bottom: 18px; z-index: 3;
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: 10px; padding: 11px 17px; line-height: 1.3;
}
.paint-name span { display: block; font-family: var(--f-mono); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.paint-name strong { font-family: var(--f-display); font-size: 1.15rem; color: var(--c-gold); font-weight: 600; }
.paint-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1.4rem; }
.paint-type {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: 12px;
  padding: 1rem 1.1rem; text-align: left; cursor: pointer; transition: all .22s; font-family: var(--f-body);
}
.paint-type:hover { border-color: rgba(200,149,42,.3); }
.paint-type.on { border-color: var(--c-gold); background: rgba(200,149,42,.08); }
.paint-type b { display: block; font-size: .95rem; font-weight: 600; color: var(--c-white); margin-bottom: 2px; }
.paint-type i { font-style: normal; font-size: .76rem; color: var(--c-muted); }
.paint-swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.paint-sw {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: 30px;
  padding: 8px 15px; font-size: .82rem; color: var(--c-muted);
  display: flex; align-items: center; gap: 9px; cursor: pointer; transition: all .22s; font-family: var(--f-body);
}
.paint-sw::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(255,255,255,.22); flex-shrink: 0; }
.paint-sw:hover { color: var(--c-white); border-color: rgba(200,149,42,.3); }
.paint-sw.on { border-color: var(--c-gold); color: var(--c-white); background: rgba(200,149,42,.1); }
.paint-desc { font-size: .85rem; color: var(--c-muted); line-height: 1.7; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--c-border); }
.paint-cta { margin-top: 1.4rem; }

/* ─── 6. FAQ KIỂU THẺ LẬT ─────────────────────────────── */
.faq-flips { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-flip { perspective: 1200px; height: 132px; cursor: pointer; }
.faq-flip__in { position: relative; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.22,.68,0,1.1); transform-style: preserve-3d; }
.faq-flip:hover .faq-flip__in, .faq-flip.on .faq-flip__in { transform: rotateX(180deg); }
.faq-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 14px; padding: 1.4rem 1.6rem; display: flex; align-items: center; gap: 1.1rem; overflow: auto;
}
.faq-face::-webkit-scrollbar { width: 3px; }
.faq-face::-webkit-scrollbar-thumb { background: rgba(200,149,42,.4); border-radius: 2px; }
.faq-front { background: var(--c-card); border: 1px solid var(--c-border); transition: border-color .3s; }
.faq-flip:hover .faq-front { border-color: rgba(200,149,42,.35); }
.faq-front .faq-n { font-family: var(--f-mono); font-size: 1.5rem; font-weight: 700; color: rgba(200,149,42,.35); line-height: 1; flex-shrink: 0; }
.faq-front .faq-text { font-family: var(--f-body); font-size: .98rem; font-weight: 500; color: var(--c-white); line-height: 1.5; }
.faq-front .faq-cue {
  margin-left: auto; flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--c-border); background: var(--c-gold-dim);
  display: grid; place-items: center; color: var(--c-gold); font-size: .8rem; transition: all .3s;
}
.faq-flip:hover .faq-front .faq-cue { background: var(--c-gold); color: var(--c-bg); border-color: var(--c-gold); }
.faq-back {
  transform: rotateX(180deg);
  background: linear-gradient(145deg, #14203a 0%, rgba(200,149,42,.07) 100%);
  border: 1px solid rgba(200,149,42,.32);
  align-items: flex-start; flex-direction: column; justify-content: center; gap: .5rem;
}
.faq-back .faq-n { font-family: var(--f-mono); font-size: .68rem; font-weight: 700; letter-spacing: .14em; color: var(--c-gold); }
.faq-back .faq-text { font-family: var(--f-body); font-size: .89rem; font-weight: 300; color: #c8d0dc; line-height: 1.72; }
.faq-hint { text-align: center; margin-top: 1.5rem; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; color: var(--c-muted); opacity: .8; }

@media (max-width: 900px) { .faq-flip { height: 168px; } }
@media (max-width: 560px) {
  .faq-flip { height: 218px; }
  .faq-face { padding: 1.2rem 1.25rem; gap: .8rem; }
  .faq-front { flex-direction: column; align-items: flex-start; justify-content: center; }
  .faq-front .faq-cue { margin-left: 0; }
  .faq-front .faq-text { font-size: .93rem; }
}

/* ─── RESPONSIVE chung cho khối mới ───────────────────── */
@media (max-width: 900px) {
  .diag-grid, .paint-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .quickfacts-inner { grid-template-columns: 1fr; }
  .qf-item { border-left: none; border-top: 1px solid var(--c-border); padding: 1.5rem; }
  .qf-item:first-child { border-top: none; }
}
@media (max-width: 600px) {
  .paint-types { grid-template-columns: 1fr; }
  .diag-stage { padding: 1.5rem; }
  .diag-hs { width: 30px; height: 30px; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .diag-hs, .paint-sw, .ba-thumb, .faq-flip__in, .header-nav .nav-link::after { transition: none; }
}

/* ── Yêu cầu của khách trong kết quả tra cứu ── */
.tc-mam-giua { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.tc-mam-yc {
  font-size:.74rem; color:var(--c-muted); line-height:1.45;
  overflow:hidden; text-overflow:ellipsis; display:-webkit-box;
  -webkit-line-clamp:2; -webkit-box-orient:vertical;
}

/* ── Bảo hành 1 năm ── */
.tc-bh {
  display:flex; gap:.85rem; align-items:flex-start; margin-top:1.1rem;
  padding:.85rem 1rem; border-radius:12px; line-height:1.6;
  background:rgba(34,197,94,.08); border:1px solid rgba(34,197,94,.25);
  font-size:.85rem; color:var(--c-white);
}
.tc-bh i { color:var(--c-success); font-size:1.05rem; margin-top:.15rem; flex-shrink:0; }
.tc-bh b { font-weight:600; }
.tc-bh span { display:block; font-size:.76rem; color:var(--c-muted); margin-top:.25rem; }
.tc-bh.cho { background:var(--c-gold-dim); border-color:rgba(200,149,42,.28); }
.tc-bh.cho i { color:var(--c-gold); }
.tc-bh.het { background:rgba(148,163,184,.08); border-color:rgba(148,163,184,.22); }
.tc-bh.het i { color:var(--c-muted); }
.tc-bh.het b { color:var(--c-muted); }

/* ── Ảnh thật của màu sơn ──
   [FIX] Thiếu khối này nên ảnh hiện nguyên kích thước gốc, tràn khung.
   cover để ảnh lấp kín khung 4:3; phần thừa bị cắt đều hai phía nên
   chụp mâm nằm giữa khung là vừa đẹp. */
.paint-anh {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  border-radius: inherit;
  animation: hienAnhMau .35s ease;
}
@keyframes hienAnhMau { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }
/* Có ảnh thật thì ẩn hình mâm vẽ bên dưới */
.paint-preview:has(.paint-anh:not([hidden])) svg { visibility: hidden; }
.paint-preview .paint-name { z-index: 3; }
