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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s, color 0.3s;
}

/* Prevent transitions on page load */
.no-transition,
.no-transition * {
  transition: none !important;
}

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

ul {
  list-style: none;
}

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

/* ===========================
   2. CSS Custom Properties
   =========================== */
:root {
  /* Raw Color Tokens */
  --navy-deep: #070B1E;
  --navy: #0A0E27;
  --navy-mid: #0D1137;
  --navy-light: #141938;
  --teal: #00D4AA;
  --teal-dark: #00BFA6;
  --teal-glow: #00E8BC;
  --purple: #7B2FBE;
  --purple-dark: #6C3FA0;
  --purple-light: #9B5FDE;
  --white: #FFFFFF;
  --gray-100: #F5F5F7;
  --gray-200: #EAEAEA;
  --gray-400: #8892A0;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --text-dark: #1A1A2E;

  /* Semantic Theme Variables */
  --bg-primary: #070B1E;
  --bg-secondary: #0A0E27;
  --bg-card: #0D1137;
  --bg-card-alt: #141938;

  --text-primary: #FFFFFF;
  --text-secondary: #8892A0;
  --text-tertiary: #6B7280;
  --text-muted: #4B5563;
  --text-body: #EAEAEA;
  --text-on-gradient: #FFFFFF;

  --accent-teal: #00D4AA;
  --accent-purple: #7B2FBE;
  --accent-sky: #55B3DB;
  --accent-sky-deep: #384797;

  --border-subtle: rgba(255,255,255,0.05);
  --border-default: rgba(255,255,255,0.06);
  --border-medium: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.1);
  --border-emphasis: rgba(255,255,255,0.15);
  --surface-subtle: rgba(255,255,255,0.04);
  --surface-light: rgba(255,255,255,0.05);
  --countries-bar-bg: rgba(10, 14, 39, 0.6);

  --shadow-sm: rgba(0,0,0,0.2);
  --shadow-md: rgba(0,0,0,0.3);
  --shadow-lg: rgba(0,0,0,0.4);

  --nav-scrolled-bg: rgba(7,11,30,0.98);
  --nav-sticky-bg: rgba(7,11,30,0.98);
  --overlay-bg: rgba(0,0,0,0.5);
  --tabs-bg: rgba(10,14,39,0.95);

  --mesh-opacity: 1;
  --noise-opacity: 0.025;
  --client-logo-filter: grayscale(100%) brightness(0) invert(1);
  --hero-flower-opacity: 0.9;

  /* Gradients */
  --gradient: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-purple) 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(0,212,170,0.15) 0%, rgba(123,47,190,0.15) 100%);
  --gradient-hover: linear-gradient(135deg, var(--teal-glow) 0%, var(--purple-light) 100%);
  --gradient-azure: linear-gradient(120deg, var(--accent-sky) 0%, var(--accent-teal) 48%, var(--accent-purple) 100%);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 30px;

  /* Typography */
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --section-pad: 100px;
}

/* ===========================
   2b. Light Mode Overrides
   =========================== */
[data-theme="light"] {
  --bg-primary: #F8F9FC;
  --bg-secondary: #F0F1F5;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F5F6FA;

  --text-primary: #1A1D2E;
  --text-secondary: #5A6172;
  --text-tertiary: #6B7280;
  --text-muted: #8892A0;
  --text-body: #3A3F50;

  --accent-teal: #00A88A;
  --accent-purple: #6B28A8;
  --accent-sky: #155C96;
  --accent-sky-deep: #2C3978;

  --border-subtle: rgba(0,0,0,0.06);
  --border-default: rgba(0,0,0,0.08);
  --border-medium: rgba(0,0,0,0.10);
  --border-strong: rgba(0,0,0,0.12);
  --border-emphasis: rgba(0,0,0,0.15);
  --surface-subtle: rgba(0,0,0,0.03);
  --surface-light: rgba(0,0,0,0.04);
  --countries-bar-bg: rgba(255, 255, 255, 0.7);

  --shadow-sm: rgba(0,0,0,0.06);
  --shadow-md: rgba(0,0,0,0.10);
  --shadow-lg: rgba(0,0,0,0.14);

  --nav-scrolled-bg: rgba(248,249,252,0.98);
  --nav-sticky-bg: rgba(248,249,252,0.98);
  --overlay-bg: rgba(0,0,0,0.3);
  --tabs-bg: rgba(248,249,252,0.95);

  --mesh-opacity: 0.5;
  --noise-opacity: 0.015;
  --client-logo-filter: grayscale(100%) brightness(1);
  --hero-flower-opacity: 0.55;
}

