/* ============================================
   何介秀律师个人网站 — Design System & Styles
   ============================================ */

/* --- Design Tokens --- */
:root {
  --navy-900: #0a1628;
  --navy-800: #111d33;
  --navy-700: #1a2a45;
  --navy-600: #243752;
  --navy-500: #2e4465;
  --gold-500: #c8a45c;
  --gold-400: #d4b56e;
  --gold-300: #e0c88a;
  --gold-600: #b08d3e;
  --coral-500: #d4573b;
  --coral-600: #b8432a;
  --coral-400: #e06b50;
  --white: #ffffff;
  --off-white: #f8f6f3;
  --cream: #faf8f5;
  --gray-50: #f5f3f0;
  --gray-100: #e8e5e0;
  --gray-200: #d4d0ca;
  --gray-300: #b8b3ab;
  --gray-400: #8a847c;
  --gray-500: #6b655d;
  --gray-600: #4a453e;
  --gray-700: #333029;
  --gray-800: #1f1d1a;
  --text-primary: #1a1815;
  --text-secondary: #4a453e;
  --text-muted: #8a847c;
  --text-on-dark: #e8e5e0;
  --text-on-navy: #f0ede8;
  --success: #3a7d44;
  --warning: #d4a03b;
  --font-heading: 'Noto Serif SC', 'Playfair Display', 'Songti SC', Georgia, serif;
  --font-body: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-accent: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8rem);
  --fs-sm: clamp(0.8rem, 0.75rem + 0.3vw, 0.875rem);
  --fs-base: clamp(0.875rem, 0.825rem + 0.3vw, 1rem);
  --fs-md: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-3xl: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
  --fs-4xl: clamp(2rem, 1.5rem + 2vw, 3rem);
  --fs-5xl: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem);
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06), 0 1px 2px rgba(10, 22, 40, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.08), 0 2px 4px rgba(10, 22, 40, 0.04);
  --shadow-lg: 0 12px 36px rgba(10, 22, 40, 0.1), 0 4px 12px rgba(10, 22, 40, 0.06);
  --shadow-xl: 0 24px 60px rgba(10, 22, 40, 0.14), 0 8px 20px rgba(10, 22, 40, 0.08);
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: var(--fs-5xl); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-4xl); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

::selection {
  background: var(--gold-500);
  color: var(--white);
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.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;
}

.section-padding {
  padding: var(--space-4xl) 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold-500); }
.text-navy { color: var(--navy-700); }

/* --- Decorative Elements --- */
.gold-line {
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: var(--radius-full);
  margin: var(--space-md) 0;
}

.gold-line--center {
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
  line-height: 1.4;
}

.btn--primary {
  background: var(--coral-500);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(212, 87, 59, 0.3);
}

.btn--primary:hover {
  background: var(--coral-600);
  box-shadow: 0 4px 16px rgba(212, 87, 59, 0.4);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn--secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline {
  background: transparent;
  color: var(--navy-700);
  border: 1.5px solid var(--navy-700);
}

.btn--outline:hover {
  background: var(--navy-700);
  color: var(--white);
}

.btn--gold {
  background: var(--gold-500);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(200, 164, 92, 0.3);
}

.btn--gold:hover {
  background: var(--gold-600);
  box-shadow: 0 4px 16px rgba(200, 164, 92, 0.4);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--fs-md);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-sm);
}

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

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition-base);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.header__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.header__brand-name {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.2;
}

.header__brand-name span {
  color: var(--gold-500);
}

.header__brand-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__nav-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width var(--transition-base);
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--navy-800);
}

