/* ========================================
   BELGHITI ADVISORY - MAIN STYLES
   Tier-1 Consulting Firm Website (Upgraded)
   ======================================== */

/* CSS Variables */
:root {
  --deep-navy: #040d1a;
  --light-navy: #081629;
  --warm-ivory: #faf8f5;
  --burnished-gold: #b38f62;
  --gold-glow: rgba(179, 143, 98, 0.15);
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #b38f62 50%, #8c6b3e 100%);
  --charcoal: #141414;
  --muted-sage: #5e6d62;
  --soft-gray: #7a7a7a;
  --border-light: rgba(179, 143, 98, 0.15);
  --border-medium: rgba(179, 143, 98, 0.3);
  
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --transition-fast: 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-medium: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 50px rgba(4, 13, 26, 0.15);
  --shadow-glow: 0 0 30px rgba(179, 143, 98, 0.12);
}

/* RTL Global Adjustments */
[dir="rtl"] {
  text-align: right;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--charcoal);
  background-color: var(--warm-ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast), border var(--transition-fast);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

h4 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

p {
  margin-bottom: 1.5rem;
}

.micro-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burnished-gold);
}

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

/* ========================================
   NAVIGATION
   ======================================== */

.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), height var(--transition-fast);
}

.navigation.scrolled {
  height: 80px;
  background: rgba(4, 13, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.navigation.hidden {
  transform: translateY(-100%);
}

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

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--warm-ivory);
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burnished-gold);
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-menu a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--warm-ivory);
  position: relative;
  padding: 8px 0;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.nav-menu a:hover {
  opacity: 1;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--burnished-gold);
  transition: width var(--transition-fast);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-lang {
  display: flex;
  gap: 16px;
}

.nav-lang a {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(250, 248, 245, 0.5);
  transition: color var(--transition-fast);
}

.nav-lang a:hover,
.nav-lang a.active {
  color: var(--burnished-gold);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--warm-ivory);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ========================================
   RTL Navigation Adjustments
   ======================================== */
[dir="rtl"] .logo-main {
  letter-spacing: 0.1em;
}
[dir="rtl"] .logo-sub {
  letter-spacing: 0.1em;
}
[dir="rtl"] .nav-menu a::after {
  left: auto;
  right: 0;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: var(--deep-navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(8, 22, 41, 0.4) 0%, rgba(4, 13, 26, 1) 100%);
  z-index: 1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-skyline.jpg') center/cover no-repeat;
  opacity: 0.25;
  filter: grayscale(30%) contrast(110%);
}

/* Aura glow */
.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(179, 143, 98, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  top: 10%;
  left: 15%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6.5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--warm-ivory);
  margin-bottom: 36px;
}

.hero-headline span {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-headline span:nth-child(1) { animation-delay: 0.2s; }
.hero-headline span:nth-child(2) { animation-delay: 0.35s; }
.hero-headline span:nth-child(3) { animation-delay: 0.5s; }

.hero-subhead {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(250, 248, 245, 0.8);
  max-width: 720px;
  margin: 0 auto 52px;
  opacity: 0;
  animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--burnished-gold);
  border: 1px solid var(--border-medium);
  padding: 16px 36px;
  background: rgba(179, 143, 98, 0.05);
  opacity: 0;
  animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.95s forwards;
  transition: all var(--transition-fast);
}

.hero-cta:hover {
  background: var(--burnished-gold);
  color: var(--deep-navy);
  border-color: var(--burnished-gold);
  box-shadow: 0 10px 25px rgba(179, 143, 98, 0.2);
}

.hero-cta svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.hero-cta:hover svg {
  transform: translateX(6px);
}

[dir="rtl"] .hero-cta:hover svg {
  transform: translateX(-6px) scaleX(-1);
}
[dir="rtl"] .hero-cta svg {
  transform: scaleX(-1);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--burnished-gold) 0%, rgba(179, 143, 98, 0) 100%);
  animation: scrollDown 2s infinite ease-in-out;
}

/* ========================================
   CREDIBILITY STRIP
   ======================================== */

