/* ============================================================
   BTM REVOLUTION — global.css
   ============================================================
   PORT 1:1 từ Wave 2 staging.

   CONTAINS:
   - Self-host @font-face (Inter + Playfair Display, 9 woff2 subsets)
   - Minimal reset (* box-sizing, html scroll, body margin/padding)
   - Body base typography (font-family, font-size, -webkit-font-smoothing)
   - Font helpers (.font-sans, .font-serif)
   - img responsive base
   - Link reset

   DOES NOT CONTAIN:
   - CSS variables (:root) — each page-XXX.css has its own palette
   - Layout classes (.container, .btn, etc.) — per-template

   NOTE on font paths:
   Wave 2 used root-relative /fonts/inter/... but WP child theme
   fonts live at /wp-content/themes/btm-revolution/assets/fonts/...
   → URLs rewritten to theme-relative via functions.php inline or
     here as absolute path placeholder (Bước 1.C will handle wp_enqueue).
   ============================================================ */

/* === Inter — 3 subsets === */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter/inter-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === Playfair Display — normal, 3 subsets === */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/playfair/playfair-normal-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/playfair/playfair-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/playfair/playfair-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === Playfair Display — italic, 3 subsets === */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/playfair/playfair-italic-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/playfair/playfair-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/playfair/playfair-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === Minimal Reset === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Image responsive === */
img {
  max-width: 100%;
  height: auto;
}

/* === Link reset === */
a {
  color: inherit;
  text-decoration: none;
}

/* === Font helpers === */
.font-sans {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}
/* ============================================================
   BTM Revolution — global-shell.css ADDITIONS
   Common components: :root tokens + container + btn + nav + breadcrumb + footer + floating-cta
   Appended to global.css so all templates inherit nav/footer visual
   ============================================================ */

/* ============================================================
 page-brand.css — PORT 1:1 from Wave 2 airnova-italia/index.html
 Loaded conditional on page-brand.php template (25 brand pages)
 ============================================================ */

:root {
  --serif: 'Playfair Display', Georgia, serif;
  --cream: #faf6f0;
  --cream-darker: #F5F0E8;
  --cream-deeper: #EDE6D9;
  --navy: #1A2332;
  --navy-darker: #0f1620;
  --terracotta: #B85742;
  --terracotta-darker: #8B3A2F;
  --terracotta-deepest: #7A2F26;
  --terracotta-light: #E8B4A8;
  --gray-500: #6e7480;
  --gray-600: #5e6470;
  --gray-700: #2D3748;
  --border-soft: rgba(26, 35, 50, 0.08);
  --border-med: rgba(26, 35, 50, 0.14);

  --container: 1280px;
  --pad-x: clamp(20px, 5vw, 60px);

  --fs-display: clamp(34px, 4.5vw, 52px);
  --fs-h2: clamp(24px, 3.2vw, 34px);
  --fs-h3: clamp(20px, 2.6vw, 24px);
  --fs-body-lg: 16px;
  --fs-body: 15px;
  --fs-body-sm: 14px;
  --fs-caption: 13px;
  --fs-eyebrow: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--gray-700);
  background: var(--cream);
  line-height: 1.65;
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; transition: color 0.2s, opacity 0.2s; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.container-mid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-darker); }

.btn-secondary { background: var(--terracotta); color: var(--cream); }
.btn-secondary:hover { background: var(--terracotta-darker); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--cream); }

.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250, 246, 240, 0.5);
}
.btn-ghost-light:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }

/* ============ NAVIGATION (Wave 2) ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 35, 50, 0.08);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.nav__logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 1px;
}
.nav__logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav__logo-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  white-space: nowrap;
  margin-top: 2px;
}
@media (max-width: 768px) { .nav__logo-sub { display: none; } }

.nav__links { display: flex; gap: 32px; align-items: center; }
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
  position: relative;
}
.nav__links a:hover { color: var(--terracotta); }
.nav__links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--terracotta);
}
.nav__cta { font-size: 13px; padding: 10px 20px; }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none !important; }
}

.nav__hamburger {
  display: none;
  background: transparent;
  border: 0;
  width: 38px; height: 38px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 1px;
}
@media (max-width: 768px) {
  .nav__hamburger { display: inline-flex; }
}

.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 32, 0.45);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav__overlay.is-active { opacity: 1; pointer-events: auto; }

.nav__drawer {
  position: fixed;
  top: 0; right: -320px;
  width: 300px; max-width: 85vw;
  height: 100dvh;
  background: var(--cream);
  z-index: 1000;
  padding: 28px 28px 32px;
  box-shadow: -4px 0 24px rgba(15, 22, 32, 0.15);
  transition: right 0.3s ease;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.nav__drawer.is-open { right: 0; }

.nav__drawer-close {
  align-self: flex-end;
  background: none;
  border: 0;
  font-size: 32px;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
  padding: 4px 8px;
  margin-bottom: 12px;
}

.nav__drawer-brand {
  display: flex; flex-direction: column;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(26, 35, 50, 0.1);
  margin-bottom: 16px;
}
.nav__drawer-brand-main {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700;
  color: var(--navy); letter-spacing: -0.01em;
  line-height: 1.05;
}
.nav__drawer-brand-sub {
  font-size: 12px; font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.nav__drawer-links { display: flex; flex-direction: column; }
.nav__drawer-links a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid rgba(26, 35, 50, 0.06);
}
.nav__drawer-links a:hover { color: var(--terracotta); }
.nav__drawer-cta {
  margin-top: 20px;
  background: var(--terracotta) !important;
  color: var(--cream) !important;
  text-align: center;
  border-bottom: 0 !important;
  padding: 14px 18px !important;
  font-weight: 600 !important;
  border-radius: 2px;
}

/* ============ BREADCRUMB ============ */
.breadcrumb-wrap {
  background: var(--cream-darker);
  border-bottom: 1px solid var(--border-soft);
}
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb__sep { color: var(--gray-500); opacity: 0.5; }
.breadcrumb__current { color: var(--navy); font-weight: 500; }



/* ============ FOOTER (Wave 2) ============ */
.footer {
  background: var(--navy-darker);
  color: var(--cream);
  padding: 80px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(250, 246, 240, 0.12);
}
.footer__logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 1px;
  margin-bottom: 16px;
}
.footer__logo .nav__logo-main { color: var(--cream); }
.footer__logo .nav__logo-sub { color: rgba(250, 246, 240, 0.6); }
.footer__tagline {
  font-size: 14px;
  color: rgba(250, 246, 240, 0.7);
  line-height: 1.7;
  max-width: 360px;
  margin-top: 12px;
}
.footer__col h4, .footer__col p.footer__col-title {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col ul li { margin-bottom: 12px; }
.footer__col ul a {
  font-size: 14px;
  color: rgba(250, 246, 240, 0.75);
}
.footer__col ul a:hover { color: var(--cream); }
.footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(250, 246, 240, 0.5);
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* === Phase B: article-hero bg image fix === */
.article-hero { background: transparent !important; }
.article-hero__bg-wrap {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; overflow: hidden;
}
.article-hero__bg-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.55;
}
.article-hero::before { z-index: 1; }
.article-hero__inner { position: relative; z-index: 2; }
.article-card__img picture { display: block; width: 100%; height: 100%; }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* === Floating CTA — call + zalo === */
.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.floating-cta__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}
.floating-cta__btn:hover { transform: translateY(-2px); }
.floating-cta__btn--call { background: #B85742; }
.floating-cta__btn--zalo { background: #0068FF; }
@media (max-width: 768px) {
  .floating-cta { right: 12px; bottom: 12px; }
  .floating-cta__btn { width: 52px; height: 52px; }
}

/* D90: giữ font tiêu đề Playfair như live từ 14/08 (chuyển từ CSS bổ sung). Muốn trả về Cormorant = việc riêng. */
.hero-title,
.hero h1,
.page-hero h1,
h1, h2, h3 {
  font-family: "Playfair Display", "Times New Roman", Georgia, "Segoe UI", Tahoma, serif !important;
}

/* D93: fix floating-cta overlapping footer on mobile */
@media (max-width: 768px) { .footer { padding-bottom: 148px; } }

/* D115: footer bottom bar — tránh nút Zalo che text bên phải (desktop) */
@media (min-width: 769px) { .footer__bottom { padding-right: 88px; } }