.header__nav-link:hover::after,
.header__nav-link--active::after {
  width: 100%;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.6rem 1.2rem;
  background: var(--coral-500);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.header__cta:hover {
  background: var(--coral-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 87, 59, 0.3);
}

.header__cta svg {
  width: 16px;
  height: 16px;
}

.header__compliance {
  display: none;
  font-size: 0.65rem;
  color: var(--text-muted);
  padding: 4px var(--space-lg);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  text-align: center;
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
}

.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-800);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-nav--open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__panel {
  background: var(--white);
  padding: var(--space-xl);
  transform: translateY(-20px);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.mobile-nav--open .mobile-nav__panel {
  transform: translateY(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-nav__link {
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--text-primary);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav__link--active {
  color: var(--gold-500);
  font-weight: 700;
  border-bottom-color: var(--gold-500);
}

.mobile-nav__cta {
  margin-top: var(--space-lg);
}

.mobile-nav__compliance {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-100);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Hero Banner --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-600) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(200, 164, 92, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(200, 164, 92, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 640px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1rem;
  background: rgba(200, 164, 92, 0.15);
  border: 1px solid rgba(200, 164, 92, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.05em;
}

.hero__title {
  font-size: var(--fs-5xl);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.hero__title em {
  font-style: normal;
  color: var(--gold-400);
}

.hero__subtitle {
  font-size: var(--fs-md);
  color: var(--text-on-dark);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  opacity: 0.85;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
}

.hero__photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-500));
}

.hero__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--fs-sm);
  gap: var(--space-md);
}

.hero__photo-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.3;
}

.hero__credential-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
}

.hero__credential-badge strong {
  display: block;
  color: var(--navy-800);
  font-size: var(--fs-md);
}

.hero__credential-badge span {
  color: var(--text-muted);
}

/* --- Advantages Section --- */
.advantages {
  background: var(--off-white);
  position: relative;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.advantage-card {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.advantage-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--gold-400);
}

.advantage-card__icon svg {
  width: 28px;
  height: 28px;
}

.advantage-card__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-md);
  color: var(--navy-800);
}

.advantage-card__text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- Services Section --- */
.services {
  position: relative;
}

.services__tabs {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  justify-content: center;
}

.services__tab {
  padding: 0.75rem 1.5rem;
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-200);
  color: var(--text-secondary);
  transition: all var(--transition-base);
  cursor: pointer;
  background: var(--white);
}

.services__tab--active {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}

.services__tab:hover:not(.services__tab--active) {
  border-color: var(--navy-800);
  color: var(--navy-800);
}

.services__panel {
  display: none;
}

.services__panel--active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.service-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.service-item:hover {
  background: var(--white);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-sm);
}

.service-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-400);
}

.service-item__icon svg {
  width: 20px;
  height: 20px;
}

.service-item__title {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: var(--space-xs);
}

.service-item__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.services__cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* --- Career Timeline --- */
.career {
  background: var(--navy-900);
  color: var(--text-on-navy);
  position: relative;
  overflow: hidden;
}

.career::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200, 164, 92, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.career .section-title { color: var(--white); }
.career .section-subtitle { color: var(--text-on-dark); opacity: 0.7; }

.career__timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.career-phase {
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 164, 92, 0.2);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}

.career-phase__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

.career-phase__period {
  font-size: var(--fs-sm);
  color: var(--text-on-dark);
  opacity: 0.6;
  margin-bottom: var(--space-md);
}

.career-phase__title {
  font-size: var(--fs-xl);
  color: var(--white);
  margin-bottom: var(--space-md);
}

.career-phase__text {
  font-size: var(--fs-sm);
  color: var(--text-on-dark);
  opacity: 0.75;
  line-height: 1.8;
}

/* --- Insights / Blog Preview --- */
.insights {
  background: var(--off-white);
}

.insights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.insight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.insight-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.insight-card__header {
  padding: var(--space-lg) var(--space-lg) 0;
}