.credibility-strip {
  background: var(--light-navy);
  padding: 28px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.credibility-text {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.credibility-text span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.credibility-text span::after {
  content: '•';
  color: var(--burnished-gold);
  margin-left: 24px;
}

[dir="rtl"] .credibility-text span::after {
  margin-left: 0;
  margin-right: 24px;
}

.credibility-text span:last-child::after {
  display: none;
}

/* ========================================
   THREE/FOUR PILLARS SECTION
   ======================================== */

.pillars {
  background: var(--warm-ivory);
  padding: 140px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  margin-bottom: 16px;
}

.section-title {
  color: var(--charcoal);
  margin-top: 8px;
}

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

.pillar-card {
  background: var(--light-navy);
  padding: 36px 32px 40px;
  border: 1px solid var(--border-light);
  transition: box-shadow var(--transition-medium), border-color var(--transition-medium), transform var(--transition-medium);
  opacity: 0;
  transform: translateY(40px);
}

.pillar-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: var(--burnished-gold);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.pillar-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  margin-bottom: 28px;
  opacity: 0.8;
  filter: contrast(105%) brightness(95%);
  transition: opacity var(--transition-fast);
}

.pillar-card:hover .pillar-image {
  opacity: 1;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--warm-ivory);
  margin-bottom: 16px;
}

.pillar-description {
  font-size: 0.93rem;
  line-height: 1.7;
  color: rgba(250, 248, 245, 0.75);
  margin-bottom: 28px;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--burnished-gold);
  text-transform: uppercase;
  transition: gap var(--transition-fast);
}

.pillar-link:hover {
  gap: 14px;
}

.pillar-link svg {
  transition: transform var(--transition-fast);
}

.pillar-link:hover svg {
  transform: translateX(4px);
}

[dir="rtl"] .pillar-link:hover svg {
  transform: translateX(-4px) scaleX(-1);
}

/* ========================================
   SELECTIVITY STATEMENT
   ======================================== */

.selectivity {
  background: var(--deep-navy);
  padding: 130px 0;
  position: relative;
}

.selectivity::before {
  content: '"';
  position: absolute;
  font-family: var(--font-serif);
  font-size: 14rem;
  color: rgba(179, 143, 98, 0.05);
  top: 10%;
  left: 10%;
  line-height: 1;
}

[dir="rtl"] .selectivity::before {
  left: auto;
  right: 10%;
}

.quote-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 24px;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--warm-ivory);
  margin-bottom: 32px;
  font-weight: 300;
}

.quote-attribution {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burnished-gold);
}

/* ========================================
   INSIGHTS PREVIEW
   ======================================== */

.insights {
  background: var(--warm-ivory);
  padding: 140px 0;
}

.insights-grid {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.insight-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  background: white;
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
}

.insight-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(179, 143, 98, 0.2);
}

.insight-card:nth-child(even) .insight-image-wrapper {
  order: 2;
}

.insight-image-wrapper {
  overflow: hidden;
  height: 320px;
}

.insight-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.insight-card:hover .insight-image {
  transform: scale(1.04);
}

.insight-content {
  padding: 16px 0;
}

.insight-date {
  margin-bottom: 16px;
}

.insight-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--charcoal);
  margin-bottom: 16px;
  line-height: 1.35;
}

.insight-excerpt {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--soft-gray);
  margin-bottom: 28px;
}

.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--burnished-gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: gap var(--transition-fast);
}

.insight-link:hover {
  gap: 14px;
}

.insight-link svg {
  transition: transform var(--transition-fast);
}

.insight-link:hover svg {
  transform: translateX(4px);
}

[dir="rtl"] .insight-link:hover svg {
  transform: translateX(-4px) scaleX(-1);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--deep-navy);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-light);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-address {
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.6);
  letter-spacing: 0.05em;
}

