/* ═══ DESIGN TOKENS — match logo GNX ═══ */
:root {
  --gnx-red: #E53935;
  --gnx-red-hover: #FF3D3D;
  --gnx-red-dark: #C62828;
  --gnx-navy: #0A2A66;
  --gnx-navy-dark: #04091e;
  --gnx-blue: #0B5ED7;
  --gold: #FFC107;
  --gold-light: #FFD54F;
  --green: #00C853;
  --green-dark: #009624;
  --bg-main: #F5F7FA;
  --bg-section: #FFFFFF;
  --bg-soft: #EEF2F6;
  --border: #E9EEF5;
  --text-main: #1A1A1A;
  --text-sub: #555555;
  --text-light: #888888;
  --shadow-soft: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-medium: 0 8px 24px rgba(0,0,0,0.08);
  --gnx-fixed-header-height: 72px;
  --gnx-fixed-bottom-height: 76px;
}
* { box-sizing: border-box; }
body { font-family: 'Be Vietnam Pro', sans-serif; color: var(--text-main); margin: 0; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ── ANNOUNCE BAR ── */
.announce-bar { background: var(--gnx-navy); color: var(--gold-light); font-size: .85rem; font-weight: 600; text-align: center; padding: 8px 16px; }
.announce-bar i { margin-right: 6px; }

/* ── HEADER ── */
.site-header { position: sticky; top: 0; z-index: 10000; background: #fff; box-shadow: 0 2px 16px rgba(10,42,102,.08); }
.site-header .logo { height: 48px; }
.nav-link-custom { color: var(--gnx-navy) !important; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; padding: 8px 14px; border-radius: 8px; transition: .2s; }
.nav-link-custom:hover { color: var(--gnx-red) !important; background: #fff0f0; }
.btn-call-header { background: var(--gnx-red); color: #fff !important; font-weight: 800; border-radius: 10px; padding: 9px 18px; font-size: .85rem; display: inline-flex; align-items: center; gap: 7px; transition: .2s; }
.btn-call-header:hover { background: var(--gnx-red-dark); color: #fff !important; }

/* ── HERO ── */
.hero { position: relative; background: linear-gradient(135deg, #04091e 0%, #0A2A66 50%, #0c3070 100%); color: #fff; padding: 60px 0 80px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: url('/assets/media/giaonhanh/hero-bg.jpg'); background-size: cover; background-position: center; opacity: .12; z-index: 0; }
.hero > .container { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 50px; padding: 6px 16px; color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
.hero-title { font-size: clamp(1.8rem, 4.5vw, 3.2rem); font-weight: 900; color: #fff; line-height: 1.15; letter-spacing: -.5px; margin-bottom: 18px; }
.hero-title .red { color: #FF6B6B; }
.hero-title .gold { color: var(--gold); }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 24px; max-width: 540px; }
.hero-trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.trust-pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 5px 12px; color: #fff; font-size: .82rem; font-weight: 600; }
.trust-pill i { color: var(--gold); }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-cta-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--gnx-red); color: #fff !important; font-weight: 800; border-radius: 12px; padding: 14px 26px; font-size: 1rem; border: 2px solid rgba(255,255,255,.2); transition: .2s; }
.hero-cta-primary:hover { background: var(--gnx-red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(229,57,53,.4); }
.hero-cta-secondary { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); color: #fff !important; font-weight: 700; border-radius: 12px; padding: 14px 26px; font-size: 1rem; border: 2px solid rgba(255,255,255,.3); transition: .2s; }
.hero-cta-secondary:hover { background: rgba(255,255,255,.2); }

/* ── CALCULATOR ── */
.calc-widget { background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.3); padding: 28px 24px; color: var(--text-main); }
.calc-widget h3 { font-size: 1.15rem; font-weight: 900; color: var(--gnx-navy); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.calc-widget h3 i { color: var(--gnx-red); }
.calc-widget .calc-sub { font-size: .85rem; color: var(--text-sub); margin-bottom: 18px; }
.calc-row { margin-bottom: 14px; }
.calc-row label { display: block; font-size: .78rem; font-weight: 700; color: var(--gnx-navy); text-transform: uppercase; letter-spacing: .3px; margin-bottom: 6px; }
.calc-row select, .calc-row input { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: .95rem; font-family: inherit; background: #fff; }
.calc-row select:focus, .calc-row input:focus { outline: none; border-color: var(--gnx-red); box-shadow: 0 0 0 3px rgba(229,57,53,.1); }
.calc-btn { width: 100%; background: var(--gnx-red); color: #fff !important; font-weight: 800; padding: 14px; border: none; border-radius: 10px; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: .2s; }
.calc-btn:hover { background: var(--gnx-red-dark); }
.calc-result { margin-top: 18px; padding: 16px; background: var(--bg-soft); border-radius: 10px; border: 1px solid var(--border); display: none; }
.calc-result.show { display: block; }
.calc-result-price { font-size: 1.6rem; font-weight: 900; color: var(--gnx-red); line-height: 1.2; }
.calc-result-info { font-size: .88rem; color: var(--text-sub); margin-top: 6px; line-height: 1.6; }
.calc-compare { margin-top: 10px; padding: 8px 12px; background: rgba(0,200,83,.1); border-left: 3px solid var(--green); border-radius: 6px; font-size: .85rem; color: var(--green-dark); font-weight: 600; }
.calc-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.calc-actions a { flex: 1; min-width: 100px; padding: 10px 12px; border-radius: 8px; font-size: .85rem; font-weight: 700; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: .2s; }
.calc-actions .btn-zalo { background: #0068ff; color: #fff !important; }
.calc-actions .btn-call { background: var(--green); color: #fff !important; }
.calc-actions .btn-callback { background: var(--bg-soft); color: var(--gnx-navy) !important; border: 1.5px solid var(--border); }
.calc-disclaimer { font-size: .75rem; color: var(--text-light); margin-top: 12px; line-height: 1.5; }

/* ── SECTION SHARED ── */
section.std-section { padding: 70px 0; }
.section-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--gnx-red); margin-bottom: 8px; }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; color: var(--gnx-navy); line-height: 1.2; margin-bottom: 14px; }
.section-title .red { color: var(--gnx-red); }
.section-sub { color: var(--text-sub); font-size: 1rem; line-height: 1.7; max-width: 640px; margin: 0 auto; }

/* ── ROUTES ── */
.routes-section { background: var(--bg-main); }
.route-card { background: #fff; border-radius: 16px; padding: 24px 20px; box-shadow: var(--shadow-soft); border: 1px solid var(--border); transition: .25s; height: 100%; }
.route-card:hover { box-shadow: var(--shadow-medium); transform: translateY(-4px); }
.route-flag { font-size: 2.5rem; margin-bottom: 10px; line-height: 1; }
.route-name { font-size: 1.15rem; font-weight: 900; color: var(--gnx-navy); margin-bottom: 4px; }
.route-tagline { font-size: .82rem; color: var(--text-sub); margin-bottom: 14px; }
.route-time { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--bg-soft); border-radius: 8px; margin-bottom: 12px; font-size: .85rem; }
.route-time i { color: var(--gnx-red); }
.route-time strong { color: var(--gnx-navy); }
.route-price { font-size: 1rem; color: var(--text-sub); }
.route-price strong { color: var(--gnx-red); font-size: 1.25rem; font-weight: 900; }
.route-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--gnx-navy); font-weight: 700; font-size: .88rem; transition: .2s; }
.route-cta:hover { color: var(--gnx-red); gap: 9px; }

/* ── TIME TABLE ── */
.time-table { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--border); }
.time-table table { width: 100%; border-collapse: collapse; margin: 0; }
.time-table th { background: var(--gnx-navy); color: #fff; padding: 12px 10px; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; text-align: center; }
.time-table th:first-child { text-align: left; padding-left: 18px; }
.time-table td { padding: 12px 10px; border-top: 1px solid var(--border); text-align: center; font-size: .9rem; }
.time-table td:first-child { text-align: left; padding-left: 18px; font-weight: 700; color: var(--gnx-navy); }
.time-table td.total { color: var(--gnx-red); font-weight: 900; }

/* ── NETWORK ── */
.network-section { background: linear-gradient(135deg, var(--gnx-navy) 0%, var(--gnx-navy-dark) 100%); color: #fff; }
.network-section .section-title { color: #fff; }
.network-section .section-title .red { color: var(--gold); }
.network-section .section-sub { color: rgba(255,255,255,.75); }
.network-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 24px 20px; text-align: center; transition: .2s; height: 100%; }
.network-card:hover { background: rgba(255,255,255,.08); }
.network-icon { width: 56px; height: 56px; background: var(--gnx-red); border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.6rem; margin-bottom: 14px; }
.network-icon.gold { background: var(--gold); color: var(--gnx-navy); }
.network-name { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.network-loc { font-size: .85rem; color: rgba(255,255,255,.7); }
.network-note { margin-top: 24px; padding: 16px; background: rgba(255,193,7,.1); border: 1px solid rgba(255,193,7,.3); border-radius: 10px; color: var(--gold-light); font-size: .9rem; text-align: center; }
.network-note i { margin-right: 8px; }

/* ── 4 PILLARS ── */
.pillars-section { background: #fff; }
.pillar-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px 22px; box-shadow: var(--shadow-soft); height: 100%; transition: .2s; }
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.pillar-icon { width: 62px; height: 62px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.7rem; margin-bottom: 16px; }
.pi-red { background: linear-gradient(135deg, var(--gnx-red), var(--gnx-red-dark)); }
.pi-blue { background: linear-gradient(135deg, var(--gnx-blue), var(--gnx-navy)); }
.pi-green { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.pi-gold { background: linear-gradient(135deg, var(--gold), #FF9800); }
.pillar-title { font-size: 1.1rem; font-weight: 900; color: var(--gnx-navy); margin-bottom: 8px; }
.pillar-desc { font-size: .9rem; color: var(--text-sub); line-height: 1.7; margin-bottom: 12px; }
.pillar-proof { padding: 10px 14px; background: var(--bg-soft); border-left: 3px solid var(--gnx-red); border-radius: 6px; font-size: .85rem; color: var(--text-main); line-height: 1.6; }
.pillar-proof i { color: var(--gnx-red); margin-right: 6px; }

/* ── STEPS ── */
.steps-section { background: var(--bg-main); }
.step-card { background: #fff; border-radius: 14px; padding: 24px 20px; text-align: center; box-shadow: var(--shadow-soft); border: 1px solid var(--border); position: relative; height: 100%; }
.step-num { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; background: var(--gnx-red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1rem; box-shadow: 0 4px 12px rgba(229,57,53,.4); }
.step-icon { width: 64px; height: 64px; background: var(--bg-soft); border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: var(--gnx-navy); font-size: 1.7rem; margin: 12px 0 16px; }
.step-title { font-size: 1rem; font-weight: 800; color: var(--gnx-navy); margin-bottom: 6px; }
.step-desc { font-size: .85rem; color: var(--text-sub); line-height: 1.6; }

/* ── AUDIENCE ── */
.audience-section { background: #fff; }
.audience-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px 22px; box-shadow: var(--shadow-soft); transition: .25s; height: 100%; position: relative; overflow: hidden; }
.audience-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.audience-card.ac-n1::before { background: linear-gradient(90deg, var(--gnx-red), #FF8A65); }
.audience-card.ac-2a::before { background: linear-gradient(90deg, var(--gnx-blue), #42A5F5); }
.audience-card.ac-2b::before { background: linear-gradient(90deg, var(--green), #66BB6A); }
.audience-card.ac-n3::before { background: linear-gradient(90deg, var(--gold), #FFB300); }
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.audience-card.featured { box-shadow: 0 16px 40px rgba(229,57,53,.15); border: 2px solid var(--gnx-red); }
.audience-card.featured::after { content: 'Phổ biến nhất'; position: absolute; top: 12px; right: 12px; background: var(--gnx-red); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 3px 10px; border-radius: 12px; }
.audience-icon { font-size: 2.4rem; margin-bottom: 10px; line-height: 1; }
.pkg-badge { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: .7rem; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.pkg-badge.pkg-1 { background: rgba(229,57,53,.12); color: var(--gnx-red); }
.pkg-badge.pkg-2 { background: rgba(11,94,215,.12); color: var(--gnx-blue); }
.pkg-badge.pkg-3 { background: rgba(255,143,0,.18); color: #B8860B; }
.audience-title { font-size: 1.1rem; font-weight: 900; color: var(--gnx-navy); margin-bottom: 8px; }
.audience-desc { font-size: .9rem; color: var(--text-sub); line-height: 1.65; margin-bottom: 14px; }
.audience-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.atag { background: var(--bg-soft); color: var(--text-sub); border: 1px solid var(--border); border-radius: 20px; font-size: .72rem; font-weight: 600; padding: 3px 10px; }
.audience-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--gnx-red); font-weight: 700; font-size: .88rem; transition: .2s; }
.audience-cta:hover { gap: 9px; }

/* ── MATRIX ── */
.matrix-section { background: var(--bg-main); }
.matrix-tabs { display: flex; gap: 6px; flex-wrap: wrap; background: #fff; border-radius: 12px; padding: 6px; margin-bottom: 24px; box-shadow: var(--shadow-soft); }
.matrix-tabs button { flex: 1; min-width: 100px; padding: 10px; border: none; background: transparent; color: var(--text-sub); font-weight: 700; font-size: .88rem; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.matrix-tabs button.active { background: var(--gnx-navy); color: #fff; }
.matrix-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 768px) { .matrix-grid { grid-template-columns: 1fr; } }
.matrix-col { background: #fff; border-radius: 14px; padding: 20px; box-shadow: var(--shadow-soft); border-top: 4px solid; }
.matrix-col.ok { border-top-color: var(--green); }
.matrix-col.limit { border-top-color: var(--gold); }
.matrix-col.banned { border-top-color: var(--gnx-red); }
.matrix-col h4 { font-size: .95rem; font-weight: 900; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.matrix-col.ok h4 { color: var(--green-dark); }
.matrix-col.limit h4 { color: #B8860B; }
.matrix-col.banned h4 { color: var(--gnx-red-dark); }
.matrix-col ul { padding-left: 20px; margin: 0; font-size: .88rem; color: var(--text-sub); line-height: 1.8; }

/* ── PACKING ── */
.packing-section { background: #fff; }
.packing-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 768px) { .packing-gallery { grid-template-columns: 1fr 1fr; } }
.pack-img { aspect-ratio: 1; background: var(--bg-soft); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); }
.pack-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.pack-img:hover img { transform: scale(1.06); }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--bg-main); }
.testi-card { background: #fff; border-radius: 14px; padding: 24px 20px; box-shadow: var(--shadow-soft); border: 1px solid var(--border); height: 100%; }
.testi-stars { color: var(--gold); margin-bottom: 8px; font-size: .9rem; }
.testi-quote { font-size: .95rem; color: var(--text-main); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--gnx-navy); font-weight: 900; font-size: 1rem; }
.testi-name { font-weight: 800; color: var(--gnx-navy); font-size: .9rem; }
.testi-role { font-size: .78rem; color: var(--text-light); }

/* ── FAQ ── */
.faq-section { background: #fff; }
.faq-item { background: var(--bg-main); border-radius: 12px; margin-bottom: 12px; border: 1px solid var(--border); overflow: hidden; }
.faq-q { padding: 16px 20px; font-weight: 700; color: var(--gnx-navy); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .95rem; }
.faq-q i { color: var(--gnx-red); transition: .2s; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 20px; color: var(--text-sub); font-size: .9rem; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 16px; }

/* ── FOOTER ── */
.site-footer { background: var(--gnx-navy-dark); color: rgba(255,255,255,.75); padding: 50px 0 24px; }
.footer-logo { height: 44px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-h { color: #fff; font-weight: 800; font-size: .9rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }
.footer-link { display: block; color: rgba(255,255,255,.7) !important; font-size: .88rem; padding: 4px 0; transition: .2s; }
.footer-link:hover { color: var(--gold) !important; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; margin-top: 30px; text-align: center; font-size: .82rem; color: rgba(255,255,255,.5); }

/* ── STICKY MOBILE CTA ── */
.sticky-mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; width: 100%; background: #fff; box-shadow: 0 -4px 20px rgba(0,0,0,.1); padding: 10px 10px max(16px, env(safe-area-inset-bottom)); z-index: 10001; gap: 8px; }
.sticky-mobile-cta a { flex: 1; padding: 12px; border-radius: 10px; font-weight: 800; text-align: center; font-size: .9rem; display: flex; align-items: center; justify-content: center; gap: 6px; }
.sticky-mobile-cta .sm-call { background: var(--gnx-red); color: #fff !important; }
.sticky-mobile-cta .sm-zalo { background: #0068ff; color: #fff !important; }
.sticky-mobile-cta .sm-calc { background: var(--gnx-navy); color: #fff !important; }
/* ── TEXT WRAP — tránh orphan word, cân bằng dòng trên mobile ── */
.hero-title, .section-title, .pillar-title, .audience-title, .route-name, .step-title, .testi-name { text-wrap: balance; }
.hero-sub, .section-sub, .pillar-desc, .audience-desc, .route-tagline, .step-desc, .testi-quote { text-wrap: pretty; }

@media (max-width: 768px) {
  /* Eyebrow font/spacing nhỏ hơn để wrap đẹp */
  .hero-eyebrow { letter-spacing: 1px; font-size: .7rem; padding: 5px 12px; line-height: 1.4; }
  .section-eyebrow { letter-spacing: 2px; font-size: .68rem; }
  /* Hero-sub bỏ max-width để dùng full container width */
  .hero-sub { max-width: none; }
  /* Ẩn announce-bar trên mobile để header fix cứng top không bị xung đột */
  .announce-bar { display: none; }
  /* Header neo cứng tuyệt đối — fixed thay vì sticky */
  .site-header { position: fixed !important; top: 0; left: 0; right: 0; width: 100%; z-index: 10000; -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  .site-header .d-flex { height: var(--gnx-fixed-header-height); padding-top: 8px !important; padding-bottom: 8px !important; }
  .site-header .logo { height: 44px; }
  /* Bottom CTA neo cứng */
  .sticky-mobile-cta { display: flex !important; position: fixed !important; bottom: 0; left: 0; right: 0; width: 100%; min-height: var(--gnx-fixed-bottom-height); z-index: 10001; -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  /* Body chừa chỗ cho 2 thanh fix cứng */
  html, body { overflow-x: hidden; }
  body { padding-top: var(--gnx-fixed-header-height); padding-bottom: calc(var(--gnx-fixed-bottom-height) + 24px + env(safe-area-inset-bottom, 0px)); }
}

/* Anchor scroll offset — tránh sticky header che tiêu đề section khi click menu */
section[id], [id]:not(input):not(select):not(button) { scroll-margin-top: 90px; }
html { scroll-behavior: smooth; }
