/* ===================================================================
   MEZON ADVISORY
   PREMIER FINANCIAL, AUDIT, TAX & CORPORATE ADVISORY IN UZBEKISTAN
   LIGHT EXECUTIVE DESIGN SYSTEM (GLOBAL & GCC INVESTOR STANDARD)
   =================================================================== */

:root {
  /* Color Palette - Executive Light Theme */
  --bg-primary: #F8FAFC;
  --bg-secondary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-card-highlight: #F0FDF4;
  --bg-card-accent: #EFF6FF;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-strong: rgba(255, 255, 255, 0.98);
  
  --border-subtle: #E2E8F0;
  --border-light: #CBD5E1;
  --border-focus: #2563EB;
  --border-gold: #D4AF37;
  --border-gold-soft: rgba(212, 175, 55, 0.45);

  --text-main: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  
  /* Brand Accents */
  --primary-blue: #1E40AF;
  --primary-blue-hover: #1D4ED8;
  --primary-blue-light: #3B82F6;
  --accent-gold: #B4822B;
  --accent-gold-light: #D4AF37;
  --accent-gold-bg: #FEF9C3;
  --accent-emerald: #059669;
  --accent-emerald-light: #10B981;
  --accent-emerald-bg: #D1FAE5;
  --whatsapp-color: #25D366;
  --telegram-color: #0088cc;
  --instagram-color: #E1306C;
  --danger: #DC2626;

  /* Shadows & Elevations */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 18px -2px rgba(0, 0, 0, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.1), 0 6px 12px -3px rgba(0, 0, 0, 0.05);
  --shadow-glow-gold: 0 0 25px rgba(212, 175, 55, 0.2);
  --shadow-glow-blue: 0 0 30px rgba(30, 64, 175, 0.12);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cinzel', serif;
  
  /* Transitions & Borders */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

input, select, textarea {
  font-family: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hidden,
[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--primary-blue-light);
  outline-offset: 2px;
}

/* ===================================================================
   RTL SUPPORT (FOR ARABIC LANGUAGE)
   =================================================================== */
[dir="rtl"] {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] .top-bar-content,
[dir="rtl"] .nav-container,
[dir="rtl"] .hero-grid,
[dir="rtl"] .executive-header,
[dir="rtl"] .tool-preview-meta,
[dir="rtl"] .executive-footer,
[dir="rtl"] .tool-column-header,
[dir="rtl"] .label-with-val,
[dir="rtl"] .news-header-flex,
[dir="rtl"] .news-meta,
[dir="rtl"] .chat-avatar-status,
[dir="rtl"] .modal-header,
[dir="rtl"] .bottom-flex {
  direction: rtl;
}

[dir="rtl"] .nav-links {
  padding-right: 0;
}

[dir="rtl"] .exec-quote {
  padding-left: 0;
  padding-right: 0.75rem;
  border-left: none;
  border-right: 3px solid var(--accent-gold);
}

[dir="rtl"] .service-checklist li i,
[dir="rtl"] .cred-item i,
[dir="rtl"] .highlight-box i {
  margin-left: 0.5rem;
  margin-right: 0;
}

[dir="rtl"] .news-action i,
[dir="rtl"] .hero-cta-group .fa-arrow-right {
  transform: rotate(180deg);
}

[dir="rtl"] .chat-widget-wrapper {
  right: auto;
  left: 2rem;
}

[dir="rtl"] .chat-window {
  right: auto;
  left: 0;
}

[dir="rtl"] .toast-container {
  left: auto;
  right: 2rem;
}

/* ===================================================================
   TOP ANNOUNCEMENT & CONTACT BAR
   =================================================================== */
.top-announcement-bar {
  background: #0F172A;
  color: #F8FAFC;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.825rem;
  padding: 0.45rem 0;
  position: relative;
  z-index: 1001;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #FCD34D;
  font-weight: 500;
}

.live-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald-light);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald-light);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-link {
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-link:hover {
  color: #FFFFFF;
}

.top-link i {
  color: #FCD34D;
}

.lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
}

.lang-selector i {
  color: #94A3B8;
  font-size: 0.75rem;
}

.lang-btn {
  color: #CBD5E1;
  font-weight: 600;
  padding: 0.1rem 0.25rem;
  transition: color var(--transition-fast);
}

.lang-btn.active, .lang-btn:hover {
  color: #FCD34D;
}

.divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
}

/* ===================================================================
   MAIN HEADER / NAVIGATION
   =================================================================== */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
}

.main-header.scrolled {
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0F172A, #1E293B);
  border: 1.5px solid var(--accent-gold-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.symbol-crest {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  background: linear-gradient(135deg, #FCD34D, #D4AF37, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0F172A;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-item {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-item:hover {
  color: var(--primary-blue);
}

.nav-item.highlight-link {
  color: var(--accent-gold);
}

.nav-item.highlight-link i {
  color: var(--accent-gold);
  margin-right: 0.25rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--text-main);
  padding: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), #1D4ED8);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563EB, #1E40AF);
  box-shadow: 0 6px 18px rgba(30, 64, 175, 0.35);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #D97706, #B4822B);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(180, 130, 43, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  box-shadow: 0 6px 18px rgba(180, 130, 43, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border-light);
  color: var(--text-main);
  background: #FFFFFF;
}

.btn-outline:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: var(--bg-secondary);
}

