/* ============================================================
   LUẬT SƯ LÊ TÚ — Premium Dark Theme 3D Redesign
   Design System: Deep Navy + Warm Gold + Glassmorphism
   ============================================================ */

/* -------------------------------------------------------
   0. Google Fonts Import
   ------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

/* -------------------------------------------------------
   1. CSS Custom Properties
   ------------------------------------------------------- */
:root {
  /* Colors — Primary Palette */
  --color-primary: #0a0e1a;
  --color-secondary: #111827;
  --color-surface: #1a1f2e;

  /* Accent — Warm Gold */
  --accent: #c5a880;
  --accent-light: #d4b896;
  --accent-dark: #90734c;
  --accent-glow: rgba(197, 168, 128, 0.3);
  --accent-glow-strong: rgba(197, 168, 128, 0.5);

  /* Text */
  --text: #e8e6e3;
  --text-muted: #9ca3af;
  --text-white: #ffffff;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-strong: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-light: rgba(255, 255, 255, 0.12);

  /* Layout */
  --header-height: 80px;
  --header-scrolled: 64px;
  --announcement-height: 40px;
  --container-max: 1200px;
  --radius-card: 16px;
  --radius-btn: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-slower: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------------------------------------------
   1. Global & Base Reset
   ------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--color-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

ul, ol {
  list-style: none;
}

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

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

input, textarea {
  font-family: inherit;
  outline: none;
}

::selection {
  background: var(--accent);
  color: var(--color-primary);
}

::-moz-selection {
  background: var(--accent);
  color: var(--color-primary);
}

/* -------------------------------------------------------
   Container
   ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------------------------------------------
   Particle Canvas
   ------------------------------------------------------- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* -------------------------------------------------------
   2. Top Announcement Bar
   ------------------------------------------------------- */
.top-announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--announcement-height);
  z-index: 1100;
  background: linear-gradient(90deg, #90734c 0%, #c5a880 50%, #90734c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.announcement-bar-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  max-width: var(--container-max);
  padding: 0 24px;
}

.announcement-bar-text {
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-bar-icon {
  flex-shrink: 0;
}

.announcement-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-base);
  white-space: nowrap;
  flex-shrink: 0;
}

.announcement-bar-btn:hover {
  background: var(--color-secondary);
  color: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.announcement-bar-btn svg {
  width: 12px;
  height: 12px;
}

/* -------------------------------------------------------
   3. Site Header
   ------------------------------------------------------- */
.site-header {
  position: fixed;
  top: var(--announcement-height);
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  top: 0;
  height: var(--header-scrolled);
  background: rgba(10, 14, 26, 0.95);
  border-bottom-color: rgba(197, 168, 128, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.logo-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--accent);
  stroke: var(--accent);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 2px;
}

/* Navigation */
.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition-base);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(197, 168, 128, 0.05);
}

.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* Header Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  cursor: pointer;
}

.theme-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(197, 168, 128, 0.08);
}

.theme-btn svg {
  width: 18px;
  height: 18px;
}

.btn-phone-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-phone-header:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 168, 128, 0.3);
}

.btn-phone-header svg {
  width: 16px;
  height: 16px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  gap: 5px;
  z-index: 1010;
  background: transparent;
  border: none;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* -------------------------------------------------------
   4. Hero Section
   ------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + var(--announcement-height) + 60px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 1;
}

/* Cinematic vignette + gold glow depth overlay */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 80% 15%, rgba(197, 168, 128, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(197, 168, 128, 0.08), transparent 60%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 40%, rgba(10, 14, 26, 0.55) 100%);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: center;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid rgba(197, 168, 128, 0.25);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 24px;
}

/* -------------------------------------------------------
   4b. Cinematic Hero Entrance (plays on load, not on scroll)
   ------------------------------------------------------- */