.insight-card__tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--navy-800);
  color: var(--gold-400);
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.insight-card__title {
  font-size: var(--fs-lg);
  color: var(--navy-800);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.insight-card__excerpt {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

.insight-card__footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insight-card__read-more {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gold-600);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.insight-card__read-more:hover {
  color: var(--coral-500);
}

/* --- Media / Press --- */
.media-preview {
  position: relative;
}

.media-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.media-card {
  padding: var(--space-xl);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.media-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.media-card__source {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gold-600);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
}

.media-card__title {
  font-size: var(--fs-lg);
  color: var(--navy-800);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.media-card__date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.media-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--coral-500);
}

.media-card__link:hover {
  color: var(--coral-600);
}

/* --- CTA / Consultation Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 50%, rgba(200, 164, 92, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  position: relative;
  z-index: 1;
}

.cta-section__info h2 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.cta-section__info p {
  color: var(--text-on-dark);
  opacity: 0.8;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.cta-section__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cta-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  color: var(--text-on-dark);
}

.cta-detail__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(200, 164, 92, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-400);
}

.cta-detail__icon svg {
  width: 20px;
  height: 20px;
}

.cta-detail__label {
  font-size: var(--fs-xs);
  color: var(--gold-400);
  font-weight: 600;
  margin-bottom: 2px;
}

.cta-detail__value {
  font-size: var(--fs-base);
  opacity: 0.9;
}

.cta-detail__value a {
  color: var(--white);
  font-weight: 600;
  font-size: var(--fs-lg);
}

.cta-detail__value a:hover {
  color: var(--gold-400);
}

.cta-detail__note {
  font-size: var(--fs-xs);
  opacity: 0.5;
  margin-top: 2px;
}

/* --- Contact Form --- */
.contact-form {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form__title {
  font-size: var(--fs-xl);
  color: var(--navy-800);
  margin-bottom: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.form-group label .required {
  color: var(--coral-500);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(200, 164, 92, 0.15);
}

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

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%238a847c'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-submit {
  width: 100%;
  margin-top: var(--space-md);
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: var(--space-sm);
  text-align: center;
}

/* --- Footer --- */
.footer {
  background: var(--navy-900);
  color: var(--text-on-navy);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer__brand-name span {
  color: var(--gold-400);
}

.footer__desc {
  font-size: var(--fs-sm);
  color: var(--text-on-dark);
  opacity: 0.6;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer__heading {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
}

.footer__link-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--fs-sm);
  color: var(--text-on-dark);
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.footer__link:hover {
  opacity: 1;
  color: var(--gold-400);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--text-on-dark);
  opacity: 0.7;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold-400);
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__compliance {
  font-size: var(--fs-xs);
  color: var(--text-on-dark);
  opacity: 0.5;
  line-height: 1.8;
}

.footer__disclaimer {
  font-size: var(--fs-xs);
  color: var(--text-on-dark);
  opacity: 0.4;
  line-height: 1.8;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__copyright {
  font-size: var(--fs-xs);
  color: var(--text-on-dark);
  opacity: 0.4;
  text-align: center;
}

/* --- Page Hero (Sub-pages) --- */
.page-hero {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 100%, rgba(200, 164, 92, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-hero__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold-400);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.page-hero__title {
  font-size: var(--fs-4xl);
  color: var(--white);
  margin-bottom: var(--space-md);
}

.page-hero__subtitle {
  font-size: var(--fs-md);
  color: var(--text-on-dark);
  opacity: 0.8;
  line-height: 1.8;
}

.page-hero__actions {
  margin-top: var(--space-xl);
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* --- Pain Points / Cards Grid --- */
.pain-points {
  background: var(--off-white);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.pain-card {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: all var(--transition-base);
}

.pain-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pain-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 87, 59, 0.1), rgba(212, 87, 59, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--coral-500);
}

.pain-card__icon svg {
  width: 28px;
  height: 28px;
}

.pain-card__title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: var(--space-sm);
}

.pain-card__text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Service Table --- */
.service-scope {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  min-width: 600px;
}

.service-table thead {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
}

.service-table th {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}

.service-table td {
  padding: var(--space-md) var(--space-lg);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}

.service-table tbody tr:hover {
  background: var(--cream);
}

.service-table td strong {
  color: var(--navy-800);
}

/* --- Process Steps --- */
.process {
  background: var(--white);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300), var(--gold-500));
  opacity: 0.3;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin: 0 auto var(--space-md);
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.2);
}

