/* ==========================================================================
   ADEX Investment Bank — Main Stylesheet
   First dedicated investment bank focused on Uzbekistan
   adexuz.com
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* — Color Palette — */
  --color-navy:        #0A1628;
  --color-navy-light:  #111D33;
  --color-navy-mid:    #162240;
  --color-gold:        #C9A96E;
  --color-gold-light:  #D4BC8E;
  --color-gold-dark:   #A88B4A;
  --color-white:       #FFFFFF;
  --color-light:       #F5F5F0;
  --color-gray-light:  #E8E8E3;
  --color-gray:        #6B7280;
  --color-gray-dark:   #3D4551;
  --color-dark:        #1A1A2E;
  --color-black:       #000000;
  --color-success:     #2D8A4E;
  --color-error:       #C62828;
  --color-overlay:     rgba(10, 22, 40, 0.85);

  /* — Typography — */
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                'Helvetica Neue', Arial, 'Noto Sans', 'Noto Sans Arabic',
                'Noto Sans SC', 'Noto Sans JP', sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-mono:  'SF Mono', 'Fira Code', 'Consolas', monospace;

  --fs-xs:    0.75rem;    /* 12px */
  --fs-sm:    0.875rem;   /* 14px */
  --fs-base:  1rem;       /* 16px */
  --fs-md:    1.125rem;   /* 18px */
  --fs-lg:    1.25rem;    /* 20px */
  --fs-xl:    1.5rem;     /* 24px */
  --fs-2xl:   1.875rem;   /* 30px */
  --fs-3xl:   2.25rem;    /* 36px */
  --fs-4xl:   3rem;       /* 48px */
  --fs-5xl:   3.75rem;    /* 60px */

  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  --lh-tight:   1.2;
  --lh-normal:  1.6;
  --lh-loose:   1.8;

  --ls-normal:  0;
  --ls-wide:    0.04em;
  --ls-wider:   0.08em;

  /* — Spacing — */
  --space-xs:   0.25rem;   /* 4px  */
  --space-sm:   0.5rem;    /* 8px  */
  --space-md:   1rem;      /* 16px */
  --space-lg:   1.5rem;    /* 24px */
  --space-xl:   2rem;      /* 32px */
  --space-2xl:  3rem;      /* 48px */
  --space-3xl:  4rem;      /* 64px */
  --space-4xl:  6rem;      /* 96px */
  --space-5xl:  8rem;      /* 128px */

  /* — Layout — */
  --max-width:    1280px;
  --max-width-sm: 900px;
  --max-width-lg: 1440px;
  --header-h:     80px;
  --container-px: var(--space-xl);

  /* — Borders & Radius — */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  /* — Shadows — */
  --shadow-sm:   0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:   0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg:   0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl:   0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

  /* — Transitions — */
  --transition-fast:   150ms ease;
  --transition-base:   300ms ease;
  --transition-slow:   500ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* — Z-Index Scale — */
  --z-base:      1;
  --z-dropdown:  100;
  --z-sticky:    200;
  --z-overlay:   300;
  --z-modal:     400;
  --z-toast:     500;
}


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

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

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-dark);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-navy);
}

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

p:last-child {
  margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   2. ACCESSIBILITY
   -------------------------------------------------------------------------- */

/* Skip to content link */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: var(--z-toast);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-navy);
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-to-content:focus {
  top: var(--space-md);
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Focus indicators */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

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

/* High contrast mode */
.high-contrast {
  --color-navy:      #000000;
  --color-dark:      #000000;
  --color-gray:      #555555;
  --color-gold:      #D4A017;
  --color-light:     #FFFFFF;
  --color-gray-light:#E0E0E0;
  --color-overlay:   rgba(0, 0, 0, 0.9);
}

.high-contrast a,
.high-contrast button {
  text-decoration: underline;
}

.high-contrast .btn-primary {
  background-color: #000000;
  color: var(--color-white);
  border: 2px solid var(--color-gold);
}


/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1 { font-size: var(--fs-4xl); letter-spacing: var(--ls-wide); }
h2 { font-size: var(--fs-3xl); letter-spacing: var(--ls-normal); }
h3 { font-size: var(--fs-2xl); letter-spacing: var(--ls-normal); }
h4 { font-size: var(--fs-xl);  letter-spacing: var(--ls-normal); }
h5 { font-size: var(--fs-lg);  letter-spacing: var(--ls-normal); }
h6 { font-size: var(--fs-md);  letter-spacing: var(--ls-normal); }

.section-label {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: var(--fs-3xl);
  color: var(--color-navy);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--color-gray);
  max-width: 640px;
  line-height: var(--lh-loose);
}

