/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO STYLESHEET - MEDIA-HARBOUR GERMAN AGENCY THEME
   Chuyên nghiệp, Sáng sủa, Đẳng cấp Châu Âu, Bố cục chuẩn xác.
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. CSS VARIABLES (:ROOT) - DARK MODE ──────────────────── */
:root {
  /* Bảng màu Dark Mode phong cách Media-Harbour Agency */
  --hmh-primary: #3D7BFF;         /* Cobalt Blue sáng nổi bật trên nền đen */
  --hmh-primary-hover: #5B91FF;
  --hmh-primary-light: rgba(61, 123, 255, 0.12); /* Nền chip / badge */
  --hmh-accent-blue: #3D7BFF;
  --hmh-accent-cyan: #2FD9FF;

  --hmh-dark: #F1F5F9;           /* Màu chữ chính: Trắng bạc sắc nét */
  --hmh-dark-navy: #060B17;      /* Nền Footer & CTA thẫm */
  --hmh-muted: #94A3B8;          /* Màu chữ phụ, mô tả */
  --hmh-light-gray: #111827;     /* Nền section xen kẽ: Đen xám chì */
  --hmh-white: #0B0F19;          /* Nền chính của toàn trang: Đen sang trọng */

  --hmh-border: #1E293B;         /* Viền card và bảng */
  --hmh-border-hover: #334155;

  --hmh-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --hmh-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --hmh-radius-sm: 8px;
  --hmh-radius-md: 14px;
  --hmh-radius-lg: 20px;
  --hmh-radius-pill: 9999px;

  --hmh-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --hmh-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --hmh-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);

  --hmh-container: 1280px;
  --hmh-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── 2. RESET & BASE STYLES ─────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.hmh-body {
  font-family: var(--hmh-font);
  background-color: var(--hmh-white);
  color: var(--hmh-dark);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hmh-container {
  width: 100%;
  max-width: var(--hmh-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* ─── 3. ACCESSIBILITY SKIP LINK ─────────────────────────────── */
.hmh-skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--hmh-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--hmh-radius-sm);
  z-index: 10000;
  font-weight: 600;
  transition: top 0.2s ease;
}

.hmh-skip-link:focus {
  top: 15px;
}

/* ─── 4. TYPOGRAPHY & CHIPS ──────────────────────────────────── */
.hmh-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--hmh-primary-light);
  color: var(--hmh-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--hmh-radius-pill);
  border: 1px solid rgba(0, 64, 168, 0.12);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hmh-chip--hero {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.hmh-chip--dark {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.hmh-h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--hmh-dark);
  margin-bottom: 16px;
}

.hmh-subline {
  font-size: 1.125rem;
  color: var(--hmh-muted);
  line-height: 1.6;
  max-width: 640px;
}

.hmh-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--hmh-dark);
  line-height: 1.6;
  margin-bottom: 16px;
}

.hmh-body-text {
  font-size: 1rem;
  color: var(--hmh-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hmh-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hmh-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap 0.2s var(--hmh-ease), color 0.2s;
}

.hmh-link-arrow:hover {
  gap: 10px;
  color: var(--hmh-primary-hover);
}

.hmh-accent-blue {
  color: var(--hmh-primary);
}

.hmh-mono {
  font-family: var(--hmh-mono);
}

/* ─── 5. BUTTONS (CHUẨN MEDIA-HARBOUR) ───────────────────────── */
.hmh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--hmh-radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.25s var(--hmh-ease);
  cursor: pointer;
  white-space: nowrap;
}

.hmh-btn-primary {
  background: var(--hmh-primary);
  color: #ffffff;
  border: 1px solid var(--hmh-primary);
}

.hmh-btn-primary:hover {
  background: var(--hmh-primary-hover);
  border-color: var(--hmh-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 64, 168, 0.25);
}

.hmh-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--hmh-dark);
  border: 1px solid var(--hmh-border);
}

.hmh-btn-secondary:hover {
  border-color: var(--hmh-primary);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: var(--hmh-shadow-sm);
}

.hmh-btn-white {
  background: #ffffff;
  color: #041242;
  border: 1px solid #ffffff;
}

.hmh-btn-white:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hmh-btn-dark-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hmh-btn-dark-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.hmh-btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.hmh-btn-block {
  width: 100%;
}