.process-step__title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: var(--space-sm);
}

.process-step__text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- FAQ Section --- */
.faq {
  background: var(--off-white);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  width: 100%;
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--navy-800);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-item__question:hover {
  color: var(--gold-600);
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--gold-500);
}

.faq-item--open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item--open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- Case Cards --- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: all var(--transition-base);
}

.case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.case-card__header {
  padding: var(--space-xl);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--white);
}

.case-card__type {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(200, 164, 92, 0.2);
  color: var(--gold-400);
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.case-card__title {
  font-size: var(--fs-lg);
  color: var(--white);
  line-height: 1.4;
}

.case-card__body {
  padding: var(--space-xl);
}

.case-card__section-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: var(--space-sm);
}

.case-card__text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.case-card__result {
  padding: var(--space-md);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold-500);
  font-size: var(--fs-sm);
  color: var(--text-primary);
  line-height: 1.7;
}

/* --- About / Timeline --- */
.about-intro .container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: var(--fs-sm);
  gap: var(--space-md);
}

.about-photo__placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.3;
}

.about-bio__text {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: var(--space-xl);
}

.about-bio__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.about-highlight {
  padding: 0.5rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--navy-800);
  border: 1px solid var(--gray-100);
}

.timeline-section {
  background: var(--off-white);
}

.timeline {
  position: relative;
  padding-left: var(--space-3xl);
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-500), var(--gold-300), var(--gray-200));
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-2xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item__dot {
  position: absolute;
  left: calc(-1 * var(--space-3xl) + 8px);
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.timeline-item__year {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.timeline-item__title {
  font-size: var(--fs-lg);
  color: var(--navy-800);
  margin-bottom: var(--space-xs);
}

.timeline-item__org {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.timeline-item__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Certifications Grid --- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.cert-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}

.cert-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--white);
}

.cert-card__icon svg {
  width: 28px;
  height: 28px;
}

.cert-card__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: var(--space-xs);
}

.cert-card__text {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* --- Blog / Articles --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.blog-card__image {
  height: 180px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: var(--fs-3xl);
}

.blog-card__body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  width: fit-content;
}

.blog-card__tag--streamer {
  background: rgba(212, 87, 59, 0.1);
  color: var(--coral-500);
}

.blog-card__tag--enterprise {
  background: rgba(26, 42, 69, 0.1);
  color: var(--navy-700);
}

.blog-card__title {
  font-size: var(--fs-lg);
  color: var(--navy-800);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.blog-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: 1px solid var(--gray-100);
}

.blog-card__date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.blog-card__link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gold-600);
}

.blog-card__link:hover {
  color: var(--coral-500);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.contact-info-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-400);
}

.contact-info-card__icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-card__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-card__value {
  font-size: var(--fs-base);
  color: var(--text-primary);
  font-weight: 500;
}

.contact-info-card__value a {
  color: var(--navy-800);
  font-weight: 700;
}

.contact-info-card__value a:hover {
  color: var(--gold-600);
}

.contact-info-card__note {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-top: var(--space-xl);
  border: 1px solid var(--gray-200);
}

/* --- Mobile Bottom CTA Bar --- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: var(--space-sm) var(--space-md);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
}

.mobile-cta-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.mobile-cta-bar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-align: center;
}

.mobile-cta-bar__btn--phone {
  background: var(--coral-500);
  color: var(--white);
}

.mobile-cta-bar__btn--wechat {
  background: #07c160;
  color: var(--white);
}

.mobile-cta-bar__btn--form {
  background: var(--navy-800);
  color: var(--white);
}

.mobile-cta-bar__btn svg {
  width: 20px;
  height: 20px;
}

/* --- Animations --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll--visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Service Filter Tabs --- */
.filter-tabs {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  justify-content: center;
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-200);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  background: var(--white);
}