/* ===========================
   3. Animated Background
   =========================== */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: var(--mesh-opacity);
}

.bg-mesh::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(0,212,170,0.07) 0%, transparent 70%);
  animation: meshFloat 20s ease-in-out infinite;
}

.bg-mesh::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(123,47,190,0.06) 0%, transparent 70%);
  animation: meshFloat 25s ease-in-out infinite reverse;
}

/* Noise overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===========================
   4. Navigation
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
  padding: 12px 0;
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

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

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s;
  border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-trigger svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s;
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 60px var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.nav-dropdown-menu a:hover {
  background: rgba(0,212,170,0.08);
  color: var(--accent-teal);
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-cta {
  padding: 10px 24px;
  background: var(--gradient);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-on-gradient) !important;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0,212,170,0.3);
}

.nav-cta::after {
  display: none !important;
}

.nav-linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  opacity: 0.55;
  transition: opacity 0.2s, color 0.2s;
  flex-shrink: 0;
}

.nav-linkedin:hover {
  opacity: 1;
  color: #0a66c2;
}

.nav-linkedin::after {
  display: none !important;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
  color: var(--text-tertiary);
}

.theme-toggle:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.theme-toggle::after {
  display: none !important;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  width: 18px;
  height: 18px;
}

/* Dark mode: show moon, hide sun */
.theme-toggle .icon-sun {
  display: none;
}
.theme-toggle .icon-moon {
  display: block;
}

/* Light mode: show sun, hide moon */
[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}
[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}

/* Language Switcher (3-language dropdown) */
.lang-switcher {
  position: relative;
}

.lang-switcher-trigger {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  border: 1px solid var(--border-strong);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s;
}

.lang-switcher-trigger svg {
  width: 10px;
  height: 10px;
  transition: transform 0.3s;
}

.lang-switcher:hover .lang-switcher-trigger {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.lang-switcher:hover .lang-switcher-trigger svg {
  transform: rotate(180deg);
}

.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s;
  box-shadow: 0 10px 30px var(--shadow-lg);
  z-index: 1000;
}

.lang-switcher:hover .lang-switcher-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher-menu a {
  display: block;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 4px;
  text-align: center;
  transition: all 0.2s;
}

.lang-switcher-menu a:hover {
  background: rgba(0,212,170,0.08);
  color: var(--accent-teal);
}

.lang-switcher-menu a.active {
  color: var(--accent-teal);
  font-weight: 600;
}

.lang-switcher-menu a::after {
  display: none !important;
}

/* Mobile nav — hamburger button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

/* ===========================
   5. Typography & Utilities
   =========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
}

svg.icon {
  width: 12px;
  height: 12px;
}

/* ===========================
   6. Hero Sections
   =========================== */

/* --- Page Hero (subpages) --- */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: linear-gradient(180deg, rgba(0,212,170,0.04) 0%, transparent 100%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.page-hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
}

/* --- Homepage Hero --- */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

/* Azure spotlight — large sky blue radial glow behind the headline */
.hero::before {
  content: '';
  position: absolute;
  width: 1100px;
  height: 1100px;
  top: 50%;
  left: 32%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(85, 179, 219, 0.18) 0%,
    rgba(85, 179, 219, 0.08) 30%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
  animation: spotlightPulse 8s ease-in-out infinite;
}

/* Second spotlight behind the hero flower (right side) */
.hero::after {
  content: '';
  position: absolute;
  width: 900px;
  height: 900px;
  top: 48%;
  left: 72%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(85, 179, 219, 0.16) 0%,
    rgba(85, 179, 219, 0.08) 28%,
    rgba(85, 179, 219, 0.03) 50%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
  animation: spotlightPulse 10s ease-in-out infinite reverse;
}