/* ─── 6. HEADER CHUẨN MEDIA-HARBOUR ──────────────────────────── */
.hmh-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hmh-border);
  z-index: 1000;
  transition: height 0.25s var(--hmh-ease), box-shadow 0.25s ease;
}

.hmh-header.scrolled {
  height: 68px;
  background: rgba(11, 15, 25, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hmh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
  flex-wrap: nowrap;
}

.hmh-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.15rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.hmh-logo__badge {
  background: var(--hmh-primary);
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.hmh-logo__text {
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hmh-nav {
  flex-shrink: 1;
}

.hmh-nav__menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.hmh-nav__item {
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.hmh-nav__link {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 8px 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hmh-muted);
  border-radius: var(--hmh-radius-sm);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.hmh-nav__link:hover,
.hmh-nav__link.active {
  color: var(--hmh-primary);
  background: var(--hmh-primary-light);
}

.hmh-nav__arrow {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

/* Dropdown Menu */
.hmh-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #111827;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  padding: 8px;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s var(--hmh-ease), transform 0.2s var(--hmh-ease);
}

.hmh-nav__item--dropdown:hover .hmh-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hmh-nav__item--dropdown:hover .hmh-nav__arrow {
  transform: rotate(180deg);
}

.hmh-dropdown__link {
  display: block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hmh-dark);
  border-radius: var(--hmh-radius-sm);
  white-space: nowrap;
}

.hmh-dropdown__link:hover {
  background: var(--hmh-primary-light);
  color: var(--hmh-primary);
}

/* Actions bên phải */
.hmh-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.hmh-header__btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hmh-dark);
  white-space: nowrap;
  transition: background 0.2s;
}

.hmh-header__btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hmh-header__icon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
}

.hmh-lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hmh-muted);
  white-space: nowrap;
}

.hmh-lang-btn {
  color: var(--hmh-muted);
  cursor: pointer;
  white-space: nowrap;
}

.hmh-lang-btn.active {
  color: var(--hmh-primary);
}

.hmh-header__btn-contact {
  padding: 8px 14px;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hmh-dark);
  background: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  transition: all 0.2s;
}

.hmh-header__btn-contact:hover {
  border-color: var(--hmh-primary);
  color: var(--hmh-primary);
  background: rgba(255, 255, 255, 0.1);
}

.hmh-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-sm);
  background: var(--hmh-white);
}

.hmh-hamburger span {
  width: 100%;
  height: 2px;
  background: var(--hmh-dark);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.hmh-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hmh-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hmh-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Panel */
.hmh-mobile-panel {
  display: none;
  position: fixed;
  inset: 0;
  top: 80px;
  background: #0B0F19;
  padding: 32px 28px;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 999;
}

.hmh-mobile-panel.active {
  opacity: 1;
  pointer-events: auto;
}

.hmh-mobile-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hmh-mobile-link {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--hmh-dark);
}

.hmh-mobile-link:hover {
  color: var(--hmh-primary);
}

/* ─── 7. DRAWERS (SLIDE-OVER PANELS) ─────────────────────────── */
.hmh-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.hmh-drawer.active {
  opacity: 1;
  pointer-events: auto;
}

.hmh-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}

.hmh-drawer__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #111827;
  border-left: 1px solid var(--hmh-border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--hmh-ease);
}

.hmh-drawer.active .hmh-drawer__panel {
  transform: translateX(0);
}

.hmh-drawer__header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--hmh-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hmh-drawer__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--hmh-dark);
}

.hmh-drawer__close {
  font-size: 1.8rem;
  color: var(--hmh-muted);
  line-height: 1;
  transition: color 0.2s;
}

.hmh-drawer__close:hover {
  color: var(--hmh-dark);
}

.hmh-drawer__body {
  padding: 28px;
  overflow-y: auto;
  flex-grow: 1;
}

/* Drawer News Items */
.hmh-drawer-news-item {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--hmh-border);
}

.hmh-drawer-news-item:last-child {
  border-bottom: none;
}

