/* =====================================================
   TOKENS
===================================================== */
:root {
  /* ── Brand color scale (Tailwind-style) ── */
  /* Shared TAJ accent. Home-2 and service pages consume this value. */
  --cyan-rgb: 42, 190, 236;
  --cyan: rgb(var(--cyan-rgb));
  --cyan-dim: #00b8d9;
  --cyan-glow: rgba(var(--cyan-rgb), 0.35);
  --purple: #7c3aed;
  --purple-glow: rgba(124, 58, 237, 0.45);
  --pink: #ec4899;

  --bg: #1F1E23;
  --bg2: #1F1E23;
  --card-bg: #1F1E23;
  --border: #2E2E36;
  --border-accent: rgba(255, 255, 255, 0.12);
  --text-muted: #CCCAD1;

  /* ── Radius ── (buttons are full pills) */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1160px;
  --nav-h: 64px;

  /* ── Typography scale (desktop) — each H uses spec H+1 (−1 visual level) ── */
  --font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --h1: 48px;
  --h2: 40px;
  --h3: 32px;
  --h4: 24px;
  --h5: 20px;
  --h6: 18px;
  /* Body sizes */
  --text-l: 20px;
  --text-m: 18px;
  --text-s: 16px;
  --text-xs: 12px;
  /* Weights */
  --w-bold: 700;
  --w-semibold: 600;
  --w-medium: 500;
  --w-regular: 400;
  /* ── Spacing scale (8pt grid) ── */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 40px;
  --s-8: 48px;
  --s-9: 64px;
  --s-10: 80px;
}

/* ── Mobile typography scale ── */
@media (max-width: 768px) {
  :root {
    --h1: 34px;
    --h2: 28px;
    --h3: 24px;
    --h4: 20px;
    --h5: 18px;
    --h6: 16px;
  }
}

/* =====================================================
   RESET & BASE
===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: #1F1E23 url('../images/bg.png') top center / 100% 100% no-repeat;
  -webkit-font-smoothing: antialiased;
  color: rgb(248, 248, 249);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

button {
  font-family: var(--font);
  cursor: pointer;
}

/* =====================================================
   HELPERS
===================================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.cyan {
  color: var(--cyan);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =====================================================
   NAVBAR
===================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: transparent;
  border-bottom: 1px solid #302E36;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

/* Only show a backdrop once the user scrolls down */
.navbar.scrolled {
  background: rgba(31, 30, 35, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 54px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
  align-items: center;
  height: 100%;
}

.nav-links>li {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
}

.nav-links>li>a {
  font-size: 13.5px;
  font-weight: var(--w-regular);
  color: #fff;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0 4px;
  border-bottom: 2px solid transparent;
}

.nav-links>li>a:hover,
.nav-links>li>a.active,
.nav-links>li.nav-item-dropdown:hover>a,
.nav-links>li.nav-item-dropdown:focus-within>a,
.nav-links>li.nav-item-dropdown:has(.nav-dropdown a.active)>a {
  border-bottom-color: #2ABEEC;
}

/* About dropdown */
.nav-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-item-dropdown:hover .nav-caret,
.nav-item-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 148px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background: rgba(31, 30, 35, 0.96);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  z-index: 1000;
}

/* Hover bridge so the menu doesn’t close between trigger and panel */
.nav-dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li {
  border: none;
}

.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: var(--w-regular);
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
  color: #fff;
  background: rgba(42, 190, 236, 0.12);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #fff;
}

.lang {
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
  color: inherit;
}

.lang:hover,
.lang.active {
  color: #2ABEEC;
  font-weight: 600;
}

