/* Bố cục: các tấm bo tròn nổi trên nền xanh băng, xen một dải cobalt ở giữa trang */
:root {
  --ice: #EEF3FF;
  --mist: #DCE6FF;
  --sky: #8CC0FF;
  --azure: #3D78FF;
  --cobalt: #1A34E6;
  --navy: #0B1763;
  --lime: #E0EE93;
  --pink: #FFB6E1;
  --white: #FFFFFF;
  --ink-soft: #414F97;

  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Imperial Script", "Snell Roundhand", cursive;

  --shell: clamp(8px, 1vw, 14px);
  --gutter: clamp(16px, 4vw, 56px);
  --r-xl: clamp(26px, 3.2vw, 44px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ice);
  color: var(--navy);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
i, em { font-style: normal; }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; border-radius: 8px; }

/* Song ngữ: chỉ hiện đúng một ngôn ngữ */
html[data-lang="vi"] body [lang="en"],
html[data-lang="en"] body [lang="vi"] { display: none !important; }

.skip {
  position: fixed; z-index: 60; left: 12px; top: 12px; padding: 10px 16px; border-radius: 12px;
  background: var(--navy); color: var(--white); font-weight: 600; text-decoration: none;
  transform: translateY(-200%); transition: transform .25s var(--ease);
}
.skip:focus { transform: none; }
main:focus { outline: 0; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* Nút */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--solid { background: var(--navy); color: var(--white); box-shadow: 0 10px 24px -10px rgba(11, 23, 99, .7); }
.btn--solid:hover { background: var(--cobalt); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { min-height: 58px; padding: 0 36px; font-size: 18px; }

/* Thanh menu */
.nav {
  position: fixed; z-index: 50;
  top: max(calc(var(--shell) + 12px), env(safe-area-inset-top, 0px));
  left: 0; right: 0; margin-inline: auto;
  width: min(800px, calc(100vw - 2 * var(--shell) - 24px));
  display: flex; align-items: center; gap: 4px;
  padding: 6px 6px 6px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 10px 34px -12px rgba(11, 23, 99, .35), inset 0 0 0 1px rgba(255, 255, 255, .6);
}
.nav__brand { font: 800 16px/1 var(--font-display); font-stretch: 112%; letter-spacing: -.01em; text-decoration: none; margin-right: auto; white-space: nowrap; }
.nav__links { display: flex; gap: 2px; margin-right: 6px; }
.nav__links a { padding: 8px 13px; border-radius: 999px; font-size: 14.5px; font-weight: 500; text-decoration: none; transition: background-color .2s; }
.nav__links a:hover { background: var(--mist); }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--mist); margin-right: 6px; }
.lang button {
  border: 0; background: transparent; color: var(--ink-soft); cursor: pointer;
  font: 600 12.5px/1 var(--font-body); min-width: 34px; height: 32px; border-radius: 999px;
}
.lang button[aria-pressed="true"] { background: var(--white); color: var(--navy); box-shadow: 0 2px 6px rgba(11, 23, 99, .16); }