.hmh-drawer-news-date {
  font-size: 0.8125rem;
  color: var(--hmh-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.hmh-drawer-news-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--hmh-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}

.hmh-drawer-news-teaser {
  font-size: 0.875rem;
  color: var(--hmh-muted);
  line-height: 1.5;
}

/* Quick Contact Drawer */
.hmh-quick-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hmh-quick-contact__avatar {
  border-radius: 50%;
  margin-bottom: 14px;
  border: 3px solid var(--hmh-primary-light);
}

.hmh-quick-contact__name {
  font-size: 1.25rem;
  font-weight: 700;
}

.hmh-quick-contact__role {
  font-size: 0.875rem;
  color: var(--hmh-muted);
  margin-bottom: 24px;
}

.hmh-quick-contact__list {
  width: 100%;
  text-align: left;
  background: var(--hmh-light-gray);
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.hmh-quick-contact__item {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hmh-quick-contact__item:last-child {
  border-bottom: none;
}

.hmh-quick-contact__label {
  font-size: 0.75rem;
  color: var(--hmh-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.hmh-quick-contact__val {
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ─── 8. HERO SECTION ────────────────────────────────────────── */
.hmh-hero {
  padding: 160px 0 60px;
  background: linear-gradient(180deg, #0B0F19 0%, #060B17 100%);
  border-bottom: 1px solid var(--hmh-border);
}

.hmh-hero__wrap {
  max-width: 960px;
}

.hmh-hero__overline {
  margin-bottom: 16px;
}

.hmh-hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--hmh-dark);
  margin-bottom: 24px;
}

.hmh-hero__desc {
  font-size: 1.25rem;
  color: var(--hmh-muted);
  line-height: 1.6;
  max-width: 780px;
  margin-bottom: 36px;
}

.hmh-hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

/* Marquee Bar */
.hmh-marquee-box {
  border-top: 1px solid var(--hmh-border);
  padding-top: 24px;
}

.hmh-marquee-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94A3B8;
  margin-bottom: 16px;
  text-align: center;
}

.hmh-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.hmh-marquee__track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: hmhMarquee 35s linear infinite;
}

.hmh-marquee:hover .hmh-marquee__track {
  animation-play-state: paused;
}

@keyframes hmhMarquee {
  to { transform: translateX(-50%); }
}

.hmh-marquee-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: #111827;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-pill);
  transition: all 0.2s ease;
}

.hmh-marquee-logo img {
  width: 22px;
  height: 22px;
  filter: grayscale(100%) opacity(60%);
  transition: all 0.2s ease;
}

.hmh-marquee-logo span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hmh-muted);
  transition: color 0.2s;
}

.hmh-marquee-logo:hover {
  border-color: var(--hmh-primary);
  box-shadow: 0 4px 12px rgba(61, 123, 255, 0.15);
}

.hmh-marquee-logo:hover img {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.1);
}

.hmh-marquee-logo:hover span {
  color: var(--hmh-dark);
}

/* ─── 9. SECTION COMMONS ─────────────────────────────────────── */
.hmh-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--hmh-border);
}

.hmh-section--light {
  background: var(--hmh-light-gray);
}

.hmh-section-head {
  margin-bottom: 54px;
}

/* ─── 10. ABOUT SECTION ──────────────────────────────────────── */
.hmh-about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}

.hmh-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 16px;
  margin: 32px 0;
  padding: 20px 0;
  border-top: 1px solid var(--hmh-border);
  border-bottom: 1px solid var(--hmh-border);
}

.hmh-stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--hmh-primary);
  display: block;
  line-height: 1.1;
}

.hmh-stat-label {
  font-size: 0.8125rem;
  color: var(--hmh-muted);
  font-weight: 500;
}

.hmh-figure {
  margin: 0;
}

.hmh-figure__img-box {
  border-radius: var(--hmh-radius-lg);
  overflow: hidden;
  box-shadow: var(--hmh-shadow-md);
  border: 1px solid var(--hmh-border);
  background: #111827;
}

.hmh-figure__img-box img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s var(--hmh-ease);
}

.hmh-figure:hover .hmh-figure__img-box img {
  transform: scale(1.03);
}

.hmh-figure__caption {
  font-size: 0.8125rem;
  color: var(--hmh-muted);
  margin-top: 12px;
  line-height: 1.5;
}

/* ─── 11. CÁCH LÀM VIỆC (5 KHỐI GIÁ TRỊ) ─────────────────────── */
.hmh-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.hmh-value-card {
  background: var(--hmh-white);
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-md);
  padding: 28px 24px;
  transition: all 0.25s var(--hmh-ease);
  display: flex;
  flex-direction: column;
}