.btn-contact {
  background: var(--cyan);
  color: #fff;
  font-size: var(--text-s);
  font-weight: var(--w-semibold);
  padding: 9px 32px;
  border-radius: var(--radius-pill);
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-contact:hover {
  background: var(--cyan-dim);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: rgba(31, 30, 35, 0.98);
}

.nav-mobile a {
  padding: 14px 32px;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav-mobile a:hover {
  color: #fff;
}

.nav-mobile .mobile-cta {
  color: var(--cyan);
  font-weight: 700;
}

.nav-mobile-group {
  border-bottom: 1px solid var(--border);
}

.nav-mobile-label {
  display: block;
  padding: 14px 32px 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(204, 202, 209, 0.55);
}

.nav-mobile-group a {
  padding-left: 44px;
  border-bottom: none;
}

.nav-mobile-group a+a {
  padding-top: 8px;
  padding-bottom: 14px;
}

.nav-mobile.open {
  display: flex;
}

/* =====================================================
   HERO
===================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 20px;
  overflow: hidden;
  background: transparent;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.56fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero-eyebrow {
  font-size: var(--text-s);
  font-weight: var(--w-medium);
  line-height: 1.55;
  color: #F8F8F9;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-headline {
  font-family: var(--font);
  font-size: var(--h1);
  font-weight: var(--w-semibold);
  line-height: 1.2;
  margin-bottom: 40px;
  color: #fff;
  text-wrap: balance;
}

.hero-headline .cyan {
  font-size: var(--h2);
}

.hero-sub {
  font-size: var(--text-m);
  font-weight: var(--w-regular);
  color: #A7A5B0;
  max-width: 540px;
  line-height: 1.5;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: #fff;
  font-size: var(--text-m);
  font-weight: var(--w-semibold);
  padding: 9px 32px;
  border-radius: var(--radius-pill);
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--cyan-dim);
  transform: translateY(-2px);
}

.btn-primary .arrow {
  font-size: 16px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-size: var(--text-m);
  font-weight: var(--w-semibold);
  padding: 9px 32px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* Hero visual — separate lens.png image, blended into the dark page bg */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 500px;
}

/* Lens image — black background melts away via screen blend + a radial mask
   that fades the square corners/edges so no rectangle seam shows. */
.hero-lens {
  width: 560px;
  max-width: 115%;
  height: auto;
  margin-right: -70px;
  mix-blend-mode: screen;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 49%,
      #000 0%, #000 66%, rgba(0, 0, 0, 0.55) 80%, transparent 94%);
  mask-image: radial-gradient(circle at 50% 49%,
      #000 0%, #000 66%, rgba(0, 0, 0, 0.55) 80%, transparent 94%);
}

/* Floating card — sits over the lower-left of the lens */
.hero-card {
  position: absolute;
  bottom: 70px;
  left: -40px;
  background: rgba(31, 30, 35, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 18px 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  animation: float-card 4.5s ease-in-out infinite;
  z-index: 10;
}

@keyframes float-card {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-card-body strong {
  display: block;
  font-size: var(--text-s);
  font-weight: var(--w-bold);
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #fff;
  text-transform: uppercase;
}

.hero-card-en {
  font-size: var(--text-s);
  font-weight: var(--w-regular);
  line-height: 1.45;
  color: var(--cyan);
}

/* =====================================================
   STATS
===================================================== */
.stats {
  background: transparent;
  padding: 0 0 100px 0;
}

.stats-topline {
  width: 1290px;
  max-width: 100%;
  height: 1px;
  margin: 0 auto 56px;
  background: linear-gradient(90deg, rgba(42, 190, 236, 0) 0%, #2ABEEC 50%, rgba(42, 190, 236, 0) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0 2px;
  padding: 0;
}

.stat-item {
  text-align: center;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.stat-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(1.3em * 3);
  font-family: var(--font);
  font-size: var(--h4);
  font-weight: var(--w-bold);
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.stat-desc {
  display: block;
  width: 100%;
  min-height: calc(1.55em * 2);
  font-size: var(--text-m);
  color: var(--text-muted);
  line-height: 1.55;
  text-wrap: balance;
}

.stat-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, rgba(42, 190, 236, 0) 0%, #2ABEEC 50%, rgba(42, 190, 236, 0) 100%);
}

/* Shared section label — matches svc-eyebrow / about-eyebrow */
.section-eyebrow {
  display: block;
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: var(--w-medium);
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--cyan);
}

/* =====================================================
   EDITORIAL SPREAD — luxury asymmetric #about
===================================================== */
.editorial-spread {
  padding: 0 0 clamp(96px, 11vw, 130px);
  background: transparent;
}

.editorial-spread .stats-topline {
  margin-bottom: 120px;
}

.editorial-spread-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(48px, 7vw, 120px);
  max-width: var(--h2-max, 1280px);
  margin: 0 auto;
  padding: 0 var(--h2-pad, clamp(20px, 4vw, 56px));
}

.editorial-spread-copy {
  display: flex;
  flex-direction: column;
  padding-block: clamp(8px, 2vw, 24px);
}

.editorial-spread-copy.reveal-init {
  opacity: 1;
  transform: none;
}

.editorial-spread-copy.reveal-init>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.editorial-spread-copy.reveal-init.revealed>.section-eyebrow {
  opacity: 1;
  transform: none;
  transition-delay: 0.04s;
}

.editorial-spread-copy.reveal-init.revealed>:is(h2, h3.taj-h2) {
  opacity: 1;
  transform: none;
  transition: none;
}

.editorial-spread-copy.reveal-init.revealed>p {
  opacity: 1;
  transform: none;
  transition-delay: 0.28s;
}

.editorial-spread-copy.reveal-init.revealed>.editorial-spread-actions {
  opacity: 1;
  transform: none;
  transition-delay: 0.4s;
}

.editorial-spread-copy .section-eyebrow {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.editorial-spread-copy :is(h2, h3.taj-h2) {
  margin: 0;
  min-height: 0;
  font-family: var(--font);
  font-size: clamp(var(--h2), 4vw, 52px);
  font-weight: var(--w-semibold);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 13ch;
}

.editorial-spread-copy :is(h2, h3.taj-h2) + :is(h2, h3.taj-h2) {
  margin-top: 0;
}

.editorial-spread-copy p,
.editorial-spread-lead {
  margin: clamp(24px, 3vw, 36px) 0 0;
  font-family: var(--font);
  font-size: var(--text-s);
  font-weight: var(--w-regular);
  line-height: 1.7;
  color: var(--text-muted);
}

.editorial-spread-copy p + p {
  margin-top: 0.4em;
}

.editorial-spread-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 36px);
  padding-top: 4px;
}

.editorial-spread-media {
  position: relative;
  margin: 0;
  width: 100%;
  /* Tỉ lệ cố định, cao theo chiều rộng: zoom/độ phân giải không làm đổi vùng cắt ảnh. */
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: #1F1E23;
}

.editorial-spread-media.reveal-init {
  opacity: 1;
  transform: none;
  clip-path: inset(12% 0 0 0);
  transition: clip-path 1.1s var(--ease);
}

.editorial-spread-media.reveal-init.revealed {
  clip-path: inset(0 0 0 0);
}

.editorial-spread-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.5s;
}

.editorial-spread-media.revealed::before {
  opacity: 1;
}

.editorial-spread-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(165deg, rgba(31, 30, 35, 0.06) 0%, rgba(31, 30, 35, 0.2) 100%);
  pointer-events: none;
}