.section-header {
  margin-bottom: var(--space-3xl);
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.text-gold   { color: var(--color-gold); }
.text-navy   { color: var(--color-navy); }
.text-gray   { color: var(--color-gray); }
.text-white  { color: var(--color-white); }
.text-center { text-align: center; }


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

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

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

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

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

.section--navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

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

.section--navy .section-subtitle {
  color: var(--color-gray-light);
}

.flex {
  display: flex;
}

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

.flex--between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

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


/* --------------------------------------------------------------------------
   5. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: var(--z-sticky);
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
  background-color: transparent;
}

.header.scrolled {
  background-color: var(--color-navy);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  flex-shrink: 0;
}

.header__logo-icon {
  width: 36px;
  height: 36px;
}

.header__logo span {
  color: var(--color-gold);
}

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

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

.header__nav-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

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

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

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

/* Language Switcher */
.header__lang {
  position: relative;
}

.header__lang-btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.header__lang-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.header__lang-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.header__lang-dropdown {
  position: absolute;
  top: calc(100% + var(--space-sm));
  right: 0;
  min-width: 160px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: var(--z-dropdown);
}

.header__lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__lang-option {
  display: block;
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-sm);
  color: var(--color-dark);
  text-align: left;
  transition: background-color var(--transition-fast);
}

.header__lang-option:hover {
  background-color: var(--color-light);
}

.header__lang-option.active {
  color: var(--color-gold);
  font-weight: var(--fw-semibold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  gap: 6px;
  z-index: calc(var(--z-overlay) + 1);
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: calc(var(--header-h) + var(--space-3xl)) var(--container-px) var(--space-3xl);
  background-color: var(--color-navy);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.92) 0%,
    rgba(22, 34, 64, 0.85) 50%,
    rgba(10, 22, 40, 0.90) 100%
  );
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
}

.hero__label {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--color-gold);
  margin-bottom: var(--space-xl);
  border: 1px solid rgba(201, 169, 110, 0.4);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
}

.hero__title {
  font-size: var(--fs-5xl);
  color: var(--color-white);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.01em;
}

.hero__title .gold {
  color: var(--color-gold);
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--lh-loose);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Primary */
.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background-color: var(--color-gold-light);
  border-color: var(--color-gold-light);
  box-shadow: 0 4px 12px rgba(201, 169, 110, 0.3);
}

/* Secondary */
.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

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

/* Dark variant (for light backgrounds) */
.btn-dark {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.btn-dark:hover {
  background-color: var(--color-navy-light);
  border-color: var(--color-navy-light);
}

/* Outline dark variant */
.btn-outline-dark {
  background-color: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

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

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--color-gold);
  border: none;
  padding: var(--space-sm) 0;
}

.btn-ghost:hover {
  color: var(--color-gold-light);
}

.btn-ghost::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width var(--transition-base);
}

.btn-ghost:hover::after {
  width: 100%;
}

/* Small */
.btn--sm {
  font-size: var(--fs-xs);
  padding: var(--space-sm) var(--space-md);
}

/* Large */
.btn--lg {
  font-size: var(--fs-base);
  padding: var(--space-md) var(--space-2xl);
}


/* --------------------------------------------------------------------------
   8. STATS BAR
   -------------------------------------------------------------------------- */
.stats {
  background-color: var(--color-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-3xl) 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat {
  padding: var(--space-lg);
}

.stat__number {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat__label {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.stat__divider {
  width: 40px;
  height: 1px;
  background-color: var(--color-gold);
  margin: var(--space-md) auto 0;
  opacity: 0.4;
}


/* --------------------------------------------------------------------------
   9. CARDS
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.card--bordered {
  border: 1px solid var(--color-gray-light);
}

.card--navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(201, 169, 110, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  color: var(--color-gold);
}

.card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-md);
}

.card__text {
  font-size: var(--fs-sm);
  color: var(--color-gray);
  line-height: var(--lh-loose);
}

.card__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.card__list {
  margin-top: var(--space-md);
}

.card__list li {
  position: relative;
  padding-left: var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--color-gray);
  line-height: var(--lh-loose);
  margin-bottom: var(--space-sm);
}

.card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-gold);
}

/* Service card */
.service-card {
  padding: var(--space-2xl);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}


/* --------------------------------------------------------------------------
   10. TEAM / LEADERSHIP
   -------------------------------------------------------------------------- */
.team-card {
  text-align: center;
  padding: var(--space-2xl);
}

.team-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  background-color: var(--color-gray-light);
  overflow: hidden;
  border: 3px solid var(--color-gold);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.team-card__role {
  font-size: var(--fs-sm);
  color: var(--color-gold);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-md);
}

.team-card__bio {
  font-size: var(--fs-sm);
  color: var(--color-gray);
  line-height: var(--lh-loose);
}


/* --------------------------------------------------------------------------
   11. PORTFOLIO / PIPELINE
   -------------------------------------------------------------------------- */
.portfolio-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-gray-light);
}