.hmh-value-card:hover {
  border-color: var(--hmh-primary);
  transform: translateY(-4px);
  box-shadow: var(--hmh-shadow-md);
}

.hmh-value-card__num {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--hmh-primary);
  margin-bottom: 12px;
}

.hmh-value-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}

.hmh-value-card__desc {
  font-size: 0.875rem;
  color: var(--hmh-muted);
  line-height: 1.6;
}

/* ─── 12. DỊCH VỤ (6 CARDS) ──────────────────────────────────── */
.hmh-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hmh-service-card {
  background: #111827;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s var(--hmh-ease);
}

.hmh-service-card:hover {
  border-color: var(--hmh-primary);
  transform: translateY(-4px);
  box-shadow: var(--hmh-shadow-md);
}

.hmh-service-card__badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hmh-primary);
  margin-bottom: 14px;
}

.hmh-service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.hmh-service-card__desc {
  font-size: 0.9375rem;
  color: var(--hmh-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* ─── 13. KHỐI CHỌN STACK ────────────────────────────────────── */
.hmh-decision-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hmh-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hmh-checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9375rem;
  color: var(--hmh-muted);
}

.hmh-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--hmh-primary);
  font-weight: 700;
}

.hmh-stack-card-group {
  background: var(--hmh-light-gray);
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-lg);
  padding: 32px;
}

.hmh-card-group-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hmh-skills-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.hmh-skill-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #111827;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-sm);
  transition: all 0.2s;
}

.hmh-skill-badge img {
  width: 20px;
  height: 20px;
}

.hmh-skill-badge span {
  font-size: 0.8125rem;
  font-weight: 600;
}

.hmh-skill-badge:hover {
  border-color: var(--hmh-primary);
  transform: translateY(-2px);
  box-shadow: var(--hmh-shadow-sm);
}

/* ─── 14. KHỐI AI AGENTS ─────────────────────────────────────── */
.hmh-ai-agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hmh-ai-agent-card {
  background: #111827;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-lg);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.25s var(--hmh-ease);
}

.hmh-ai-agent-card:hover {
  border-color: var(--hmh-primary);
  transform: translateY(-4px);
  box-shadow: var(--hmh-shadow-md);
}

.hmh-ai-agent-logo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #0B0F19;
  border: 1px solid var(--hmh-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.hmh-ai-agent-logo-wrap img {
  width: 44px;
  height: 44px;
}

.hmh-ai-agent-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hmh-ai-agent-role {
  font-size: 0.875rem;
  color: var(--hmh-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.hmh-ai-agent-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hmh-primary);
  background: var(--hmh-primary-light);
  padding: 4px 12px;
  border-radius: var(--hmh-radius-pill);
}

/* ─── 15. PROJECTS SECTION ───────────────────────────────────── */
.hmh-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hmh-filter-btn {
  padding: 8px 18px;
  background: #111827;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hmh-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.hmh-filter-btn:hover,
.hmh-filter-btn.active {
  background: var(--hmh-primary);
  color: #ffffff;
  border-color: var(--hmh-primary);
}

.hmh-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.hmh-project-card {
  background: #111827;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s var(--hmh-ease);
}

.hmh-project-card:hover {
  border-color: var(--hmh-primary);
  transform: translateY(-4px);
  box-shadow: var(--hmh-shadow-md);
}

.hmh-project-card__img-wrap {
  position: relative;
  height: 210px;
  background: #0B0F19;
  overflow: hidden;
}

.hmh-project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--hmh-ease);
}

.hmh-project-card:hover .hmh-project-card__img {
  transform: scale(1.04);
}

