/* ============================================================
   Phế Liệu Ông Đoàn — Trust-first local service
   Taste dials: VARIANCE 4 · MOTION 2 · DENSITY 5
   1 accent (đỏ) khoá toàn site · neutral ấm · system font (CWV)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #c62828;        /* đỏ thương hiệu — accent DUY NHẤT cho interactive */
  --primary-dark: #8e0000;
  --gold-tint: #fff8e1;      /* nền vàng nhạt — chỉ dùng highlight giá, không phải accent */
  --gold-line: #f3c623;
  --ink: #1f2421;            /* off-black ấm */
  --text: #2c3330;
  --text-soft: #5d655f;
  --line: #e6e3dd;
  --surface: #ffffff;
  --surface-2: #faf8f4;      /* neutral ấm */
  --green: #1b7a3d;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --maxw: 1100px;
}

html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); line-height: 1.65; font-size: 16px; background: var(--surface); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ── Header (1 line, ≤72px) ── */
.site-header { background: var(--primary); color: #fff; padding: 12px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 6px 18px rgba(0,0,0,.10); }
.site-header .container { display: flex; align-items: center; gap: 18px; }
.logo { color: #fff; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.logo:hover { text-decoration: none; opacity: .95; }
.main-nav { display: flex; gap: 22px; flex: 1; }
.main-nav a { color: rgba(255,255,255,.92); font-size: .92rem; font-weight: 500; white-space: nowrap; }
.main-nav a:hover { color: #fff; text-decoration: none; }
.header-cta { background: #fff; color: var(--primary) !important; padding: 8px 16px; border-radius: 999px; font-weight: 800; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: transform .12s ease; }
.header-cta:hover { text-decoration: none; }
.header-cta:active { transform: translateY(1px); }

/* ── Sticky CTA (mobile) ── */
.sticky-cta { display: none; }
.sticky-cta a { flex: 1; padding: 14px; text-align: center; font-weight: 800; font-size: 1.02rem; color: #fff !important; }
.sticky-cta a:hover { text-decoration: none; }
.btn-call { background: var(--primary); }
.btn-zalo { background: #0068ff; }

/* ── Main ── */
.main-content { padding: 22px 0 64px; }

/* ── Typography ── */
h1 { font-size: clamp(1.6rem, 4.5vw, 2.35rem); line-height: 1.22; letter-spacing: -.02em; margin-bottom: 14px; color: var(--ink); font-weight: 800; }
h2 { font-size: clamp(1.25rem, 3vw, 1.65rem); line-height: 1.3; margin: 36px 0 12px; color: var(--ink); font-weight: 700; border-left: 4px solid var(--primary); padding-left: 12px; }
h3 { font-size: 1.12rem; margin: 22px 0 8px; color: var(--ink); font-weight: 700; }
p { margin-bottom: 12px; max-width: 70ch; }
ul, ol { margin: 8px 0 16px 22px; }
li { margin-bottom: 6px; }
strong { color: var(--ink); font-weight: 700; }
em { color: var(--text-soft); }
hr { border: none; border-top: 1px solid var(--line); margin: 28px 0; }

/* ── Breadcrumb ── */
.breadcrumb ol { display: flex; list-style: none; margin: 0 0 18px; padding: 0; flex-wrap: wrap; gap: 4px; font-size: .85rem; color: var(--text-soft); }
.breadcrumb li::after { content: '›'; margin-left: 6px; color: var(--text-soft); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--text-soft); }

/* ── Hero intro (trang con) ── */
.hero-intro { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 26px; }
.hero-intro p { max-width: none; }
.hero-cta { margin-top: 12px; font-size: 1.08rem; font-weight: 600; }

/* ── Price table ── */
table, .price-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .95rem; }
thead { background: var(--primary); color: #fff; }
th { padding: 11px 14px; text-align: left; font-weight: 700; }
td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
tbody tr:nth-child(even) { background: var(--surface-2); }
tbody tr:hover { background: var(--gold-tint); }
table td:last-child { font-weight: 700; color: var(--primary-dark); white-space: nowrap; }
@media (max-width: 600px) { table, .price-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }

/* ── CTA boxes ── */
.mid-cta, .final-cta, .cta-box, .cta-final { background: var(--gold-tint); border: 1px solid var(--gold-line); border-left: 5px solid var(--primary); padding: 18px 22px; margin: 28px 0; border-radius: 0 var(--radius) var(--radius) 0; }
.mid-cta p, .final-cta p, .cta-box p, .cta-final p { max-width: none; margin-bottom: 8px; }
.final-cta h2, .cta-final h2 { border: none; padding: 0; margin: 0 0 8px; }
.update-notice { font-size: .88rem; color: var(--text-soft); background: var(--surface-2); border: 1px dashed var(--line); border-radius: 8px; padding: 8px 14px; margin: 0 0 18px; }

/* CRO: CTA gọi ngay sau bảng giá */
.price-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--gold-tint); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 26px; }
.price-cta span { font-size: 1.02rem; }
.price-cta .btn-primary { background: var(--primary); color: #fff !important; box-shadow: 0 4px 14px rgba(198,40,40,.28); white-space: nowrap; }
@media (max-width: 600px) { .price-cta .btn-primary { width: 100%; justify-content: center; } }

/* ── Process steps ── */
.process-steps { list-style: none; margin-left: 0; counter-reset: steps; }
.process-steps li { counter-increment: steps; padding: 12px 12px 12px 52px; position: relative; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.process-steps li::before { content: counter(steps); position: absolute; left: 12px; top: 12px; width: 30px; height: 30px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; }

/* ── Material / area lists ── */
.material-grid { list-style: none; margin-left: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.material-grid li { background: var(--surface-2); border: 1px solid var(--line); padding: 11px 14px; border-radius: 8px; }
.area-list { list-style: none; margin-left: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .92rem; }
.commitment-list { list-style: none; margin-left: 0; }
.commitment-list li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); position: relative; }
.commitment-list li::before { content: '✓'; position: absolute; left: 0; top: 10px; color: var(--green); font-weight: 800; }

/* ── FAQ ── */
.faq-section { margin: 18px 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-item h3 { margin: 0 0 8px; font-size: 1.02rem; color: var(--ink); }
.faq-item p { margin: 0; }
dl dt { font-weight: 700; margin-top: 16px; color: var(--ink); }
dl dd { margin: 4px 0 12px; color: var(--text); }

/* ============================================================
   TRANG CHỦ
   ============================================================ */
.home-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: clamp(34px, 6vw, 60px) clamp(22px, 4vw, 44px); border-radius: 16px; margin-bottom: 10px; }
.hero-inner { max-width: 660px; }
.home-hero h1 { color: #fff; font-size: clamp(1.9rem, 5.5vw, 3rem); margin-bottom: 14px; }
.home-hero .lead { color: rgba(255,255,255,.94); font-size: clamp(1.02rem, 2.4vw, 1.22rem); max-width: 52ch; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-primary, .btn-outline { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; padding: 14px 26px; border-radius: 999px; font-size: 1.05rem; transition: transform .12s ease; }
.btn-primary { background: #fff; color: var(--primary) !important; box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.btn-outline { background: rgba(255,255,255,.10); color: #fff !important; border: 1.5px solid rgba(255,255,255,.85); }
.btn-primary:hover, .btn-outline:hover { text-decoration: none; }
.btn-primary:active, .btn-outline:active { transform: translateY(1px); }

.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 8px; }
.trust-item { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.trust-item .t-num { font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.trust-item .t-label { font-size: .9rem; color: var(--text-soft); margin-top: 4px; }

.home-section { margin: 44px 0; }
.section-head { font-size: clamp(1.35rem, 3.2vw, 1.8rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin-bottom: 6px; border: none; padding: 0; }
.section-sub { color: var(--text-soft); margin-bottom: 20px; max-width: 60ch; }

.snapshot-grid, .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.snap-card, .svc-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; color: var(--text); transition: transform .12s ease, box-shadow .12s ease; }
.snap-card:hover, .svc-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(31,36,33,.10); border-color: var(--primary); }
.snap-card .snap-name, .svc-card .svc-name { font-weight: 800; color: var(--ink); font-size: 1.08rem; }
.snap-card .snap-price { color: var(--primary-dark); font-weight: 800; font-size: 1.18rem; margin-top: 8px; }
.snap-card .snap-unit { color: var(--text-soft); font-size: .85rem; font-weight: 500; }
.svc-card .svc-desc { color: var(--text-soft); font-size: .93rem; margin-top: 6px; }

/* ── Footer ── */
.site-footer { background: var(--ink); color: #d6d2cb; padding: 36px 0 84px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; }
.footer-grid h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.footer-grid a { color: #b9b4ac; }
.footer-grid a:hover { color: #fff; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 7px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 16px; color: #9b958c; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .site-header .container { justify-content: space-between; }
  .main-content { padding-bottom: 84px; }
  .sticky-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; box-shadow: 0 -2px 12px rgba(0,0,0,.18); }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .snapshot-grid, .service-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
