/* =========================================================
   Linh An Hoa Sen Home – giao diện chính
   Màu và font được dashboard ghi đè qua biến CSS (xem app.js → applyTheme)
   ========================================================= */
:root {
  --primary: #c30508;
  --primary-dark: #8f0406;
  --accent: #fcee23;
  --text: #333333;
  --heading: #c30508;
  --bg: #ffffff;
  --soft: #fbe8e8;
  --header-bg: #c30508;
  --header-text: #ffffff;
  --header-active: #fcee23;
  --footer-bg: #c30508;
  --footer-text: #ffffff;
  --font-heading: "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --font-script: "Montserrat", system-ui, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, .08);
  --shadow-lg: 0 14px 40px rgba(0, 0, 0, .14);
  --header-h: 72px;
  --ph: linear-gradient(135deg, #f7e1d6 0%, #efc9b9 55%, #f3d9a8 100%);
  --ease: cubic-bezier(.15, .87, .45, 1.23);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; font-size: var(--base-size, 16px); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container--sm { max-width: 1000px; }
h1, h2, h3, h4, .ff-heading { font-family: var(--font-heading); line-height: 1.2; }
.clamp-2, .clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { -webkit-line-clamp: 2; }
.clamp-3 { -webkit-line-clamp: 3; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Ảnh: luôn có nền ấm khi chưa có ảnh thật */
.ph { background-color: #f1d9d0; background-image: var(--ph); background-size: cover; background-position: center; }
.img-zoom { overflow: hidden; }
.img-zoom > .ph, .img-zoom > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a:hover .img-zoom > .ph, a:hover .img-zoom > img, .img-zoom:hover > .ph, .img-zoom:hover > img { transform: scale(1.08); }

/* Vòng tròn trang trí màu vàng nhạt */
.deco { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(252, 238, 35, .28), rgba(252, 220, 120, .12) 60%, transparent 70%); }

/* ===== Chữ tiêu đề ===== */
.script { display: block; font-family: var(--font-script); font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--text); line-height: 1.2; margin-bottom: 4px; }
.big-title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; color: var(--heading); text-transform: uppercase; letter-spacing: -.01em; }
.page-title { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; color: var(--heading); text-transform: uppercase; text-align: center; letter-spacing: -.01em; }
.prose { font-size: .9rem; color: #555; }
.prose p { margin-bottom: 1em; }
.prose strong { color: var(--text); }
.prose h2, .prose h3 { color: var(--text); margin: 1.4em 0 .6em; }
.prose h2 { font-size: 1.4rem; }
.prose h3 { font-size: 1.15rem; }
.prose ul, .prose ol { margin: 0 0 1em 1.4em; }
.prose li { margin-bottom: .3em; }
.prose a { color: var(--primary); text-decoration: underline; }
.prose blockquote { border-left: 3px solid var(--primary); padding: 4px 0 4px 16px; margin: 0 0 1em; font-weight: 600; color: var(--text); }
.prose img { border-radius: var(--radius-sm); margin: 1em 0; }

/* ===== Nút ===== */
.btn-pill { display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 4px 0 20px; border-radius: 999px; background: var(--primary); color: var(--accent); font-size: .85rem; font-weight: 500; border: 0; box-shadow: 0 4px 0 rgba(0,0,0,.12); transition: .3s all; }
.btn-pill i { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--primary); display: grid; place-items: center; font-style: normal; font-size: 1.05rem; transition: transform .3s; }
.btn-pill:hover { background: var(--primary-dark); }
.btn-pill:hover i { transform: translateX(4px); }
.btn-pill--white i { background: #fff; color: var(--primary); }
.btn-pill--white { color: #fff; }

.btn-line { display: inline-flex; align-items: center; gap: 12px; height: 36px; padding: 0 3px 0 14px; border: 1.5px solid #fff; border-radius: 999px; color: #fff; font-size: .82rem; transition: .3s all; }
.btn-line i { width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--text); display: grid; place-items: center; font-style: normal; transition: .3s all; }
.btn-line:hover { background: #fff; color: var(--primary); }
.btn-line:hover i { background: var(--primary); color: #fff; transform: translateX(3px); }

.arrow-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; background: none; display: grid; place-items: center; transition: .3s all; }
.arrow-btn svg { width: 20px; height: 20px; }
.arrow-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.arrow-btn.swiper-button-disabled { opacity: .35; pointer-events: none; }
.arrow-btn--red { color: var(--primary); }
.arrow-btn--white { color: #fff; }
.arrow-btn--white:hover { background: #fff; color: var(--primary); border-color: #fff; }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 100; background: var(--header-bg); color: var(--header-text); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.18); }
.header__inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr 40px; align-items: center; gap: 24px; }
.nav { display: flex; align-items: center; justify-content: space-around; gap: 8px; }
.nav a { position: relative; padding: 6px 4px; font-size: .95rem; white-space: nowrap; }
.nav a:hover, .nav a.is-active { color: var(--header-active); }
.logo { display: flex; align-items: center; justify-content: center; text-align: center; }
.logo img { max-height: 52px; width: auto; transition: max-height .3s; }
.header.is-scrolled .logo img { max-height: 44px; }
.logo__text { font-family: var(--font-heading); font-weight: 800; color: var(--header-active); font-size: .95rem; line-height: 1.05; letter-spacing: .02em; white-space: pre-line; }
.icon-btn { width: 40px; height: 40px; border: 0; background: none; color: inherit; border-radius: 50%; display: grid; place-items: center; transition: background .3s; }
.icon-btn:hover { background: rgba(255,255,255,.12); }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: none; }

/* ===== Tìm kiếm (lớp phủ) ===== */
.search { position: fixed; inset: 0; z-index: 300; visibility: hidden; transition: visibility 0s .4s; }
.search.is-open { visibility: visible; transition: none; }
.search__dim { position: absolute; inset: 0; background: rgba(40, 40, 40, .6); opacity: 0; transition: opacity .4s; }
.search.is-open .search__dim { opacity: 1; }
.search__bar { position: relative; background: var(--primary); padding: 14px 16px; transform: translateY(-100%); transition: transform .4s ease; }
.search.is-open .search__bar { transform: none; }
.search__form { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.search__form input { height: 46px; border: 0; border-radius: 4px; padding: 0 16px; outline: none; font-size: .95rem; }
.search__form input::placeholder { color: #999; }
.search__form button { height: 46px; padding: 0 64px; border: 0; border-radius: 4px; background: #fff; color: var(--primary); font-size: .82rem; font-weight: 500; transition: .3s all; }
.search__form button:hover { background: var(--accent); }
.search__close { position: absolute; right: 32px; top: 50%; margin-top: -20px; width: 40px; height: 40px; border: 0; background: none; color: #fff; transition: transform .3s; }
.search__close svg { width: 28px; height: 28px; }
.search__close:hover { transform: rotate(90deg); }

/* ===== Nút liên hệ nổi ===== */
.float { position: fixed; left: 24px; bottom: 32px; z-index: 90; }
.float__toggle { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(195, 5, 8, .12); animation: float-ring 2s infinite; }
.float__toggle svg { width: 26px; height: 26px; transition: transform .3s; }
.float.is-open .float__toggle svg { transform: rotate(135deg); }
@keyframes float-ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(195,5,8,.35); } 60% { box-shadow: 0 0 0 14px rgba(195,5,8,0); } }
.float__list { position: absolute; left: 0; bottom: 64px; display: flex; flex-direction: column; gap: 10px; }
.float__item { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: .3s all; }
.float.is-open .float__item { opacity: 1; transform: none; pointer-events: auto; }
.float.is-open .float__item:nth-child(2) { transition-delay: .05s; }
.float.is-open .float__item:nth-child(3) { transition-delay: .1s; }
.float.is-open .float__item:nth-child(4) { transition-delay: .15s; }
.float__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.18); flex: none; }
.float__icon svg { width: 22px; height: 22px; }
.float__label { background: #fff; color: var(--text); font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap; }

.totop { position: fixed; right: 24px; bottom: 32px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(16px); pointer-events: none; transition: .3s all; }
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { width: 20px; height: 20px; transform: rotate(-90deg); }

/* ===== Phân trang ===== */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.pager button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; font-size: .78rem; box-shadow: 0 2px 10px rgba(0,0,0,.08); transition: .3s all; }
.pager button:hover:not(:disabled):not(.is-active) { color: var(--primary); }
.pager button.is-active { background: var(--primary); color: #fff; }
.pager button:disabled { opacity: .4; cursor: default; }
.empty { text-align: center; padding: 56px 0; color: #888; }

/* ===== Footer ===== */
.footer { background: var(--footer-bg); color: var(--footer-text); padding: 72px 0 0; position: relative; }
.footer__grid { display: grid; grid-template-columns: 1fr var(--cols, 1.2fr 1.2fr) 1.3fr; gap: 32px; }
.footer__logo { display: flex; justify-content: center; align-items: flex-start; }
.footer__logo img { max-height: 90px; width: auto; }
.footer__logo .logo__text { color: var(--accent); font-size: .85rem; white-space: normal; max-width: 140px; }
.footer h4 { font-size: .95rem; font-weight: 800; margin-bottom: 14px; text-transform: uppercase; }
.footer__list { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: .82rem; }
.footer__list a, .footer__list span { display: inline-flex; align-items: center; gap: 8px; }
.footer__list a:hover { color: var(--accent); }
.footer__list svg { width: 18px; height: 18px; flex: none; }
.footer__partners { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 40px; }
.footer__partners img { max-height: 30px; width: auto; }
.footer__partners span { font-weight: 800; letter-spacing: .1em; font-size: .9rem; opacity: .9; }
.newsletter { display: flex; align-items: center; border-bottom: 1px solid currentColor; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: inherit; font-size: .82rem; padding: 10px 0; }
.newsletter input::placeholder { color: inherit; opacity: .7; }
.newsletter button { border: 0; background: none; color: inherit; padding: 6px; transition: transform .3s; }
.newsletter button:hover { transform: translateX(4px); }
.newsletter button svg { width: 20px; height: 20px; }
.newsletter__msg { font-size: .78rem; margin-top: 8px; min-height: 1em; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.25); font-size: .75rem; opacity: .7; }
.footer__bottom nav { display: flex; gap: 16px; }
.footer__bottom a:hover { color: var(--accent); }

/* =========================================================
   TRANG CHỦ
   ========================================================= */
/* Banner chính */
.hero { position: relative; color: #fff; background: var(--primary); }
.hero .swiper { height: min(calc(100vh - var(--header-h)), 680px); min-height: 520px; }
.hero-slide { position: relative; overflow: hidden; display: flex; align-items: center; }
.hero-slide__bg { position: absolute; inset: 0 -15%; background-size: cover; background-position: center; }
.hero-slide__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(160, 20, 20, .95) 0%, rgba(175, 30, 30, .82) 45%, rgba(190, 60, 30, .35) 100%); }
.hero-slide__img { position: absolute; right: 0; bottom: 0; height: 92%; width: 46%; background-size: contain; background-repeat: no-repeat; background-position: right bottom; z-index: 1; }
.hero-slide__content { position: relative; z-index: 2; padding-left: 72px; max-width: 620px; }
.hero-slide__content .script { color: #fff; }
.hero-slide__title { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; text-transform: uppercase; margin-bottom: 18px; }
.hero-slide__text { font-size: .92rem; line-height: 1.75; opacity: .95; }
.play { position: relative; display: grid; place-items: center; width: 120px; height: 120px; margin-bottom: 20px; border-radius: 50%; }
.play::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); animation: play-ring 2.4s infinite; }
.play span { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(255,255,255,.45), rgba(255,255,255,.12)); box-shadow: inset 0 0 0 10px rgba(255,255,255,.15); transition: transform .3s; }
.play span::after { content: ""; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; margin-left: 6px; }
.play:hover span { transform: scale(1.08); }
.play--sm { width: 64px; height: 64px; margin: 0; }
.play--sm span { width: 52px; height: 52px; box-shadow: inset 0 0 0 6px rgba(255,255,255,.15); }
.play--sm span::after { border-width: 9px 0 9px 14px; margin-left: 4px; }
@keyframes play-ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.hero__rail { position: absolute; left: 36px; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.35); z-index: 3; pointer-events: none; }
.hero .swiper-pagination.hero__dots { left: 29px !important; right: auto; top: 50% !important; bottom: auto !important; transform: translateY(-50%); width: auto !important; display: flex; flex-direction: column; gap: 8px; z-index: 4; }
.hero__dots .swiper-pagination-bullet { width: 14px; height: 14px; margin: 0 !important; border: 1.5px solid #fff; background: var(--primary); opacity: 1; position: relative; transition: .3s all; }
.hero__dots .swiper-pagination-bullet-active::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #fff; }

/* Giới thiệu */
.intro { position: relative; padding: 110px 0 90px; overflow: hidden; }
.intro__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro__quote { border-left: 2px solid var(--primary); padding-left: 14px; margin: 24px 0 18px; font-weight: 700; font-size: .88rem; color: var(--text); }
.intro__quote em { font-style: italic; }
.intro .prose { margin-bottom: 28px; }
.collage { position: relative; height: 420px; }
.collage__frame { position: absolute; left: 6%; top: 18%; width: 62%; height: 72%; border: 1.5px solid var(--primary); border-radius: var(--radius-sm); transform: rotate(-6deg); }
.collage__main { position: absolute; left: 10%; top: 14%; width: 58%; height: 76%; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.collage__a, .collage__b { position: absolute; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.collage__a { right: 4%; top: 18%; width: 22%; height: 20%; }
.collage__b { right: 12%; bottom: 4%; width: 26%; height: 26%; }

/* Con số ấn tượng */
.stats { position: relative; padding: 40px 0 80px; overflow: hidden; }
.stats__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: start; }
.framed { position: relative; margin: 12px 24px 0 36px; }
.framed__frame { position: absolute; inset: -14px 24px 24px -28px; border: 1.5px solid var(--primary); border-radius: var(--radius-sm); }
.framed__img { position: relative; aspect-ratio: 4 / 4.4; border-radius: 2px; }
.stats__text { padding-top: 40px; }
.stats__text .big-title { margin-bottom: 22px; }
.numbers { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 48px; }
.number { display: flex; align-items: center; gap: 12px; padding: 0 14px; }
.number strong { font-family: var(--font-heading); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; color: var(--heading); line-height: 1; }
.number span { border-left: 1px solid #ddd; padding-left: 12px; font-size: .74rem; color: #666; line-height: 1.4; }

/* Dải logo + ảnh trượt */
.logos { display: grid; grid-template-columns: 1fr 1fr; min-height: 120px; }
.logos__side { display: flex; align-items: center; justify-content: space-around; gap: 24px; padding: 20px 40px; }
.logos__side--dark { background: #5c2122; background-size: cover; background-position: center; position: relative; }
.logos__side--dark::before { content: ""; position: absolute; inset: 0; background: rgba(70, 18, 18, .82); }
.logos__side--light { background: #f6ede4; }
.logos__side > * { position: relative; }
.logos__side img { max-height: 54px; width: auto; }
.logos__side span { font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; }
.logos__side--dark span { color: rgba(255,255,255,.9); }
.logos__side--light span { color: var(--primary); }
.photo-slider { position: relative; }
.photo-slider .swiper-slide { height: min(56vw, 560px); }
.photo-slider .swiper-slide .ph { width: 100%; height: 100%; }
.photo-slider__nav { position: absolute; inset: auto 0 36px; display: flex; justify-content: space-between; padding: 0 72px; z-index: 2; pointer-events: none; }
.photo-slider__nav > * { pointer-events: auto; }

/* Hành trình (khối có ảnh nền tối) */
.ep-hero { position: relative; color: #fff; overflow: hidden; background: #1f1f2a; }
.ep-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); transition: transform 6s ease-out; }
.ep-hero.is-in .ep-hero__bg { transform: scale(1); }
.ep-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 38%, rgba(0,0,0,.1) 75%); }
.ep-hero > .container { position: relative; z-index: 2; }
.ep-hero__content { max-width: 470px; padding: 120px 0 56px; }
.ep-hero__title { font-size: clamp(2.8rem, 6vw, 4.4rem); font-weight: 800; line-height: 1; white-space: nowrap; }
.ep-hero__line { height: 1px; background: rgba(255,255,255,.45); margin: 26px 0 22px; }
.ep-hero__sub { font-weight: 700; font-size: .95rem; margin-bottom: 18px; }
.ep-hero__note { margin-top: 18px; font-size: .78rem; line-height: 1.7; opacity: .92; white-space: pre-line; }
.ep-hero--page .ep-hero__content { padding: 92px 0 80px; }
.ep-strip { position: relative; border-top: 1px solid rgba(255,255,255,.3); padding: 36px 0 48px; margin-top: 8px; }
.ep-strip .swiper { overflow: hidden; }
.ep-strip__nav { position: absolute; left: -76px; right: -76px; top: 50%; margin-top: -40px; display: flex; justify-content: space-between; pointer-events: none; }
.ep-strip__nav > * { pointer-events: auto; }
.ep-mini { display: block; }
.ep-mini__img { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; margin-bottom: 10px; }
.ep-mini__img .play--sm { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.ep-mini small { font-size: .68rem; opacity: .85; }
.ep-mini h3 { font-size: .88rem; font-weight: 600; }
.ep-mini:hover h3 { color: var(--accent); }

/* Cảm nhận */
.voices { padding: 100px 0 90px; overflow: hidden; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.head-row__nav { display: flex; gap: 10px; }
.voices .swiper { overflow: visible; }
.voice { position: relative; height: 340px; border-radius: 6px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.voice .ph { position: absolute; inset: 0; transition: transform .5s; }
.voice:hover .ph { transform: scale(1.06); }
.voice::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 45%, transparent 70%); }
.voice__body { position: relative; z-index: 1; padding: 16px; }
.voice__body p { font-size: .74rem; line-height: 1.6; margin-bottom: 14px; }
.voice__body strong { font-size: .76rem; }

/* Đơn vị đồng hành */
.sponsor { position: relative; background: var(--primary); color: #fff; padding: 90px 0; overflow: hidden; }
.sponsor .deco { background: radial-gradient(circle, rgba(252, 238, 35, .22), transparent 70%); }
.sponsor__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.sponsor__logos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 360px; margin: 0 auto; }
.sponsor__logo { display: grid; place-items: center; min-height: 92px; padding: 12px; border: 1.5px solid rgba(255,255,255,.65); border-radius: 6px; text-align: center; transition: .3s all; }
.sponsor__logo:hover { background: rgba(255,255,255,.08); transform: translateY(-3px); }
.sponsor__logo img { max-height: 70px; width: auto; }
.sponsor__logo span { font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; line-height: 1.15; }
.sponsor .script { color: #fff; }
.sponsor h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; color: var(--accent); margin-bottom: 18px; }
.sponsor .prose { color: rgba(255,255,255,.88); }
.sponsor .prose strong { color: #fff; }

/* Tin tức trang chủ (dạng ô ghép) */
.home-news { position: relative; padding: 90px 0 110px; overflow: hidden; }
.mosaic { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(200px, 1fr)); }
.mosaic__big { position: relative; grid-column: 1 / 3; grid-row: 1 / 3; }
.mosaic__big > .ph { position: absolute; inset: 0; }
.mosaic__cell { position: relative; min-height: 200px; overflow: hidden; }
.mosaic__cell > .ph { position: absolute; inset: 0; transition: transform .5s; }
.mosaic__cell:hover > .ph { transform: scale(1.08); }
.ncell { display: flex; flex-direction: column; padding: 16px 16px 20px; background: #fff; transition: .3s all; }
.ncell small { font-size: .7rem; color: #888; }
.ncell h3 { margin: 18px 0 auto; font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 800; text-transform: uppercase; color: var(--text); line-height: 1.25; }
.ncell__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; font-size: .7rem; color: #888; }
.ncell__foot svg { width: 30px; height: 18px; transition: transform .3s; }
.ncell:hover .ncell__foot svg { transform: translateX(6px); }
.ncell:hover h3 { color: var(--primary); }
.ncell--red { position: absolute; left: 0; bottom: 0; width: 50%; height: 50%; background: rgba(195, 5, 8, .9); color: #fff; z-index: 1; }
.ncell--red h3, .ncell--red small, .ncell--red .ncell__foot { color: #fff; }
.ncell--red:hover h3 { color: var(--accent); }

/* =========================================================
   TRANG DANH SÁCH
   ========================================================= */
.page { padding: 56px 0 90px; }
.page .page-title { margin-bottom: 28px; }

/* Lưới hành trình */
.ep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 22px; }
.ep-card { display: block; }
.ep-card__img { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; margin-bottom: 10px; }
.ep-card__img .play--sm { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s; }
.ep-card:hover .play--sm { opacity: 1; }
.ep-card small { font-size: .66rem; color: #666; }
.ep-card h3 { font-size: .82rem; font-weight: 600; color: var(--text); transition: color .3s; }
.ep-card:hover h3 { color: var(--primary); }

/* Tab danh mục */
.tabs { display: flex; justify-content: center; margin: 0 0 40px; }
.tabs__inner { display: inline-flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: #fff; border-radius: 999px; box-shadow: 0 8px 26px rgba(0,0,0,.12); }
.tabs button { padding: 12px 22px; border: 0; background: none; border-radius: 999px; font-size: .8rem; font-weight: 700; text-transform: uppercase; white-space: nowrap; transition: .3s all; }
.tabs button:hover { color: var(--primary); }
.tabs button.is-active { background: var(--primary); color: #fff; }

/* Thẻ tin tức */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ncard { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; transition: .3s all; }
.ncard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ncard__img { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); }
.ncard__img .ph { position: absolute; inset: 0; }
.ncard__body { display: flex; align-items: flex-start; gap: 14px; padding: 18px 6px 8px; }
.ncard h3 { font-size: .82rem; font-weight: 700; line-height: 1.5; color: var(--text); transition: color .3s; }
.ncard:hover h3 { color: var(--primary); }
.ncard__tag { display: inline-block; margin-bottom: 4px; font-size: .66rem; font-weight: 700; color: var(--primary); text-transform: uppercase; }
.date { flex: none; padding-right: 14px; border-right: 1px solid #ddd; line-height: 1; }
.date b { display: block; font-family: var(--font-heading); font-size: 1.55rem; font-weight: 800; color: #444; }
.date small { display: block; margin-top: 4px; font-size: .6rem; color: #888; }
.ncard--big { grid-column: span 2; flex-direction: row; padding: 0; overflow: hidden; }
.ncard--big .ncard__img { flex: 1; aspect-ratio: auto; min-height: 260px; border-radius: var(--radius) 0 0 var(--radius); }
.ncard--big .ncard__side { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 28px 32px 28px 16px; }
.ncard--big .ncard__body { padding: 0; }
.ncard--big p { font-size: .74rem; color: #666; line-height: 1.7; padding-left: 2px; }
.ncard--big .more { font-size: .78rem; color: var(--text); transition: color .3s; }
.ncard--big:hover .more { color: var(--primary); }

/* Hoàn cảnh */
.page-banner { position: relative; height: clamp(220px, 32vw, 400px); color: #fff; }
.page-banner .ph { position: absolute; inset: 0; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.45), transparent 40%); }
.crumbs { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 1; font-size: .78rem; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 6px; opacity: .8; }
.cases-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.cases-head .page-title { text-align: left; margin: 0; }
.dropdown { position: relative; }
.dropdown__btn { display: flex; align-items: center; gap: 10px; min-width: 200px; height: 48px; padding: 0 18px; border: 0; background: var(--primary); color: #fff; font-size: .74rem; }
.dropdown__btn b { font-weight: 800; text-transform: uppercase; }
.dropdown__btn em { font-style: normal; opacity: .85; margin-right: auto; }
.dropdown__btn svg { width: 12px; height: 12px; transition: transform .3s; }
.dropdown.is-open .dropdown__btn svg { transform: rotate(180deg); }
.dropdown__menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 100%; max-height: 300px; overflow-y: auto; background: #fff; box-shadow: var(--shadow-lg); border-radius: 4px; padding: 6px 0; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: .3s all; }
.dropdown.is-open .dropdown__menu { opacity: 1; transform: none; pointer-events: auto; }
.dropdown__menu button { display: block; width: 100%; text-align: left; padding: 9px 18px; border: 0; background: none; font-size: .82rem; white-space: nowrap; }
.dropdown__menu button:hover, .dropdown__menu button.is-active { color: var(--primary); background: var(--soft); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 10px 10px 16px; transition: .3s all; }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case-card__img { position: relative; aspect-ratio: 16 / 9.5; border-radius: 8px; margin-bottom: 14px; }
.case-card__img .ph { position: absolute; inset: 0; }
.case-card__foot { display: flex; align-items: flex-start; gap: 12px; padding: 0 2px; }
.case-card__ep { flex: none; padding-right: 12px; border-right: 1px solid #ddd; line-height: 1; }
.case-card__ep b { display: block; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800; color: #444; text-transform: uppercase; }
.case-card__ep small { display: block; margin-top: 5px; font-size: .58rem; color: #888; }
.case-card h3 { font-size: .78rem; font-weight: 700; color: var(--text); transition: color .3s; }
.case-card:hover h3 { color: var(--primary); }

/* =========================================================
   TRANG GIỚI THIỆU
   ========================================================= */
.about-banner { position: relative; min-height: 520px; display: flex; align-items: center; color: #fff; background: linear-gradient(135deg, #b9140f, #e04a1c 60%, #f08a2c); overflow: hidden; }
.about-banner > .ph { position: absolute; inset: 0; background-color: transparent; }
.about-banner__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; width: 100%; padding: 60px 0; }
.about-banner h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; color: #fff; text-transform: uppercase; text-shadow: 0 4px 20px rgba(0,0,0,.2); }
.about-banner__sub { font-style: italic; margin: 10px 0 24px; opacity: .95; }
.about-banner ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.about-banner li { font-size: 1rem; }
.about-banner li b { font-family: var(--font-heading); font-size: 1.6rem; color: var(--accent); margin: 0 4px; }
.about-intro { position: relative; background: var(--primary); color: #fff; padding: 90px 0 200px; }
.about-intro::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; background: var(--bg); clip-path: ellipse(75% 100% at 50% 100%); }
.about-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-intro small { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.about-intro h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; text-transform: uppercase; margin-bottom: 22px; }
.about-intro .prose { color: rgba(255,255,255,.9); font-size: .82rem; }
.about-intro .prose strong { color: #fff; }
.about-intro__img { aspect-ratio: 4 / 4.6; }
.vision { position: relative; z-index: 2; margin-top: -150px; background: #fff; border-radius: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.1); padding: 48px 56px 40px; }
.vision__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.vision__logo { display: grid; place-items: center; min-height: 150px; }
.vision__logo img { max-height: 140px; width: auto; }
.vision__logo span { font-family: var(--font-heading); font-weight: 800; font-size: 1.8rem; color: var(--primary); text-align: center; line-height: 1.15; }
.vision__pane h3 { font-size: 1rem; margin-bottom: 14px; }
.vision__pane p { font-size: .8rem; color: #666; line-height: 1.75; }
.vision__pane { animation: pane-in .5s; }
@keyframes pane-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.vision__tabs { display: flex; gap: 56px; margin-top: 44px; padding-left: 4%; }
.vision__tabs button { border: 0; background: none; font-weight: 700; font-size: .9rem; padding: 4px 0; position: relative; transition: color .3s; }
.vision__tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .3s; }
.vision__tabs button.is-active, .vision__tabs button:hover { color: var(--primary); }
.vision__tabs button.is-active::after { transform: scaleX(1); }
.details { position: relative; padding: 90px 0 40px; text-align: center; overflow: hidden; }
.details .big-title { margin-bottom: 14px; }
.details .prose { max-width: 760px; margin: 0 auto; font-size: .8rem; }
.bubble { position: absolute; border-radius: 50%; pointer-events: none; opacity: .5; }
.steps { position: relative; max-width: 900px; margin: 0 auto; padding: 40px 16px 80px; }
.step { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 64px; }
.step__img { aspect-ratio: 16 / 10.5; border-radius: var(--radius); box-shadow: var(--shadow); }
.step__text { display: grid; grid-template-columns: auto 1fr; gap: 0 18px; }
.step__no { grid-row: span 2; font-family: var(--font-heading); font-size: 3.6rem; font-weight: 800; line-height: .9; }
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { font-size: .76rem; color: #666; line-height: 1.75; }
.step:nth-child(even) .step__img { order: -1; }
.step::after { content: ""; position: absolute; left: 25%; right: 25%; top: 100%; height: 64px; border: 1.5px dashed #999; border-top: 0; border-radius: 0 0 50% 50% / 0 0 100% 100%; opacity: .6; }
.step:nth-child(even)::after { border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.step:last-child::after { display: none; }
.library { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, 22vw); }
.library__item { position: relative; overflow: hidden; display: block; }
.library__item .ph { position: absolute; inset: 0; transition: transform .5s; }
.library__item:hover .ph { transform: scale(1.08); }
.library__item:nth-child(1), .library__item:nth-child(2) { grid-column: span 2; }
.library__intro { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px 48px 40px 25%; color: #fff; background: linear-gradient(90deg, rgba(195,40,10,.55), rgba(195,40,10,.75)); }
.library__intro h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 12px; }
.library__intro p { font-size: .76rem; line-height: 1.7; opacity: .95; }

/* =========================================================
   TRANG LIÊN HỆ
   ========================================================= */
.contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; }
.contact__left { background: var(--soft); padding: 72px 64px 72px max(16px, calc((100vw - 1200px) / 2 + 16px)); }
.contact__left .big-title { margin-bottom: 26px; }
.contact__img { aspect-ratio: 16 / 10.5; }
.contact__caption { font-size: .66rem; color: #777; margin: 8px 0 26px; }
.contact__intro { font-size: .85rem; margin-bottom: 26px; }
.contact__info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: .82rem; margin-bottom: 40px; }
.contact__info h4 { font-size: .85rem; margin-bottom: 10px; }
.contact__info a:hover { color: var(--primary); }
.contact__map { aspect-ratio: 16 / 9.2; background: #eee; }
.contact__map iframe { width: 100%; height: 100%; border: 0; }
.contact__right { position: relative; color: #fff; padding: 72px max(16px, calc((100vw - 1200px) / 2 + 16px)) 72px 64px; overflow: hidden; }
.contact__right > .ph { position: absolute; inset: 0; }
.contact__right::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.45)); }
.contact__form { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 18px; }
.contact__form h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; text-transform: uppercase; margin-bottom: 4px; }
.contact__form > p { font-size: .82rem; opacity: .9; margin-bottom: 18px; }
.field-line { width: 100%; height: 44px; padding: 0 20px; border: 1px solid rgba(255,255,255,.75); border-radius: 999px; background: rgba(255,255,255,.06); color: #fff; outline: none; font-size: .82rem; transition: .3s all; }
textarea.field-line { height: 150px; border-radius: 22px; padding: 16px 20px; resize: vertical; }
.field-line::placeholder { color: rgba(255,255,255,.85); }
.field-line:focus { background: rgba(255,255,255,.16); border-color: #fff; }
.contact__form .btn-pill { align-self: center; margin-top: 18px; border: 0; color: #fff; height: 44px; padding-left: 26px; font-weight: 700; font-size: .78rem; }
.contact__form .btn-pill i { background: #fff; color: var(--primary); }
.form-msg { text-align: center; font-size: .85rem; min-height: 1.4em; }
.hp { position: absolute; left: -9999px; }

/* =========================================================
   TRANG CHI TIẾT
   ========================================================= */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
.detail__crumbs { font-size: .78rem; color: #777; margin-bottom: 18px; }
.detail__crumbs a:hover { color: var(--primary); }
.detail__crumbs span { margin: 0 6px; }
.detail__tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--primary); font-size: .72rem; font-weight: 700; margin-bottom: 12px; }
.detail h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; color: var(--text); margin-bottom: 10px; }
.detail__date { font-size: .8rem; color: #888; margin-bottom: 26px; }
.detail__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); margin-bottom: 30px; }
.detail__media .ph { position: absolute; inset: 0; }
.detail__media .play { position: absolute; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); }
.detail .prose { font-size: .98rem; line-height: 1.85; color: #444; }
.detail__lead { font-weight: 700; color: var(--text); font-size: 1.02rem; margin-bottom: 1em; }
.aside h3 { font-size: .95rem; font-weight: 800; color: var(--primary); text-transform: uppercase; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px solid var(--primary); }
.mini { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eee; }
.mini__img { aspect-ratio: 4 / 3; border-radius: 8px; }
.mini h4 { font-family: var(--font-body); font-size: .8rem; font-weight: 600; line-height: 1.45; transition: color .3s; }
.mini:hover h4 { color: var(--primary); }
.mini small { font-size: .7rem; color: #888; }
.related { margin-top: 64px; }
.related .big-title { font-size: 1.6rem; margin-bottom: 24px; }

/* Màn hình chờ */
.preloader { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; background: #fff; transition: opacity .5s, visibility .5s; }
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader span { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--soft); border-top-color: var(--primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1280px) {
  .ep-strip__nav { left: -8px; right: -8px; }
  .ep-strip { padding-left: 52px; padding-right: 52px; }
}

@media (max-width: 1024px) {
  .nav a { font-size: .86rem; }
  .header__inner { gap: 12px; }
  .numbers { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .mosaic__big { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__logo { justify-content: flex-start; }
  .detail { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__left, .contact__right { padding: 56px 16px; }
  .library { grid-template-columns: 1fr 1fr; }
  .library__intro { padding: 32px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header__inner { grid-template-columns: 1fr auto auto; }
  .logo { justify-content: flex-start; order: -1; }
  .burger { display: grid; }
  .burger span { display: block; width: 22px; height: 2px; background: currentColor; transition: .3s all; }
  .burger { gap: 5px; align-content: center; justify-items: center; }
  .burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .navs { position: fixed; left: 0; right: 0; top: var(--header-h); background: var(--header-bg); padding: 8px 16px 20px; box-shadow: 0 16px 30px rgba(0,0,0,.2); transform: translateY(-130%); transition: transform .4s ease; z-index: -1; }
  .navs.is-open { transform: none; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
  .hero-slide__content { padding-left: 56px; padding-right: 16px; }
  .hero-slide__img { opacity: .35; width: 70%; }
  .intro__grid, .stats__grid, .sponsor__grid, .about-intro__grid, .vision__grid { grid-template-columns: 1fr; }
  .collage { height: 360px; }
  .framed { margin: 24px 24px 0 36px; }
  .logos { grid-template-columns: 1fr; }
  .ep-grid, .news-grid, .case-grid { grid-template-columns: 1fr 1fr; }
  .ncard--big { grid-column: 1 / -1; }
  .step { grid-template-columns: 1fr; gap: 20px; }
  .step:nth-child(even) .step__img { order: 0; }
  .step::after { display: none; }
  .vision { padding: 32px 24px; }
  .vision__tabs { gap: 24px; padding-left: 0; flex-wrap: wrap; }
  .about-banner__grid { grid-template-columns: 1fr; }
  .search__form button { padding: 0 24px; }
  .search__close { position: static; margin: 0; }
  .search__bar { display: flex; gap: 8px; align-items: center; }
  .search__form { flex: 1; }
  .photo-slider__nav { padding: 0 20px; }
}

@media (min-width: 901px) {
  .navs { display: contents; }
  .header__inner > *, .navs > .nav { grid-row: 1; }
}

@media (max-width: 600px) {
  .ep-grid, .news-grid, .case-grid { grid-template-columns: 1fr; }
  .ncard--big { flex-direction: column; padding: 10px; }
  .ncard--big .ncard__img { aspect-ratio: 16 / 10; min-height: 0; border-radius: var(--radius-sm); }
  .ncard--big .ncard__side { padding: 18px 6px 8px; gap: 14px; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr; }
  .ncell--red { position: relative; width: 100%; height: auto; }
  .mosaic__big { min-height: 0; display: flex; flex-direction: column; }
  .mosaic__big > .ph { position: relative; height: 260px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cases-head { flex-direction: column; align-items: flex-start; }
  .ep-hero__content { padding: 80px 0 40px; }
  .ep-hero::before { background: linear-gradient(0deg, rgba(0,0,0,.9) 30%, rgba(0,0,0,.35)); }
  .contact__info { grid-template-columns: 1fr; }
  .library { grid-template-columns: 1fr; }
  .library__item:nth-child(1), .library__item:nth-child(2) { grid-column: auto; }
  .hero__rail, .hero .swiper-pagination.hero__dots { left: 12px !important; }
  .hero__rail { left: 19px; }
  .hero-slide__content { padding-left: 44px; }
  .play { width: 96px; height: 96px; }
  .play span { width: 70px; height: 70px; }
  .float { left: 16px; bottom: 20px; }
  .totop { right: 16px; bottom: 20px; }
}