.hmh-project-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hmh-project-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hmh-project-card__desc {
  font-size: 0.875rem;
  color: var(--hmh-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.hmh-project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.hmh-tag {
  font-size: 0.75rem;
  padding: 3px 9px;
  background: #0B0F19;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-sm);
  color: var(--hmh-muted);
  font-weight: 500;
}

.hmh-project-card__links {
  display: flex;
  gap: 10px;
}

.hmh-project-card--hidden {
  display: none !important;
}

/* ─── 16. COMMUNITY TELEGRAM SECTION ─────────────────────────── */
.hmh-community-grid {
  display: flex;
  justify-content: center;
  max-width: 680px;
  margin: 0 auto;
}

.hmh-community-card {
  width: 100%;
  background: #111827;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-md);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.25s var(--hmh-ease);
}

.hmh-community-card:hover {
  border-color: #229ED9;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.25);
}

.hmh-community-card__type {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #229ED9;
  background: rgba(34, 158, 217, 0.15);
  padding: 3px 8px;
  border-radius: var(--hmh-radius-pill);
  margin-bottom: 16px;
}

.hmh-community-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hmh-community-card__desc {
  font-size: 0.875rem;
  color: var(--hmh-muted);
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* ─── 17. DONATE SECTION (BIDV) ──────────────────────────────── */
.hmh-donate-box {
  background: #111827;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-lg);
  padding: 48px;
  box-shadow: var(--hmh-shadow-md);
}

.hmh-donate-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 48px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.hmh-donate-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hmh-donate-qr {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hmh-donate-qr__card {
  background: #ffffff;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-lg);
  padding: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 320px;
  width: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hmh-donate-qr__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(61, 123, 255, 0.25);
}

.hmh-donate-qr__img {
  width: 100%;
  height: auto;
  border-radius: var(--hmh-radius-md);
  display: block;
}

.hmh-donate-qr__caption {
  margin-top: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  text-align: center;
}

.hmh-donate-grid .hmh-bank-table {
  width: 100%;
}

.hmh-bank-table {
  background: #0B0F19;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-md);
  padding: 12px 18px;
  margin-bottom: 24px;
}

.hmh-bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--hmh-border);
  font-size: 0.9375rem;
}

.hmh-bank-row:last-child {
  border-bottom: none;
}

.hmh-bank-label {
  color: var(--hmh-muted);
  font-size: 0.8125rem;
  min-width: 110px;
}

.hmh-bank-val {
  font-weight: 600;
  color: var(--hmh-dark);
  flex-grow: 1;
  text-align: left;
}

.hmh-btn-copy {
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--hmh-primary);
  color: #fff;
  border-radius: var(--hmh-radius-pill);
  transition: all 0.2s;
}

.hmh-btn-copy:hover {
  background: var(--hmh-primary-hover);
}

.hmh-btn-copy.copied {
  background: #10B981;
}

.hmh-note {
  font-size: 0.8125rem;
  color: var(--hmh-muted);
  font-style: italic;
}

/* ─── 18. CONTACT SECTION ────────────────────────────────────── */
.hmh-contact-simple {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.hmh-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: start;
}

.hmh-channel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hmh-channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #111827;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-md);
  font-weight: 500;
  transition: all 0.2s;
}

.hmh-channel-card:hover {
  border-color: var(--hmh-primary);
  transform: translateX(4px);
  color: var(--hmh-primary);
}

.hmh-contact-form-card {
  background: #111827;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-lg);
  padding: 36px 32px;
  box-shadow: var(--hmh-shadow-md);
}

.hmh-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hmh-form-field {
  margin-bottom: 18px;
}

.hmh-form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--hmh-dark);
}

.hmh-form-field input,
.hmh-form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #0B0F19;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-sm);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--hmh-dark);
  transition: border-color 0.2s;
}

.hmh-form-field input:focus,
.hmh-form-field textarea:focus {
  outline: none;
  border-color: var(--hmh-primary);
  box-shadow: 0 0 0 3px rgba(61, 123, 255, 0.2);
}

.hmh-form-error {
  display: none;
  font-size: 0.75rem;
  color: #EF4444;
  margin-top: 4px;
}

.hmh-form-field.error .hmh-form-error {
  display: block;
}

.hmh-form-field.error input,
.hmh-form-field.error textarea {
  border-color: #EF4444;
}

/* ─── 19. CTA FULLWIDTH CUỐI TRANG ───────────────────────────── */
.hmh-cta-fullwidth {
  background: var(--hmh-dark-navy);
  color: #ffffff;
  padding: 90px 0;
  text-align: center;
}

.hmh-cta-fullwidth__inner {
  max-width: 800px;
}

.hmh-cta-fullwidth__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hmh-cta-fullwidth__desc {
  font-size: 1.15rem;
  color: #94A3B8;
  margin-bottom: 36px;
}

.hmh-cta-fullwidth__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── 20. FOOTER ─────────────────────────────────────────────── */
.hmh-footer {
  background: #020924;
  color: #94A3B8;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hmh-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hmh-logo--footer {
  color: #ffffff;
  margin-bottom: 16px;
}