.editorial-spread-photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: scale(1);
  transition: transform 0.45s var(--ease);
}

.editorial-spread-media:hover .editorial-spread-photo {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {

  .editorial-spread-copy.reveal-init>*,
  .editorial-spread-media.reveal-init,
  .editorial-spread-photo,
  .editorial-spread-media:hover .editorial-spread-photo {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
}

@media (max-width: 960px) {
  /* Dòng kẻ xanh phải sát đáy hero: không padding trên, khoảng cách chuyển xuống dưới dòng kẻ. */
  .editorial-spread {
    padding: 0 0 clamp(72px, 10vw, 104px);
  }

  .editorial-spread .stats-topline {
    margin-bottom: clamp(72px, 10vw, 104px);
  }

  .editorial-spread-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .editorial-spread-copy :is(h2, h3.taj-h2),
  .editorial-spread-copy p,
  .editorial-spread-lead {
    max-width: none;
  }

  .editorial-spread-media {
    order: -1;
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 480px) {
  .editorial-spread {
    padding: 0 0 72px;
  }

  .editorial-spread .stats-topline {
    margin-bottom: 56px;
  }

  .editorial-spread-actions {
    flex-direction: column;
  }

  .editorial-spread-actions .h2-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Legacy ideas section helpers (other pages) */
.ideas {
  padding: clamp(64px, 8vw, 100px) 0;
  background: transparent;
}

.ideas .section-header :is(h2, h3.taj-h2) {
  font-family: var(--font);
  font-size: var(--h2);
  font-weight: var(--w-semibold);
  letter-spacing: -0.02em;
  color: #fff;
}

.ideas-header {
  margin-bottom: 48px;
}

.ideas-header :is(h2, h3.taj-h2) {
  margin-bottom: 0;
}

.section-sub {
  font-size: var(--text-m);
  font-weight: var(--w-regular);
  line-height: 1.75;
  color: #fff;
}

/* =====================================================
   SERVICES
===================================================== */
.services {
  padding: 50px 0 100px 0;
  background: transparent;
}

.services-eyebrow {
  font-family: var(--font);
  font-size: var(--h2);
  font-weight: var(--w-semibold);
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}

.services-header :is(h2, h3.taj-h2) {
  font-size: var(--h2);
  font-weight: var(--w-semibold);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.service-card {
  padding: 36px 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100%;
  border: none;
}

/* Crosshair: fade at both ends */
.services-grid::before,
.services-grid::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.services-grid::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg,
      rgba(42, 190, 236, 0) 0%,
      rgba(42, 190, 236, 0.45) 18%,
      rgba(42, 190, 236, 0.45) 82%,
      rgba(42, 190, 236, 0) 100%);
}

.services-grid::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg,
      rgba(42, 190, 236, 0) 0%,
      rgba(42, 190, 236, 0.45) 18%,
      rgba(42, 190, 236, 0.45) 82%,
      rgba(42, 190, 236, 0) 100%);
}

.service-card:nth-child(odd) {
  padding-left: 0;
}

.service-card:nth-child(even) {
  padding-right: 0;
}

.service-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}