@keyframes cinematicReveal {
  0% {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
  }
  60% {
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.text-reveal-cinematic {
  opacity: 0;
  animation: cinematicReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .badge.text-reveal-cinematic {
  animation-delay: 0.1s;
}

.hero-title.text-reveal-cinematic {
  animation-delay: 0.28s;
}

.hero-subtitle.text-reveal-cinematic {
  animation-delay: 0.46s;
}

.hero-actions.text-reveal-cinematic {
  animation-delay: 0.64s;
}

.hero-image-area.text-reveal-cinematic {
  animation-delay: 0.5s;
}

/* Reusable perspective wrapper for hero banners / avatar frames on any page */
.perspective-wrap {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Breadcrumb nav used inside .hero-banner-sm on sub-pages */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb-nav a {
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.breadcrumb-nav a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--accent-dark);
}

.breadcrumb-current {
  color: var(--accent);
  font-weight: 600;
}

/* Reusable smaller cinematic hero banner for future sub-pages (service detail, blog, etc.) */
.hero-banner-sm {
  position: relative;
  padding: calc(var(--header-height) + var(--announcement-height) + 60px) 0 70px;
  overflow: hidden;
  z-index: 1;
}

.hero-banner-sm::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(197, 168, 128, 0.16), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(197, 168, 128, 0.08), transparent 55%);
  pointer-events: none;
  z-index: -1;
}

.hero-content .badge svg {
  width: 14px;
  height: 14px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(197, 168, 128, 0.3),
               0 0 60px rgba(197, 168, 128, 0.15);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  box-shadow: 0 4px 20px rgba(197, 168, 128, 0.25);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(197, 168, 128, 0.4);
  background: var(--accent-light);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--accent);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(197, 168, 128, 0.3);
}

.btn-secondary svg {
  width: 18px;
  height: 18px;
}

/* Hero Image Area */
.hero-image-area {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-frame {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 380px;
}

.avatar-frame:hover {
  transform: rotateY(-5deg) rotateX(3deg);
}

.avatar-frame::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark), var(--accent));
  border-radius: 23px;
  z-index: -1;
  filter: blur(2px);
  opacity: 0.7;
  animation: borderGlow 3s ease-in-out infinite;
}

.avatar-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  position: relative;
  z-index: 1;
}

.avatar-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border);
  z-index: 2;
}

.avatar-caption h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 4px;
}

.avatar-caption p {
  font-size: 0.8rem;
  color: var(--accent);
}

/* -------------------------------------------------------
   5. Section Headers (Shared)
   ------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.sub-title {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  display: block;
  text-shadow: 0 0 18px rgba(197, 168, 128, 0.35);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 12px;
  line-height: 1.2;
}

.accent-line {
  width: 0;
  max-width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-dark));
  margin: 16px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.reveal.active .accent-line,
.section-header.active .accent-line,
.hero-banner-sm .accent-line {
  width: 60px;
}

.accent-line-left {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-dark));
  margin-top: 16px;
  border-radius: 2px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* -------------------------------------------------------
   6. About Section
   ------------------------------------------------------- */
.about-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.about-paragraph {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.about-paragraph strong {
  color: var(--text);
  font-weight: 600;
}

.about-core-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.core-val-box {
  background: var(--glass-bg);
  padding: 30px;
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border);
  transform-style: preserve-3d;
  transition: all var(--transition-base);
  position: relative;
}

.core-val-box:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 168, 128, 0.3);
  box-shadow: 0 16px 40px rgba(197, 168, 128, 0.1),
              0 0 20px rgba(197, 168, 128, 0.05);
}

.core-val-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid rgba(197, 168, 128, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-val-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  stroke: var(--accent);
}

.core-val-box h3 {
  font-size: 1.1rem;
  color: var(--text-white);
  margin: 16px 0 8px;
  font-weight: 600;
}

.core-val-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* -------------------------------------------------------
   7. Team Section
   ------------------------------------------------------- */
.team-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.team-grid,
.team-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.team-grid-2 {
  margin-top: 30px;
}