.footer-email {
  font-size: 0.95rem;
  color: var(--burnished-gold);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-email:hover {
  color: var(--warm-ivory);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(179, 143, 98, 0.2);
  border-radius: 50%;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.footer-social a:hover {
  background: var(--burnished-gold);
  border-color: var(--burnished-gold);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--warm-ivory);
  transition: fill var(--transition-fast);
}

.footer-social a:hover svg {
  fill: var(--deep-navy);
}

.footer-legal {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(179, 143, 98, 0.1);
  margin-top: 40px;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(250, 248, 245, 0.4);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes scrollDown {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  40% {
    transform: scaleY(1);
    transform-origin: top;
  }
  60% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ========================================
   PAGE HEADER (for inner pages)
   ======================================== */

.page-header {
  background: var(--deep-navy);
  padding: 180px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/expertise-header.jpg') center/cover no-repeat;
  opacity: 0.15;
  mix-blend-mode: overlay;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--warm-ivory);
  margin-bottom: 16px;
  font-weight: 400;
}

.page-subtitle {
  font-size: 1.15rem;
  color: rgba(250, 248, 245, 0.7);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* ========================================
   CONTENT SECTIONS (for inner pages)
   ======================================== */

.content-section {
  padding: 100px 0;
}

.content-section.alt {
  background: var(--warm-ivory);
}

.content-section.dark {
  background: var(--deep-navy);
  color: var(--warm-ivory);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.content-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 24px;
}

.content-section h3 {
  margin-bottom: 20px;
  margin-top: 48px;
}

.content-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: inherit;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.content-section p strong {
  color: var(--burnished-gold);
}

/* Methodology Numbers */
.methodology-item {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
}

.methodology-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--burnished-gold);
  line-height: 1;
  flex-shrink: 0;
}

.methodology-content h4 {
  margin-bottom: 12px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-medium);
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--burnished-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--burnished-gold);
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--burnished-gold);
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-description {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Timeline RTL overrides */
[dir="rtl"] .timeline {
  padding-left: 0;
  padding-right: 40px;
  border-left: none;
  border-right: 1px solid var(--border-medium);
}
[dir="rtl"] .timeline::before {
  left: auto;
  right: 0;
}
[dir="rtl"] .timeline-item::before {
  left: auto;
  right: -44px;
}

/* Credentials Grid */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.credential-item {
  text-align: center;
  padding: 40px 32px;
  border: 1px solid var(--border-light);
  background: rgba(250,248,245,0.02);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.credential-item:hover {
  border-color: var(--burnished-gold);
  box-shadow: var(--shadow-glow);
}

.credential-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--burnished-gold);
}

.credential-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.credential-description {
  font-size: 0.875rem;
  opacity: 0.75;
}

/* Availability Badge / Scarcity Funnel */
.availability {
  background: var(--light-navy);
  padding: 36px;
  border: 1px solid var(--border-medium);
  text-align: center;
  max-width: 540px;
  margin: 48px auto 0;
  box-shadow: var(--shadow-glow);
}

.availability-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft-gray);
  margin-bottom: 12px;
}

.availability-status {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--warm-ivory);
}

/* Contact Options */
.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.contact-option {
  background: var(--light-navy);
  padding: 48px;
  border: 1px solid var(--border-light);
  text-align: center;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-option:hover {
  border-color: var(--burnished-gold);
  box-shadow: var(--shadow-glow);
}

.contact-option h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--warm-ivory);
  margin-bottom: 16px;
}

.contact-option p {
  font-size: 0.9375rem;
  color: rgba(250, 248, 245, 0.7);
  margin-bottom: 24px;
}

/* Engagement Criteria */
.criteria-list {
  list-style: none;
  margin: 32px 0;
}

.criteria-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.criteria-list li::before {
  content: '✓';
  color: var(--burnished-gold);
  font-weight: 600;
  flex-shrink: 0;
}

/* Investment Range */
.investment-range {
  background: var(--light-navy);
  padding: 32px;
  border-left: 3px solid var(--burnished-gold);
  margin: 32px 0;
}

[dir="rtl"] .investment-range {
  border-left: none;
  border-right: 3px solid var(--burnished-gold);
}

.investment-range-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--soft-gray);
  margin-bottom: 8px;
}

.investment-range-value {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--warm-ivory);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--burnished-gold);
  background: transparent;
  color: var(--burnished-gold);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn:hover {
  background: var(--burnished-gold);
  color: var(--deep-navy);
  box-shadow: 0 10px 20px rgba(179, 143, 98, 0.15);
}

.btn-primary {
  background: var(--burnished-gold);
  color: var(--deep-navy);
}

.btn-primary:hover {
  background: transparent;
  color: var(--burnished-gold);
}