.filter-tab--active {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}

.filter-tab:hover:not(.filter-tab--active) {
  border-color: var(--navy-800);
}

/* --- Team Showcase --- */
.team-showcase {
  background: linear-gradient(170deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  position: relative;
  overflow: hidden;
}

.team-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 15% 20%, rgba(200, 164, 92, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 85% 80%, rgba(200, 164, 92, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.team-showcase .section-label {
  color: var(--gold-400);
}

.team-showcase .section-title {
  color: var(--white);
}

.team-showcase .section-subtitle {
  color: var(--text-on-navy);
  opacity: 0.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-base);
  cursor: pointer;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.team-card--featured {
  grid-row: span 2;
}

.team-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-500));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-card--featured .team-card__image {
  aspect-ratio: auto;
  height: 100%;
  min-height: 320px;
}

.team-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(200, 164, 92, 0.03) 20px,
      rgba(200, 164, 92, 0.03) 21px
    );
}

.team-card__image-icon {
  width: 48px;
  height: 48px;
  color: var(--gold-500);
  opacity: 0.4;
  position: relative;
  z-index: 1;
}

.team-card--featured .team-card__image-icon {
  width: 64px;
  height: 64px;
}

.team-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl) var(--space-lg);
  background: linear-gradient(to top, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.6) 60%, transparent 100%);
  transform: translateY(8px);
  opacity: 0;
  transition: all var(--transition-base);
}

.team-card:hover .team-card__overlay {
  transform: translateY(0);
  opacity: 1;
}

.team-card--featured .team-card__overlay {
  transform: translateY(0);
  opacity: 1;
  padding: var(--space-2xl) var(--space-xl);
}

.team-card__label {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: rgba(200, 164, 92, 0.25);
  color: var(--gold-400);
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.team-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  color: var(--white);
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}

.team-card--featured .team-card__title {
  font-size: var(--fs-xl);
}

.team-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-on-navy);
  opacity: 0.75;
  line-height: 1.6;
}

.team-card--featured .team-card__desc {
  opacity: 0.85;
}

/* --- Responsive: Tablet --- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__image {
    display: none;
  }

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

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

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

  .insights__grid,
  .media-preview__grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-section__grid {
    grid-template-columns: 1fr;
  }

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

  .about-intro .container {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 300px;
  }

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

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

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

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

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

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

  .team-card--featured {
    grid-row: span 1;
  }

  .team-card--featured .team-card__image {
    aspect-ratio: 4 / 3;
    min-height: auto;
  }
}

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --space-4xl: 4rem;
    --space-5xl: 5rem;
  }

  .header__nav {
    display: none;
  }

  .header__cta {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-cta-bar {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }

  .hero {
    min-height: 80vh;
    padding-top: calc(var(--header-height) + var(--space-2xl));
  }

  .hero__label {
    margin-bottom: var(--space-md);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .advantages__grid,
  .pain-grid {
    grid-template-columns: 1fr;
  }

  .services__tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .services__tab {
    text-align: center;
  }

  .insights__grid,
  .media-preview__grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .process__steps::before {
    display: none;
  }

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

  .footer__bottom {
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .about-photo {
    max-width: 100%;
  }

  .filter-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--space-sm);
    -webkit-overflow-scrolling: touch;
  }

  .filter-tab {
    flex-shrink: 0;
  }

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

  .team-card__overlay {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

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

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

  .header__brand-sub {
    display: none;
  }
}

/* --- Print --- */
@media print {
  .header,
  .mobile-cta-bar,
  .mobile-nav,
  .hero::before,
  .hero::after {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a { color: #000; text-decoration: underline; }
}