.service-icon {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(42, 190, 236, 0.3) 0%, rgba(42, 190, 236, 0) 100%);
}

.service-icon-core {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2ABEEC;
}

.service-icon-core i,
.service-icon-core .fi {
  font-size: 18px;
  line-height: 1;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-icon-core .fi::before {
  line-height: 1;
}

.service-card h3 {
  font-family: var(--font);
  font-size: var(--text-l);
  font-weight: var(--w-semibold);
  line-height: 1;
  margin: 0;
  color: #fff;
  text-transform: none;
}

.service-card ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 58px;
}

.service-card ul li {
  font-size: var(--text-s);
  font-weight: var(--w-regular);
  color: rgba(255, 255, 255, 0.92);
  padding-left: 16px;
  position: relative;
  line-height: 1;
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

.service-link {
  font-size: var(--text-s);
  font-weight: var(--w-semibold);
  color: var(--cyan);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  position: relative;
  margin-top: auto;
  margin-left: 58px;
  padding-top: 22px;
  transition: gap 0.2s var(--ease), opacity 0.2s;
  flex-direction: column;
}

.service-link-line {
  height: 1px;
  width: 100%;
  margin-bottom: 22px;
  background: linear-gradient(90deg, rgb(42, 190, 236) 0%, rgba(42, 190, 236, 0) 100%);
}

.service-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

/* =====================================================
   MARKETS / WORLD MAP
===================================================== */
.markets {
  position: relative;
  padding: 64px 0 110px;
  background: transparent;
  overflow: hidden;
}

.markets-glow {
  position: absolute;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.markets-glow--bl {
  left: -12%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.42) 0%, transparent 68%);
}

.markets-glow--br {
  right: -8%;
  bottom: -22%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.32) 0%, transparent 70%);
}

.markets .container {
  position: relative;
  z-index: 2;
}

.markets-text {
  margin-bottom: 28px;
  max-width: 720px;
}

.markets-text :is(h2, h3.taj-h2) {
  font-size: var(--h2);
  font-weight: var(--w-semibold);
  line-height: 1.2;
  margin-bottom: 14px;
  color: #fff;
}

.markets-text .section-sub {
  margin: 0;
  color: #F8F8F9;
}

.map-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.map-img {
  width: 100%;
  height: auto;
  display: block;
  filter: none;
  opacity: 1;
}

.map-tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
      rgba(0, 212, 255, 0) 0%,
      rgba(59, 90, 255, 0.08) 45%,
      rgba(168, 85, 247, 0.28) 100%);
  mix-blend-mode: soft-light;
}

.map-point {
  position: absolute;
  width: 44px;
  height: 44px;
  padding: 4px;
  border: 1px solid rgba(186, 192, 204, 0.78);
  border-radius: 50%;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  background: #1F1E23;
  cursor: default;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  z-index: 2;
}

.map-point img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  border: 1px solid rgba(210, 214, 220, 0.55);
  box-sizing: border-box;
}

.map-point:hover,
.map-point:focus-visible {
  z-index: 5;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}

.map-point:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

