/* DEHA · Trang chủ: các khối riêng của trang chủ. Khung chung (màu, chữ, header, mega menu, footer) nằm ở base.css */
/* ---------- hero ---------- */
:root .deha-v2 .hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--navy);
  padding: 150px 0 0;
}
:root .deha-v2 .hero-bg { position: absolute; inset: 0; }
:root .deha-v2 .hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; transform: scale(1.08); will-change: transform; animation: dv2-kenburns 28s ease-in-out infinite alternate; }
:root .deha-v2 .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,42,69,.97) 0%, rgba(11,42,69,.86) 45%, rgba(17,114,186,.55) 100%); }
@keyframes dv2-kenburns { to { transform: scale(1.18) translate(-2%, -1%); } }
:root .deha-v2 .hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; min-height: calc(92svh - 150px); padding-bottom: 72px; }
:root .deha-v2 .partner {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 40px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); font-size: 14px; font-weight: 600;
}
:root .deha-v2 .partner i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
:root .deha-v2 .partner i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: dv2-ping 2.2s ease-out infinite; }
@keyframes dv2-ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
:root .deha-v2 .hero h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -0.025em; margin-top: 26px; }
:root .deha-v2 .hero h1 em { font-style: normal; color: #7CC2F5; }
:root .deha-v2 .hero-lead { margin-top: 24px; font-size: 19px; line-height: 1.6; color: var(--on-dark); max-width: 54ch; }
:root .deha-v2 .hero-acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
:root .deha-v2 .hero-note { margin-top: 18px; font-size: 14px; color: var(--on-dark); }
:root .deha-v2 .hero-visual { position: relative; }
:root .deha-v2 .hero-visual .devices { position: relative; z-index: 1; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.45)); }
:root .deha-v2 .float-card {
  will-change: transform; position: absolute; z-index: 2; background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); font-size: 13.5px; line-height: 1.35; animation: dv2-bob 6s ease-in-out infinite;
}
:root .deha-v2 .float-card b { display: block; font-family: var(--f-display); font-size: 17px; }
:root .deha-v2 .float-card small { color: var(--muted); font-size: 12.5px; }
:root .deha-v2 .float-card .k { display: inline-block; margin-top: 6px; padding: 3px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; }
:root .deha-v2 .fc-1 { left: -4%; top: 6%; }
:root .deha-v2 .fc-1 .k { background: #FFF6DC; color: #9A5A00; }
:root .deha-v2 .fc-2 { right: -2%; bottom: 14%; animation-delay: -3s; }
:root .deha-v2 .fc-2 .bar { display: flex; gap: 3px; margin-top: 8px; width: 150px; }
:root .deha-v2 .fc-2 .bar i { height: 6px; border-radius: 2px; background: #2F6B0E; }
:root .deha-v2 .fc-2 .bar i.s { background: #C0392B; }
:root .deha-v2 .fc-2 .bar i.w { background: #E0A23B; }
:root .deha-v2 .fc-tag { position: absolute; z-index: 2; left: 2%; bottom: -2%; font-size: 12.5px; color: var(--on-dark); }
@keyframes dv2-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
:root .deha-v2 .stats { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.14); background: rgba(6, 24, 42, 0.45); }
:root .deha-v2 .stats ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
:root .deha-v2 .stats li { padding: 28px 22px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
:root .deha-v2 .stats li:first-child { border-left: 0; padding-left: 0; }
:root .deha-v2 .stats b { display: flex; align-items: flex-start; gap: 2px; font: 700 clamp(30px, 2.8vw, 40px)/1 var(--f-display); letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
:root .deha-v2 .stats b sup { font-size: 0.55em; line-height: 1; margin-top: 0.08em; color: var(--green); vertical-align: baseline; }
:root .deha-v2 .stats .lbl { display: block; margin-top: 10px; font-size: 14px; color: var(--on-dark); }
/* ---------- hai cửa ---------- */
:root .deha-v2 .doors { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
:root .deha-v2 .door {
  position: relative; overflow: hidden; border-radius: 20px; padding: clamp(32px, 3.5vw, 48px); color: #fff;
  display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
:root .deha-v2 .door:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
:root .deha-v2 .door.ifs { background: var(--navy); }
:root .deha-v2 .door.deha { background: var(--blue); }
:root .deha-v2 .door .for { font-size: 15px; font-weight: 700; color: var(--on-dark); }
:root .deha-v2 .door.deha .for, :root .deha-v2 .door.deha .desc { color: #E3F0FB; }
:root .deha-v2 .door h3 { font-size: clamp(28px, 2.6vw, 38px); margin: 10px 0 14px; }
:root .deha-v2 .door .desc { color: var(--on-dark); max-width: 48ch; }
:root .deha-v2 .door .badge { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.22); font-weight: 700; font-size: 15px; }
:root .deha-v2 .screen {
  margin-top: 28px; background: #fff; color: var(--ink); border-radius: 10px; overflow: hidden;
  box-shadow: 0 24px 40px -22px rgba(0, 0, 0, 0.55); font-size: 14px;
}
:root .deha-v2 .screen-h { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 700; }
:root .deha-v2 .screen-h span { font-weight: 600; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
:root .deha-v2 .screen table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
:root .deha-v2 .screen th { text-align: left; background: #F4F8FB; font-weight: 700; padding: 9px 16px; font-size: 13px; }
:root .deha-v2 .screen td { padding: 10px 16px; border-top: 1px solid #EDF2F7; }
:root .deha-v2 .screen .ok { color: #2F6B0E; font-weight: 700; }
:root .deha-v2 .screen .wait { color: #9A5A00; font-weight: 700; }
:root .deha-v2 .screen .hl { background: #FFF6DC; padding: 10px 16px; font-weight: 700; font-size: 13.5px; }
:root .deha-v2 .door .links { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
:root .deha-v2 .door .links a { color: #fff; }
/* ---------- sản phẩm ---------- */
:root .deha-v2 .prods { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
:root .deha-v2 .prod {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 32px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
:root .deha-v2 .prod:nth-child(4), :root .deha-v2 .prod:nth-child(5) { grid-column: span 3; }
:root .deha-v2 .prod:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
:root .deha-v2 .prod .ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--blue); transition: background-color .3s, color .3s; }
:root .deha-v2 .prod:hover .ico { background: var(--blue); color: #fff; }
:root .deha-v2 .prod .ico svg { width: 26px; height: 26px; }
:root .deha-v2 .prod h3 { font-size: 24px; }
:root .deha-v2 .prod .who { font-size: 14px; font-weight: 700; color: var(--blue); }
:root .deha-v2 .prod p { color: var(--muted); font-size: 16px; }
:root .deha-v2 .prod ul { display: flex; flex-wrap: wrap; gap: 6px; }
:root .deha-v2 .prod li { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 20px; background: var(--surface); }
:root .deha-v2 .prod .more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--blue); font-size: 15px; }
:root .deha-v2 .prod .more span { display: inline-block; transition: transform .3s var(--ease); }
:root .deha-v2 .prod:hover .more span { transform: translateX(5px); }
:root .deha-v2 .prod.ifs { background: var(--navy); color: #fff; border-color: var(--navy); }
:root .deha-v2 .prod.ifs p { color: var(--on-dark); }
:root .deha-v2 .prod.ifs .who, :root .deha-v2 .prod.ifs .more { color: #7CC2F5; }
:root .deha-v2 .prod.ifs .ico { background: rgba(255,255,255,.1); color: #fff; }
:root .deha-v2 .prod.ifs li { background: rgba(255,255,255,.1); }
/* ---------- dịch vụ ---------- */
:root .deha-v2 .svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
:root .deha-v2 .svc a { display: flex; flex-direction: column; gap: 12px; padding: 34px 28px 30px 0; margin-right: 28px; text-decoration: none; position: relative; }
:root .deha-v2 .svc a::before { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--blue); transition: width .45s var(--ease); }
:root .deha-v2 .svc a:hover::before { width: 100%; }
:root .deha-v2 .svc .ico { width: 44px; height: 44px; color: var(--blue); }
:root .deha-v2 .svc h3 { font-size: 21px; }
:root .deha-v2 .svc p { color: var(--muted); font-size: 15.5px; }
:root .deha-v2 .svc .more { margin-top: auto; font-weight: 700; color: var(--blue); font-size: 15px; }
/* ---------- cách bắt đầu ---------- */
:root .deha-v2 .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: none; }
:root .deha-v2 .step {
  position: relative; display: flex; flex-direction: column; padding: 34px 32px 30px; border-radius: 18px;
  background: var(--surface); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s;
}
:root .deha-v2 .step:hover { transform: translateY(-6px); background: var(--paper); box-shadow: var(--shadow); }
:root .deha-v2 .step .bar { position: absolute; left: 32px; right: 32px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--surface-2); overflow: hidden; }
:root .deha-v2 .step .bar i { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-expo); transition-delay: calc(.35s + var(--d, 0) * .45s); }
:root .deha-v2 .step.is-in .bar i { transform: scaleX(1); }
:root .deha-v2 .step:not(:last-child)::after {
  content: "→"; position: absolute; z-index: 2; right: -28px; top: 46px; width: 28px; height: 28px; display: grid; place-items: center;
  color: var(--blue); font-weight: 700; font-size: 18px;
}
:root .deha-v2 .step-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
:root .deha-v2 .step .num { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); color: #fff; font: 700 22px/1 var(--f-display); }
:root .deha-v2 .step .dur { font-size: 13.5px; font-weight: 700; color: var(--blue); background: var(--sky); padding: 6px 12px; border-radius: 20px; }
:root .deha-v2 .step h3 { font-size: 23px; margin-top: 26px; }
:root .deha-v2 .step p { margin-top: 10px; color: var(--muted); }
:root .deha-v2 .step .get { margin-top: auto; padding: 16px 18px; border-radius: 12px; background: var(--paper); font-size: 15px; color: var(--ink); border-left: 3px solid var(--green); }
:root .deha-v2 .step > p:not(.get) { margin-bottom: 24px; }
:root .deha-v2 .step .get b { display: block; font-size: 13px; color: var(--blue); margin-bottom: 2px; }
:root .deha-v2 .steps-cta { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
:root .deha-v2 .steps-cta p { color: var(--muted); font-size: 15px; }
/* ---------- dự án ---------- */
:root .deha-v2 .pj-ctrl { display: flex; align-items: center; gap: 10px; }
:root .deha-v2 .sl-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .15s, opacity .2s;
}
:root .deha-v2 .sl-btn svg { width: 20px; height: 20px; }
:root .deha-v2 .sl-btn:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); color: #fff; }
:root .deha-v2 .sl-btn:active:not(:disabled) { transform: scale(.94); }
:root .deha-v2 .sl-btn:disabled { opacity: .35; cursor: default; }
:root .deha-v2 .pj-ctrl .btn { margin-left: 8px; }
:root .deha-v2 .pjs {
  --gap: 24px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 6px 2px 14px; margin: -6px -2px 0; cursor: grab; outline-offset: 6px;
}
:root .deha-v2 .pjs::-webkit-scrollbar { display: none; }
:root .deha-v2 .pjs.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
:root .deha-v2 .pjs.is-drag .pj { pointer-events: none; }
:root .deha-v2 .pj {
  scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none; border-radius: var(--r); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
:root .deha-v2 .pj:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
:root .deha-v2 .pj-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
:root .deha-v2 .pj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); -webkit-user-drag: none; }
:root .deha-v2 .pj:hover .pj-img img { transform: scale(1.06); }
:root .deha-v2 .pj-go {
  position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: var(--ink); font-weight: 700; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .35s var(--ease);
}
:root .deha-v2 .pj:hover .pj-go, :root .deha-v2 .pj:focus-visible .pj-go { opacity: 1; transform: none; }
:root .deha-v2 .pj-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
:root .deha-v2 .pj-meta { font-size: 13px; color: var(--muted); }
:root .deha-v2 .pj-meta b { color: var(--blue); }
:root .deha-v2 .pj h3 { font-size: 18px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
:root .deha-v2 .pj-desc { color: var(--muted); font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
:root .deha-v2 .sl-bar { margin-top: 22px; height: 3px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
:root .deha-v2 .sl-bar i { display: block; height: 100%; width: 33%; border-radius: 3px; background: var(--blue); transition: transform .25s var(--ease), width .25s; }
/* ---------- ngành ---------- */
:root .deha-v2 .inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
:root .deha-v2 .ind {
  position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: var(--r);
  background: var(--paper); text-decoration: none; transition: background-color .3s, color .3s, transform .35s var(--ease);
}
:root .deha-v2 .ind:hover { background: var(--blue); color: #fff; transform: translateY(-4px); }
:root .deha-v2 .ind .n { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--blue); transition: background-color .3s, color .3s; }
:root .deha-v2 .ind:hover .n { background: rgba(255,255,255,.18); color: #fff; }
:root .deha-v2 .ind .n svg { width: 24px; height: 24px; }
:root .deha-v2 .ind h3 { font-size: 20px; }
:root .deha-v2 .ind p { font-size: 15px; color: var(--muted); margin-top: 6px; transition: color .3s; }
:root .deha-v2 .ind:hover p { color: #E3F0FB; }
:root .deha-v2 .inds-more { margin-top: 30px; color: var(--muted); font-size: 15.5px; }
/* ---------- đội ngũ ---------- */
:root .deha-v2 .team-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 64px; align-items: center; }
:root .deha-v2 .people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
:root .deha-v2 .person .ph { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
:root .deha-v2 .person .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); transition: transform .6s var(--ease), filter .4s; }
:root .deha-v2 .person:hover .ph img { transform: scale(1.05); filter: none; }
:root .deha-v2 .person h3 { font-family: var(--f-text); font-size: 16px; letter-spacing: 0; margin-top: 14px; }
:root .deha-v2 .person p { font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
:root .deha-v2 .team-copy .acts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
:root .deha-v2 .certs { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
:root .deha-v2 .certs span { font-size: 13.5px; font-weight: 700; padding: 7px 14px; border-radius: 30px; border: 1px solid var(--line); }
/* ---------- tin tức ---------- */
:root .deha-v2 .news { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; }
:root .deha-v2 .event {
  position: relative; overflow: hidden; border-radius: 18px; color: #fff; min-height: 460px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; text-decoration: none;
}
:root .deha-v2 .event img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
:root .deha-v2 .event::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,42,69,.15) 0%, rgba(11,42,69,.92) 72%); }
:root .deha-v2 .event:hover img { transform: scale(1.05); }
:root .deha-v2 .event > * { position: relative; z-index: 1; }
:root .deha-v2 .event .date { display: inline-flex; align-items: baseline; gap: 8px; align-self: flex-start; padding: 10px 16px; border-radius: 12px; background: var(--green); color: var(--ink); font-weight: 700; }
:root .deha-v2 .event .date b { font: 700 30px/1 var(--f-display); }
:root .deha-v2 .event .meta { margin-top: 18px; font-size: 14px; color: var(--on-dark); font-weight: 600; }
:root .deha-v2 .event h3 { font-size: clamp(24px, 2.2vw, 32px); margin-top: 8px; }
:root .deha-v2 .event p { margin-top: 12px; color: var(--on-dark); max-width: 56ch; }
:root .deha-v2 .event .more { margin-top: 20px; font-weight: 700; }
:root .deha-v2 .news-list { display: flex; flex-direction: column; }
:root .deha-v2 .news-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
:root .deha-v2 .news-item:first-child { padding-top: 0; }
:root .deha-v2 .news-item .th { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
:root .deha-v2 .news-item .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
:root .deha-v2 .news-item:hover .th img { transform: scale(1.08); }
:root .deha-v2 .news-item .cat { font-size: 13px; font-weight: 700; color: var(--blue); }
:root .deha-v2 .news-item h3 { font-size: 18px; line-height: 1.35; margin-top: 4px; transition: color .2s; }
:root .deha-v2 .news-item:hover h3 { color: var(--blue); }
:root .deha-v2 .news-item .d { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
:root .deha-v2 .blog { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
:root .deha-v2 .post { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--r); background: var(--surface); text-decoration: none; transition: background-color .3s, transform .35s var(--ease); }
:root .deha-v2 .post:hover { background: var(--sky); transform: translateY(-4px); }
:root .deha-v2 .post .cat { font-size: 13px; font-weight: 700; color: var(--blue); }
:root .deha-v2 .post h3 { font-size: 19px; line-height: 1.35; }
:root .deha-v2 .post .more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--blue); font-size: 15px; }
/* ================= v2: thêm hình ảnh ================= */
/* thẻ sản phẩm: màn hình minh họa thay biểu tượng */
:root .deha-v2 .prod { padding: 0 0 30px; overflow: hidden; }
:root .deha-v2 .prod > *:not(.mini) { margin-left: 30px; margin-right: 30px; }
:root .deha-v2 .mini {
  position: relative; margin: 0 0 8px; padding: 26px 26px 0; background: var(--sky);
  font-size: 13px; line-height: 1.35; color: var(--ink); font-variant-numeric: tabular-nums lining-nums;
  border-bottom: 1px solid var(--line); height: 200px; overflow: hidden;
}
:root .deha-v2 .mini > * { position: relative; background: #fff; }
:root .deha-v2 .mini::before { content: ""; position: absolute; left: 26px; right: 26px; top: 26px; bottom: 0; background: #fff; border-radius: 10px 10px 0 0; box-shadow: 0 18px 30px -18px rgba(14, 34, 54, .35); transition: transform .45s var(--ease); }
:root .deha-v2 .prod:hover .mini::before { transform: translateY(-6px); }
:root .deha-v2 .mini > * { z-index: 1; margin: 0 14px; background: transparent; transition: transform .45s var(--ease); }
:root .deha-v2 .prod:hover .mini > * { transform: translateY(-6px); }
:root .deha-v2 .mini-h { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0 10px; border-bottom: 1px solid #EDF2F7; }
:root .deha-v2 .mini-h span { font-size: 11.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }
:root .deha-v2 .mini-kv div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F1F5F9; }
:root .deha-v2 .mini-kv dt { color: var(--muted); }
:root .deha-v2 .mini-kv dd { margin: 0; font-weight: 700; }
:root .deha-v2 .mini-kv dd.warn { color: #9A5A00; }
:root .deha-v2 .mini-kv dd.ok { color: #2F6B0E; }
:root .deha-v2 .mini-act { display: flex; gap: 6px; padding: 10px 0; }
:root .deha-v2 .mini-act span { padding: 5px 14px; border-radius: 20px; background: var(--surface); font-weight: 700; font-size: 12px; }
:root .deha-v2 .mini-act .go { background: var(--blue); color: #fff; }
:root .deha-v2 .prod .mini ul { display: block; }
:root .deha-v2 .prod .mini li { background: none; border-radius: 0; font-size: 13px; font-weight: 400; }
:root .deha-v2 .prod .mini-steps li { display: grid; grid-template-columns: 62px 1fr 38px; align-items: center; gap: 10px; padding: 8px 0; }
:root .deha-v2 .mini-steps i { height: 7px; border-radius: 4px; background: var(--surface-2); position: relative; overflow: hidden; }
:root .deha-v2 .mini-steps i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: #2F6B0E; border-radius: 4px; }
:root .deha-v2 .mini-steps i.run::after { background: var(--blue); }
:root .deha-v2 .mini-steps em { font-style: normal; font-weight: 700; font-size: 12px; text-align: right; color: var(--muted); }
:root .deha-v2 .mini-steps em.ok { color: #2F6B0E; }
:root .deha-v2 .mini-8d { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; padding: 16px 0 12px; }
:root .deha-v2 .mini-8d i { height: 9px; border-radius: 3px; background: var(--surface-2); }
:root .deha-v2 .mini-8d i.d { background: #2F6B0E; }
:root .deha-v2 .mini-8d i.n { background: #E0A23B; }
:root .deha-v2 .mini-note { color: var(--muted); }
:root .deha-v2 .mini-note b { display: block; margin-top: 6px; color: #9A5A00; }
:root .deha-v2 .mini-q { margin-top: 12px !important; padding: 10px 12px; border-radius: 10px; background: var(--surface) !important; }
:root .deha-v2 .mini-a { margin-top: 8px !important; padding: 10px 12px; border-radius: 10px; background: var(--navy) !important; color: #fff; }
:root .deha-v2 .mini-a span { display: block; margin-top: 6px; font-size: 11.5px; color: #9FD0F5; font-weight: 600; }
:root .deha-v2 .prod.ifs .mini { background: rgba(255, 255, 255, 0.06); border-bottom-color: rgba(255,255,255,.12); }
:root .deha-v2 .prod.ifs .mini::before { background: #12385C; }
:root .deha-v2 .prod.ifs .mini { color: #fff; }
:root .deha-v2 .prod.ifs .mini-h { border-bottom-color: rgba(255,255,255,.12); }
:root .deha-v2 .prod.ifs .mini-h span, :root .deha-v2 .prod.ifs .mini-kv dt { color: var(--on-dark); }
:root .deha-v2 .prod.ifs .mini-kv div { border-bottom-color: rgba(255,255,255,.08); }
:root .deha-v2 .prod.ifs .mini-kv dd.ok { color: #A6D86A; }
:root .deha-v2 .prod.ifs .mini-kv dd.warn { color: #F5C26B; }
/* ngành: thẻ ảnh */
:root .deha-v2 .inds { gap: 24px; }
:root .deha-v2 .ind {
  display: block; position: relative; overflow: hidden; padding: 0; min-height: 340px; border-radius: 18px;
  background: var(--navy); color: #fff; isolation: isolate;
}
:root .deha-v2 .ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
:root .deha-v2 .ind::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,42,69,0) 25%, rgba(11,42,69,.92) 82%); transition: background-color .4s; }
:root .deha-v2 .ind:hover { background: var(--navy); transform: none; }
:root .deha-v2 .ind:hover img { transform: scale(1.07); }
:root .deha-v2 .ind-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; display: flex; flex-direction: column; gap: 6px; }
:root .deha-v2 .ind h3 { font-size: 24px; }
:root .deha-v2 .ind p { color: #DCE8F3; margin: 0; font-size: 15px; }
:root .deha-v2 .ind:hover p { color: #fff; }
:root .deha-v2 .ind .more { font-size: 14px; font-weight: 700; color: var(--green); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s, margin .4s var(--ease); }
:root .deha-v2 .ind:hover .more, :root .deha-v2 .ind:focus-visible .more { max-height: 30px; opacity: 1; margin-top: 6px; }
:root .deha-v2 .inds-more { margin-top: 34px; }
/* dải ảnh ngang */
:root .deha-v2 .band { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
:root .deha-v2 .band-img { position: absolute; inset: -12% 0; }
:root .deha-v2 .band-img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
:root .deha-v2 .band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,24,42,.97) 0%, rgba(6,24,42,.93) 30%, rgba(8,31,52,.85) 45%, rgba(11,42,69,.55) 62%, rgba(11,42,69,.2) 82%, rgba(11,42,69,.1) 100%); }
:root .deha-v2 .band-in { position: relative; z-index: 1; padding-top: clamp(110px, 13vw, 180px); padding-bottom: clamp(110px, 13vw, 180px); }
:root .deha-v2 .band-big { font: 700 clamp(34px, 4.4vw, 64px)/1.08 var(--f-display); letter-spacing: -0.025em; max-width: 16ch; }
:root .deha-v2 .band-sub { margin-top: 20px; font-size: 18px; color: var(--on-dark); max-width: 52ch; }
:root .deha-v2 .band .btn { margin-top: 32px; }
/* khối đặt lịch có ảnh nền */
:root .deha-v2 .cta-bg { position: absolute; inset: 0; }
:root .deha-v2 .cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; mix-blend-mode: luminosity; }
/* tin tức: sự kiện không ảnh, danh sách chữ */
:root .deha-v2 .event { background: var(--navy); }
:root .deha-v2 .event::before { content: ""; position: absolute; right: -40px; top: 28px; width: 340px; height: 245px; opacity: .06; transform: rotate(-6deg); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 49'%3E%3Cpath fill='%23fff' d='M26.2181 48.06H26.0981C24.3881 48.06 23.2781 46.94 22.3081 45.86L1.35815 26.49C-0.591853 24.33 -0.421856 20.88 1.73814 18.92C3.89814 16.97 7.23815 17.08 9.18815 19.24L26.4081 34.22L58.7682 1.55995C60.8181 -0.510045 64.1581 -0.530045 66.2281 1.51995C68.2981 3.56995 68.3081 6.90996 66.2581 8.97995L29.9581 46.04C28.9681 47.04 27.6181 48.06 26.2081 48.06H26.2181Z'/%3E%3C/svg%3E") no-repeat center / contain; pointer-events: none; }
:root .deha-v2 .event::after { background: none; }
:root .deha-v2 .news-item.nt { grid-template-columns: 1fr auto; padding: 22px 0; }
:root .deha-v2 .news-item.nt::after { content: "→"; font-weight: 700; color: var(--blue); transition: transform .3s var(--ease); }
:root .deha-v2 .news-item.nt:hover::after { transform: translateX(5px); }
:root .deha-v2 .news-item.nt:first-child { padding-top: 6px; }
/* ================= v2: đội ngũ ================= */
:root .deha-v2 .team2 { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
:root .deha-v2 .team2::before { content: ""; position: absolute; left: -90px; bottom: -40px; width: 640px; height: 461px; opacity: .045; transform: rotate(-6deg); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 49'%3E%3Cpath fill='%23fff' d='M26.2181 48.06H26.0981C24.3881 48.06 23.2781 46.94 22.3081 45.86L1.35815 26.49C-0.591853 24.33 -0.421856 20.88 1.73814 18.92C3.89814 16.97 7.23815 17.08 9.18815 19.24L26.4081 34.22L58.7682 1.55995C60.8181 -0.510045 64.1581 -0.530045 66.2281 1.51995C68.2981 3.56995 68.3081 6.90996 66.2581 8.97995L29.9581 46.04C28.9681 47.04 27.6181 48.06 26.2081 48.06H26.2181Z'/%3E%3C/svg%3E") no-repeat center / contain; pointer-events: none; }
:root .deha-v2 .team2 .wrap { position: relative; }
:root .deha-v2 .team2 .kicker { color: #7CC2F5; }
:root .deha-v2 .team-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
:root .deha-v2 .team-top h2 { font-size: clamp(34px, 3.8vw, 54px); letter-spacing: -0.025em; max-width: 14ch; }
:root .deha-v2 .team-side p { color: var(--on-dark); font-size: 17.5px; }
:root .deha-v2 .team-side .acts { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
:root .deha-v2 .team-side .tlink { color: #fff; }
:root .deha-v2 .mems { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 64px; align-items: start; }
:root .deha-v2 .mem:nth-child(even) { margin-top: 56px; }
:root .deha-v2 .mem { position: relative; border-radius: 20px; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #E4F0FB 0%, #B7D4EE 100%); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
:root .deha-v2 .mem:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -30px rgba(0, 0, 0, 0.7); }
:root .deha-v2 .mem-ph { position: absolute; inset: 0; z-index: -1; }
:root .deha-v2 .mem-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
:root .deha-v2 .mem:hover .mem-ph img { transform: scale(1.05); }
:root .deha-v2 .mem::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(11,42,69,0) 45%, rgba(11,42,69,.55) 68%, rgba(11,42,69,.96) 100%); pointer-events: none; }
:root .deha-v2 .mem-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 22px 20px; }
:root .deha-v2 .mem-info::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--green); margin-bottom: 12px; transition: width .45s var(--ease); }
:root .deha-v2 .mem:hover .mem-info::before { width: 56px; }
:root .deha-v2 .mem h3 { font-size: 21px; line-height: 1.2; }
:root .deha-v2 .mem .role { margin-top: 4px; font-size: 14px; color: #CFE0F2; line-height: 1.4; }
:root .deha-v2 .mem .exp { font-size: 13.5px; line-height: 1.45; color: #fff; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .3s, margin .45s var(--ease); }
:root .deha-v2 .mem:hover .exp, :root .deha-v2 .mem:focus-within .exp { max-height: 80px; opacity: 1; margin-top: 10px; }
:root .deha-v2 .team-foot { margin-top: 72px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
:root .deha-v2 .offices { display: flex; flex-wrap: wrap; gap: 14px 40px; }
:root .deha-v2 .offices li { display: flex; align-items: center; gap: 12px; }
:root .deha-v2 .offices svg { flex: none; width: 22px; height: 22px; color: var(--green); }
:root .deha-v2 .offices b { display: block; font: 700 17px/1.2 var(--f-display); }
:root .deha-v2 .offices span { font-size: 13.5px; color: var(--on-dark); }
:root .deha-v2 .certs2 { display: flex; flex-wrap: wrap; gap: 8px; }
:root .deha-v2 .certs2 li { font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; }
/* ---------- responsive ---------- */
@media (max-width: 1180px) {
:root .deha-v2 .team-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 1024px) {
:root .deha-v2 .hero-grid { grid-template-columns: 1fr; gap: 48px; min-height: 0; }
:root .deha-v2 .hero-visual { max-width: 640px; }
:root .deha-v2 .stats ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
:root .deha-v2 .stats li:nth-child(4) { border-left: 0; padding-left: 0; }
:root .deha-v2 .doors { grid-template-columns: 1fr; }
:root .deha-v2 .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:root .deha-v2 .prod, :root .deha-v2 .prod:nth-child(4), :root .deha-v2 .prod:nth-child(5) { grid-column: auto; }
:root .deha-v2 .prod:nth-child(5) { grid-column: 1 / -1; }
:root .deha-v2 .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:root .deha-v2 .pjs { grid-auto-columns: calc((100% - var(--gap)) / 2); }
:root .deha-v2 .team-top { grid-template-columns: 1fr; }
:root .deha-v2 .mems { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
:root .deha-v2 .mem:nth-child(even) { margin-top: 40px; }
:root .deha-v2 .steps { grid-template-columns: 1fr; max-width: 640px; }
:root .deha-v2 .step:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -26px; transform: translateX(-50%); }
:root .deha-v2 .inds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:root .deha-v2 .news { grid-template-columns: 1fr; }
:root .deha-v2 .blog { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
:root .deha-v2 .hero { padding-top: 120px; }
:root .deha-v2 .hero-lead { font-size: 17px; }
:root .deha-v2 .hero-acts .btn { width: 100%; }
:root .deha-v2 .float-card { transform: scale(.86); }
:root .deha-v2 .fc-1 { left: 0; top: -4%; }
:root .deha-v2 .fc-2 { right: 0; bottom: 4%; }
:root .deha-v2 .stats ul { grid-template-columns: 1fr 1fr; }
:root .deha-v2 .stats li { border-left: 0 !important; padding: 20px 0 !important; }
:root .deha-v2 .stats li:last-child { grid-column: 1 / -1; }
:root .deha-v2 .prods, :root .deha-v2 .svc, :root .deha-v2 .inds, :root .deha-v2 .blog, :root .deha-v2 .people { grid-template-columns: 1fr 1fr; }
:root .deha-v2 .prods, :root .deha-v2 .inds, :root .deha-v2 .blog, :root .deha-v2 .svc { grid-template-columns: 1fr; }
:root .deha-v2 .pjs { --gap: 14px; grid-auto-columns: 84%; }
:root .deha-v2 .mems { gap: 12px; margin-top: 40px; }
:root .deha-v2 .mem:nth-child(even) { margin-top: 28px; }
:root .deha-v2 .mem-info { padding: 14px 14px 14px; }
:root .deha-v2 .mem h3 { font-size: 16px; }
:root .deha-v2 .mem .role { font-size: 12.5px; }
:root .deha-v2 .mem .exp { display: none; }
:root .deha-v2 .team-foot { margin-top: 48px; }
:root .deha-v2 .offices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; width: 100%; }
:root .deha-v2 .pj-ctrl .sl-btn { display: none; }
:root .deha-v2 .pj-ctrl .btn { margin-left: 0; }
:root .deha-v2 .prod:nth-child(5) { grid-column: auto; }
:root .deha-v2 .svc a { margin-right: 0; padding-right: 0; }
:root .deha-v2 .steps { grid-template-columns: 1fr; gap: 20px; }
:root .deha-v2 .step { padding: 30px 22px 24px; }
:root .deha-v2 .step:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -24px; transform: translateX(-50%); }
:root .deha-v2 .event { min-height: 420px; padding: 26px; }
:root .deha-v2 .ind { min-height: 280px; }
:root .deha-v2 .ind .more { max-height: 30px; opacity: 1; margin-top: 6px; }
:root .deha-v2 .band::after { background: rgba(11,42,69,.82); }
:root .deha-v2 .news-item { grid-template-columns: 96px minmax(0, 1fr); }
:root .deha-v2 .door { padding: 28px 22px; }
:root .deha-v2 .screen th, :root .deha-v2 .screen td { padding: 8px 10px; }
}