/* Ensure hero content sits above the spotlight + beam */
.hero > .container {
  position: relative;
  z-index: 1;
}

/* Light mode — bold, saturated blue so the accent is unmistakable */
[data-theme="light"] .hero {
  background: linear-gradient(135deg,
    rgba(21, 92, 150, 0.06) 0%,
    rgba(21, 92, 150, 0.03) 60%,
    transparent 100%
  );
}

[data-theme="light"] .hero::before {
  background: radial-gradient(circle,
    rgba(21, 92, 150, 0.30) 0%,
    rgba(21, 92, 150, 0.14) 25%,
    rgba(21, 92, 150, 0.05) 45%,
    transparent 65%
  );
}

[data-theme="light"] .hero::after {
  background: radial-gradient(circle,
    rgba(21, 92, 150, 0.22) 0%,
    rgba(21, 92, 150, 0.10) 28%,
    rgba(21, 92, 150, 0.04) 50%,
    transparent 68%
  );
}

/* Light mode badge — stronger fill for contrast against the light hero */
[data-theme="light"] .hero-badge {
  background: rgba(21, 92, 150, 0.12);
  border-color: rgba(21, 92, 150, 0.35);
  box-shadow: 0 0 24px rgba(21, 92, 150, 0.18);
}

[data-theme="light"] .hero-badge .dot {
  box-shadow: 0 0 10px rgba(21, 92, 150, 0.7);
}

/* Light mode divider — more visible line + stronger centre glow */
[data-theme="light"] .hero-divider {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(21, 92, 150, 0.3) 25%,
    var(--accent-sky) 50%,
    rgba(21, 92, 150, 0.3) 75%,
    transparent 100%
  );
}

[data-theme="light"] .hero-divider::before {
  background: radial-gradient(ellipse, rgba(21, 92, 150, 0.45) 0%, transparent 70%);
}

@keyframes spotlightPulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 0.85; transform: translate(-50%, -50%) scale(1.04); }
}

/* Hero divider — sky blue line with a bright center glow */
.hero-divider {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(85, 179, 219, 0.2) 25%,
    var(--accent-sky) 50%,
    rgba(85, 179, 219, 0.2) 75%,
    transparent 100%
  );
}

.hero-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 20px;
  background: radial-gradient(ellipse, rgba(85, 179, 219, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: rgba(85, 179, 219, 0.10);
  border: 1px solid rgba(85, 179, 219, 0.28);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-sky);
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease-out 0.2s both;
  box-shadow: 0 0 20px rgba(85, 179, 219, 0.12);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-sky);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px rgba(85, 179, 219, 0.6);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease-out 0.3s both;
}

.hero h1 .gradient-text {
  background: var(--gradient-azure);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 440px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease-out 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease-out 0.5s both;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-on-gradient);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,212,170,0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  border: 1px solid var(--border-emphasis);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  background: rgba(0,212,170,0.05);
}

/* Hero -- Country Flags Bar */
.hero-countries {
  margin-top: 28px;
  animation: fadeUp 0.8s ease-out 0.8s both;
}