.team-card {
  background: var(--glass-bg);
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: rgba(197, 168, 128, 0.3);
  box-shadow: 0 20px 50px rgba(197, 168, 128, 0.12),
              0 0 30px rgba(197, 168, 128, 0.05);
}

.team-card-profile {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: stretch;
}

.team-card-profile .member-image {
  height: 100%;
  width: 100%;
}

.member-image {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow);
}

.team-card:hover .member-image img {
  transform: scale(1.08);
}

.member-info {
  padding: 24px;
}

.member-info h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 4px;
}

.member-role {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.member-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.member-contact {
  margin-top: 16px;
}

.member-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-base);
}

.member-phone:hover {
  text-decoration: underline;
  color: var(--accent-light);
}

.member-phone svg {
  width: 16px;
  height: 16px;
}

/* Author byline (blog posts - E-E-A-T) */
.author-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 12px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-btn);
}

.author-byline img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent);
  flex-shrink: 0;
}

.author-byline-name {
  display: block;
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.92rem;
}

.author-byline-date {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 2px;
}

/* "Last updated" line on dich-vu service pages */
.last-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 14px;
}

.last-updated time {
  color: var(--accent);
  font-weight: 500;
}

/* Profile Detail Card (doi-ngu.html member detail layout) */
.profile-detail-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-detail-card:hover {
  border-color: rgba(197, 168, 128, 0.3);
  box-shadow: 0 20px 50px rgba(197, 168, 128, 0.12),
              0 0 30px rgba(197, 168, 128, 0.05);
}

.profile-detail-card-reverse {
  grid-template-columns: 1fr 320px;
}

.profile-detail-card-reverse .profile-detail-image {
  order: 2;
}

.profile-detail-card-reverse .profile-detail-content {
  order: 1;
}

.profile-detail-image {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.profile-detail-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--radius-card);
}

.profile-detail-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 6px;
}

.profile-detail-content .member-role {
  margin-bottom: 18px;
}

.profile-detail-content .about-paragraph {
  margin-bottom: 16px;
}

.profile-detail-content .modal-section-title {
  margin-top: 20px;
  margin-bottom: 12px;
}

.profile-detail-content .member-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Recruitment Card */
.team-card-recruitment {
  background: var(--glass-bg);
  border: 2px dashed rgba(197, 168, 128, 0.35);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  min-height: 350px;
}

.team-card-recruitment:hover {
  border-color: var(--accent);
  background: rgba(197, 168, 128, 0.03);
}

.recruitment-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--color-primary);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
}

.team-card-recruitment h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-white);
  margin-top: 16px;
}

.team-card-recruitment p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* -------------------------------------------------------
   8. Services Section
   ------------------------------------------------------- */
.services-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  perspective: 1000px;
  cursor: pointer;
  min-height: 320px;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  transform-style: preserve-3d;
  transition: transform var(--transition-slower);
}

.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.service-card-front {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.service-card-back {
  transform: rotateY(180deg);
  background: rgba(197, 168, 128, 0.06);
  border: 1px solid rgba(197, 168, 128, 0.2);
  justify-content: center;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid rgba(197, 168, 128, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  color: var(--accent);
}

.service-card-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 12px;
}

.service-card-summary {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  flex-grow: 1;
}

.service-card-back .service-card-title {
  color: var(--accent-light);
}

.service-card-back .service-card-summary {
  color: var(--text);
}

.btn-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-top: 16px;
  transition: all var(--transition-base);
}

.btn-readmore:hover {
  transform: translateX(5px);
}

.btn-readmore svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-base);
}

.service-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-base);
  width: fit-content;
}

.service-detail-link:hover {
  color: var(--accent-light);
  transform: translateX(3px);
}

.btn-readmore:hover svg {
  transform: translateX(3px);
}

