/* ==========================================================================
   TC HANDCRAFT — DESIGN TOKENS
   Nguồn: tài liệu Master UI/CSS Design System. Không tự ý đổi giá trị ở đây
   khi làm từng trang — mọi trang phải tham chiếu đúng các biến này.
   ========================================================================== */

:root {
  /* ---- Màu thương hiệu (GIỮ NGUYÊN) ---- */
  --tc-cream: #F6F1E7;
  --tc-green: #16332A;
  --tc-green-hover: #20463A;
  --tc-gold: #CDA24A;
  --tc-white: #FFFFFF;

  --tc-zalo: #0068FF;
  --tc-whatsapp: #25D366;
  --tc-facebook: #1877F2;
  --tc-error: #B3261E;

  /* ---- Typography ---- */
  --font-display: "Cormorant Garamond", serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;

  --fs-hero: clamp(52px, 7vw, 96px);
  --fs-h1: clamp(42px, 5vw, 72px);
  --fs-h2: clamp(32px, 3.5vw, 52px);
  --fs-h3: clamp(24px, 2.5vw, 34px);
  --fs-body: 17px;
  --fs-small: 13.5px;
  --fs-eyebrow: 12px;
  --fs-nav: 14px;
  --fs-button: 14px;

  --ls-heading: -0.02em;
  --ls-display: -0.025em;
  --ls-eyebrow: 0.16em;
  --ls-nav: 0.09em;
  --ls-button: 0.1em;

  /* ---- Spacing ---- */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: clamp(80px, 10vw, 160px);   /* khoảng cách giữa section */
  --space-3xl: clamp(100px, 12vw, 180px);  /* khoảng cách hero */

  --container-max: 1440px;
  --container-padding: clamp(32px, 5vw, 80px);
  --container-padding-tablet: 40px;
  --container-padding-mobile: 20px;

  /* ---- Radius ---- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* ---- Shadow ---- */
  --shadow-soft: 0 12px 40px rgba(22, 51, 42, 0.05);
  --shadow-card: 0 12px 40px rgba(22, 51, 42, 0.08);

  /* ---- Transition ---- */
  --transition-fast: 200ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-base: 500ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
