/* ═══════════════════════════════════════════════
   TÚ AN CLINIC — DESIGN TOKENS
   File: assets/css/variables.css
   ⚠️  Thay đổi ở đây = ảnh hưởng TOÀN SITE
═══════════════════════════════════════════════ */



:root {

  /* ── TYPOGRAPHY ── */
  --font-serif:  'FZ  Poppins', sans-serif;
  --font-sans:   'FZ  Poppins', sans-serif;

  /* ── COLOR PALETTE ── */
  --bg-base:     #F9FAFA;
  --bg-alt:      #F2F7F7;
  --bg-deep:     #E8F2F3;
  --bg-card:     #FFFFFF;

  /* Brand — Teal */
  --teal-100:    #E4F4F5;
  --teal-200:    #C0E5E7;
  --teal-300:    #8DCDD1;
  --teal-400:    #5BAAAF;
  --teal-500:    #3D8A8F;
  --teal-600:    #2A6E73;

  /* Ink */
  --ink-900:     #1A2E32;
  --ink-700:     #2C4A50;
  --ink-500:     #4A6A70;
  --ink-300:     #7A9DA3;
  --ink-100:     #B8D4D8;

  /* Accent */
  --gold-400:    #C9A96E;
  --gold-300:    #DFC48F;
  --gold-100:    #F5EDD8;

  /* Utility */
  --white:       #FFFFFF;
  --border:      rgba(91, 170, 175, 0.15);
  --border-mid:  rgba(91, 170, 175, 0.28);
  --shadow-sm:   0 2px 16px rgba(26, 46, 50, 0.06);
  --shadow-md:   0 8px 40px rgba(26, 46, 50, 0.10);
  --shadow-lg:   0 20px 60px rgba(26, 46, 50, 0.14);

  /* ── SPACING ── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  16px;
  --space-4:  24px;
  --space-5:  40px;
  --space-6:  64px;
  --space-7:  96px;
  --space-8:  128px;

  /* ── LAYOUT ── */
  --max-w:        1360px;
  --header-h:     72px;
  --header-h-sm:  58px;
  --pad-x:        5%;
  --radius-sm:    2px;
  --radius-md:    4px;

  /* ── TRANSITIONS ── */
  --ease:         0.28s ease;
  --ease-slow:    0.55s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── TYPE SCALE ── */
  --text-xs:    11px;
  --text-sm:    13px;
  --text-base:  15px;
  --text-lg:    18px;
  --text-xl:    24px;
  --text-2xl:   32px;
  --text-3xl:   48px;
  --text-4xl:   64px;
  --text-5xl:   88px;

  /* ── Z-INDEX ── */
  --z-base:     1;
  --z-above:    10;
  --z-header:   100;
  --z-overlay:  200;
  --z-modal:    300;
}

/* 🔥 FIX MOBILE HEADER HEIGHT */
@media (max-width: 768px) {
  :root {
    --header-h: var(--header-h-sm);
  }
}

/* ── GLOBAL RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--ink-700);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── TYPOGRAPHY HELPERS ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink-900);
}

.label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--teal-400);
}

.inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ── SCROLL OFFSET for fixed header ── */
:target { scroll-margin-top: var(--header-h); }

/* ── MAIN PADDING — Đẩy nội dung xuống dưới header fixed (áp dụng toàn site) ── */
main { padding-top: var(--header-h); }

@media (max-width: 640px) {
  main { padding-top: var(--header-h-sm); }
}
/* cache-bust: 1780069270 */