.hmh-footer__bio {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 320px;
}

.hmh-footer__title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

.hmh-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
}

.hmh-footer__links a:hover {
  color: #ffffff;
}

.hmh-footer__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.hmh-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
}

.hmh-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.8125rem;
}

/* ─── 21. FAQ CHAT WIDGET ────────────────────────────────────── */
.hmh-quick-faq {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
}

.hmh-quick-faq__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--hmh-primary);
  color: #ffffff;
  border-radius: var(--hmh-radius-pill);
  box-shadow: 0 6px 20px rgba(0, 64, 168, 0.35);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s var(--hmh-ease);
}

.hmh-quick-faq__btn:hover {
  background: var(--hmh-primary-hover);
  transform: translateY(-2px);
}

.hmh-quick-faq__popup {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 340px;
  background: #111827;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.25s var(--hmh-ease);
}

.hmh-quick-faq__popup.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hmh-quick-faq__head {
  padding: 14px 18px;
  background: var(--hmh-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hmh-quick-faq__status {
  display: block;
  font-size: 0.6875rem;
  opacity: 0.8;
}

.hmh-quick-faq__close {
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.hmh-quick-faq__body {
  padding: 18px;
  max-height: 380px;
  overflow-y: auto;
}

.hmh-quick-faq__hint {
  font-size: 0.8125rem;
  color: var(--hmh-muted);
  margin-bottom: 12px;
}

.hmh-quick-faq__chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.hmh-faq-chip {
  text-align: left;
  padding: 8px 12px;
  background: #0B0F19;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--hmh-dark);
  transition: all 0.2s;
  cursor: pointer;
}

.hmh-faq-chip:hover {
  background: var(--hmh-primary-light);
  color: var(--hmh-primary);
  border-color: var(--hmh-primary);
}

.hmh-quick-faq__answer-bubble {
  background: rgba(61, 123, 255, 0.15);
  border: 1px solid rgba(61, 123, 255, 0.3);
  border-radius: var(--hmh-radius-md);
  padding: 12px 14px;
}

.hmh-quick-faq__answer-bubble strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--hmh-primary);
  margin-bottom: 4px;
}

.hmh-quick-faq__answer-bubble p {
  font-size: 0.8125rem;
  color: var(--hmh-dark);
  line-height: 1.5;
}

/* ─── 22. MODAL & TOAST ──────────────────────────────────────── */
.hmh-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 60px);
  background: #1E293B;
  border: 1px solid #334155;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--hmh-radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s var(--hmh-ease), opacity 0.25s;
}

.hmh-toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.hmh-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.hmh-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.hmh-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.hmh-modal__content {
  position: relative;
  z-index: 1;
  background: #111827;
  border: 1px solid var(--hmh-border);
  border-radius: var(--hmh-radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.hmh-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.6rem;
  color: var(--hmh-muted);
}

.hmh-modal__img-box img {
  width: 280px;
  height: 280px;
  background: #ffffff;
  padding: 14px;
  border-radius: var(--hmh-radius-md);
}

/* ─── 23. RESPONSIVE DESIGN ──────────────────────────────────── */
@media (max-width: 1100px) {
  .hmh-nav,
  .hmh-hide-mobile {
    display: none;
  }
  .hmh-hamburger {
    display: flex;
  }
  .hmh-mobile-panel {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .hmh-services-grid,
  .hmh-projects-grid,
  .hmh-ai-agents-grid,
  .hmh-community-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hmh-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hmh-about-grid,
  .hmh-decision-split,
  .hmh-donate-box,
  .hmh-donate-grid,
  .hmh-contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hmh-donate-box {
    padding: 28px 20px;
  }
  .hmh-services-grid,
  .hmh-projects-grid,
  .hmh-ai-agents-grid,
  .hmh-community-grid {
    grid-template-columns: 1fr;
  }
  .hmh-footer__grid {
    grid-template-columns: 1fr;
  }
  .hmh-footer__bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hmh-section {
    padding: 70px 0;
  }
  .hmh-hero__title {
    font-size: 2.2rem;
  }
  .hmh-hero__buttons {
    flex-direction: column;
  }
  .hmh-hero__buttons .hmh-btn {
    width: 100%;
  }
}

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