/* =========================================================
   BASE.CSS — Nền tảng chung: màu sắc, font chữ, reset
   Muốn đổi màu toàn site? Chỉ cần sửa các biến trong :root
   ========================================================= */

:root {
  /* Màu thương hiệu (lấy theo vdpr.vn) */
  --primary: #0096ff;        /* Xanh dương chính */
  --primary-dark: #0077cc;
  --primary-soft: #e6f4ff;
  --accent: #00c896;         /* Xanh ngọc phụ */
  --accent-soft: #e6faf4;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Màu chữ & nền */
  --dark: #0f172a;           /* Gần đen, dùng cho tiêu đề, footer */
  --text: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --surface: #f8fafc;        /* Nền xám rất nhạt */
  --white: #ffffff;

  /* Font chữ */
  --font-body: "Be Vietnam Pro", system-ui, sans-serif;
  --font-display: "Outfit", "Be Vietnam Pro", sans-serif;

  /* Bo góc & đổ bóng */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 14px rgba(15, 23, 42, 0.05);
  --shadow-lift: 0 10px 30px rgba(15, 23, 42, 0.12);

  --container: 1200px;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--primary);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* Lớp tiện ích */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.hidden { display: none !important; }