.hero-countries-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-country {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.hero-country .hc-flag {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  display: block;
}

.hero-country .hc-code {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

/* Flower motif */
.hero-flower {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: var(--hero-flower-opacity, 0.9);
  pointer-events: none;
}

.hero-flower img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
}

/* ===========================
   7. Cards & Grid Layouts
   =========================== */

/* --- Industries (static pill list) --- */
.industries {
  padding: 50px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.marquee-track {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.marquee-item {
  flex-shrink: 0;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  background: var(--surface-light);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.marquee-item:hover {
  background: rgba(0,212,170,0.1);
  border-color: rgba(0,212,170,0.35);
  color: var(--accent-teal);
}

.marquee-item .sep {
  display: none;
}

/* --- Services Section --- */
.services {
  padding: var(--section-pad) 0;
}

.services-header {
  margin-bottom: 60px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.services-grid > a.service-card-link {
  flex: 0 0 calc(33.333% - 14px);
}

a.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,170,0.15);
  box-shadow: 0 20px 60px var(--shadow-md);
}

.service-card .card-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.service-card .card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0,212,170,0.1);
  border-radius: 50%;
  margin-top: 20px;
  transition: all 0.3s;
}

.service-card .card-arrow svg {
  width: 16px;
  height: 16px;
  color: var(--accent-teal);
  transition: transform 0.3s;
}

.service-card:hover .card-arrow {
  background: var(--gradient);
}

.service-card:hover .card-arrow svg {
  color: var(--text-on-gradient);
  transform: translateX(3px);
}

/* --- Stats Section --- */
.stats {
  padding: 80px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-header {
  text-align: center;
  margin-bottom: 48px;
}

.stats-header .section-title {
  font-size: clamp(22px, 2.5vw, 30px);
}

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

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- Clients Section --- */
.clients {
  padding: var(--section-pad) 0;
}

.clients-header {
  text-align: center;
  margin-bottom: var(--section-pad);
}

.clients-header .section-desc {
  margin: 0 auto;
}

.clients-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-track {
  display: flex;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.client-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  height: 60px;
  opacity: 0.4;
  filter: var(--client-logo-filter);
  transition: all 0.3s;
}

.client-logo:hover {
  opacity: 0.8;
  filter: grayscale(0%);
}

.client-logo img {
  max-height: 40px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* --- Team Section --- */
.team {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
}

.team-header {
  margin-bottom: 60px;
}

/* Team Carousel */
.team-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 -16px;
  padding: 0 16px;
}

.team-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0 24px;
}

.team-carousel-track::-webkit-scrollbar {
  display: none;
}

.team-card {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
  min-width: 280px;
}

.team-carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.team-carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-emphasis);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  font-size: 18px;
}

.team-carousel-btn:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  background: rgba(0,212,170,0.05);
}

.team-carousel-dots {
  display: flex;
  gap: 8px;
}

.team-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-emphasis);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.team-carousel-dot.active {
  background: var(--accent-teal);
  width: 24px;
  border-radius: 4px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,212,170,0.15);
  box-shadow: 0 24px 64px var(--shadow-md);
}

.team-card-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-card-alt), var(--bg-card));
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-card-photo .photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: 0.3;
}

.team-card-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--bg-card), transparent);
}

.team-card-info {
  padding: 24px;
}

.team-card-info h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-card-info .role {
  font-size: 13px;
  color: var(--accent-teal);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card-info p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.team-card-info .team-card-bio {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: -webkit-line-clamp 0.3s ease;
}

.team-card.expanded .team-card-info .team-card-bio {
  -webkit-line-clamp: unset;
  display: block;
}

.team-card-readmore {
  display: block;
  margin-top: 4px;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-teal);
  cursor: pointer;
  letter-spacing: 0.3px;
  text-align: left;
  transition: opacity 0.2s;
}

.team-card-readmore::after {
  content: " \2192";
  display: inline-block;
  transition: transform 0.2s;
}

.team-card.expanded .team-card-readmore::after {
  transform: rotate(90deg);
}

.team-card-readmore:hover {
  opacity: 0.85;
}

.team-card-info .linkedin {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.team-card-info .linkedin:hover {
  color: var(--accent-teal);
}

.team-card-info .linkedin svg {
  width: 16px;
  height: 16px;
}

/* --- Office Cards (contact page) --- */
.offices {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.office-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
}

.office-card:hover {
  border-color: rgba(0,212,170,0.15);
  box-shadow: 0 12px 40px var(--shadow-sm);
}

.office-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.office-flag {
  font-size: 22px;
}

.office-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.office-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.office-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.d-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,170,0.08);
  border-radius: var(--radius-sm);
}

.d-icon svg {
  width: 16px;
  height: 16px;
  color: var(--accent-teal);
}

.office-detail p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.office-detail a {
  color: var(--text-secondary);
  transition: color 0.3s;
}

.office-detail a:hover {
  color: var(--accent-teal);
}

/* --- Map Section (contact page) --- */
.map-section {
  margin-top: 80px;
}

.map-section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.map-section .map-sub {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.map-card {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-card .map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,170,0.06), rgba(123,47,190,0.06));
}

.map-card .map-content {
  position: relative;
  text-align: center;
}

.map-card .map-flag {
  font-size: 28px;
  margin-bottom: 8px;
}

.map-card .map-city {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}