/* -------------------------------------------------------
   9. Service Modals
   ------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.service-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  background: rgba(26, 31, 46, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  z-index: 2001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2rem;
  cursor: pointer;
  transition: transform var(--transition-base);
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  transform: rotate(90deg);
}

.modal-body {
  padding-top: 8px;
}

.modal-num {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 8px;
}

.modal-accent {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 2px;
  margin: 16px 0;
}

.modal-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.modal-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.modal-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.modal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* -------------------------------------------------------
   10. Stats Section
   ------------------------------------------------------- */
.stats-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--glass-bg);
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.05;
  filter: blur(40px);
  transition: opacity var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 168, 128, 0.3);
  box-shadow: 0 20px 50px rgba(197, 168, 128, 0.1);
}

.stat-card:hover::before {
  opacity: 0.12;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 600;
  margin: 12px 0;
}

.stat-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* -------------------------------------------------------
   11. Process Section
   ------------------------------------------------------- */
.process-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.process-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark), transparent);
  opacity: 0.3;
}

.process-step {
  display: flex;
  gap: 30px;
  margin-bottom: 48px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 20px rgba(197, 168, 128, 0.3),
              0 0 40px rgba(197, 168, 128, 0.1);
  position: relative;
}

.step-content {
  background: var(--glass-bg);
  padding: 24px;
  flex-grow: 1;
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

.step-content:hover {
  border-color: rgba(197, 168, 128, 0.3);
  transform: translateX(8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.step-content h3 {
  font-size: 1.1rem;
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* -------------------------------------------------------
   12. Testimonials Section
   ------------------------------------------------------- */
.testimonials-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}

.testimonials-grid::-webkit-scrollbar {
  height: 6px;
}

.testimonials-grid::-webkit-scrollbar-track {
  background: var(--glass-bg);
  border-radius: 3px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.testimonials-grid::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}

.testimonial-card {
  min-width: 350px;
  flex-shrink: 0;
  background: var(--glass-bg);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  scroll-snap-align: start;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 168, 128, 0.3);
  box-shadow: 0 16px 40px rgba(197, 168, 128, 0.08);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  color: var(--accent);
}

.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin: 16px 0 24px;
}

.testimonial-text::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.5;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 4px;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-client img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(197, 168, 128, 0.3);
}

.client-info {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-size: 1rem;
  color: var(--text-white);
  font-weight: 700;
}

.client-meta {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
}

/* -------------------------------------------------------
   13. Contact Section
   ------------------------------------------------------- */
.contact-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-intro {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.contact-methods {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.method-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--glass-bg);
  padding: 16px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

.method-card:hover {
  border-color: rgba(197, 168, 128, 0.3);
  transform: translateX(5px);
}

.method-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid rgba(197, 168, 128, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  stroke: var(--accent);
}

.method-details h3 {
  font-size: 0.95rem;
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 2px;
}

.method-details p,
.method-details a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.contact-link {
  transition: color var(--transition-base);
}

.contact-link:hover {
  color: var(--accent) !important;
}

/* Contact Map */
.contact-map {
  margin-top: 24px;
}

.contact-map iframe {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border);
}

/* Chatbot */
.chatbot-wrapper {
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  max-height: 500px;
  display: flex;
  flex-direction: column;
}

.chat-header {
  background: rgba(197, 168, 128, 0.08);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.chat-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.active-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
}

.chat-header-info h3 {
  font-size: 1rem;
  color: var(--text-white);
  font-weight: 600;
}

.chat-header-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow-y: auto;
  flex-grow: 1;
  gap: 12px;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 2px;
}

.message {
  max-width: 85%;
  display: flex;
  flex-direction: column;
}

.message-bot {
  align-self: flex-start;
}

.message-user {
  align-self: flex-end;
}

.message-content {
  background: var(--glass-bg-strong);
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.message-bot .message-content {
  border-bottom-left-radius: 4px;
  background: rgba(197, 168, 128, 0.08);
}

.message-user .message-content {
  background: rgba(197, 168, 128, 0.15);
  border-bottom-right-radius: 4px;
}

.message-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
  padding: 0 4px;
}