.portfolio-item:first-child {
  border-top: 1px solid var(--color-gray-light);
}

.portfolio-item__info {
  flex: 1;
}

.portfolio-item__name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.portfolio-item__sector {
  font-size: var(--fs-sm);
  color: var(--color-gray);
  margin-bottom: var(--space-sm);
}

.portfolio-item__description {
  font-size: var(--fs-sm);
  color: var(--color-gray);
  line-height: var(--lh-loose);
  max-width: 600px;
}

.portfolio-item__value {
  text-align: right;
  white-space: nowrap;
}

.portfolio-item__amount {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-gold);
}

.portfolio-item__status {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  margin-top: var(--space-xs);
}

.portfolio-item__status--active {
  background-color: rgba(45, 138, 78, 0.1);
  color: var(--color-success);
}

.portfolio-item__status--pipeline {
  background-color: rgba(201, 169, 110, 0.1);
  color: var(--color-gold-dark);
}


/* --------------------------------------------------------------------------
   12. CTA SECTION
   -------------------------------------------------------------------------- */
.cta {
  background-color: var(--color-navy);
  padding: var(--space-5xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta__content {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: var(--fs-3xl);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.cta__subtitle {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--lh-loose);
}


/* --------------------------------------------------------------------------
   13. FORMS (Contact)
   -------------------------------------------------------------------------- */
/* PLACEHOLDER: Interactive form embedding
   Replace with open-source form solution (e.g., Formbricks, 填表鸭, Tally self-hosted)
   <div id="form-embed-container" data-form-id="contact-form"></div>
*/
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  font-size: var(--fs-base);
  color: var(--color-dark);
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-sm);
  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(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

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

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

.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='%236B7280'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-error {
  font-size: var(--fs-xs);
  color: var(--color-error);
  margin-top: var(--space-xs);
}

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


/* --------------------------------------------------------------------------
   14. OFFICES / CONTACT INFO
   -------------------------------------------------------------------------- */
.office-card {
  padding: var(--space-2xl);
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-md);
}

.office-card__city {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.office-card__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-gold);
  background-color: rgba(201, 169, 110, 0.1);
  padding: 2px var(--space-sm);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.office-card__detail {
  font-size: var(--fs-sm);
  color: var(--color-gray);
  margin-bottom: var(--space-xs);
  line-height: var(--lh-loose);
}

.office-card__detail a {
  color: var(--color-gold-dark);
  transition: color var(--transition-fast);
}

.office-card__detail a:hover {
  color: var(--color-gold);
}


/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--color-navy);
  color: rgba(255, 255, 255, 0.65);
  padding: var(--space-4xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  display: inline-block;
}

.footer__logo span {
  color: var(--color-gold);
}

.footer__desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
  margin-bottom: var(--space-lg);
}

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

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background-color: rgba(201, 169, 110, 0.1);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer__column-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--space-lg);
}

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

.footer__link {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
}

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

/* Footer bottom bar */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) 0;
  font-size: var(--fs-xs);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer__bottom-link {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-fast);
}

.footer__bottom-link:hover {
  color: var(--color-gold);
}

/* Footer accessibility controls */
.footer__a11y {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer__a11y-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  transition: all var(--transition-fast);
}

.footer__a11y-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.footer__a11y-btn.active {
  background-color: var(--color-gold);
  color: var(--color-navy);
}

.footer__a11y-label {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
}


/* --------------------------------------------------------------------------
   16. COOKIE CONSENT BANNER
   -------------------------------------------------------------------------- */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-xl) 0;
  z-index: var(--z-toast);
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.cookie-consent.visible {
  transform: translateY(0);
}

.cookie-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.cookie-consent__text {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--lh-loose);
  max-width: 600px;
}