.btn-glass {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
}

.btn-glass:hover {
  background: var(--bg-secondary);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ===================================================================
   HERO SECTION (LIGHT EXECUTIVE ATMOSPHERE)
   =================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, #EFF6FF 0%, #F8FAFC 55%, #F1F5F9 100%);
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.35;
}

.hero-glow-1 {
  background: #93C5FD;
  top: -100px;
  left: -80px;
}

.hero-glow-2 {
  background: #FDE68A;
  bottom: -50px;
  right: -50px;
  opacity: 0.25;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #92400E;
  margin-bottom: 1.5rem;
}

.gold-shield i {
  color: #D97706;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #0F172A;
}

.gradient-text {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #B4822B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-fast-connect {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2.25rem;
}

.fast-label {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.fast-buttons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.fast-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  background: #FFFFFF;
  box-shadow: var(--shadow-xs);
}

.tg-chip {
  color: #0088cc;
  border: 1px solid rgba(0, 136, 204, 0.35);
}

.tg-chip:hover {
  background: #0088cc;
  color: #FFFFFF;
}

.wa-chip {
  color: #15803D;
  border: 1px solid rgba(37, 211, 102, 0.45);
}

.wa-chip:hover {
  background: #25D366;
  color: #FFFFFF;
}

.ig-chip {
  color: #BE185D;
  border: 1px solid rgba(225, 48, 108, 0.35);
}

.ig-chip:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #FFFFFF;
}

.chat-chip {
  color: #047857;
  border: 1px solid rgba(5, 150, 105, 0.35);
}

.chat-chip:hover {
  background: var(--accent-emerald);
  color: #FFFFFF;
}

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

.stat-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: left;
  box-shadow: var(--shadow-xs);
}

.stat-number {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.725rem;
  color: var(--text-muted);
  line-height: 1.35;
  font-weight: 500;
}

/* Executive Card (Hero Visual) */
.executive-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
  position: relative;
}

.executive-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.exec-avatar {
  position: relative;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0F172A, #1E293B);
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exec-initials {
  font-size: 1.55rem;
  font-weight: 800;
  color: #FCD34D;
  letter-spacing: 0.05em;
}

.status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
}

.status-indicator.online {
  background-color: var(--accent-emerald-light);
}

.exec-info h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.15rem;
}

.exec-info p {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  font-weight: 700;
  color: #92400E;
  background: #FEF3C7;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid #FCD34D;
}

.executive-body {
  padding: 1.5rem 0;
}

.exec-quote {
  font-size: 0.925rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 0.75rem;
  border-left: 3px solid var(--accent-gold);
}