.message-bot .message-time {
  text-align: left;
}

.message-user .message-time {
  text-align: right;
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 16px;
}

.quick-reply-btn {
  background: var(--glass-bg);
  border: 1px solid rgba(197, 168, 128, 0.25);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.quick-reply-btn:hover {
  background: var(--accent);
  color: var(--color-primary);
  border-color: var(--accent);
}

.chat-input-area {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  padding: 12px;
  gap: 8px;
  flex-shrink: 0;
}

#chat-input {
  flex-grow: 1;
  background: var(--glass-bg);
  border: none;
  border-radius: var(--radius-btn);
  padding: 10px 16px;
  color: var(--text-white);
  font-size: 0.88rem;
}

#chat-input::placeholder {
  color: var(--text-muted);
}

.btn-chat-send {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
}

.btn-chat-send:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(197, 168, 128, 0.3);
}

.btn-chat-send svg {
  width: 18px;
  height: 18px;
}

/* -------------------------------------------------------
   14. Footer
   ------------------------------------------------------- */
.site-footer {
  background: var(--glass-bg-strong);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 0;
  position: relative;
  z-index: 1;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 16px 0;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--accent);
  color: var(--color-primary);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-links h3,
.footer-info h3 {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: inline-block;
  transition: all var(--transition-base);
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-info ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-info ul li svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--accent);
  stroke: var(--accent);
  margin-top: 2px;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  margin-top: 40px;
  padding: 20px 0;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-bottom-container a {
  color: var(--accent);
  transition: color var(--transition-base);
}

.footer-bottom-container a:hover {
  color: var(--accent-light);
}

/* -------------------------------------------------------
   15. Floating Widgets
   ------------------------------------------------------- */
.floating-widgets {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widget-item {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-base);
  position: relative;
  cursor: pointer;
}

.widget-phone {
  background: var(--accent);
  color: var(--color-primary);
}

.widget-zalo {
  background: #0068ff;
  color: #ffffff;
}

.widget-item svg {
  width: 24px;
  height: 24px;
}

.widget-item:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.widget-phone:hover {
  box-shadow: 0 8px 32px rgba(197, 168, 128, 0.4);
}

.widget-zalo:hover {
  box-shadow: 0 8px 32px rgba(0, 104, 255, 0.4);
}

.widget-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(5px);
  background: rgba(26, 31, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-white);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-base);
  border: 1px solid var(--glass-border);
}

.widget-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid rgba(26, 31, 46, 0.95);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.widget-item:hover .widget-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* -------------------------------------------------------
   16. Animations & Keyframes
   ------------------------------------------------------- */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.1);
  }
  100% {
    box-shadow: 0 0 30px rgba(197, 168, 128, 0.3);
  }
}

@keyframes borderGlow {
  0%, 100% {
    opacity: 0.4;
    border-color: rgba(197, 168, 128, 0.3);
  }
  50% {
    opacity: 0.8;
    border-color: rgba(197, 168, 128, 0.6);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Animation Utilities */
.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-glow {
  animation: glowPulse 2s ease-in-out infinite alternate;
}

/* Stagger delays for reveal groups */
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }
.reveal[data-delay="6"] { transition-delay: 0.6s; }

/* Widget pulse effect */
.widget-phone::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulse-ring 1.5s ease-out infinite;
}