.map-card .map-address {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* --- Countries Bar (contact page) --- */
.countries-bar {
  margin-top: 60px;
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.countries-bar h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.country-flags {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.country-flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.country-flag-item .cflag {
  font-size: 24px;
}

.country-flag-item .ccode {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-tertiary);
}

/* ===========================
   8. Contact Forms
   =========================== */

/* Homepage contact section */
.contact {
  padding: var(--section-pad) 0;
}

/* Contact page section */
.contact-section {
  padding: 40px 0 100px;
}

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

.contact-info {
  padding-top: 10px;
}

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail .detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,170,0.08);
  border-radius: var(--radius-sm);
}

.contact-detail .detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent-teal);
}

.contact-detail .detail-text h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-detail .detail-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Quick contacts (contact page) */
.quick-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quick-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.quick-contact:hover {
  border-color: rgba(0,212,170,0.15);
}

.qc-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: var(--radius-sm);
}

.qc-icon svg {
  width: 18px;
  height: 18px;
  color: var(--text-on-gradient);
}

.qc-text h5 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.qc-text p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(0,212,170,0.1);
}

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

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  margin-top: 8px;
  background: var(--gradient);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-on-gradient);
  cursor: pointer;
  transition: all 0.3s;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,212,170,0.3);
}

.hidden {
  display: none;
}

/* ===========================
   9. Footer
   =========================== */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

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

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-tertiary);
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-tertiary);
  padding: 6px 0;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--accent-teal);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
}

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

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

.footer-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-light);
  transition: all 0.3s;
}

.footer-socials a:hover {
  background: var(--gradient);
  transform: translateY(-2px);
}

.footer-socials a svg {
  width: 16px;
  height: 16px;
}

/* Simplified footer (subpages) */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-inner p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-logo {
  display: flex;
  align-items: center;
}

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

/* --- Footer legal link --- */
.footer-legal-link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-legal-link:hover {
  color: var(--accent);
}

.footer-bottom .footer-legal-link {
  margin-left: 16px;
}

/* --- Form consent text --- */
.form-consent {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 4px;
  line-height: 1.5;
}

.form-consent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent a:hover {
  color: var(--accent-hover);
}

/* ===========================
   9b. Legal Page Styles
   =========================== */
.legal-content {
  padding: 40px 0 80px;
}

.legal-body {
  max-width: 800px;
  margin: 0 auto;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.legal-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.legal-body ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-body li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body a:hover {
  color: var(--accent-hover);
}

/* --- 404 page --- */
.error-body {
  text-align: center;
}

.error-suggestion {
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.error-actions .nav-cta {
  display: inline-block;
}

.error-actions .nav-cta-outline {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  background: transparent;
  border: 1px solid rgba(0,212,170,0.5);
  color: var(--accent);
  transition: all 0.3s;
}

.error-actions .nav-cta-outline:hover {
  background: rgba(0,212,170,0.1);
  border-color: var(--accent);
}

/* ===========================
   10. Report / Article Styles
   =========================== */

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 100px 24px 0;
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-secondary);
}
.breadcrumb a { color: var(--accent-teal); }
.breadcrumb a:hover { text-decoration: underline; }

/* --- Designed Report (full-bleed shell for CMS-designed HTML reports) --- */
.report-designed {
  padding-top: 100px;
}

/* The preprocessor scopes designer styles under `.report-designed`, so any
   `body { background: ... }` the designer wrote becomes
   `.report-designed { background: ... }` — typically solid white. That
   background sits beneath the fixed, otherwise-transparent nav at the top
   of the page, so the nav visually inherits the designer's white even in
   dark mode. Paint the base nav with the site's theme background when a
   designed report is on the page so the nav matches the mode the visitor
   arrived in. `.scrolled` keeps its own semi-transparent bg. */
body:has(.report-designed) .nav:not(.scrolled) {
  background: var(--bg-primary);
}

/* Share strip sits OUTSIDE .report-designed so the designer's
   `* { margin:0; padding:0 }` reset doesn't strip .share-btn styles. */
.report-share-strip {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  justify-content: center;
}

/* --- Report Article --- */
.report-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}

.report-header { margin-bottom: 48px; }
.report-header h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.report-meta {
  display: flex;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 14px;
}