.cookie-consent__text a {
  color: var(--color-gold);
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  gap: var(--space-md);
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   17. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.reveal--left {
  opacity: 0;
  transform: translateX(-30px);
}

.reveal--left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal--right {
  opacity: 0;
  transform: translateX(30px);
}

.reveal--right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.95);
}

.reveal--scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 400ms; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 500ms; }

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}


/* --------------------------------------------------------------------------
   18. PAGE HERO (Inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  padding: calc(var(--header-h) + var(--space-4xl)) 0 var(--space-3xl);
  background-color: var(--color-navy);
  text-align: center;
}

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

.page-hero__subtitle {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--lh-loose);
}


/* --------------------------------------------------------------------------
   19. DIVIDERS & DECORATIONS
   -------------------------------------------------------------------------- */
.divider {
  width: 60px;
  height: 2px;
  background-color: var(--color-gold);
  margin: var(--space-lg) auto;
}

.divider--left {
  margin-left: 0;
}


/* --------------------------------------------------------------------------
   20. VALUES / FEATURES GRID
   -------------------------------------------------------------------------- */
.value-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg);
}

.value-item__number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  border-radius: 50%;
}

.value-item__content h4 {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xs);
}

.value-item__content p {
  font-size: var(--fs-sm);
  color: var(--color-gray);
  line-height: var(--lh-loose);
}


/* --------------------------------------------------------------------------
   21. BREADCRUMBS
   -------------------------------------------------------------------------- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-md);
  justify-content: center;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--color-gold);
}

.breadcrumbs__separator {
  color: rgba(255, 255, 255, 0.2);
}


/* --------------------------------------------------------------------------
   22. MISC / UTILITIES
   -------------------------------------------------------------------------- */
.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;
}

.visually-hidden {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  word-wrap: normal;
}

.gold-line {
  width: 60px;
  height: 2px;
  background-color: var(--color-gold);
}

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

.badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background-color: rgba(201, 169, 110, 0.1);
  color: var(--color-gold);
}

.badge--dark {
  background-color: rgba(201, 169, 110, 0.15);
  color: var(--color-gold);
}


/* --------------------------------------------------------------------------
   23. RTL SUPPORT (Arabic)
   -------------------------------------------------------------------------- */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .header__inner {
  flex-direction: row-reverse;
}

[dir="rtl"] .header__logo {
  flex-direction: row-reverse;
}

[dir="rtl"] .header__nav {
  flex-direction: row-reverse;
}

[dir="rtl"] .header__nav-links {
  flex-direction: row-reverse;
}

[dir="rtl"] .hamburger {
  order: -1;
}

[dir="rtl"] .footer__grid {
  direction: rtl;
}

[dir="rtl"] .card__list li {
  padding-left: 0;
  padding-right: var(--space-lg);
}

[dir="rtl"] .card__list li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .value-item {
  flex-direction: row-reverse;
}

[dir="rtl"] .portfolio-item {
  grid-template-columns: auto 1fr;
  direction: rtl;
}

[dir="rtl"] .portfolio-item__value {
  text-align: left;
}

[dir="rtl"] .form-input,
[dir="rtl"] .form-textarea,
[dir="rtl"] .form-select {
  text-align: right;
}

[dir="rtl"] .form-select {
  background-position: left 16px center;
  padding-right: var(--space-md);
  padding-left: 40px;
}

[dir="rtl"] .skip-to-content {
  left: auto;
  right: var(--space-md);
}

[dir="rtl"] .cookie-consent__inner {
  flex-direction: row-reverse;
}

[dir="rtl"] .footer__bottom {
  flex-direction: row-reverse;
}


/* --------------------------------------------------------------------------
   24. PRINT STYLESHEET
   -------------------------------------------------------------------------- */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .header,
  .hamburger,
  .hero__scroll-indicator,
  .cookie-consent,
  .footer__a11y,
  .skip-to-content,
  .btn-secondary {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
    background: #fff;
  }

  .hero__title,
  .hero__subtitle,
  .page-hero__title,
  .page-hero__subtitle {
    color: #000;
  }

  a {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }

  a[href^="#"]::after {
    content: "";
  }

  .section {
    padding: 1.5rem 0;
  }

  .card,
  .service-card,
  .office-card {
    break-inside: avoid;
    border: 1px solid #ddd;
  }

  .stats {
    background: #f5f5f5;
    border: 1px solid #ddd;
  }

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

  .footer {
    background: #fff;
    padding: 1rem 0;
  }

  .footer__logo {
    color: #000;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h2, h3 {
    page-break-after: avoid;
  }

  @page {
    margin: 2cm;
  }
}