/* =====================================================
   PROJECTS
===================================================== */
.projects {
  position: relative;
  padding: 50px 0;
  /* Fade only the body glow behind content — not the UI */
  background: linear-gradient(180deg,
      rgba(31, 30, 35, 0) 0%,
      rgba(31, 30, 35, 0) calc(100% - 200px),
      rgba(31, 30, 35, 0.7) calc(100% - 80px),
      #1F1E23 100%);
}

.projects .section-header {
  margin-bottom: 56px;
}

.projects .section-header :is(h2, h3.taj-h2) {
  font-family: var(--font);
  font-size: var(--h2);
  font-weight: var(--w-semibold);
  line-height: 1.2;
  color: #fff;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
  margin-bottom: 56px;
}

.project-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Alternate sides: even rows show the image on the left */
.project-row:nth-child(even) .project-info {
  order: 2;
}

.project-row:nth-child(even) .project-media {
  order: 1;
}

.project-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.project-row:hover .project-media img {
  transform: scale(1.04);
}

.project-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: var(--w-medium);
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  width: fit-content;
}

.project-name {
  font-size: var(--h4);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 16px;
  margin-bottom: 12px;
  color: #fff;
}

.project-desc {
  font-size: var(--text-s);
  font-weight: var(--w-regular);
  color: var(--text-muted);
  line-height: 1.5;
  letter-spacing: 0;
  margin-bottom: 28px;
}

.project-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
  margin-bottom: 24px;
}

.pstat {
  display: flex;
  gap: 12px;
}

.pstat-icon-wrapper {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(42, 190, 236, 0.3) 0%, rgba(42, 190, 236, 0) 100%);
}

.pstat-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2ABEEC;
}

.pstat-icon i {
  font-size: 13px;
  line-height: 1;
}

.pstat-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.pstat-num {
  font-size: 14px;
  font-weight: var(--w-semibold);
}

.pstat-label {
  font-size: 14px;
  color: #CCCAD1;
  font-weight: var(--w-regular);
}

.project-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, #2ABEEC 0%, rgba(42, 190, 236, 0) 100%);
  margin-bottom: 18px;
}

.project-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  transition: letter-spacing 0.2s;
}

.project-link:hover {
  letter-spacing: 0.02em;
}

.projects-more {
  display: flex;
  justify-content: center;
}

.btn-outline-cyan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 400;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(42, 190, 236, 0.45);
  transition: background 0.2s, border-color 0.2s, transform 0.15s, color 0.2s;
}

.btn-outline-cyan:hover {
  background: rgba(42, 190, 236, 0.12);
  border-color: var(--cyan);
  color: #fff;
  transform: translateY(-1px);
}

/* =====================================================
   BODY GLOW BRIDGES — soft fades so bg.png reads through
===================================================== */
.bg-glow-in {
  background: linear-gradient(180deg,
      #1F1E23 0%,
      rgba(31, 30, 35, 0.85) 48px,
      rgba(31, 30, 35, 0) 200px,
      transparent 100%);
}