.report-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 16px;
}
.report-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 12px;
}
.report-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
}
.report-content blockquote {
  border-left: 3px solid var(--accent-teal);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(0,212,170,0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-body);
  font-style: italic;
}
.report-content ul, .report-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
  list-style: disc;
  color: var(--text-body);
}
.report-content ol { list-style: decimal; }
.report-content li {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.report-content img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}
.report-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.report-content th, .report-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-strong);
  font-size: 15px;
}
.report-content th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent-teal);
}

.report-footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-strong); }
.share-buttons { display: flex; gap: 12px; }
.share-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border-emphasis);
  background: transparent;
  color: var(--text-primary);
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.share-btn:hover { border-color: var(--accent-teal); color: var(--accent-teal); }
.share-linkedin { background: rgba(0,119,181,0.15); border-color: rgba(0,119,181,0.3); }

/* --- Reports Listing --- */
.reports-section { padding: 40px 0 100px; }
.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.report-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
  text-decoration: none;
}
.report-card:hover {
  border-color: rgba(0,212,170,0.2);
  transform: translateY(-4px);
}
.report-card-date {
  font-size: 13px;
  color: var(--accent-teal);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.report-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 12px 0;
  line-height: 1.3;
}
.report-card-summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.report-card-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-teal);
}

/* ===========================
   11. Page-Specific Styles
   =========================== */

/* --- Service Navigation Tabs (areas-de-experiencia) --- */
.service-nav {
  position: sticky;
  top: 64px;
  z-index: 100;
  background: var(--nav-sticky-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.service-nav::-webkit-scrollbar {
  display: none;
}

.service-nav-inner {
  display: flex;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.service-nav-item {
  flex-shrink: 0;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
  white-space: nowrap;
}

.service-nav-item:hover {
  color: var(--text-secondary);
}

.service-nav-item.active {
  color: var(--accent-teal);
  border-bottom-color: var(--accent-teal);
}

/* --- Service Detail Sections (areas-de-experiencia) --- */
.service-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--surface-subtle);
  /* Anchor scroll target: land the section's top edge BEHIND the fixed
     main nav (~100px tall when scrolled). Section padding-top: 100px
     fills the area covered by the nav, so the service-number heading is
     the first visible content right below the nav with a small breathing
     room. Larger values leave the previous section's tail visible at top.
     Mobile compensates for smaller padding-top in the breakpoint below. */
  scroll-margin-top: 30px;
}

/* Inline keyword highlight for technical specialty lists in service prose.
   Brand teal + slight weight bump — kept in body font per customer brief
   ("manteniendo la línea de colores y fuentes"). */
.text-accent {
  color: var(--accent-teal);
  font-weight: 500;
}

.service-section:last-child {
  border-bottom: none;
}

/* The last service section has only the CTA banner + footer below it. On
   tall viewports that's not enough content for the browser to scroll the
   section to the top of the viewport — it caps at max-scroll (document
   end) before reaching the scroll-margin offset, leaving the previous
   section visible above. min-height guarantees enough internal runway
   so the browser can always anchor it correctly. The extra height shows
   as breathing room at the bottom of the section, which reads as natural
   spacing before the CTA banner. */
#leadership.service-section {
  min-height: calc(100vh - 30px);
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-layout.reverse {
  direction: rtl;
}

.service-layout.reverse > * {
  direction: ltr;
}

.service-number {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 20px;
}

.service-content h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.service-content .lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.service-content .desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-tertiary);
  margin-bottom: 30px;
}

/* Value Props */
.value-props-heading {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-top: 32px;
  margin-bottom: 18px;
}

.value-props {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.value-prop {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.value-prop .check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,212,170,0.1);
  border-radius: 50%;
  margin-top: 2px;
}

.value-prop .check svg {
  width: 12px;
  height: 12px;
  color: var(--accent-teal);
}

.value-prop p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Role Tags */
.roles-section {
  margin-top: 30px;
}