.exec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.pill {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pill i {
  color: var(--accent-emerald);
  font-size: 0.7rem;
}

.mini-tool-cta {
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.tool-preview-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tool-preview-meta i {
  font-size: 1.4rem;
  color: var(--accent-gold);
}

.tool-preview-meta strong {
  display: block;
  font-size: 0.85rem;
  color: #0F172A;
}

.tool-preview-meta span {
  font-size: 0.75rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

.executive-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.linkedin-view {
  color: var(--primary-blue);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.linkedin-view:hover {
  text-decoration: underline;
}

/* ===================================================================
   CLIENT STRIP / PROOF
   =================================================================== */
.client-strip {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.6rem 0;
}

.strip-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.strip-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 700;
}

.strip-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.client-badge {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.client-badge.gcc-special {
  background: #FEF3C7;
  border-color: #FCD34D;
  color: #92400E;
}

.client-badge i {
  color: var(--accent-gold);
}

/* ===================================================================
   SECTION COMMON STYLES
   =================================================================== */
section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

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

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary-blue);
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-badge.gold-badge {
  color: #92400E;
  background: #FEF3C7;
  border-color: #FCD34D;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #0F172A;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================================================================
   SERVICES GRID
   =================================================================== */
.services-section {
  background: #FFFFFF;
}

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

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-xs);
}

.service-card:hover {
  background: #FFFFFF;
  border-color: var(--primary-blue-light);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  border: 1.5px solid var(--border-gold);
  background: #FEFDF8;
}

.featured-ribbon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

[dir="rtl"] .featured-ribbon {
  right: auto;
  left: 1.25rem;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.service-card.featured .service-icon {
  background: #FEF3C7;
  border-color: #FCD34D;
  color: var(--accent-gold);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.35;
  color: #0F172A;
}

.service-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-checklist {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-checklist li {
  font-size: 0.825rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-checklist li i {
  color: var(--accent-emerald);
  margin-top: 0.25rem;
  font-size: 0.8rem;
}

.card-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-blue);
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.card-action-btn:hover {
  background: var(--primary-blue);
  color: #FFFFFF;
  border-color: var(--primary-blue);
}

/* ===================================================================
   INTERACTIVE TOOLS SUITE (EVERYDAY BENEFIT)
   =================================================================== */
.tools-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.tools-tab-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tool-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.tool-tab:hover {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.tool-tab.active {
  background: #FFFFFF;
  border: 2px solid var(--accent-gold);
  color: var(--primary-blue);
  box-shadow: var(--shadow-md), var(--shadow-glow-gold);
}

.tool-tab.active i {
  color: var(--accent-gold);
}

.tool-panel {
  display: none;
}

.tool-panel.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

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

/* Tab 1: Tax Calculator Layout */
.tool-card-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.tool-inputs-column {
  padding: 2.5rem;
  background: #FFFFFF;
  border-right: 1px solid var(--border-subtle);
}

[dir="rtl"] .tool-inputs-column {
  border-right: none;
  border-left: 1px solid var(--border-subtle);
}

.tool-results-column {
  padding: 2.5rem;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
}

.tool-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.tool-column-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0F172A;
}

.tool-column-header h3 i {
  color: var(--accent-gold);
}

.currency-toggle-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: #EFF6FF;
  color: var(--primary-blue);
  border: 1px solid #BFDBFE;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group.half {
  flex: 1;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.label-with-val {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.input-val-badge {
  font-size: 0.85rem;
  font-weight: 800;
  color: #92400E;
  background: #FEF3C7;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid #FCD34D;
}

.form-control {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-main);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}

/* Custom Slider */
.custom-slider {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Checkbox */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.875rem;
}

.checkbox-container input {
  accent-color: var(--primary-blue);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-text strong {
  color: var(--primary-blue);
}

/* Results Display */
.results-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.res-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-xs);
}

.res-box.itpark-box {
  border: 1.5px solid var(--border-gold);
  background: #FEFDF8;
}

.res-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
  margin-bottom: 0.25rem;
}

.gold-tag {
  color: #92400E;
}

.res-metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.res-metric-item strong {
  font-size: 0.9rem;
  color: #0F172A;
}

.res-metric-item.total {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

.res-metric-item.total strong {
  font-size: 1.1rem;
}

.res-metric-item.net {
  background: var(--bg-primary);
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
}

.text-danger { color: #DC2626 !important; }
.text-success { color: #059669 !important; }
.text-gold { color: #92400E !important; }
.text-emerald { color: #047857 !important; font-size: 1.15rem !important; }
.text-free { color: #059669 !important; font-weight: 800; }

.highlight-savings {
  background: #D1FAE5 !important;
  border: 1px solid #A7F3D0;
}

.tool-actions-bar {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

/* Tab 2: Formation Estimator */
.formation-estimator-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.estimator-controls h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: #0F172A;
}

.estimator-controls p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.entity-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.entity-pick-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  box-shadow: var(--shadow-xs);
}

.entity-pick-card:hover {
  border-color: var(--primary-blue-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.entity-pick-card.active {
  background: #EFF6FF;
  border: 2px solid var(--primary-blue);
  box-shadow: 0 0 16px rgba(30, 64, 175, 0.15);
}

.entity-icon {
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.entity-pick-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0F172A;
}

.entity-pick-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.rec-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  background: #DBEAFE;
  color: #1E40AF;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.rec-badge.gold {
  background: #FEF3C7;
  color: #92400E;
}

.estimator-details-display {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

/* Tab 3: Audit Diagnostic */
.audit-diagnostic-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.diagnostic-intro {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.diagnostic-intro h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: #0F172A;
}

.diagnostic-intro p {
  color: var(--text-secondary);
  font-size: 0.925rem;
}

.quiz-question {
  margin-bottom: 1.75rem;
  padding: 1.25rem;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.question-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.85rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.quiz-options label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.quiz-options input[type="radio"] {
  accent-color: var(--primary-blue);
}

.audit-results-card {
  margin-top: 2rem;
  background: #F8FAFC;
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  animation: fadeIn 0.4s ease-out;
}

/* ===================================================================
   TIMELINE / FORMATION ROADMAP
   =================================================================== */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.timeline-step {
  position: relative;
}

.step-badge {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #CBD5E1;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  height: calc(100% - 3.5rem);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

.step-icon {
  font-size: 1.4rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #0F172A;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.step-time {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.formation-cta-banner {
  background: linear-gradient(135deg, #EFF6FF 0%, #FEF9C3 100%);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.banner-text h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: #0F172A;
}

.banner-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===================================================================
   ABOUT THE FIRM
   =================================================================== */
.about-section {
  background: #FFFFFF;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.about-photo-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.photo-frame {
  background: #FFFFFF;
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  box-shadow: var(--shadow-md);
}

.photo-placeholder {
  height: 380px;
  background: radial-gradient(circle at 50% 35%, #1E3A8A 0%, #0F172A 90%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.photo-placeholder .monogram {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #FFFFFF 0%, #FCD34D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
}

.experience-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.experience-tag strong {
  font-size: 1.8rem;
  color: #FCD34D;
  line-height: 1;
}

.experience-tag span {
  font-size: 0.75rem;
  color: #F8FAFC;
  line-height: 1.3;
}

.credentials-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.credentials-card h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.825rem;
  color: var(--text-main);
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.cred-item i {
  color: var(--accent-gold);
  width: 18px;
  text-align: center;
}

.about-name {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  color: #0F172A;
}

.about-title-role {
  font-size: 1.05rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.about-bio p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0 2rem;
}

.highlight-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  gap: 0.75rem;
}

.highlight-box i {
  font-size: 1.4rem;
  color: var(--primary-blue);
  margin-top: 0.2rem;
}

.highlight-box h5 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #0F172A;
}

.highlight-box span {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.about-social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.wa-hover:hover {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
}

.tg-hover:hover {
  background: #0088cc;
  border-color: #0088cc;
  color: #FFFFFF;
}

.ig-hover:hover {
  background: #E1306C;
  border-color: #E1306C;
  color: #FFFFFF;
}

/* ===================================================================
   NEWS & REGULATORY MONITOR
   =================================================================== */
.news-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.news-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.news-filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-blue);
  color: #FFFFFF;
  border-color: var(--primary-blue);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.news-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.news-card:hover {
  border-color: var(--primary-blue-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.news-cat {
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
}

.news-date {
  color: var(--text-muted);
}

.news-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.4;
  color: #0F172A;
}

.news-snippet {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.news-action {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Central Bank Ticker */
.cbu-ticker-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-xs);
}

.ticker-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: #0F172A;
}

.ticker-live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

.ticker-date {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
}

[dir="rtl"] .ticker-date {
  margin-left: 0;
  margin-right: auto;
}

.ticker-rates-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.rate-item {
  display: flex;
  flex-direction: column;
}

.rate-item .pair {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.rate-item .rate-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.rate-item .trend {
  font-size: 0.75rem;
  font-weight: 600;
}

.rate-item .trend.up { color: #059669; }
.rate-item .trend.down { color: #DC2626; }
.rate-item .trend.neutral { color: var(--accent-gold); }

/* ===================================================================
   CASES SECTION
   =================================================================== */
.cases-section {
  background: #FFFFFF;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.case-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

.case-sector {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.65rem;
}

.case-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.35;
  color: #0F172A;
}

.case-problem {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.case-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.res-stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--accent-emerald);
  font-weight: 800;
}

.res-stat span {
  font-size: 0.725rem;
  color: var(--text-muted);
}

.case-footer {
  font-size: 0.775rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.case-footer i {
  color: var(--accent-emerald);
}

/* ===================================================================
   FAQ ACCORDION
   =================================================================== */
.faq-section {
  background: var(--bg-secondary);
}

.faq-container {
  max-width: 820px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.accordion-item.active {
  border-color: var(--accent-gold);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  text-align: left;
}

[dir="rtl"] .accordion-header {
  text-align: right;
}

.accordion-header .icon {
  font-size: 0.85rem;
  color: var(--accent-gold);
  transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-header .icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  padding: 0 1.5rem;
}

.accordion-item.active .accordion-body {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

.accordion-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================================================================
   FINAL CTA BANNER
   =================================================================== */
.final-cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
  color: #FFFFFF;
  border-top: 1px solid var(--border-gold);
}

.final-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.final-desc {
  font-size: 1.1rem;
  color: #CBD5E1;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.final-cta-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.main-footer {
  background: #0B1222;
  color: #F8FAFC;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.main-footer .brand-name {
  color: #FFFFFF;
}

.footer-about {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.6;
  margin: 1.25rem 0 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--accent-gold);
  color: #0F172A;
  border-color: var(--accent-gold);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: #94A3B8;
}

.footer-col ul li a:hover {
  color: #FCD34D;
  padding-left: 4px;
}

.address-line, .contact-line {
  font-size: 0.85rem;
  color: #CBD5E1;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.address-line i, .contact-line i {
  color: #FCD34D;
  width: 16px;
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-emerald-light);
  background: rgba(16, 185, 129, 0.15);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
}

.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.775rem;
  color: #94A3B8;
}

/* ===================================================================
   FLOATING CHAT WIDGET (LIGHT EXECUTIVE ACCENT)
   =================================================================== */
.chat-widget-wrapper {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
}

.chat-toggle-btn {
  background: linear-gradient(135deg, #1E40AF, #1D4ED8);
  color: #FFFFFF;
  border: 1.5px solid var(--accent-gold-light);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(30, 64, 175, 0.35);
  transition: all var(--transition-fast);
  position: relative;
}

.chat-toggle-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(30, 64, 175, 0.45);
}

.chat-badge-ping {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 10px;
  height: 10px;
  background-color: var(--accent-emerald-light);
  border-radius: 50%;
  animation: pulse-ring 1.8s infinite;
}

.chat-window {
  position: absolute;
  bottom: 4.5rem;
  right: 0;
  width: 380px;
  height: 520px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
}

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

.chat-header {
  background: #0F172A;
  color: #FFFFFF;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-avatar-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #1E40AF, #0F172A);
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #FCD34D;
  font-size: 0.85rem;
}

.chat-title-group h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
}

.online-status {
  font-size: 0.7rem;
  color: #34D399;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.online-status .dot {
  width: 6px;
  height: 6px;
  background: #34D399;
  border-radius: 50%;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-tg-link, .header-wa-link, .chat-close-btn {
  color: #CBD5E1;
  font-size: 1rem;
  padding: 0.35rem;
  transition: color var(--transition-fast);
}

.header-tg-link:hover, .header-wa-link:hover, .chat-close-btn:hover {
  color: #FFFFFF;
}

.chat-messages {
  flex-grow: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #F8FAFC;
}

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

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

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

[dir="rtl"] .message.incoming {
  align-self: flex-start;
}

[dir="rtl"] .message.outgoing {
  align-self: flex-end;
}

.msg-bubble {
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.incoming .msg-bubble {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: #0F172A;
  box-shadow: var(--shadow-xs);
  border-bottom-left-radius: 2px;
}

.incoming .msg-bubble p + p {
  margin-top: 0.4rem;
}

.outgoing .msg-bubble {
  background: var(--primary-blue);
  color: #FFFFFF;
  border-bottom-right-radius: 2px;
}

.msg-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  padding: 0 0.25rem;
}

.outgoing .msg-time {
  align-self: flex-end;
}

.chat-quick-replies {
  padding: 0.65rem 1rem;
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  white-space: nowrap;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
}

.chat-quick-replies::-webkit-scrollbar {
  height: 3px;
}

.chat-quick-replies::-webkit-scrollbar-thumb {
  background: #CBD5E1;
}

.quick-chip {
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  background: #F1F5F9;
  border: 1px solid var(--border-subtle);
  color: #334155;
  transition: all var(--transition-fast);
}

.quick-chip:hover {
  background: var(--primary-blue);
  color: #FFFFFF;
  border-color: var(--primary-blue);
}

.chat-input-bar {
  padding: 0.75rem 1rem;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 0.5rem;
}

.chat-input-bar input {
  flex-grow: 1;
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: #0F172A;
}

.chat-input-bar input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
}

.chat-send-btn:hover {
  transform: scale(1.08);
}

/* ===================================================================
   MODAL DIALOG (DISCOVERY CALL)
   =================================================================== */
.custom-modal {
  margin: auto;
  padding: 0;
  background: transparent;
  border: none;
  max-width: 600px;
  width: calc(100% - 2rem);
  box-shadow: none;
}

.custom-modal::backdrop {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
}

.modal-dialog-content {
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-dialog-content::-webkit-scrollbar {
  width: 6px;
}

.modal-dialog-content::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.modal-title-group h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.5rem 0 0.25rem;
  color: #0F172A;
}

.modal-title-group p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-close-btn {
  font-size: 1.25rem;
  color: var(--text-muted);
  padding: 0.25rem;
}

.modal-close-btn:hover {
  color: #0F172A;
}

.consult-form textarea.form-control {
  resize: vertical;
}

.instant-connect-pills {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.instant-note {
  font-size: 0.775rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ===================================================================
   TOAST NOTIFICATION
   =================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: #0F172A;
  border: 1px solid var(--accent-emerald-light);
  color: #FFFFFF;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  animation: toastIn 0.3s ease-out;
}

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

/* ===================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   =================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

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

/* Collapse primary nav earlier: 7 links + 2 buttons need room */
@media (max-width: 1180px) and (min-width: 769px) {
  .nav-links {
    gap: 1.1rem;
  }

  .nav-item {
    font-size: 0.85rem;
  }

  .nav-actions #openChatQuickBtn span {
    display: none;
  }
}

@media (max-width: 768px) {
  .top-contacts .top-link {
    display: none;
  }

  .top-bar-content {
    justify-content: center;
    text-align: center;
  }

  .toast-container {
    left: 1rem;
    right: auto;
    width: calc(100% - 2rem);
    bottom: 6rem;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem 0;
    box-shadow: var(--shadow-md);
  }

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

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.5rem;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-actions #openChatQuickBtn {
    display: none;
  }

  .nav-actions .btn-primary {
    font-size: 0.775rem;
    padding: 0.45rem 0.85rem;
  }

  .brand-sub {
    display: none;
  }

  .brand-name {
    font-size: 1.05rem;
  }

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

  .services-grid, .news-grid, .cases-grid {
    grid-template-columns: 1fr;
  }

  .tool-card-wrapper {
    grid-template-columns: 1fr;
  }

  .tool-inputs-column {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  [dir="rtl"] .tool-inputs-column {
    border-left: none;
  }

  .results-comparison-grid {
    grid-template-columns: 1fr;
  }

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

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

  .ticker-rates-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .chat-window {
    width: calc(100vw - 2rem);
    right: -1rem;
    height: 480px;
  }

  [dir="rtl"] .chat-window {
    right: auto;
    left: -1rem;
  }

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


/* ===================================================================
   AUDIT ADDITIONS: TOP BAR LINK, NAV BADGE, MISC
   =================================================================== */
.top-badge a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(252, 211, 77, 0.45);
  text-underline-offset: 3px;
}

.top-badge a:hover {
  color: #FFFFFF;
}

.nav-new::after {
  content: "NEW";
  position: absolute;
  top: -0.35rem;
  right: -1.6rem;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-full);
  padding: 0.05rem 0.35rem;
}

[dir="rtl"] .nav-new::after {
  right: auto;
  left: -1.6rem;
}

@media (max-width: 768px) {
  .nav-new::after {
    position: static;
    margin-inline-start: 0.5rem;
  }
}

.calc-assumptions {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.5rem;
}

.calc-assumptions i {
  color: var(--primary-blue-light);
  margin-inline-end: 0.25rem;
}

.ticker-source {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.ticker-source a {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: underline;
}

.news-card-tifc {
  border-color: var(--border-gold-soft);
  background: #FEFDF8;
}

/* ===================================================================
   TASHKENT INTERNATIONAL FINANCIAL CENTRE (TIFC) SECTION
   =================================================================== */
.tifc-section {
  background:
    radial-gradient(ellipse at top right, rgba(212, 175, 55, 0.10), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(30, 64, 175, 0.07), transparent 55%),
    #FFFFFF;
  border-top: 1px solid var(--border-subtle);
}

.tifc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #92400E;
  background: #FEF3C7;
  border-color: #FCD34D;
}

.tifc-facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tifc-fact {
  background: #0F172A;
  color: #CBD5E1;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  line-height: 1.45;
}

.tifc-fact strong {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--accent-gold-light);
  line-height: 1.2;
}

.tifc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.tifc-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.tifc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold-soft);
}

.tifc-card.featured {
  border: 1.5px solid var(--border-gold);
  background: #FEFDF8;
}

.tifc-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1rem 0 0.75rem;
}

.tifc-card .service-checklist li {
  font-size: 0.85rem;
  line-height: 1.5;
  align-items: flex-start;
}

.tifc-card .service-checklist li i {
  margin-top: 0.3rem;
}

.tifc-compare-wrap {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-xs);
}

.tifc-compare-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.tifc-compare-title i {
  color: var(--accent-gold);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tifc-compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.tifc-compare th,
.tifc-compare td {
  padding: 0.75rem 1rem;
  text-align: start;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.tifc-compare thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg-primary);
}

.tifc-compare tbody th {
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.tifc-compare td {
  color: var(--text-secondary);
}

.tifc-compare .col-tifc {
  background: #FEFCE8;
  color: #78350F;
  font-weight: 600;
}

.tifc-compare thead .col-tifc {
  background: #0F172A;
  color: var(--accent-gold-light);
}

.tifc-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.tifc-who,
.tifc-steps {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.tifc-who h3,
.tifc-steps h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tifc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tifc-chips .pill i {
  color: var(--accent-gold);
}

.tifc-footnote {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.tifc-steps ol {
  padding-inline-start: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.tifc-steps li::marker {
  color: var(--accent-gold);
  font-weight: 800;
}

.tifc-status-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.825rem;
  color: #1E293B;
  line-height: 1.55;
}

.tifc-status-note i {
  color: var(--primary-blue);
  margin-top: 0.2rem;
}

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

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

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

  .tifc-grid,
  .tifc-bottom-grid {
    grid-template-columns: 1fr;
  }

  .tifc-cta {
    padding: 1.75rem;
  }
}

/* ===================================================================
   FORMATION ESTIMATOR DETAIL (moved from inline styles)
   =================================================================== */
.entity-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
}

.entity-detail-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 800;
}

.entity-detail-head h3 {
  font-size: 1.4rem;
  color: var(--text-main);
  font-weight: 800;
  margin-top: 0.25rem;
}

.entity-detail-head p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.entity-detail-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.entity-stat {
  background: #FFFFFF;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.entity-stat span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.entity-stat span i {
  color: var(--accent-gold);
}

.entity-stat strong {
  color: var(--text-main);
  font-size: 0.85rem;
}

.entity-stat strong.stat-primary {
  color: var(--primary-blue);
  font-size: 1.05rem;
}

.entity-tax-box {
  margin-bottom: 1.5rem;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 1rem;
  border-radius: 8px;
}

.entity-tax-box strong {
  color: #1E40AF;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.35rem;
}

.entity-tax-box p {
  font-size: 0.85rem;
  color: #1E293B;
  line-height: 1.5;
}

.entity-bank-box {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.entity-bank-box strong {
  color: var(--accent-emerald);
}

.entity-docs {
  margin-bottom: 1.5rem;
}

.entity-docs > strong {
  color: var(--text-main);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.75rem;
}

.entity-docs > strong i {
  color: var(--accent-gold);
}

.entity-docs ul,
.audit-findings ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.entity-docs li,
.audit-findings li {
  font-size: 0.825rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.entity-docs li i {
  color: var(--accent-emerald);
  margin-top: 3px;
  font-size: 0.75rem;
}

.entity-recommendation {
  font-size: 0.825rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
}

.entity-pick-card:focus-visible {
  outline: 2px solid var(--primary-blue-light);
  outline-offset: 3px;
}

/* ===================================================================
   AUDIT DIAGNOSTIC RESULT (moved from inline styles)
   =================================================================== */
.audit-result-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.audit-result-badge {
  font-size: 0.75rem;
  font-weight: 800;
}

.audit-result-head h3 {
  font-size: 1.4rem;
  color: var(--text-main);
  font-weight: 800;
}

.audit-result-head p {
  font-size: 0.9rem;
  font-weight: 700;
}

.audit-score-bar {
  width: min(320px, 100%);
  height: 8px;
  background: var(--border-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0.5rem 0;
}

.audit-score-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  transition: width 0.6s ease-out;
}

.audit-findings {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.audit-findings > strong {
  color: var(--accent-gold);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.5rem;
}

.audit-findings li {
  font-size: 0.85rem;
}

.audit-findings li i {
  color: var(--accent-gold);
  margin-top: 3px;
  font-size: 0.75rem;
}

[dir="rtl"] .audit-findings li i.fa-arrow-right {
  transform: scaleX(-1);
}

.audit-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================================================================
   CHAT ADDITIONS
   =================================================================== */
.chat-link {
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: underline;
}

.chat-link.tg { color: var(--telegram-color); }
.chat-link.wa { color: #128C7E; }
.chat-link.ig { color: var(--instagram-color); }

.typing-dots {
  display: inline-flex;
  gap: 4px;
  padding: 0.2rem 0;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: typing-bounce 1s infinite ease-in-out;
}

.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* ===================================================================
   CONSULTATION SUCCESS STATE
   =================================================================== */
.consult-success {
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.consult-success .success-icon {
  font-size: 2.75rem;
  color: var(--accent-emerald);
  margin-bottom: 0.75rem;
}

.consult-success h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.consult-success p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.wa-send-btn {
  background: var(--whatsapp-color);
  color: #FFFFFF;
}

.tg-send-btn {
  background: var(--telegram-color);
  color: #FFFFFF;
}

.wa-send-btn:hover,
.tg-send-btn:hover {
  filter: brightness(0.95);
  color: #FFFFFF;
}

/* ===================================================================
   REDUCED MOTION
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================================================================
   PRINT (Tax calculator "Print / Save as PDF")
   =================================================================== */
@media print {
  body.print-tax-report .top-announcement-bar,
  body.print-tax-report .main-header,
  body.print-tax-report main > section:not(#tools),
  body.print-tax-report .main-footer,
  body.print-tax-report .chat-widget-wrapper,
  body.print-tax-report .toast-container,
  body.print-tax-report .tools-tab-nav,
  body.print-tax-report .tool-panel:not(#panel-tax),
  body.print-tax-report .tool-actions-bar,
  body.print-tax-report .custom-modal {
    display: none !important;
  }

  body.print-tax-report #tools {
    padding: 0;
    background: #FFFFFF;
    border: none;
  }

  body.print-tax-report #panel-tax {
    display: block !important;
  }

  body.print-tax-report .tool-card-wrapper {
    box-shadow: none;
    border: 1px solid #CBD5E1;
  }

  body.print-tax-report .tools-section .section-header::after {
    content: "Prepared with the Mezon Advisory tax calculator · mezonadvisory.com. Indicative estimate only, not tax advice.";
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #64748B;
  }

  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* ===================================================================
   MOBILE HARDENING: let grid/flex children shrink, no horizontal scroll
   =================================================================== */
.hero-grid > *,
.tool-card-wrapper > *,
.about-grid > *,
.services-grid > *,
.tifc-grid > *,
.tifc-bottom-grid > *,
.results-comparison-grid > *,
.formation-estimator-wrapper > *,
.footer-grid > * {
  min-width: 0;
}

.form-control,
select {
  max-width: 100%;
}

@media (max-width: 768px) {
  .tool-inputs-column,
  .tool-results-column {
    padding: 1.25rem;
  }

  .tool-column-header {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .hero-stats-grid .stat-number {
    font-size: 1.35rem;
  }

  .tool-tab span {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .nav-actions {
    gap: 0.35rem;
  }

  .nav-actions .btn-primary span {
    display: none;
  }

  .nav-actions .btn-primary {
    padding: 0.5rem 0.7rem;
  }

  .logo-symbol {
    flex-shrink: 0;
  }

  .hero-stats-grid {
    gap: 0.6rem;
  }

  .tifc-facts {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .tifc-fact {
    padding: 1rem 0.6rem;
  }

  .chat-toggle-btn .chat-btn-label {
    display: none;
  }

  .chat-toggle-btn {
    padding: 0.95rem;
  }
}

/* ===================================================================
   GO-LIVE: COOKIE BANNER, LEGAL LINKS, PRIVACY PAGE, 404
   =================================================================== */
.cookie-banner {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 10001;
  max-width: 440px;
  background: #0F172A;
  color: #E2E8F0;
  border: 1px solid var(--border-gold-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

[dir="rtl"] .cookie-banner {
  left: auto;
  right: 1.5rem;
}

.cookie-text strong {
  color: #FCD34D;
  display: block;
  margin-bottom: 0.35rem;
}

.cookie-text p {
  font-size: 0.825rem;
  line-height: 1.5;
}

.cookie-text a,
.form-privacy-note a,
.footer-legal-links a {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.cookie-banner .btn-outline {
  color: #E2E8F0;
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
}

@media (max-width: 768px) {
  .cookie-banner,
  [dir="rtl"] .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
}

.footer-legal-links {
  font-size: 0.8rem;
}

.link-btn {
  color: inherit;
  font: inherit;
  text-decoration: underline;
  padding: 0;
}

.form-privacy-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.form-privacy-note i {
  color: var(--accent-emerald);
  margin-inline-end: 0.25rem;
}

a.lang-btn[aria-current="page"] {
  color: #FCD34D;
}

/* Simple header used by privacy & 404 pages */
.simple-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
}

.simple-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-page {
  padding: 3.5rem 0 5rem;
}

.legal-page .container {
  max-width: 820px;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2rem 0 0.6rem;
  color: var(--text-main);
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-page ul {
  padding-inline-start: 1.25rem;
  margin: 0.5rem 0;
}

.legal-page a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.notfound-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.notfound-page h1 {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--accent-gold);
}

.notfound-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Localized "NEW" badge on the TIFC menu item */
:lang(ru) .nav-new::after { content: "НОВОЕ"; }
:lang(ar) .nav-new::after { content: "جديد"; }
:lang(uz) .nav-new::after { content: "YANGI"; }

/* ===================================================================
   BRAND LOGO (header, footer, chat)
   =================================================================== */
.brand-logo-img {
  display: block;
  height: 60px;
  width: auto;
}

.footer-logo {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

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

.footer-logo .brand-sub {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: #94A3B8;
}

.chat-avatar img {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 50px;
  }
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 44px;
  }
}

/* Keep the logo intact and collapse the menu earlier (7 links + 2 buttons need ~1100px) */
.main-header .brand-logo {
  flex-shrink: 0;
}

/* Below 1400px the 7-item menu cannot fit on one line: use the ☰ menu */
@media (max-width: 1399px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem 0;
    box-shadow: var(--shadow-md);
  }

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

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 1.5rem;
  }

  .mobile-toggle {
    display: block;
  }
}

/* Contact channels left empty in build.py are hidden everywhere */
.no-whatsapp [data-contact="whatsapp"],
.no-telegram [data-contact="telegram"],
.no-instagram [data-contact="instagram"],
.no-phone [data-contact="phone"],
.no-email [data-contact="email"] {
  display: none !important;
}

/* Firm mark in the hero card and About section */
.exec-avatar .exec-mark {
  width: 40px;
  height: 40px;
  display: block;
}

.photo-placeholder .about-mark {
  width: 150px;
  height: 150px;
  display: block;
  margin-bottom: 1.5rem;
}


/* ===================================================================
   HEADER NAVIGATION: one line, even spacing
   =================================================================== */
.main-header .nav-container {
  max-width: 1440px;
  gap: 2.5rem;
}

.nav-item {
  white-space: nowrap;
}

.nav-item.highlight-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-new::after {
  top: -0.6rem;
}

@media (min-width: 1400px) {
  .nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .nav-links {
    gap: 2rem;
  }

  .nav-item {
    font-size: 0.9rem;
  }

  /* room for the NEW badge so it never touches the next item */
  .nav-new {
    margin-inline-end: 1.4rem;
  }
}

.nav-item.highlight-link i {
  font-size: 0.85em;
  line-height: 1;
}

/* ===================================================================
   INVESTOR GUIDES: home-page cards, guides index and article pages
   =================================================================== */
.guides-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.guide-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-main);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.guide-card:hover {
  border-color: var(--accent-gold-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.guide-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
}

.guide-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
}

.guide-tag {
  align-self: flex-start;
  display: inline-block;
  background: var(--accent-gold-bg);
  color: #854D0E;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}

.guide-more {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 0.9rem;
}

[dir="rtl"] .guide-more .fa-arrow-right,
[dir="rtl"] .guides-all .fa-arrow-right {
  transform: scaleX(-1);
}

.guides-all {
  text-align: center;
  margin-top: 2rem;
}

/* Guides index and article pages (built on .legal-page) */
.guide-page .container {
  max-width: 860px;
}

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

.guide-page .guide-card,
.guide-page .guide-card:hover {
  text-decoration: none;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.legal-page .breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.legal-page .breadcrumbs a:hover {
  color: var(--primary-blue);
}

.guide-lead {
  font-size: 1.05rem !important;
}

.guide-article .guide-tag {
  margin-bottom: 0.9rem;
}

.guide-article h1 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.25;
}

.guide-article h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
}

.guide-article h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.4rem;
}

.guide-article p,
.guide-article li {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

.guide-article ol {
  padding-inline-start: 1.4rem;
  margin: 0.5rem 0 1rem;
}

.guide-article li {
  margin-bottom: 0.45rem;
}

.guide-article .guide-summary {
  background: var(--bg-card-accent);
  border-inline-start: 4px solid var(--primary-blue);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0 2rem;
}

.guide-article .guide-summary ul {
  margin: 0;
}

.guide-article .guide-note {
  background: var(--accent-gold-bg);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}

.guide-article .table-scroll {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}

.guide-article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  background: #FFFFFF;
}

.guide-article th,
.guide-article td {
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 0.85rem;
  text-align: start;
  vertical-align: top;
  color: var(--text-secondary);
}

.guide-article thead th {
  background: var(--bg-secondary);
  color: var(--text-main);
  font-weight: 700;
}

.guide-cta {
  margin-top: 3rem;
  background: #0F172A;
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.legal-page .guide-cta h2 {
  color: #FFFFFF;
  margin-top: 0;
  font-size: 1.35rem;
}

.legal-page .guide-cta p {
  color: #CBD5E1;
}

.guide-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.legal-page .guide-cta-actions a {
  text-decoration: none;
}

.btn-whatsapp,
.btn-telegram {
  color: #FFFFFF !important;
  border: none;
}

.btn-whatsapp { background: var(--whatsapp-color); }
.btn-telegram { background: var(--telegram-color); }
.btn-whatsapp:hover,
.btn-telegram:hover { filter: brightness(1.08); }

.guide-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
}

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

@media (max-width: 480px) {
  .guide-cta { padding: 1.5rem; }
  .guide-cta-actions .btn { width: 100%; justify-content: center; }
}