.bg-glow-out {
  background: linear-gradient(180deg,
      rgba(31, 30, 35, 0) 0%,
      rgba(31, 30, 35, 0) calc(100% - 200px),
      rgba(31, 30, 35, 0.7) calc(100% - 80px),
      #1F1E23 100%);
}

/* =====================================================
   CTA SECTION
===================================================== */
.cta-section {
  padding: 80px 0 0 0;
  background-color: #1F1E23;
  background-image:
    linear-gradient(180deg,
      #1F1E23 0%,
      rgba(31, 30, 35, 0.7) 28%,
      rgba(31, 30, 35, 0.2) 55%,
      transparent 78%),
    url('../images/bg-cta.png');
  background-position: center top, center bottom;
  background-size: 100% 100%, 100% auto;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 640px;
  height: 440px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.18) 0%, rgba(0, 212, 255, 0.06) 50%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-bottomline {
  position: relative;
  z-index: 1;
  width: 1290px;
  max-width: 100%;
  height: 1px;
  margin: 100px auto 0;
  background: linear-gradient(90deg, rgba(42, 190, 236, 0) 0%, #2ABEEC 50%, rgba(42, 190, 236, 0) 100%);
}

.cta-section :is(h2, h3.taj-h2) {
  font-size: var(--h2);
  font-weight: var(--w-semibold);
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.cta-section p {
  font-size: var(--text-m);
  color: #fff;
  margin: 0 auto 36px;
  line-height: 1.5;
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
  background: rgba(31, 30, 35, 0.55);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: var(--text-s);
  font-weight: var(--w-medium);
  color: #fff;
  margin-top: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

.footer-company {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2ABEEC;
}

.footer-addresses {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-addresses p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(204, 202, 209, 0.9);
}

.footer-addresses strong {
  color: #f8f8f9;
  font-weight: 700;
}

.footer-logo-img {
  height: 80px;
  width: auto;
}

.footer-categories {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: var(--w-semibold);
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul li a {
  font-size: 14px;
  font-weight: var(--w-regular);
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: #fff;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-socials a i {
  font-size: 14px;
}

.footer-socials a:hover {
  color: var(--cyan);
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.06);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom span {
  font-size: 12px;
  color: var(--text-muted);
}

/* =====================================================
   REVEAL ANIMATIONS — scroll rise-in, replays on every viewport enter/leave
===================================================== */

/* Tokens for content reveal — lighter than hero entrance */
:root {
  --reveal-distance: 20px;
  --reveal-duration: 0.55s;
  --reveal-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0s;
}

.reveal-init.revealed {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--reveal-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-init,
  .reveal-init.revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =====================================================
   INNER PAGES (page.php / index.php / archives)
===================================================== */
.page-main {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 100px;
}

.page-hero {
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-size: var(--h2);
  font-weight: var(--w-semibold);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.page-body {
  font-size: var(--text-m);
  font-weight: var(--w-regular);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 820px;
}

.page-body h1,
.page-body :is(h2, h3.taj-h2),
.page-body h3,
.page-body h4,
.page-body h5,
.page-body h6 {
  color: #fff;
  margin: 1.6em 0 0.6em;
  line-height: 1.3;
}

.page-body :is(h2, h3.taj-h2) {
  font-size: var(--h4);
}

.page-body h3 {
  font-size: var(--h5);
}

.page-body p {
  margin-bottom: 1.2em;
}

.page-body a {
  color: var(--cyan);
}

.page-body a:hover {
  text-decoration: underline;
}

.page-body ul,
.page-body ol {
  margin: 0 0 1.2em 1.2em;
}

.page-body ul {
  list-style: disc;
}

.page-body ol {
  list-style: decimal;
}

.page-body li {
  margin-bottom: 0.5em;
}

.page-body img {
  border-radius: var(--radius);
  margin: 1.2em 0;
}

.page-body blockquote {
  padding: 16px 20px;
  margin: 1.4em 0;
  color: #fff;
  background: rgba(0, 212, 255, 0.07);
  border-radius: var(--radius);
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.post-list article {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.post-list article :is(h2, h3.taj-h2) {
  font-size: var(--h4);
  font-weight: var(--w-semibold);
  margin-bottom: 12px;
}

.post-list article :is(h2, h3.taj-h2) a {
  color: #fff;
  transition: color 0.2s;
}

.post-list article :is(h2, h3.taj-h2) a:hover {
  color: var(--cyan);
}

.post-list .entry-content {
  font-size: var(--text-m);
  color: var(--text-muted);
  line-height: 1.7;
}

.pagination {
  margin-top: 48px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
}

/* =====================================================
   RESPONSIVE – 1024px
===================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* =====================================================
   RESPONSIVE – 768px
===================================================== */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-links,
  .nav-right {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-visual {
    height: 320px;
    justify-content: center;
  }

  .hero-lens {
    width: 360px;
    max-width: 100%;
    margin-right: 0;
  }

  .hero-card {
    width: min(280px, 90%);
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    animation: none;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    padding: 0 4px;
  }

  .ideas-header {
    margin-bottom: 32px;
  }

  .ideas-header :is(h2, h3.taj-h2) {
    font-size: var(--h4);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(odd),
  .service-card:nth-child(even) {
    padding: 28px 0;
    border-right: none;
  }

  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3) {
    border-bottom: 1px solid rgba(42, 190, 236, 0.35);
  }

  .service-card:nth-child(4) {
    border-bottom: none;
  }

  .service-head {
    align-items: flex-start;
  }

  .services-eyebrow {
    font-size: var(--h4);
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .project-row .project-info,
  .project-row .project-media {
    order: 0;
  }

  .project-row:nth-child(even) .project-info {
    order: 0;
  }

  .project-row:nth-child(even) .project-media {
    order: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* =====================================================
   RESPONSIVE – 480px
===================================================== */
@media (max-width: 480px) {
  .hero {
    padding-top: calc(var(--nav-h) + 32px);
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    text-align: center;
    justify-content: center;
  }

  .cta-section {
    padding: 80px 0 0;
  }

  .cta-bottomline {
    margin-top: 80px;
  }
}

/* Hero <picture> (ảnh mobile) — không tạo box, để CSS .xxx-hero-media img giữ nguyên */
.taj-hero-picture {
	display: contents;
}