/* Article Styles */
.article-header {
  background: var(--deep-navy);
  padding: 180px 0 80px;
  text-align: center;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.article-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burnished-gold);
}

.article-date {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.5);
}

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--warm-ivory);
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.2;
}

.article-hero-image {
  width: 100%;
  max-width: 1200px;
  margin: -40px auto 64px;
  padding: 0 24px;
}

.article-hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-content p {
  font-size: 1.125rem;
  line-height: 1.85;
  margin-bottom: 32px;
  color: #2c2c2c;
}

.article-content p:first-child::first-letter {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  float: left;
  line-height: 0.85;
  padding-right: 16px;
  padding-top: 4px;
  color: var(--burnished-gold);
}

[dir="rtl"] .article-content p:first-child::first-letter {
  float: right;
  padding-right: 0;
  padding-left: 16px;
}

.pull-quote {
  border-left: 3px solid var(--burnished-gold);
  padding-left: 32px;
  margin: 48px 0;
}

[dir="rtl"] .pull-quote {
  border-left: none;
  border-right: 3px solid var(--burnished-gold);
  padding-left: 0;
  padding-right: 32px;
}

.pull-quote p {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.pull-quote cite {
  font-size: 0.875rem;
  font-style: normal;
  color: var(--soft-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.author-box {
  display: flex;
  gap: 32px;
  align-items: center;
  background: white;
  padding: 36px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
  margin-top: 64px;
}

.author-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--border-medium);
}

.author-info h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.author-info p {
  font-size: 0.95rem;
  color: var(--soft-gray);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ========================================
   INTERACTIVE TOOLS (DIAGNOSTICS & AUDITS)
   ======================================== */

.tool-container {
  min-height: 100vh;
  background: var(--deep-navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 140px 24px;
}

.tool-card {
  background: var(--light-navy);
  border: 1px solid var(--border-medium);
  padding: 56px;
  max-width: 760px;
  width: 100%;
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  position: relative;
}

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

.tool-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--warm-ivory);
  margin-bottom: 12px;
}

.tool-description {
  font-size: 1.05rem;
  color: rgba(250, 248, 245, 0.7);
  font-weight: 300;
}

.progress-bar {
  height: 4px;
  background: rgba(179, 143, 98, 0.15);
  margin-bottom: 48px;
  position: relative;
  border-radius: 2px;
}

.progress-fill {
  height: 100%;
  background: var(--burnished-gold);
  box-shadow: 0 0 10px var(--burnished-gold);
  transition: width 0.4s ease;
  border-radius: 2px;
}

.question-container {
  display: none;
}

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

.question-text {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--warm-ivory);
  margin-bottom: 32px;
  line-height: 1.4;
  font-weight: 300;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: rgba(250, 248, 245, 0.03);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.option-item:hover {
  background: rgba(179, 143, 98, 0.08);
  border-color: var(--burnished-gold);
  box-shadow: 0 0 15px rgba(179, 143, 98, 0.1);
}

.option-item.selected {
  background: rgba(179, 143, 98, 0.12);
  border-color: var(--burnished-gold);
}

.option-item input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--burnished-gold);
  cursor: pointer;
}

.option-item span {
  font-size: 1.05rem;
  color: var(--warm-ivory);
  cursor: pointer;
  flex: 1;
}

.tool-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  gap: 16px;
}

/* Results dashboard overrides */
.result-container {
  display: none;
  text-align: center;
}

.result-container.active {
  display: block;
  animation: fadeIn 0.6s ease;
}

.result-score {
  font-family: var(--font-serif);
  font-size: 4.8rem;
  color: var(--burnished-gold);
  margin-bottom: 12px;
  font-weight: 300;
  text-shadow: 0 0 20px rgba(179, 143, 98, 0.2);
}

.result-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--warm-ivory);
  margin-bottom: 24px;
}

.result-description {
  font-size: 1.05rem;
  color: rgba(250, 248, 245, 0.75);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   COST CALCULATOR
   ======================================== */

.calculator {
  background: var(--light-navy);
  padding: 48px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-glow);
}

.calculator-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft-gray);
}

.input-group select {
  padding: 16px;
  background: rgba(250, 248, 245, 0.03);
  border: 1px solid var(--border-light);
  color: var(--warm-ivory);
  font-size: 1rem;
  transition: all var(--transition-fast);
  outline: none;
  cursor: pointer;
}

