/* =========================================================
   WEPLAY MEDIA — STYLE CHUNG
   Đổi màu thương hiệu: sửa --brand / --brand-dark bên dưới
   ========================================================= */
:root {
  --brand: #d71920;
  --brand-dark: #a80f15;
  --brand-soft: #fdf1f1;
  --ink: #16181d;
  --ink-2: #3b3f47;
  --muted: #6b7280;
  --line: #e9eaee;
  --bg: #ffffff;
  --bg-2: #f6f7f9;
  --dark: #1b1d21;
  --dark-2: #26292e;
  --yellow: #f6e04b;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(16, 24, 40, .18);
  --shadow-lg: 0 24px 50px -18px rgba(16, 24, 40, .28);
  --container: 1180px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--ink-2); background: var(--bg); line-height: 1.65; font-size: 15px; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -0.18em; }
.ico--sm { width: .85em; height: .85em; }
.center { text-align: center; }
.section { padding: 96px 0; }
.section--gray { background: var(--bg-2); }
.section--dark { background: var(--dark); color: #c9ccd2; }
.section--dark h2, .section--dark h3 { color: #fff; }

/* ---------- Tiêu đề section ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-weight: 700; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 3px; height: 16px; background: var(--brand); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 36px); text-transform: uppercase; letter-spacing: .01em; }
.sec-head h2 .u { position: relative; display: inline-block; }
.sec-head h2 .u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: var(--brand); border-radius: 2px; }
.sec-head p { color: var(--muted); margin-top: 14px; }
.title-bar { position: relative; padding-left: 0; font-size: clamp(26px, 3vw, 34px); }
.title-bar::before { content: ""; position: absolute; left: 0; top: -14px; width: 54px; height: 3px; background: var(--brand); }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; border-radius: 4px; border: 1.5px solid transparent; cursor: pointer; transition: .25s; font-family: inherit; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(215, 25, 32, .55); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--brand); }
.btn--sm { padding: 10px 18px; font-size: 12px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.link-more .ico { transition: transform .25s; }
.link-more:hover .ico { transform: translateX(4px); }

/* ---------- Topbar + Header ---------- */
.topbar { background: var(--dark); color: #cfd2d8; font-size: 13px; transition: margin .3s; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar__info, .topbar__social { display: flex; gap: 22px; align-items: center; }
.topbar a { display: inline-flex; gap: 7px; align-items: center; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar__info .ico { color: var(--brand); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: .3s; }
body.scrolled .header { box-shadow: 0 6px 24px -14px rgba(0, 0, 0, .25); border-color: var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; transition: height .3s; }
body.scrolled .header__in { height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--brand), #ff5a3c); box-shadow: 0 6px 14px -6px rgba(215, 25, 32, .6); transform: rotate(-6deg); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b { font-size: 19px; letter-spacing: .04em; color: var(--ink); font-weight: 900; }
.logo__text i { font-style: italic; font-size: 13px; color: var(--muted); margin-top: 2px; letter-spacing: .05em; }
.logo--big .logo__mark { width: 52px; height: 52px; font-size: 28px; }
.logo--big .logo__text b { font-size: 24px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__item { position: relative; }
.nav__item > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); position: relative; transition: color .2s; }
.nav__item > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .25s; }
.nav__item:hover > a, .nav__item.is-active > a { color: var(--brand); }
.nav__item.is-active > a::after, .nav__item:hover > a::after { transform: scaleX(1); }
.nav__sub { position: absolute; top: 100%; left: 6px; min-width: 220px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; border: 1px solid var(--line); }
.nav__item:hover .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 10px 14px; font-size: 14px; border-radius: 6px; color: var(--ink-2); }
.nav__sub a:hover { background: var(--brand-soft); color: var(--brand); }
.nav__cta-mobile { display: none; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.burger .ico { width: 26px; height: 26px; }

/* ---------- Hero trang chủ ---------- */
.hero { position: relative; min-height: calc(100vh - 120px); min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; transform: scale(1.06); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .88) 38%, rgba(255, 255, 255, .25) 70%, rgba(255, 255, 255, 0) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero__content { max-width: 560px; padding: 80px 0; }
.hero h1 { font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 4px; }
.hero h1 strong { display: block; font-weight: 900; font-size: clamp(40px, 5.2vw, 64px); letter-spacing: -.01em; text-transform: uppercase; }
.hero p { margin: 22px 0 34px; color: var(--ink-2); font-size: 16px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Giới thiệu ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__img { position: relative; }
.about__img img { border-radius: 6px; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about__img::before { content: ""; position: absolute; top: -18px; right: -18px; width: 45%; height: 55%; border: 3px solid var(--brand); border-radius: 6px; z-index: -1; }
.about__text strong { color: var(--ink); }

/* ---------- Thống kê ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 80px; }
.stat { text-align: center; padding: 34px 16px; position: relative; border-right: 1px solid var(--line); transition: background .25s; }
.stat:last-child { border-right: 0; }
.stat::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--brand); transform: scaleX(0); transition: transform .3s; }
.stat:hover::after { transform: scaleX(1); }
.stat__num { font-size: 42px; font-weight: 900; color: var(--brand); line-height: 1; }
.stat__label { font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 14px 0 8px; }
.stat__sub { font-size: 13px; color: var(--muted); }

/* ---------- Card dịch vụ / lý do ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { background: var(--bg-2); padding: 36px 30px 32px; border-radius: 4px; position: relative; transition: .3s; border-bottom: 3px solid transparent; }
.section--gray .svc { background: #fff; box-shadow: var(--shadow); }
.svc:hover { background: #fff; box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--brand); }
.svc__ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); margin-bottom: 22px; transition: .3s; box-shadow: var(--shadow); }
.svc__ico .ico { width: 22px; height: 22px; }
.svc:hover .svc__ico { background: var(--brand); color: #fff; }
.svc h3 { font-size: 17px; text-transform: uppercase; letter-spacing: .02em; }
.svc p { font-size: 14px; color: var(--muted); }

.why { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 36px 28px; text-align: center; transition: .3s; }
.why:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.why__ico { width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.why h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.why p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Case study ---------- */
.case { background: #fff; border-radius: 8px; padding: 26px 24px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: .3s; display: flex; flex-direction: column; }
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case h3 { font-size: 17px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 3px 9px; border-radius: 4px; }
.case__big { font-size: 26px; font-weight: 900; color: var(--ink); margin: 10px 0 0; line-height: 1; }
.case__cap { font-size: 12px; color: var(--muted); }
.case__chart { height: 120px; margin: 14px 0; }
.case__chart svg { width: 100%; height: 100%; }
.case__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding-top: 14px; border-top: 1px dashed var(--line); }
.case__kpis small { display: block; font-size: 11px; color: var(--muted); }
.case__kpis b { font-size: 16px; color: var(--ink); }
.case__kpis b.hl { color: var(--brand); }
.case p { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }

/* ---------- Page banner (trang con) ---------- */
.banner { position: relative; padding: 110px 0; text-align: center; color: #fff; overflow: hidden; }
.banner__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15, 17, 21, .72), rgba(15, 17, 21, .82)); }
.banner .container { position: relative; z-index: 2; }
.banner h1 { color: #fff; font-size: clamp(32px, 4.5vw, 50px); text-transform: uppercase; letter-spacing: .02em; }
.banner p { color: rgba(255, 255, 255, .82); font-size: 16px; margin: 0; }
.pill { display: inline-block; background: #fff; color: var(--ink); font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 16px; border-radius: 30px; margin-bottom: 16px; }
.banner--tall { padding: 150px 0; }
.banner blockquote { margin: 18px auto 0; max-width: 680px; font-size: 18px; color: rgba(255, 255, 255, .9); font-style: italic; }

/* ---------- Tầm nhìn / sứ mệnh ---------- */
.vision { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.vision img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.vision h2 { font-size: 34px; }
.dots { list-style: none; padding: 0; margin: 18px 0 0; }
.dots li { position: relative; padding-left: 20px; margin: 9px 0; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.dots li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.dots--light li { font-weight: 400; color: var(--ink-2); }

.mcard { position: relative; border-radius: 14px; overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; margin-bottom: 26px; }
.mcard__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .8s; }
.mcard:hover .mcard__bg { transform: scale(1.05); }
.mcard::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 12, 15, .88) 0%, rgba(10, 12, 15, .55) 55%, rgba(10, 12, 15, .15) 100%); }
.mcard__body { position: relative; z-index: 2; padding: 42px; max-width: 560px; }
.mcard__ico { width: 46px; height: 46px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.mcard h3 { color: #fff; font-size: 26px; text-transform: uppercase; }
.mcard p { color: rgba(255, 255, 255, .85); margin: 0; }

/* ---------- Giá trị cốt lõi ---------- */
.value { display: grid; grid-template-columns: 1.35fr 1fr; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 30px; }
.value:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.value:nth-child(even) .value__img { order: -1; }
.value__body { padding: 44px; }
.value__title { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.value__title .ico-wrap { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.value__title h3 { margin: 0; font-size: 24px; text-transform: uppercase; }
.value__img { position: relative; min-height: 260px; }
.value__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.value__img::after { content: attr(data-num); position: absolute; inset: 0; display: grid; place-items: center; font-size: 96px; font-weight: 200; color: #fff; background: rgba(0, 0, 0, .45); letter-spacing: -.02em; }
.quote { margin-top: 20px; padding: 14px 18px; border-left: 3px solid var(--brand); background: var(--brand-soft); font-style: italic; font-weight: 700; color: var(--ink); font-size: 14px; border-radius: 0 6px 6px 0; }

/* ---------- Văn hoá ---------- */
.ccard { position: relative; border-radius: 14px; overflow: hidden; min-height: 290px; padding: 34px 30px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .35s, box-shadow .35s; }
.ccard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ccard__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(.35); transition: .6s; }
.ccard:hover .ccard__bg { filter: none; transform: scale(1.05); }
.ccard::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 20, 22, .62), rgba(20, 20, 22, .9)); }
.ccard > *:not(.ccard__bg) { position: relative; z-index: 2; }
.ccard__num { position: absolute !important; top: 18px; right: 26px; font-size: 56px; font-weight: 900; color: rgba(255, 255, 255, .28); line-height: 1; }
.ccard__ico { width: 42px; height: 42px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center; margin-bottom: auto; transition: .3s; }
.ccard:hover .ccard__ico { background: var(--brand); border-color: var(--brand); }
.ccard h3 { color: #fff; font-size: 24px; text-transform: uppercase; margin-top: 28px; }
.ccard .motto { color: var(--yellow); font-weight: 700; font-size: 14px; }
.ccard .act { font-size: 13px; color: rgba(255, 255, 255, .85); margin: 0; }
.ccard .act b { color: #fff; }

.rule { display: flex; gap: 14px; align-items: center; padding: 20px 22px; background: var(--dark-2); border-left: 3px solid var(--brand); border-radius: 4px; color: #e7e8ea; font-weight: 600; font-size: 14.5px; transition: .25s; }
.rule:hover { background: #2f333a; transform: translateX(4px); }
.rule .ico { color: var(--brand); width: 20px; height: 20px; }

.masonry { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 200px; gap: 12px; }
.masonry figure { margin: 0; overflow: hidden; border-radius: 6px; position: relative; }
.masonry img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.masonry figure:hover img { transform: scale(1.06); }
.masonry .tall { grid-row: span 2; }
.masonry .wide { grid-column: span 2; }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 10px; color: #fff; font-size: 13px; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); opacity: 0; transition: .3s; }
.masonry figure:hover figcaption { opacity: 1; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; text-align: center; }
.timeline::before { content: ""; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 1px; background: #d9dbe0; }
.tl { padding: 0 14px; position: relative; }
.tl__dot { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--brand); background: #fff; color: var(--brand); display: grid; place-items: center; margin: 0 auto 20px; position: relative; transition: .3s; font-size: 26px; font-weight: 800; }
.tl:hover .tl__dot { background: var(--brand); color: #fff; }
.tl__dot .ico { width: 24px; height: 24px; }
.tl h4 { font-size: 15px; margin-bottom: 6px; }
.tl p { font-size: 13px; color: var(--muted); margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery a { aspect-ratio: 1; overflow: hidden; border-radius: 6px; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.07); }
.gallery .is-hidden { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(8, 9, 11, .92); z-index: 200; display: none; align-items: center; justify-content: center; padding: 40px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 22px; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 16px; top: 50%; }
.lightbox .lb-next { right: 16px; top: 50%; }

/* ---------- Tuyển dụng ---------- */
.job { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; transition: .25s; }
.job:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.job h3 { font-size: 18px; margin-bottom: 8px; }
.job__meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); }
.job__meta span { display: inline-flex; gap: 6px; align-items: center; }
.job__right { text-align: right; flex-shrink: 0; }
.job__salary { color: var(--brand); font-weight: 800; margin-bottom: 8px; }

/* ---------- Tin tức ---------- */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.filters button { border: 1px solid var(--line); background: #fff; padding: 9px 20px; border-radius: 30px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink-2); transition: .2s; }
.filters button:hover { border-color: var(--brand); color: var(--brand); }
.filters button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.feat { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin-bottom: 54px; }
.feat img { border-radius: 10px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.feat h2 { font-size: 30px; margin: 14px 0 10px; }
.tag { display: inline-block; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 3px; text-transform: uppercase; }
.meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); }
.meta span { display: inline-flex; gap: 6px; align-items: center; }
.post { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); transition: .3s; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post__img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.post:hover .post__img img { transform: scale(1.06); }
.post__img .tag { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink); }
.post__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post h3 { font-size: 16px; text-transform: uppercase; margin: 10px 0; }
.post p { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }

.article-head { background: var(--bg-2); padding: 40px 0 50px; }
.article-head h1 { font-size: clamp(28px, 4vw, 42px); text-transform: uppercase; max-width: 820px; margin: 18px 0 16px; }
.article { max-width: 820px; margin: 0 auto; padding: 50px 20px 90px; font-size: 16px; }
.article img { border-radius: 10px; margin: 0 0 28px; width: 100%; }
.article .grid-2 img { margin: 0; aspect-ratio: 4/3; object-fit: cover; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.back:hover { color: var(--brand); }

/* ---------- Liên hệ ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.cinfo { display: flex; gap: 18px; margin-top: 28px; }
.cinfo__ico { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.cinfo h4 { font-size: 16px; margin-bottom: 4px; }
.cinfo p { margin: 0; color: var(--muted); font-size: 14px; }
.form { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 38px; border: 1px solid var(--line); }
.form h3 { font-size: 22px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 13px; color: var(--ink); margin-bottom: 6px; }
.field label i { color: var(--brand); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #dcdfe4; border-radius: 6px; font: inherit; font-size: 14px; color: var(--ink); background: #fff; transition: .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(215, 25, 32, .12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; padding: 16px; }
.form__ok { display: none; padding: 14px; border-radius: 6px; background: #ecfdf3; color: #067647; font-weight: 600; font-size: 14px; margin-top: 14px; }
.map { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.2); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); padding: 80px 0 0; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 50px; padding-bottom: 56px; }
.footer__brand p { color: var(--muted); font-size: 14px; margin: 22px 0; max-width: 320px; }
.footer h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer__links, .footer__contact { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a:hover, .footer__contact a:hover { color: var(--brand); }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer__contact .ico { color: var(--brand); margin-top: 3px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #d6d9de; display: grid; place-items: center; color: var(--ink-2); transition: .25s; }
.footer__social a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.footer__bottom { border-top: 1px solid var(--line); padding: 20px 0; font-size: 13px; color: var(--muted); }
.footer__bottom-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--brand); }
.float-call { position: fixed; right: 22px; bottom: 22px; width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(215, 25, 32, .6); z-index: 60; animation: ring 2.2s infinite; }
.float-call .ico { width: 22px; height: 22px; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(215, 25, 32, .45); } 60% { box-shadow: 0 0 0 16px rgba(215, 25, 32, 0); } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand), #ff4d3a); color: #fff; border-radius: 14px; padding: 46px 50px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h3 { color: #fff; font-size: 26px; margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band .btn { background: #fff; color: var(--brand); }
.cta-band .btn:hover { background: var(--ink); color: #fff; }

/* ---------- Hiệu ứng xuất hiện ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero__bg { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .header__cta { display: none; }
  .burger { display: block; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); background: #fff; flex-direction: column; align-items: stretch; padding: 90px 22px 30px; gap: 0; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; box-shadow: var(--shadow-lg); z-index: 40; overflow-y: auto; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__item > a { padding: 14px 4px; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav__item > a::after { display: none; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 4px 0 4px 12px; }
  .nav__item.is-open .nav__sub { display: block; }
  .nav__cta-mobile { display: inline-flex; margin-top: 22px; }
  .burger { position: relative; z-index: 45; }
  .split, .vision, .contact, .feat { grid-template-columns: 1fr; gap: 36px; }
  .vision { padding: 30px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .value, .value:nth-child(even) { grid-template-columns: 1fr; }
  .value:nth-child(even) .value__img { order: 0; }
  .value__img { min-height: 220px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .masonry .wide { grid-column: span 2; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
  .hero::before { background: linear-gradient(180deg, rgba(255, 255, 255, .93), rgba(255, 255, 255, .8)); }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { padding: 0 16px; }
  .topbar__info a:first-child { display: none; }
  .section { padding: 60px 0; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; }
  .hero__content { padding: 60px 0; }
  .job { flex-direction: column; align-items: flex-start; }
  .job__right { text-align: left; }
  .field-row { grid-template-columns: 1fr; }
  .form, .value__body, .mcard__body { padding: 26px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .cta-band { padding: 34px 26px; }
  .banner { padding: 80px 0; }
  .about__img::before { display: none; }
  .value__img::after { font-size: 70px; }
}