/* MỞ ĐẦU */
.hero { padding: var(--shell) var(--shell) 0; }
.hero__panel {
  --pad: clamp(20px, 3.4vw, 52px);
  --dean: clamp(84px, 15.2vw, 280px);
  --dean-top: clamp(92px, 12.5vh, 124px);
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(660px, calc(100svh - 2 * var(--shell)), 960px);
  border-radius: var(--r-xl);
  color: var(--white);
  background: linear-gradient(158deg, #1A34E6 0%, #2650F2 42%, #3E7CFF 74%, #7DB4FF 100%);
  will-change: transform;
}
.hero__panel::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: var(--grain); opacity: .16; mix-blend-mode: soft-light;
}
.hero__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); will-change: transform; }
.hero__glow--a { width: 52%; aspect-ratio: 1; right: -8%; top: -22%; background: #B9C8FF; opacity: .7; animation: drift 19s ease-in-out infinite alternate; }
.hero__glow--b { width: 46%; aspect-ratio: 1; left: -12%; bottom: -30%; background: #68A6FF; opacity: .8; animation: drift 23s ease-in-out infinite alternate-reverse; }
.hero__glow--c { width: 30%; aspect-ratio: 1; left: 40%; top: 34%; background: #5E5BFF; opacity: .55; animation: drift 17s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(7%, 9%, 0) scale(1.14); } }

.hero__ribbon { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__h1 { display: contents; }

.hero__dean {
  position: absolute; z-index: 1;
  left: var(--pad); top: var(--dean-top);
  display: flex; align-items: flex-end; gap: .035em;
  font: 900 var(--dean)/.78 var(--font-display);
  font-stretch: 125%; letter-spacing: -.035em;
  background: none;
}
.hero__dean .l { display: inline-block; overflow: clip; overflow-clip-margin: .03em; padding-top: .03em; }
.hero__dean .l i { display: inline-block; background: linear-gradient(180deg, #FFFFFF 30%, #CFE2FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .02em; }
.hero__dean .l--d { padding: .03em 0 0; }
.d {
  position: relative; display: block !important;
  width: 1.36em; height: .7em; border-radius: .05em .35em .35em .05em;
  background: none !important;
}
.d::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: .165em;
  background: linear-gradient(180deg, #FFFFFF 30%, #CFE2FF 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.hero__script {
  position: absolute; z-index: 3;
  left: calc(var(--pad) + var(--dean) * 1.1);
  top: calc(var(--dean-top) + var(--dean) * .62);
  font: 400 calc(var(--dean) * .86)/1 var(--font-script);
  color: var(--lime);
  -webkit-text-stroke: .012em var(--lime);
  text-shadow: 0 0 30px rgba(224, 238, 147, .5), 0 3px 14px rgba(11, 23, 99, .35);
  transform: rotate(-5deg); transform-origin: 0 100%;
  white-space: nowrap; pointer-events: none;
}

.hero__char {
  position: absolute; z-index: 2; right: .5%; bottom: 0;
  height: 110%; width: auto; max-width: none;
}
.hero__stage { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }

.hero__bubble {
  position: absolute; z-index: 3; right: 2.4%; top: 24%;
  padding: 10px 16px; border-radius: 18px 18px 18px 4px;
  background: var(--white); color: var(--navy);
  font-weight: 600; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.3;
  box-shadow: 0 14px 30px -12px rgba(11, 23, 99, .5);
}

.hero__foot {
  position: absolute; z-index: 3; left: var(--pad); bottom: var(--pad);
  width: min(560px, 42%); display: grid; gap: 18px;
}
.hero__lead { font-size: clamp(18px, 1.56vw, 23px); line-height: 1.42; font-weight: 500; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.hero__meta li {
  padding: 5px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: rgba(255, 255, 255, .15); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* VỀ TÔI: như một tờ in thử, ảnh thật nằm trên cùng, quanh ảnh là lớp mực và dấu canh */
.about { padding: clamp(10px, 1.2vw, 18px) var(--shell) 0; }
.about__panel {
  --photo: clamp(270px, 25.5vw, 384px);
  --r-print: clamp(20px, 2.2vw, 30px);
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: var(--photo) minmax(0, 1fr); align-items: center;
  gap: clamp(48px, 7vw, 112px);
  padding: clamp(64px, 6.6vw, 104px) clamp(40px, 7vw, 112px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(46% 62% at 26% 46%, #FFFFFF 0%, transparent 72%),
    radial-gradient(60% 80% at 92% 96%, #A9C8FF 0%, transparent 68%),
    radial-gradient(50% 60% at 4% 100%, #B4C2FF 0%, transparent 70%),
    linear-gradient(130deg, #E2E9FF 0%, #D4E1FF 55%, #BFD3FF 100%);
}
.about__panel::before {
  content: ""; position: absolute; inset: -18%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(22% 26% at 20% 74%, rgba(255, 150, 214, .6), transparent 70%),
    radial-gradient(20% 24% at 58% 24%, rgba(224, 238, 147, .75), transparent 70%);
  filter: blur(26px);
  animation: drift 18s ease-in-out infinite alternate;
}
.about__panel::after { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--grain); opacity: .22; mix-blend-mode: soft-light; pointer-events: none; }

.about__han {
  position: absolute; z-index: 0; top: 0; bottom: 0; right: clamp(10px, 3vw, 48px);
  display: grid; justify-items: center; align-content: center;
  font: 900 clamp(170px, 20vw, 310px)/1.02 "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: rgba(255, 255, 255, .42);
  pointer-events: none; user-select: none;
}

.about__art { position: relative; z-index: 1; margin: 0; }
.about__sheet {
  position: absolute; inset: 4% -6% -4% 6%; z-index: -1; rotate: 4deg;
  border-radius: var(--r-print);
  background:
    radial-gradient(circle, rgba(224, 238, 147, .95) 0 1.5px, transparent 1.9px) 0 0 / 8px 8px,
    linear-gradient(155deg, var(--cobalt) 0%, #3E7CFF 62%, #FF9FD6 100%);
  box-shadow: 0 26px 50px -30px rgba(11, 23, 99, .7);
}
.about__print {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: var(--r-print);
  box-shadow: 0 0 0 5px var(--white), 0 30px 54px -30px rgba(11, 23, 99, .6);
}
.about__print img, .about__print canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.about__print img { object-fit: cover; }
.about__print canvas { visibility: hidden; pointer-events: none; }

.about__mark { position: absolute; width: 24px; height: 24px; color: var(--cobalt); opacity: .75; }
.about__mark--a { left: -40px; top: -40px; }
.about__mark--b { right: -46px; top: -40px; }
.about__inks { position: absolute; left: -2px; bottom: -40px; display: flex; }
.about__inks i { width: 20px; height: 20px; margin-right: -6px; border-radius: 50%; mix-blend-mode: multiply; }
.about__inks i:nth-child(1) { background: var(--cobalt); }
.about__inks i:nth-child(2) { background: #FF6FC2; }
.about__inks i:nth-child(3) { background: #D7E770; }

.about__seal {
  position: absolute; right: -15%; bottom: 7%; z-index: 2;
  width: clamp(96px, 9.2vw, 134px); height: auto; overflow: visible;
  fill: var(--navy);
  filter: drop-shadow(0 14px 16px rgba(11, 23, 99, .3));
}
.about__seal circle { fill: var(--lime); }
.about__seal text { font: 800 13.4px/1 var(--font-display); font-stretch: 112%; letter-spacing: .01em; }
.about__seal-ring { transform-origin: 66px 66px; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.about__body {
  position: relative; z-index: 2; min-width: 0; align-self: center; display: grid; justify-items: start; gap: 16px;
}
.about__kicker { font: 400 clamp(46px, 5.4vw, 78px)/.9 var(--font-script); color: var(--cobalt); transform: rotate(-4deg); transform-origin: 0 100%; margin-bottom: -.12em; }
.about__name { display: grid; font: 900 clamp(46px, 6.3vw, 98px)/.94 var(--font-display); font-stretch: 125%; letter-spacing: -.035em; }
.about__name i { display: inline-block; font-stretch: calc(var(--w, 125) * 1%); }
.about__alias { font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; color: var(--ink-soft); }
.about__alias i { margin-inline: .2em; opacity: .5; }
.ko { font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
.about__bio { max-width: 46ch; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; text-wrap: pretty; }
.about__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 10px clamp(22px, 3vw, 44px); margin-top: 6px; padding-top: 16px; border-top: 1px solid rgba(11, 23, 99, .16); }
.about__facts dt { font-size: 12.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--cobalt); }
.about__facts dd { font-weight: 700; font-size: clamp(16px, 1.3vw, 18px); white-space: nowrap; }

/* Tiêu đề mục */
.h2 {
  font: italic 800 clamp(34px, 5.2vw, 74px)/1.04 var(--font-display);
  font-stretch: 125%; letter-spacing: -.028em; text-wrap: balance;
}
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap;
  gap: 14px 40px; margin-bottom: clamp(26px, 3.8vw, 52px);
}
.sec-head p { max-width: 40ch; color: var(--ink-soft); font-size: 16px; text-wrap: pretty; }
.sec-head--on-blue p { color: #DCE6FF; }

/* DỊCH VỤ */
.svc { padding: clamp(64px, 9vw, 130px) calc(var(--shell) + var(--gutter)) clamp(56px, 8vw, 110px); max-width: 1500px; margin-inline: auto; }
.svc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 22px); perspective: 1400px; }
.svc-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--white); border-radius: clamp(24px, 2.5vw, 34px);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(26, 52, 230, .55); }
.svc-card__art {
  position: relative; aspect-ratio: 5 / 4; overflow: hidden;
  background:
    radial-gradient(70% 62% at 50% 44%, rgba(255, 255, 255, .55), transparent 70%),
    linear-gradient(180deg, #3D78FF 0%, #7DB4FF 58%, #E7F0FF 100%);
}
.svc-card__art::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .14; mix-blend-mode: soft-light; pointer-events: none; }
.svc-card__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-card__body { display: flex; flex-direction: column; gap: 12px; padding: 22px clamp(18px, 2vw, 28px) 28px; flex: 1; }
.svc-card h3 { font: 800 clamp(19px, 1.7vw, 24px)/1.2 var(--font-display); font-stretch: 112%; letter-spacing: -.012em; text-wrap: balance; }
.svc-card__fit { font-size: 15.5px; line-height: 1.45; font-weight: 500; color: var(--cobalt); text-wrap: pretty; }
.svc-card ul { display: grid; gap: 6px; font-size: 15.5px; line-height: 1.45; }
.svc-card li { position: relative; padding-left: 18px; }
.svc-card li::before { content: ""; position: absolute; left: 0; top: .52em; width: 8px; height: 8px; border-radius: 3px; background: var(--azure); }
.svc-card__note { padding-top: 4px; font-size: 14.5px; color: var(--ink-soft); }
.svc-card__cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; align-self: flex-start;
  font-weight: 600; font-size: 15.5px; text-underline-offset: 4px;
}
.svc-card__cta svg { width: 44px; height: 12px; transition: transform .4s var(--ease); }
.svc-card__cta:hover svg { transform: translateX(6px); }

/* Dải cobalt */
.band {
  position: relative; margin-inline: var(--shell); border-radius: var(--r-xl); overflow: clip;
  color: var(--white);
  background: linear-gradient(180deg, #1228C9 0%, #1A34E6 30%, #2650F2 78%, #3E7CFF 100%);
  padding-block: clamp(56px, 8vw, 112px) clamp(30px, 4vw, 60px);
}
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask: radial-gradient(90% 60% at 50% 12%, #000, transparent);
  mask: radial-gradient(90% 60% at 50% 12%, #000, transparent);
}
.checker {
  position: absolute; top: clamp(26px, 3vw, 44px); width: clamp(56px, 6vw, 88px); aspect-ratio: 1;
  background: conic-gradient(rgba(255, 255, 255, .85) 25%, transparent 0 50%, rgba(255, 255, 255, .85) 0 75%, transparent 0) 0 0 / 33.34% 33.34%;
  -webkit-mask: linear-gradient(180deg, #000 30%, transparent);
  mask: linear-gradient(180deg, #000 30%, transparent);
}
.checker--tl { left: clamp(16px, 3vw, 44px); display: none; }
.checker--tr { right: clamp(16px, 3vw, 44px); }

.projects { position: relative; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }

/* Bìa kính đựng hồ sơ */
.folder {
  position: relative; width: min(880px, 100%); aspect-ratio: 88 / 54; margin: clamp(10px, 2vw, 30px) auto clamp(44px, 6vw, 84px);
}
.folder__back {
  position: absolute; inset: 15% 3% 0; border-radius: clamp(20px, 2.6vw, 34px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .07));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34);
}
.folder__back::before {
  content: ""; position: absolute; left: 0; bottom: 100%; width: 34%; height: 9%; margin-bottom: -1px;
  border-radius: clamp(14px, 1.8vw, 22px) clamp(14px, 1.8vw, 22px) 0 0;
  background: rgba(255, 255, 255, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34);
}
.folder__front {
  position: absolute; z-index: 5; inset: 56% 0 0; display: flex; align-items: flex-end; justify-content: center; gap: 8px;
  padding: clamp(14px, 2.2vw, 26px); border-radius: clamp(20px, 2.6vw, 34px);
  background: linear-gradient(180deg, rgba(150, 195, 255, .36), rgba(70, 120, 255, .62));
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42), inset 0 1px 0 rgba(255, 255, 255, .8), 0 -18px 40px -24px rgba(11, 23, 99, .7);
  font-weight: 600; font-size: clamp(14px, 1.4vw, 17px);
}
.folder__spark { width: 16px; height: 16px; fill: var(--lime); flex: none; margin-bottom: 4px; }
.sheet {
  --r: 0deg; --x: 0%; --y: 0%;
  position: absolute; left: 50%; bottom: 16%; width: 32%; min-height: 62%;
  display: flex; flex-direction: column; gap: 2px;
  padding: clamp(12px, 1.8vw, 22px);
  border-radius: clamp(14px, 1.8vw, 22px);
  background: var(--white); color: var(--navy); text-decoration: none;
  box-shadow: 0 24px 40px -26px rgba(11, 23, 99, .75);
  transform: translateX(-50%) translate(var(--x), var(--y)) rotate(var(--r));
  transition: box-shadow .4s var(--ease);
}
.sheet small { font-size: clamp(11px, 1.15vw, 13.5px); font-weight: 600; color: var(--azure); letter-spacing: .02em; text-transform: uppercase; }
.sheet b { font: 800 clamp(23px, 3.8vw, 44px)/1.05 var(--font-display); font-stretch: 118%; letter-spacing: -.025em; margin-top: .1em; }
.sheet > span { font-size: clamp(12px, 1.3vw, 15px); line-height: 1.32; color: var(--ink-soft); }
.sheet--1 { --r: -8deg; --x: -100%; --y: 4%; z-index: 1; }
.sheet--2 { --r: 1.5deg; --x: 0%; --y: -8%; z-index: 2; }
.sheet--3 { --r: 8deg; --x: 100%; --y: 6%; z-index: 1; }
.sheet:hover { box-shadow: 0 30px 50px -22px rgba(11, 23, 99, .9); }

/* Hồ sơ từng dự án */
.cases { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.case {
  --top: calc(84px + var(--i) * 14px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(22px, 3.6vw, 56px);
  padding: clamp(22px, 3.4vw, 46px); border-radius: var(--r-xl);
  background: var(--ice); color: var(--navy);
  box-shadow: 0 -24px 60px -44px rgba(11, 23, 99, .8);
  transform-origin: 50% 0;
}
@media (min-width: 981px) and (min-height: 780px) { .case { position: sticky; top: var(--top); min-height: 500px; } }
.case__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case__tags > span { padding: 4px 12px; border-radius: 999px; background: var(--mist); font-size: 13.5px; font-weight: 600; }
.case h3 { font: 800 clamp(25px, 3vw, 42px)/1.1 var(--font-display); font-stretch: 112%; letter-spacing: -.022em; text-wrap: balance; }
.case dl { display: grid; gap: 12px; }
.case dt { font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--azure); }
.case dd { font-size: 16.5px; line-height: 1.55; text-wrap: pretty; }
.case__link {
  display: inline-flex; align-items: center; gap: 12px; margin-top: auto; align-self: flex-start;
  font-weight: 600; text-underline-offset: 4px;
}
.case__link svg { width: 44px; height: 12px; transition: transform .4s var(--ease); }
.case__link:hover svg { transform: translateX(6px); }

.case__proof {
  display: flex; flex-direction: column; gap: 18px; min-width: 0;
  padding: clamp(18px, 2.4vw, 30px); border-radius: clamp(20px, 2.2vw, 30px); background: var(--white);
}
.proof__big { font: 900 clamp(46px, 6.2vw, 86px)/.95 var(--font-display); font-stretch: 125%; letter-spacing: -.04em; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.proof__big small { display: block; margin-top: 8px; font: 600 15px/1.2 var(--font-body); letter-spacing: 0; color: var(--ink-soft); }
.proof__label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; }
.bars, .ranges { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.bar b { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; min-width: 66px; text-align: right; }
.bar__track { position: relative; display: block; height: 14px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.bar__fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--sky); transform-origin: 0 50%; }
.bar__fill--on { background: linear-gradient(90deg, var(--azure), var(--cobalt)); }
.bar__range { position: absolute; top: 0; bottom: 0; left: calc(var(--from) * 100%); width: calc((var(--to) - var(--from)) * 100%); border-radius: inherit; background: var(--sky); transform-origin: 0 50%; }
.bar__range--on { background: linear-gradient(90deg, var(--azure), var(--cobalt)); }

.facts { display: grid; font-size: 15px; line-height: 1.45; }
.facts li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; padding-block: 9px; border-top: 1px solid var(--mist); }
.facts b { font-weight: 700; }
.flag {
  display: inline-block; padding: 1px 9px; border-radius: 999px; white-space: nowrap;
  background: var(--pink); color: #5A1046; font-size: 12.5px; font-weight: 600; line-height: 1.6;
}

.flow { display: grid; gap: 8px; counter-reset: step; }
.flow li {
  counter-increment: step; position: relative; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px; background: var(--ice); font-weight: 600;
}
.flow li::before {
  content: counter(step); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--cobalt); color: var(--white); font: 800 14px/1 var(--font-display);
}
.flow li + li::after {
  content: ""; position: absolute; left: 30px; top: -9px; width: 2px; height: 10px; background: var(--sky);
}

/* Công cụ */
.tools { position: relative; padding-top: clamp(56px, 7vw, 100px); }
.tools__title { padding-inline: var(--gutter); max-width: 1360px; margin: 0 auto 18px; font: 600 16px/1.3 var(--font-body); color: #DCE6FF; }
.marquee { overflow: hidden; padding-block: 2px; -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; width: max-content; }
.marquee__track li {
  display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); padding-right: clamp(18px, 2.6vw, 38px);
  font: italic 800 clamp(30px, 5vw, 70px)/1.2 var(--font-display); font-stretch: 125%; letter-spacing: -.02em; white-space: nowrap;
}
.marquee__track li::after {
  content: ""; width: .5em; height: .5em; background: var(--lime);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
}
.marquee--rev .marquee__track li { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); }
.marquee--rev .marquee__track li::after { background: var(--pink); }
.marquee.is-running .marquee__track { animation: slide var(--dur, 40s) linear infinite; }
.marquee--rev.is-running .marquee__track { animation-direction: reverse; }
@keyframes slide { to { transform: translate3d(-50%, 0, 0); } }

/* Tag mạng xã hội */
.socials { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.soc {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 5px 16px 5px 5px;
  border-radius: 18px; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.15;
  background: rgba(255, 255, 255, .62); color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
  transition: transform .4s var(--ease), background-color .25s, box-shadow .4s var(--ease);
}
.soc:hover { transform: translateY(-2px); background: var(--white); box-shadow: inset 0 0 0 1px #fff, 0 14px 24px -14px rgba(11, 23, 99, .55); }
.soc__ic {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px;
  color: var(--cobalt); --glyph-on: #fff;
  background: radial-gradient(95% 95% at 30% 18%, #FFFFFF 0%, #E6EDFF 58%, #C5D6FF 100%);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .95), inset 0 -3px 5px rgba(61, 120, 255, .34), 0 8px 14px -8px rgba(11, 23, 99, .55);
  transition: transform .5s var(--ease);
}
.soc__ic svg { width: 21px; height: 21px; fill: currentColor; }
.soc:hover .soc__ic { transform: perspective(160px) rotateX(14deg) rotateY(-14deg) scale(1.08); }
.soc--zalo { background: var(--navy); color: var(--white); box-shadow: none; font-size: 16px; }
.soc--zalo:hover { background: var(--cobalt); box-shadow: 0 14px 24px -14px rgba(11, 23, 99, .8); }
.soc--zalo .soc__ic { color: var(--cobalt); }

/* Trên nền xanh của phần mở đầu: Zalo nổi bật, các kênh còn lại chỉ hiện biểu tượng */
.socials--hero .soc:not(.soc--zalo), .socials--foot .soc { padding: 5px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.socials--hero .soc:not(.soc--zalo) .soc__txt, .socials--foot .soc__txt { display: none; }
.socials--hero .soc--zalo { background: var(--lime); color: var(--navy); }
.socials--hero .soc--zalo:hover { background: #EDF7B5; }
.socials--foot .soc { min-height: 0; background: transparent; box-shadow: none; padding: 0; border-radius: 12px; }
.socials--foot .soc:hover { background: transparent; box-shadow: none; }
.socials--foot .soc__ic { width: 34px; height: 34px; border-radius: 11px; }
.socials--foot .soc__ic svg { width: 18px; height: 18px; }
.socials--foot .soc--zalo .soc__ic { color: var(--white); --glyph-on: var(--cobalt); background: radial-gradient(95% 95% at 30% 18%, #6A97FF 0%, #2B4DF2 58%, #1A34E6 100%); }

/* CÁCH LÀM VIỆC: thanh nối bốn bước, chạy theo cuộn trang */
.how { padding: clamp(64px, 9vw, 130px) calc(var(--shell) + var(--gutter)) clamp(40px, 6vw, 84px); max-width: 1500px; margin-inline: auto; }
.steps { --no: 68px; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 40px); }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--no) / 2 - 2px); height: 4px; border-radius: 4px;
}
.steps::before { background: var(--mist); }
.steps::after {
  background: linear-gradient(90deg, var(--cobalt), var(--azure) 60%, var(--sky));
  transform: scaleX(var(--p, 1)); transform-origin: 0 50%;
}
.step { position: relative; z-index: 1; display: grid; gap: 10px; align-content: start; min-width: 0; }
.step__no {
  display: grid; place-items: center; width: var(--no); height: var(--no); margin-bottom: 8px; border-radius: 22px;
  font: 800 30px/1 var(--font-display); font-stretch: 112%; color: var(--cobalt);
  background: radial-gradient(95% 95% at 30% 18%, #FFFFFF 0%, #E6EDFF 58%, #C5D6FF 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .95), inset 0 -5px 8px rgba(61, 120, 255, .34), 0 14px 22px -12px rgba(11, 23, 99, .55);
}
.step:last-child .step__no {
  color: var(--navy);
  background: radial-gradient(95% 95% at 30% 18%, #FBFDE9 0%, #E9F3A6 58%, #CBDD6E 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .95), inset 0 -5px 8px rgba(130, 150, 40, .35), 0 14px 22px -12px rgba(11, 23, 99, .55);
}
.step h3 { font: 800 clamp(19px, 1.6vw, 23px)/1.2 var(--font-display); font-stretch: 112%; letter-spacing: -.012em; text-wrap: balance; }
.step p { font-size: 16px; line-height: 1.5; color: var(--ink-soft); text-wrap: pretty; }

/* LIÊN HỆ */
.contact { padding: clamp(12px, 1.5vw, 22px) var(--shell) 0; }
.contact__panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, clamp(430px, 38vw, 570px));
  align-items: center; gap: clamp(20px, 3vw, 44px);
  min-height: 680px; padding: clamp(24px, 4vw, 60px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 90% at 86% 10%, #FFFFFF 0%, transparent 60%),
    radial-gradient(50% 80% at 12% 100%, #A9C4FF 0%, transparent 70%),
    linear-gradient(140deg, #CFE2FF, #8CC0FF 70%, #6EA6FF);
}
.contact__panel::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .22; mix-blend-mode: soft-light; pointer-events: none; }
.contact__intro { position: relative; z-index: 2; display: grid; justify-items: start; gap: 14px; max-width: 420px; align-self: start; }
.contact__sub { font-size: clamp(17px, 1.5vw, 20px); text-wrap: pretty; }
.contact__or { margin-top: 12px; font-size: 13.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-soft); }
.socials--contact { max-width: 430px; }
.socials--contact li:first-child { flex-basis: 100%; }
.contact__figure {
  --w: clamp(280px, 26vw, 390px);
  position: absolute; z-index: 1; left: calc(clamp(24px, 4vw, 60px) + clamp(330px, 27vw, 400px)); bottom: calc(var(--w) * -.2);
  width: var(--w); aspect-ratio: 1116 / 2000;
}
.contact__char, .contact__figure canvas { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }

/* Form để lại email */
.lead {
  position: relative; z-index: 3; min-width: 0; padding: clamp(20px, 2.4vw, 32px);
  border-radius: clamp(24px, 2.4vw, 32px);
  background: rgba(255, 255, 255, .66);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 34px 60px -34px rgba(11, 23, 99, .55);
}
.lead__fields { display: grid; gap: 14px; }
.lead__title { font: 800 clamp(21px, 1.9vw, 27px)/1.18 var(--font-display); font-stretch: 112%; letter-spacing: -.016em; text-wrap: balance; }
.lead__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: grid; gap: 5px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; font-size: 14px; font-weight: 600; }
.field legend { margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; min-width: 0; padding: 12px 14px; border: 0; border-radius: 14px;
  background: var(--white); color: var(--navy); font: 400 16px/1.4 var(--font-body);
  box-shadow: inset 0 0 0 1.5px var(--mist);
  transition: box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--azure), 0 0 0 4px rgba(61, 120, 255, .18); }
.field__err { display: none; font-size: 13px; font-weight: 600; color: #B4136E; }
.field.is-bad input { box-shadow: inset 0 0 0 2px #E0378F; }
.field.is-bad .field__err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; cursor: pointer; font-size: 14px !important; font-weight: 500 !important; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.chip > span { display: block; padding: 7px 13px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--mist); transition: background-color .2s, color .2s, box-shadow .2s; }
.chip:hover > span { box-shadow: inset 0 0 0 1.5px var(--sky); }
.chip input:checked + span { background: var(--cobalt); color: var(--white); box-shadow: none; }
.chip input:focus-visible + span { outline: 3px solid var(--azure); outline-offset: 2px; }
.lead__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead__send { width: 100%; }
.lead__send-busy { display: none; }
.lead[data-state="sending"] .lead__send { opacity: .7; pointer-events: none; }
.lead[data-state="sending"] .lead__send-idle { display: none; }
.lead[data-state="sending"] .lead__send-busy { display: inline; }
.lead__note { font-size: 13.5px; color: var(--ink-soft); text-align: center; }
.lead__error { display: none; padding: 10px 14px; border-radius: 14px; background: #FFE3F3; color: #7A0F4C; font-size: 14.5px; font-weight: 500; }
.lead[data-state="error"] .lead__error { display: block; }
.lead__done { display: none; justify-items: center; gap: 8px; padding-block: 44px; text-align: center; }
.lead__done:focus { outline: 0; }
.lead__done-spark { width: 44px; height: 44px; fill: var(--cobalt); }
.lead__done h3 { font: 800 clamp(23px, 2.2vw, 30px)/1.18 var(--font-display); font-stretch: 112%; letter-spacing: -.016em; text-wrap: balance; }
.lead[data-state="done"] .lead__fields { display: none; }
.lead[data-state="done"] .lead__done { display: grid; }

.foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
  padding: 18px calc(var(--shell) + var(--gutter)) 24px; font-size: 14px; color: var(--ink-soft);
}
.foot a.foot__top { text-underline-offset: 3px; }

/* Tim bay lên khi chạm vào nhân vật */
.heart-pop {
  position: fixed; z-index: 60; width: var(--size, 22px); aspect-ratio: 1; margin: -11px 0 0 -11px; pointer-events: none;
  background: var(--pink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21S2 14.5 2 8.2C2 5 4.400 3 7 3c2 0 3.800 1.100 5 3 1.200-1.900 3-3 5-3 2.600 0 5 2 5 5.2C22 14.5 12 21 12 21Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21S2 14.5 2 8.2C2 5 4.400 3 7 3c2 0 3.800 1.100 5 3 1.200-1.900 3-3 5-3 2.600 0 5 2 5 5.2C22 14.5 12 21 12 21Z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: heart-up 1.1s var(--ease) var(--wait, 0ms) both;
}
@keyframes heart-up {
  from { transform: translate(0, 0) scale(.3); opacity: 0; }
  20% { opacity: 1; }
  to { transform: translate(var(--dx, 0), -150px) scale(1.1) rotate(12deg); opacity: 0; }
}

/* Màn thấp: bỏ dòng thẻ phụ để phần mở đầu không chồng chữ */
@media (min-width: 981px) and (max-height: 780px) { .hero__meta { display: none; } }

@media (max-width: 1120px) {
  .contact__panel { grid-template-columns: minmax(0, 1fr); align-items: start; min-height: 0; }
  .contact__intro { max-width: 54%; }
  .contact__figure { --w: min(42vw, 360px); left: auto; right: clamp(8px, 4vw, 50px); top: 0; bottom: auto; }
}

/* Máy bảng */
@media (max-width: 980px) {
  .hero__panel {
    --dean: min(21.5vw, 168px); --dean-top: clamp(84px, 11vw, 104px); --cw: min(82vw, 600px);
    min-height: 0; display: flex; flex-direction: column;
    padding: var(--dean-top) var(--pad) var(--pad);
  }
  .hero__dean { position: relative; left: auto; top: auto; align-self: center; }
  .d { width: 1.2em; }
  .hero__script {
    left: 50%; transform: translateX(-46%) rotate(-5deg); transform-origin: 50% 100%;
    font-size: calc(var(--dean) * 1.1);
  }
  .hero__char {
    position: relative; right: auto; bottom: auto; align-self: center;
    width: var(--cw); height: auto;
    margin-top: calc(var(--dean) * -.62); margin-bottom: calc(var(--cw) * -.54);
  }
  .hero__bubble { display: none; }
  .hero__foot {
    position: relative; left: auto; bottom: auto; width: 100%;
    gap: 14px; padding: 16px; border-radius: 24px;
    background: rgba(13, 30, 150, .42);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  }
  .about__panel {
    --photo: min(50vw, 340px);
    grid-template-columns: minmax(0, 1fr); justify-items: center;
    gap: clamp(56px, 9vw, 76px); padding: clamp(60px, 9vw, 84px) clamp(22px, 6vw, 56px) clamp(36px, 6vw, 56px);
  }
  .about__art { width: var(--photo); }
  .about__body { justify-self: stretch; }
  .about__han { top: auto; display: flex; font-size: 34vw; color: rgba(255, 255, 255, .3); }
  .svc__grid { grid-template-columns: minmax(0, 1fr); }
  .svc-card { flex-direction: row; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .steps::before, .steps::after { display: none; }
  .svc-card__art { width: 38%; flex: none; aspect-ratio: auto; min-height: 240px; }
  .case { grid-template-columns: minmax(0, 1fr); }
}

/* Điện thoại */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { padding-left: 16px; }
  .nav__links { display: none; }
  .hero__panel { --dean-top: 84px; }
  .hero__lead { font-size: 17px; }
  .hero__meta li { font-size: 12.5px; padding: 4px 10px; }
  .hero__meta li:nth-child(n + 2) { display: none; }
  .socials--hero li:first-child { flex-basis: 100%; }
  .socials--hero li:first-child .soc { width: 100%; }
  .about__panel { --photo: min(64vw, 300px); }
  .about__seal { right: -12%; }
  .about__mark--a { left: -30px; top: -32px; }
  .about__mark--b { right: -34px; top: -32px; }
  .about__facts { grid-template-columns: repeat(3, minmax(0, auto)); gap: 8px 16px; width: 100%; justify-content: space-between; }
  .about__facts dt { font-size: 11.5px; letter-spacing: .02em; }
  .about__facts dd { font-size: 15px; }
  .svc-card { flex-direction: column; }
  .steps { --no: 60px; grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .steps::before, .steps::after {
    display: block; left: calc(var(--no) / 2 - 2px); right: auto; top: 0; bottom: 0; width: 4px; height: auto;
  }
  .steps::after {
    background: linear-gradient(180deg, var(--cobalt), var(--azure) 60%, var(--sky));
    transform: scaleY(var(--p, 1)); transform-origin: 50% 0;
  }
  .step { grid-template-columns: var(--no) minmax(0, 1fr); column-gap: 16px; row-gap: 4px; }
  .step__no { grid-row: span 2; margin-bottom: 0; border-radius: 19px; font-size: 26px; }
  .step h3 { align-self: end; }
  .svc-card__art { width: auto; aspect-ratio: 16 / 11; min-height: 0; }
  .folder { aspect-ratio: auto; display: grid; gap: 10px; padding: 18px 12px 0; }
  .folder__back { inset: 0; }
  .folder__back::before { height: 22px; }
  .folder__front { position: relative; inset: auto; margin: -6px -12px 0; padding: 14px; align-items: center; }
  .folder__spark { margin-bottom: 0; }
  .sheet {
    position: relative; left: auto; bottom: auto; width: auto; min-height: 0;
    transform: rotate(var(--r)); padding: 14px 16px;
  }
  .sheet--1 { --r: -1.2deg; }
  .sheet--2 { --r: .9deg; }
  .sheet--3 { --r: -.7deg; }
  .sheet b { font-size: 28px; }
  .sheet > span { font-size: 14px; }
  .contact__panel { padding-bottom: 410px; }
  .contact__intro { max-width: none; }
  .contact__figure { --w: 300px; left: auto; top: auto; right: 50%; margin-right: -150px; bottom: calc(var(--w) * -.24); }
  .lead__row { grid-template-columns: minmax(0, 1fr); }
  .socials--contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: none; }
  .socials--contact li:first-child { grid-column: 1 / -1; }
  .socials--contact li:first-child .soc { width: 100%; }
  .socials--contact li:not(:first-child) .soc { width: 100%; flex-direction: column; gap: 6px; padding: 10px 4px; font-size: 13.5px; }
  .foot { justify-content: center; text-align: center; }
  .bar { grid-template-columns: 42px minmax(0, 1fr) auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