.roles-section h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.role-tag {
  padding: 10px 16px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.role-abbr {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--accent-teal);
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.role-title {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.3;
  transition: color 0.3s;
}

.role-tag:hover {
  border-color: rgba(0, 212, 170, 0.4);
  background: rgba(0, 212, 170, 0.07);
}

.role-tag:hover .role-abbr {
  color: #00E8BC;
}

.role-tag:hover .role-title {
  color: rgba(0, 212, 170, 0.7);
}

/* Executive Search — Roles header with count badge */
.roles-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.roles-header h4 {
  margin-bottom: 0;
}

.role-count-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-teal);
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}

/* Role tags fade transition */
.role-tags {
  transition: opacity 0.2s ease;
}

/* Executive Search — Interactive industry pills */
.industry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.industry-pill {
  padding: 8px 16px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s;
}

.industry-pill:hover {
  border-color: rgba(0, 212, 170, 0.35);
  background: rgba(0, 212, 170, 0.06);
  color: var(--text-primary);
}

.industry-pill.active,
.industry-pill[aria-pressed="true"] {
  border-color: var(--accent-teal);
  background: var(--accent-teal);
  color: #070B1E;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(0, 212, 170, 0.3);
}

/* Service Visual Card */
.service-visual {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-visual .visual-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,170,0.08), rgba(123,47,190,0.08));
}

.service-visual .visual-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  opacity: 0.15;
}

.service-visual .visual-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

/* Industries card inside service section */
.industries-section {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: 30px;
}

.industries-section h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.industry-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.industry-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  opacity: 0.6;
}

/* --- CTA Banner (areas-de-experiencia) --- */
.cta-banner {
  margin: 100px 0;
  padding: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,170,0.05), rgba(123,47,190,0.05));
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 30px;
  position: relative;
}

/* --- Page Tabs (homepage) --- */
.page-tabs {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  background: var(--tabs-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 6px;
  z-index: 1000;
}

.page-tab {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s;
  cursor: pointer;
  white-space: nowrap;
}

.page-tab:hover {
  color: var(--text-primary);
}

.page-tab.active {
  background: var(--gradient);
  color: var(--text-on-gradient);
}

/* ===========================
   12. Animations
   =========================== */
@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes slowRotate {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   13. Responsive Breakpoints
   =========================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-flower { display: none; }
  .hero-countries-list { justify-content: center; }
  .team-card { flex: 0 0 calc(50% - 10px); }
  .team-card-photo { aspect-ratio: 1 / 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .service-layout { grid-template-columns: 1fr; }
  .service-layout.reverse { direction: ltr; }
  .service-visual { max-width: 500px; }
  .services-grid > a.service-card-link { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 768px) {
  :root { --section-pad: 70px; }

  /* hero-flower hidden at 1024px breakpoint above */

  /* ===== MOBILE MENU ===== */
  .hamburger { display: block; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-subtle);
    z-index: 999;
    display: flex;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 18px;
  }

  .nav-cta {
    margin-top: 16px;
  }

  /* Hamburger → X animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Overlay behind menu */
  .menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay-bg);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Dropdown in mobile — show inline */
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: 0;
  }

  .nav-dropdown-menu a {
    font-size: 15px;
    padding: 6px 0;
    color: var(--text-secondary);
  }

  /* Language switcher in mobile — inline links */
  .lang-switcher-trigger {
    display: none;
  }

  .lang-switcher-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: flex;
    gap: 8px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: 0;
  }

  .lang-switcher-menu a {
    font-size: 16px;
    padding: 4px 8px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
  }

  .lang-switcher-menu a.active {
    border-color: var(--accent-teal);
  }

  .hero h1 { font-size: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-card { flex: 0 0 calc(100% - 0px); min-width: unset; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .services-grid > a.service-card-link { flex: 0 0 100%; }
  .page-tabs { display: none; }
  /* Mobile padding-top is smaller, so scroll-margin compensates to keep
     the heading from landing behind the fixed main nav. */
  .service-section { padding: 60px 0; scroll-margin-top: 70px; }
  .map-grid { grid-template-columns: 1fr; }
  .reports-grid { grid-template-columns: 1fr; }
  .report-meta { flex-direction: column; gap: 8px; }
  .share-buttons { flex-direction: column; }
  .client-logo { padding: 0 24px; }
  .client-logo img { max-height: 30px; max-width: 90px; }
}