.input-group select:focus {
  border-color: var(--burnished-gold);
  box-shadow: 0 0 15px rgba(179, 143, 98, 0.15);
}

/* Range input customization */
.range-slider-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider-val-display {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--burnished-gold);
  font-weight: 400;
}

.slider-input {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(179, 143, 98, 0.2);
  outline: none;
  border-radius: 2px;
  margin: 12px 0;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--burnished-gold);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px var(--burnished-gold);
  transition: transform 0.1s ease;
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calculator-result {
  text-align: center;
  padding: 40px;
  background: rgba(179, 143, 98, 0.05);
  border: 1px solid var(--border-medium);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

.calculator-result-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft-gray);
  margin-bottom: 12px;
}

.calculator-result-value {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  color: var(--burnished-gold);
  text-shadow: 0 0 15px rgba(179, 143, 98, 0.2);
  font-weight: 300;
}

/* ========================================
   FORM STYLES
   ======================================== */

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

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft-gray);
  margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(250, 248, 245, 0.03);
  border: 1px solid var(--border-light);
  color: var(--warm-ivory);
  font-size: 1rem;
  font-family: var(--font-sans);
  border-radius: 0;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--burnished-gold);
  box-shadow: 0 0 15px rgba(179, 143, 98, 0.15);
  background: rgba(250, 248, 245, 0.05);
}

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

/* Light background form overrides (e.g. contact page criteria section or insights subscribe) */
.form-light input,
.form-light textarea {
  background: white;
  border-color: rgba(0,0,0,0.1);
  color: var(--charcoal);
}

.form-light input:focus,
.form-light textarea:focus {
  background: white;
  border-color: var(--burnished-gold);
  box-shadow: 0 0 15px rgba(179, 143, 98, 0.1);
}

/* ========================================
   404 PAGE & CUSTOM DIALOGS
   ======================================== */

.error-page {
  min-height: 100vh;
  background: var(--deep-navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
}

.error-code {
  font-family: var(--font-serif);
  font-size: 9rem;
  color: var(--burnished-gold);
  line-height: 1;
  margin-bottom: 24px;
  text-shadow: 0 0 30px rgba(179, 143, 98, 0.15);
  font-weight: 300;
}

.error-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--warm-ivory);
  margin-bottom: 16px;
}

.error-message {
  font-size: 1.15rem;
  color: rgba(250, 248, 245, 0.7);
  margin-bottom: 40px;
  max-width: 500px;
}

/* Modal and notifications */
.toast-notification {
  position: fixed;
  bottom: -100px;
  right: 40px;
  background: var(--light-navy);
  border: 1px solid var(--burnished-gold);
  padding: 20px 32px;
  color: var(--warm-ivory);
  z-index: 1001;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 16px;
}

[dir="rtl"] .toast-notification {
  right: auto;
  left: 40px;
}

.toast-notification.active {
  bottom: 40px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .navigation {
    padding: 0 32px;
  }
  .insight-card {
    gap: 40px;
  }
  .calculator-inputs {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .navigation {
    padding: 0 24px;
  }
  
  .nav-menu {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background: rgba(4, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 40px 24px;
    gap: 28px;
    text-align: center;
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    pointer-events: none;
    z-index: 999;
  }

  [dir="rtl"] .nav-menu {
    transform: translateY(-150%);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav-lang {
    display: none; /* language switch handled in mobile menu or visible inside */
  }
  
  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .pillar-card {
    width: 100%;
  }
  
  .insight-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  
  .insight-card:nth-child(even) .insight-image-wrapper {
    order: 0;
  }

  .insight-image-wrapper {
    height: 240px;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .page-header {
    padding: 140px 0 60px;
  }
  
  .methodology-item {
    flex-direction: column;
    gap: 16px;
  }
  
  .credentials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-options {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .calculator-inputs {
    grid-template-columns: 1fr;
  }
  
  .article-hero-image {
    margin-top: 0;
  }
  
  .article-hero-image img {
    height: 260px;
  }
  
  .author-box {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    gap: 20px;
  }
  
  .tool-card {
    padding: 40px 24px;
  }
}

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