/* -------------------------------------------------------
   17. Responsive — Tablet (max-width: 1024px)
   ------------------------------------------------------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content .badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-area {
    order: -1;
  }

  .avatar-frame {
    max-width: 300px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

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

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

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

/* -------------------------------------------------------
   17. Responsive — Mobile (max-width: 768px)
   ------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding: 0 16px;
  }

  /* Announcement Bar */
  .announcement-bar-container {
    gap: 8px;
    padding: 0 12px;
  }

  .announcement-bar-text {
    font-size: 0.72rem;
  }

  .announcement-bar-btn {
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  /* Header */
  .nav-menu {
    display: none;
    position: fixed;
    top: calc(var(--announcement-height) + var(--header-height));
    left: 0;
    width: 100%;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
    z-index: 1000;
  }

  .nav-menu.active {
    display: block;
  }

  .site-header.scrolled .nav-menu {
    top: var(--header-scrolled);
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0;
    padding: 0 16px;
  }

  .nav-link {
    display: block;
    padding: 14px 16px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-link.active::after {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .btn-phone-header {
    display: none;
  }

  .theme-btn {
    width: 36px;
    height: 36px;
  }

  /* Hero */
  .hero-section {
    padding-top: calc(var(--header-height) + var(--announcement-height) + 40px);
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .avatar-frame {
    max-width: 260px;
  }

  /* Sections */
  .about-section,
  .team-section,
  .services-section,
  .stats-section,
  .process-section,
  .testimonials-section,
  .contact-section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  /* About */
  .about-core-values {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .core-val-box {
    padding: 24px;
  }

  /* Team */
  .team-grid,
  .team-grid-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .member-image {
    height: 220px;
  }

  .team-card-profile {
    grid-template-columns: 1fr;
  }

  .team-card-profile .member-image {
    height: 320px;
  }

  /* Services — Disable 3D flip on mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    min-height: auto;
  }

  .service-card-inner {
    transform-style: flat;
    min-height: auto;
  }

  .service-card:hover .service-card-inner {
    transform: none;
  }

  .service-card-front {
    position: relative;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }

  .service-card-back {
    display: none;
  }

  .service-card-front {
    padding: 24px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 28px 20px;
  }

  .stat-number {
    font-size: 2.4rem;
  }

  /* Process */
  .process-timeline::before {
    display: none;
  }

  .process-step {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 0.9rem;
  }

  .step-content {
    padding: 20px;
  }

  .step-content:hover {
    transform: translateX(0);
    transform: translateY(-4px);
  }

  /* Testimonials */
  .testimonial-card {
    min-width: 280px;
    padding: 24px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .chatbot-wrapper {
    max-height: 420px;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 16px;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 0 16px;
  }

  /* Floating Widgets */
  .floating-widgets {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }

  .widget-item {
    width: 48px;
    height: 48px;
  }

  .widget-tooltip {
    display: none;
  }

  /* Reduce animation complexity on mobile */
  .reveal {
    transition-duration: 0.5s;
  }

  .team-card:hover {
    transform: translateY(-5px);
  }

  .stat-card:hover,
  .core-val-box:hover {
    transform: translateY(-4px);
  }
}

/* -------------------------------------------------------
   17. Responsive — Small Mobile (max-width: 480px)
   ------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .sub-title {
    font-size: 0.72rem;
    letter-spacing: 2px;
  }

  .hero-content .badge {
    font-size: 0.68rem;
    padding: 6px 14px;
  }

  .avatar-frame {
    max-width: 220px;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 0.85rem;
    padding: 12px 20px;
  }

  .core-val-box {
    padding: 20px;
  }

  .core-val-box h3 {
    font-size: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.88rem;
  }

  .stat-desc {
    font-size: 0.8rem;
  }

  .testimonial-card {
    min-width: 260px;
    padding: 20px;
  }

  .testimonial-text {
    font-size: 0.88rem;
  }

  .service-card-front {
    padding: 20px;
  }

  .service-card-icon {
    width: 48px;
    height: 48px;
  }

  .service-card-title {
    font-size: 1.05rem;
  }

  .method-card {
    padding: 12px;
    gap: 12px;
  }

  .method-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .method-details h3 {
    font-size: 0.88rem;
  }

  .method-details p,
  .method-details a {
    font-size: 0.82rem;
  }

  .chat-header {
    padding: 12px;
  }

  .chat-avatar {
    width: 36px;
    height: 36px;
  }

  .chat-header-info h3 {
    font-size: 0.92rem;
  }

  .quick-reply-btn {
    font-size: 0.72rem;
    padding: 5px 10px;
  }

  .footer-links h3,
  .footer-info h3 {
    font-size: 0.88rem;
    margin-bottom: 14px;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .footer-bottom-container {
    font-size: 0.72rem;
  }

  .announcement-bar-text {
    font-size: 0.65rem;
  }

  .announcement-bar-btn {
    font-size: 0.6rem;
    padding: 3px 8px;
  }

  .floating-widgets {
    bottom: 12px;
    right: 12px;
  }

  .widget-item {
    width: 44px;
    height: 44px;
  }

  .widget-item svg {
    width: 20px;
    height: 20px;
  }

  .modal-body {
    padding-top: 4px;
  }

  .service-modal {
    padding: 28px 20px;
    border-radius: var(--radius-lg);
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .modal-text {
    font-size: 0.85rem;
  }

  .modal-actions {
    flex-direction: column;
    gap: 8px;
  }
}

/* -------------------------------------------------------
   18. Print Styles
   ------------------------------------------------------- */
@media print {
  body {
    background: #ffffff;
    color: #000000;
  }

  .top-announcement-bar,
  .floating-widgets,
  #particle-canvas,
  .chatbot-wrapper,
  .mobile-menu-toggle,
  .theme-btn {
    display: none !important;
  }

  .site-header {
    position: relative;
    background: #ffffff;
    box-shadow: none;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* -------------------------------------------------------
   19. Prefers Reduced Motion
   ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .service-card:hover .service-card-inner {
    transform: none;
  }

  .avatar-frame:hover {
    transform: none;
  }

  .widget-phone::before {
    display: none;
  }
}

/* -------------------------------------------------------
   20. Utility Classes
   ------------------------------------------------------- */
.text-gold { color: var(--accent); }
.text-white { color: var(--text-white); }
.text-muted { color: var(--text-muted); }
.font-heading { font-family: var(--font-heading); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* -------------------------------------------------------
   21. Contact Form, Booking, Google Reviews, Lang Switcher, Calculator
   ------------------------------------------------------- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 4px;
}

.lang-switcher .lang-current {
  color: var(--accent);
}

.lang-switcher .lang-link {
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.lang-switcher .lang-link:hover {
  color: var(--accent);
}

.contact-form-card {
  margin-top: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 24px;
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-white);
  margin-bottom: 16px;
}

.contact-form .form-group {
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  color: var(--text-white);
  font-size: 0.9rem;
  transition: border-color var(--transition-base);
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form button[type="submit"] {
  width: 100%;
}

/* Booking Section */
.booking-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.booking-widget-wrap {
  max-width: 900px;
  margin: 40px auto 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 8px;
}

/* Google Reviews */
.google-reviews-wrap {
  margin-top: 80px;
}

.google-map-embed {
  max-width: 800px;
  margin: 40px auto 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.google-map-embed iframe {
  width: 100%;
  display: block;
}

.google-reviews-cta {
  text-align: center;
  margin-top: 24px;
}

/* Fee Calculator Page */
.calculator-section {
  padding: 140px 0 100px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }
}

.calculator-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 28px;
}

.calculator-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-white);
  margin-bottom: 8px;
}

.calculator-card .calc-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.calc-form .form-group {
  margin-bottom: 16px;
}

.calc-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.calc-form input[type="number"],
.calc-form select {
  width: 100%;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  color: var(--text-white);
  font-size: 0.9rem;
}

.calc-form select option {
  background: var(--color-secondary);
  color: var(--text-white);
}

.calc-form button {
  width: 100%;
  margin-top: 4px;
}

.calc-result {
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--radius-btn);
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid rgba(197, 168, 128, 0.25);
  display: none;
}

.calc-result.active {
  display: block;
}

.calc-result .calc-result-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.calc-result .calc-disclaimer {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.calc-result .btn-zalo-calc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
