/* ============================
   CRYPTO COMPLIANCE SOLUTIONS
   Premium FinTech CSS
   ============================ */

:root {
  --dark-navy: #0A192F;
  --navy-mid: #112240;
  --navy-light: #1B3A6B;
  --accent-blue: #3A7BD5;
  --accent-light: #5B9BD5;
  --accent-glow: rgba(58, 123, 213, 0.3);
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --light-gray: #EEF2F7;
  --mid-gray: #94A3B8;
  --dark-gray: #475569;
  --text-dark: #0F172A;
  --text-body: #334155;
  --border: rgba(148, 163, 184, 0.2);
  --border-dark: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-blue: 0 8px 32px rgba(58, 123, 213, 0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 48px 0;
}

.bg-light-section { background: var(--off-white); }
.bg-dark-section { background: var(--dark-navy); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-blue);
  color: var(--white);
  border-color: var(--accent-blue);
}

.btn-primary:hover {
  background: #2d66b8;
  border-color: #2d66b8;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

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

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

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(58, 123, 213, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(58, 123, 213, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tag-light {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

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

.section-subtitle {
  font-size: 17px;
  color: var(--mid-gray);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  transition: var(--transition);
}

.header.scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.logo-sub {
  font-size: 11px;
  color: var(--mid-gray);
  letter-spacing: 0.5px;
}

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

.nav-link {
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  margin-left: 8px;
  padding: 8px 20px;
  font-size: 14px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  background: var(--dark-navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 123, 213, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 123, 213, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(58, 123, 213, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(58, 123, 213, 0.15);
  border: 1px solid rgba(58, 123, 213, 0.3);
  color: var(--accent-light);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.text-accent { color: var(--accent-light); }

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 32px;
}

.stat:first-child { padding-left: 0; }

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* ===== TRUSTED ===== */
.trusted {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trusted-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 24px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.exchange-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.exchange-badge i { color: var(--accent-blue); font-size: 10px; }

/* ===== WHY US ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(58, 123, 213, 0.2);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(58, 123, 213, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-blue);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--dark-gray);
  line-height: 1.65;
}

/* ===== SERVICES PREVIEW ===== */
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-preview-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.service-preview-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(58, 123, 213, 0.4);
  transform: translateY(-4px);
}

.sp-icon {
  width: 52px;
  height: 52px;
  background: rgba(58, 123, 213, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.service-preview-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-preview-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin-bottom: 20px;
}

.sp-link {
  color: var(--accent-light);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.sp-link:hover { gap: 10px; }

.center-action {
  text-align: center;
}

/* ===== PROCESS ===== */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.process-step {
  flex: 1;
  max-width: 240px;
  text-align: center;
}

.step-num {
  font-size: 48px;
  font-weight: 800;
  color: rgba(58, 123, 213, 0.15);
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.step-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--dark-gray);
  line-height: 1.6;
}

.process-connector {
  flex-shrink: 0;
  padding: 0 16px;
  padding-top: 12px;
  color: var(--accent-blue);
  font-size: 18px;
  opacity: 0.4;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #1B3A8A 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-banner-content {
  position: relative;
  text-align: center;
}

.cta-banner-content h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--dark-navy);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 123, 213, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 123, 213, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
}

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

.breadcrumb a:hover { color: var(--white); }

.breadcrumb i {
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
}

.breadcrumb span { color: rgba(255, 255, 255, 0.7); }

.page-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.page-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 560px;
}

/* ===== SERVICE DETAIL ===== */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-detail-grid.reverse {
  direction: rtl;
}

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

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(58, 123, 213, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(58, 123, 213, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service-detail-content h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.service-lead {
  font-size: 17px;
  color: var(--text-body);
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.65;
}

.service-detail-content p {
  color: var(--dark-gray);
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
}

.service-list i {
  color: var(--accent-blue);
  font-size: 14px;
  flex-shrink: 0;
}

/* Service Visual Cards */
.service-visual-card {
  background: var(--dark-navy);
  border: 1px solid rgba(58, 123, 213, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.visual-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-dark);
}

.visual-dots {
  display: flex;
  gap: 6px;
}

.visual-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.visual-dots span:nth-child(1) { background: #FF5F57; }
.visual-dots span:nth-child(2) { background: #FFBD2E; }
.visual-dots span:nth-child(3) { background: #28CA41; }

.visual-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}

/* Risk Meter */
.risk-meter { margin-bottom: 20px; }
.risk-label { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 8px; }

.risk-gauge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gauge-bar {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  overflow: hidden;
}

.gauge-fill {
  height: 100%;
  border-radius: 100px;
}

.gauge-fill.low { background: #22C55E; }
.gauge-value { font-size: 13px; font-weight: 700; }
.low-text { color: #22C55E; }

.risk-breakdown { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.risk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.risk-item > span:first-child { width: 65px; }

.mini-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}

.mini-bar > div {
  height: 100%;
  border-radius: 100px;
  min-width: 3px;
}

.fill-green { background: #22C55E; }
.fill-blue { background: var(--accent-blue); }

.pct { width: 30px; text-align: right; font-weight: 600; }

.visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(58, 123, 213, 0.15);
  color: var(--accent-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(58, 123, 213, 0.2);
}

/* Doc list */
.doc-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.doc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.doc-item.completed {
  background: rgba(34, 197, 94, 0.1);
  color: rgba(255,255,255,0.7);
}

.doc-item.completed i { color: #22C55E; }

.doc-item.progress {
  background: rgba(58, 123, 213, 0.1);
  color: rgba(255,255,255,0.5);
}

.doc-item.progress i { color: var(--accent-light); }

.doc-status { margin-left: auto; color: #22C55E; font-weight: 700; }
.doc-status-prog { margin-left: auto; color: var(--accent-light); }

/* Legal card */
.legal-card { color: rgba(255,255,255,0.7); }

.legal-doc-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.legal-doc-header > i {
  font-size: 32px;
  color: var(--accent-light);
}

.legal-doc-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
}

.legal-doc-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

.legal-doc-body p { font-size: 13px; margin-bottom: 12px; }

.legal-line {
  height: 1px;
  background: var(--border-dark);
  margin: 16px 0;
}

.legal-small { font-size: 11px !important; color: rgba(255,255,255,0.35) !important; }

.legal-items { display: flex; flex-direction: column; gap: 8px; }

.legal-item-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.legal-item-row i { color: #22C55E; }

/* Placeholder */
.service-placeholder {
  padding: 60px 0;
}

.placeholder-card {
  text-align: center;
  padding: 60px 40px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-xl);
  max-width: 500px;
  margin: 0 auto;
}

.placeholder-icon {
  font-size: 48px;
  color: rgba(58, 123, 213, 0.3);
  margin-bottom: 20px;
}

.placeholder-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.placeholder-card p {
  color: var(--mid-gray);
  margin-bottom: 24px;
}

.placeholder-badge {
  display: inline-block;
  background: rgba(58, 123, 213, 0.1);
  color: var(--accent-blue);
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== MISSION (ABOUT) ===== */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.mission-content .section-tag { margin-bottom: 16px; }
.mission-content h2 { margin-bottom: 24px; }
.mission-content p { margin-bottom: 16px; color: var(--dark-gray); line-height: 1.7; }

.mission-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.value-item i { color: var(--accent-blue); }

.mission-card {
  background: var(--dark-navy);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid rgba(58, 123, 213, 0.2);
}

.mission-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.m-stat {
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
}

.m-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.m-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.mission-jurisdictions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jurisdiction-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(58, 123, 213, 0.1);
  border: 1px solid rgba(58, 123, 213, 0.2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
}

/* Expertise */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.expertise-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(58, 123, 213, 0.2);
}

.exp-icon {
  width: 60px;
  height: 60px;
  background: rgba(58, 123, 213, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent-blue);
  margin: 0 auto 20px;
}

.expertise-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.expertise-card p {
  font-size: 13px;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}

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

.team-avatar {
  background: linear-gradient(135deg, var(--dark-navy), var(--navy-mid));
  padding: 40px;
  text-align: center;
}

.avatar-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(58, 123, 213, 0.2);
  border: 2px solid rgba(58, 123, 213, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: rgba(255,255,255,0.4);
  margin: 0 auto;
}

.team-info {
  padding: 24px;
}

.team-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 14px;
  color: var(--dark-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.team-tags span {
  padding: 4px 10px;
  background: rgba(58, 123, 213, 0.08);
  color: var(--accent-blue);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

/* ===== CONTACTS ===== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

.contact-form-wrap h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  color: var(--dark-gray);
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.12);
}

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

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.form-check input { flex-shrink: 0; margin-top: 3px; accent-color: var(--accent-blue); }

.form-check label {
  font-size: 13px;
  color: var(--dark-gray);
  line-height: 1.5;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--mid-gray);
  padding: 12px 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
}

.form-note i { color: var(--accent-blue); }

.form-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-lg);
}

.form-success.show { display: block; }

.success-icon {
  font-size: 56px;
  color: #22C55E;
  margin-bottom: 20px;
}

.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-success p { color: var(--dark-gray); }

/* Contact Info */
.contact-info-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}

.contact-info-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child { border-bottom: none; }

.ci-icon {
  width: 36px;
  height: 36px;
  background: rgba(58, 123, 213, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 14px;
  flex-shrink: 0;
}

.ci-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--mid-gray);
  margin-bottom: 4px;
}

.ci-value {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.5;
  word-break: break-all;
}

.ci-value.placeholder { color: var(--mid-gray); font-style: italic; }

.ci-value a { color: var(--accent-blue); }
.ci-value a:hover { text-decoration: underline; }

/* Regulator list */
.regulator-list { display: flex; flex-direction: column; gap: 12px; }

.reg-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

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

.reg-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.reg-sub {
  font-size: 11px;
  color: var(--mid-gray);
}

.confidentiality-card {
  background: linear-gradient(135deg, var(--dark-navy), var(--navy-mid));
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.confidentiality-card > i {
  font-size: 36px;
  color: var(--accent-light);
  margin-bottom: 16px;
  display: block;
}

.confidentiality-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.confidentiality-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* Map */
.map-section {
  padding: 64px 0;
  background: var(--off-white);
}

.map-header {
  margin-bottom: 24px;
}

.map-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.map-header p {
  font-size: 14px;
  color: var(--dark-gray);
}

.map-header i { color: var(--accent-blue); }

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-navy);
  padding: 80px 0 0;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .nav-logo { margin-bottom: 16px; display: inline-flex; }

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links-group h4 {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-links-group ul li a,
.footer-links-group ul li span {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links-group ul li a:hover { color: var(--white); }

.footer-links-group i { font-size: 12px; }

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-disclaimer {
  font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-grid { gap: 40px; }
  .mission-grid { gap: 40px; }
  .contacts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav-burger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-navy);
    border-top: 1px solid var(--border-dark);
    padding: 16px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 16px; }
  .nav-cta { text-align: center; margin-left: 0; margin-top: 8px; }

  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }

  .features-grid { grid-template-columns: 1fr; }
  .services-preview-grid { grid-template-columns: 1fr; }

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail-grid.reverse { direction: ltr; }

  .process-steps {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .process-connector { display: none; }
  .process-step { max-width: 100%; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-title { font-size: 32px; }
  .page-title { font-size: 32px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .mission-stat-grid { grid-template-columns: 1fr 1fr; }
  .mission-values { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
}

/* ============================
   CLIENT CHAT WIDGET
   ============================ */

/* Floating button */
.chat-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
}

.chat-fab-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3A7BD5, #2558b5);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(58,123,213,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s;
  position: relative;
}

.chat-fab-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(58,123,213,0.55);
}

.chat-fab-btn.open {
  background: linear-gradient(135deg, #1e3a5f, #112240);
}

.chat-fab-btn i { transition: transform 0.3s, opacity 0.2s; }

.fab-unread {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid white;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
  animation: pulse 1.8s infinite;
}

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

/* Chat window */
.chat-window {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 9998;
  width: 370px;
  max-height: 560px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(10,25,47,0.22), 0 4px 16px rgba(10,25,47,0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);

  transform: scale(0.85) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), opacity 0.25s ease;
  transform-origin: bottom right;
}

.chat-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Chat header */
.cw-header {
  background: linear-gradient(135deg, #0A192F, #1B3A6B);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cw-avatar {
  width: 40px;
  height: 40px;
  background: rgba(58,123,213,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  font-size: 16px;
  flex-shrink: 0;
  border: 2px solid rgba(58,123,213,0.4);
}

.cw-header-info { flex: 1; }

.cw-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.cw-subtitle {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 5px;
}

.cw-online-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

.cw-close-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  color: rgba(255,255,255,0.6);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.cw-close-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* Welcome screen */
.cw-welcome {
  padding: 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cw-welcome-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.cw-welcome h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}

.cw-welcome p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cw-form { display: flex; flex-direction: column; gap: 12px; }

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

.cw-input-group label {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cw-input-group input {
  padding: 10px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s;
}

.cw-input-group input:focus {
  border-color: #3A7BD5;
  box-shadow: 0 0 0 3px rgba(58,123,213,0.1);
}

/* Messages */
.cw-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  scroll-behavior: smooth;
}

.cw-messages::-webkit-scrollbar { width: 3px; }
.cw-messages::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* Client message bubbles */
.cw-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  animation: cwMsgIn 0.2s ease;
}

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

.cw-msg.cw-admin { flex-direction: row; }
.cw-msg.cw-user  { flex-direction: row-reverse; }

.cw-msg-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.cw-admin .cw-msg-av { background: rgba(58,123,213,0.12); color: #3A7BD5; }
.cw-user  .cw-msg-av { background: rgba(34,197,94,0.12);  color: #22c55e; }

.cw-bubble {
  max-width: 72%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  word-break: break-word;
}

.cw-admin .cw-bubble {
  background: #f1f5f9;
  color: #1e293b;
  border-bottom-left-radius: 4px;
}

.cw-user .cw-bubble {
  background: #3A7BD5;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.cw-bubble-time {
  display: block;
  font-size: 10px;
  margin-top: 3px;
  opacity: 0.55;
  text-align: right;
}

.cw-admin .cw-bubble-time { text-align: left; }

/* Typing indicator */
.cw-typing {
  display: none;
  align-items: flex-end;
  gap: 8px;
}

.cw-typing.visible { display: flex; }

.cw-typing-dots {
  background: #f1f5f9;
  padding: 10px 14px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.cw-typing-dots span {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  animation: typingDot 1.3s infinite;
}

.cw-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.cw-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* Footer input */
.cw-footer {
  padding: 10px 12px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 8px;
  align-items: flex-end;
  flex-shrink: 0;
  background: #fff;
}

.cw-footer textarea {
  flex: 1;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13.5px;
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  resize: none;
  outline: none;
  min-height: 38px;
  max-height: 100px;
  line-height: 1.45;
  transition: border-color 0.2s;
}

.cw-footer textarea:focus {
  border-color: #3A7BD5;
  box-shadow: 0 0 0 3px rgba(58,123,213,0.08);
}

.cw-footer textarea::placeholder { color: #94a3b8; }

.cw-send-btn {
  width: 38px;
  height: 38px;
  background: #3A7BD5;
  border: none;
  border-radius: 9px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.1s;
}

.cw-send-btn:hover { background: #2d66b8; }
.cw-send-btn:active { transform: scale(0.93); }
.cw-send-btn:disabled { background: #94a3b8; cursor: not-allowed; }

/* Mobile adjustments */
@media (max-width: 480px) {
  .chat-window {
    right: 12px;
    bottom: 90px;
    width: calc(100vw - 24px);
    max-height: 80vh;
  }

  .chat-fab {
    bottom: 20px;
    right: 16px;
  }
}

/* ============================
   LOGO IMAGE (SVG version)
   ============================ */
.footer-logo-link { display: inline-block; }

/* ============================
   TELEGRAM BUTTON (nav)
   ============================ */
.btn-tg {
  background: #229ED9;
  color: #fff !important;
  border-color: #229ED9;
  gap: 6px;
}

.btn-tg:hover {
  background: #1a86bb;
  border-color: #1a86bb;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34,158,217,0.35);
}

.nav-cta-tg {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* ============================
   FOOTER SOCIALS
   ============================ */
.footer-socials {
  margin-top: 16px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.tg-btn {
  background: rgba(34,158,217,0.15);
  color: #4BB8E8;
  border: 1px solid rgba(34,158,217,0.3);
}

.tg-btn:hover {
  background: rgba(34,158,217,0.25);
  color: #72CAEE;
  transform: translateY(-2px);
}

/* ============================
   TELEGRAM CTA CARD (contacts)
   ============================ */
.tg-cta-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #1a5276, #1f618d);
  border: 1px solid rgba(34,158,217,0.35);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.tg-cta-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(34,158,217,0.25);
  border-color: rgba(34,158,217,0.6);
}

.tg-cta-icon {
  width: 48px;
  height: 48px;
  background: #229ED9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  flex-shrink: 0;
}

.tg-cta-content { flex: 1; }

.tg-cta-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.tg-cta-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.tg-cta-arrow {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  transition: transform 0.2s;
}

.tg-cta-card:hover .tg-cta-arrow {
  transform: translateX(4px);
  color: rgba(255,255,255,0.7);
}

/* Telegram icon in contact info */
.ci-icon.tg-icon {
  background: rgba(34,158,217,0.12);
  color: #229ED9;
}

/* ============================
   FLOATING TELEGRAM BUTTON
   ============================ */
.tg-float {
  position: fixed;
  bottom: 100px;
  right: 96px;
  z-index: 9990;
}

.tg-float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #229ED9;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(34,158,217,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s;
}

.tg-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(34,158,217,0.55);
}

.tg-float-tooltip {
  position: absolute;
  bottom: 58px;
  right: 0;
  background: #229ED9;
  color: white;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  font-family: 'Inter', sans-serif;
}

.tg-float-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 16px;
  border: 6px solid transparent;
  border-bottom: none;
  border-top-color: #229ED9;
}

.tg-float:hover .tg-float-tooltip { opacity: 1; }

@media (max-width: 480px) {
  .tg-float {
    bottom: 90px;
    right: 82px;
  }
}

/* ============================
   LANGUAGE TOGGLE BUTTON
   ============================ */
.btn-lang {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
}

.btn-lang:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* ============================
   SVG LOGO
   ============================ */
.logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-svg {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

/* ============================
   DOCUMENTATION PAGE
   ============================ */
.docs-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2a4a 100%);
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.docs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(58,123,213,0.15) 0%, transparent 70%);
}

.docs-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 90px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.docs-sidebar-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.docs-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.docs-nav li {
  margin-bottom: 4px;
}

.docs-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.docs-nav a:hover,
.docs-nav a.active {
  background: rgba(58,123,213,0.08);
  color: var(--accent);
}

.docs-nav a i {
  width: 18px;
  text-align: center;
  color: var(--accent);
  font-size: 14px;
}

.docs-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.doc-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.doc-card-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.doc-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(58,123,213,0.12), rgba(58,123,213,0.06));
  border: 1px solid rgba(58,123,213,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.doc-card-meta {
  flex: 1;
}

.doc-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.doc-card-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

.doc-card-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(58,123,213,0.08);
  color: var(--accent);
  border: 1px solid rgba(58,123,213,0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.doc-badge.green {
  background: rgba(34,197,94,0.08);
  color: #22c55e;
  border-color: rgba(34,197,94,0.25);
}

.doc-card-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.doc-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 20px 0 10px;
}

.doc-card-body h3:first-child {
  margin-top: 0;
}

.doc-card-body p {
  margin-bottom: 14px;
}

.doc-card-body ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.doc-card-body ul li {
  margin-bottom: 6px;
}

.doc-card-body ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.doc-card-body ol li {
  margin-bottom: 8px;
}

.doc-card-body .highlight-box {
  background: rgba(58,123,213,0.06);
  border: 1px solid rgba(58,123,213,0.15);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
}

.doc-card-body .highlight-box strong {
  color: var(--navy);
}

.doc-card-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.doc-card-body table th {
  background: rgba(10,25,47,0.05);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  border: 1px solid var(--border);
}

.doc-card-body table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.doc-card-body table tr:nth-child(even) td {
  background: rgba(0,0,0,0.02);
}

.doc-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 18px;
  border: 2px solid rgba(34,197,94,0.35);
  border-radius: var(--radius-md);
  background: rgba(34,197,94,0.06);
  font-size: 13px;
  font-weight: 700;
  color: #15803d;
  letter-spacing: 0.3px;
}

@media (max-width: 900px) {
  .docs-grid {
    grid-template-columns: 1fr;
  }
  .docs-sidebar {
    position: static;
  }
}

/* ============================================================
   CONTACTS PAGE — redesign
   ============================================================ */

/* About section */
.ct-about-section { background: #fff; }

.ct-about-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 48px;
  align-items: start;
}

.ct-about-logo-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.ct-about-shield {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #0A192F, #1a3a6b);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #3A7BD5;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(10,25,47,0.18);
}

.ct-company-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.ct-company-reg {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
}

.ct-about-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.ct-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.ct-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(58,123,213,0.07);
  color: var(--accent);
  border: 1px solid rgba(58,123,213,0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.ct-badge.ct-badge-green {
  background: rgba(34,197,94,0.08);
  color: #16a34a;
  border-color: rgba(34,197,94,0.25);
}

.ct-stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.ct-stat { text-align: center; }

.ct-stat-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.ct-stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Requisites card */
.ct-reqs-card {
  background: var(--light-bg, #f8fafc);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.ct-reqs-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.ct-reqs-title i { color: var(--accent); font-size: 15px; }

.ct-req-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  align-items: start;
}

.ct-req-row:last-child { border-bottom: none; }

.ct-req-lbl {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  padding-top: 2px;
}

.ct-req-val {
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.5;
}

/* Channels section */
.ct-channels-section {
  background: var(--light-bg, #f8fafc);
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ct-channels-header {
  text-align: center;
  margin-bottom: 40px;
}

.ct-channels-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.ct-channels-sub {
  font-size: 16px;
  color: var(--text-secondary);
}

.ct-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ct-channel-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 24px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ct-channel-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(58,123,213,0.12);
  transform: translateY(-4px);
}

.ct-channel-card .ct-ch-arrow {
  position: absolute;
  right: 20px;
  bottom: 24px;
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.ct-channel-card:hover .ct-ch-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

.ct-ch-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.ct-ch-email  { background: rgba(58,123,213,0.1);  color: #3A7BD5; }
.ct-ch-phone  { background: rgba(34,197,94,0.1);   color: #16a34a; }
.ct-ch-tg     { background: rgba(34,158,217,0.12); color: #229ED9; }
.ct-ch-form   { background: rgba(168,85,247,0.1);  color: #9333ea; }

.ct-ch-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.ct-ch-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  word-break: break-all;
}

.ct-ch-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.ct-channel-tg { border-color: rgba(34,158,217,0.3); }
.ct-channel-tg:hover { border-color: #229ED9; box-shadow: 0 8px 32px rgba(34,158,217,0.15); }

.ct-channel-consult { border-color: rgba(168,85,247,0.25); }
.ct-channel-consult:hover { border-color: #9333ea; box-shadow: 0 8px 32px rgba(168,85,247,0.12); }

/* Info section (office + jurisdictions + NDA) */
.ct-info-section { background: #fff; }

.ct-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.ct-info-card {
  background: var(--light-bg, #f8fafc);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
}

.ct-info-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.ct-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(58,123,213,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.ct-info-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.ct-info-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.ct-office-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.ct-office-row i {
  color: var(--accent);
  width: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ct-jurisdictions { display: flex; flex-direction: column; gap: 2px; }

.ct-jur-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.ct-jur-row:last-child { border-bottom: none; }

.ct-jur-flag { font-size: 22px; flex-shrink: 0; }

.ct-jur-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.ct-jur-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* NDA card (dark) */
.ct-info-nda {
  background: linear-gradient(135deg, #0A192F, #0f2a4a);
  border-color: rgba(58,123,213,0.25);
}

.ct-info-nda .ct-info-card-head {
  border-bottom-color: rgba(255,255,255,0.1);
}

.ct-info-icon-dark {
  background: rgba(58,123,213,0.2);
  color: #3A7BD5;
}

.ct-nda-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

.ct-nda-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3A7BD5;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 1px solid rgba(58,123,213,0.3);
  padding-bottom: 2px;
}

.ct-nda-link:hover {
  color: #5a9be8;
  border-bottom-color: #5a9be8;
}

/* Responsive contacts */
@media (max-width: 1100px) {
  .ct-about-grid   { grid-template-columns: 1fr; }
  .ct-info-grid    { grid-template-columns: 1fr 1fr; }
  .ct-channels-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 700px) {
  .ct-stats-row    { grid-template-columns: repeat(2,1fr); }
  .ct-info-grid    { grid-template-columns: 1fr; }
  .ct-channels-grid { grid-template-columns: 1fr; }
  .ct-req-row      { grid-template-columns: 1fr; gap: 4px; }
}

/* ============================================================
   CONSULTATION PAGE
   ============================================================ */

.consult-section { background: #fff; }

.consult-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

/* Form card */
.consult-form-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.consult-form-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.consult-form-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(58,123,213,0.12), rgba(58,123,213,0.06));
  border: 1px solid rgba(58,123,213,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.consult-form-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.consult-form-sub {
  font-size: 14px;
  color: var(--text-muted);
}

/* Two-column form row */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.consult-submit-btn {
  height: 52px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Info column */
.consult-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.consult-info-card {
  background: var(--light-bg, #f8fafc);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.consult-info-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* Quick links */
.consult-quick-links { display: flex; flex-direction: column; gap: 10px; }

.consult-quick-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
}

.consult-quick-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(58,123,213,0.1);
  transform: translateX(3px);
}

.consult-quick-tg   { border-color: rgba(34,158,217,0.3); }
.consult-quick-tg:hover { border-color: #229ED9; }

.cql-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(34,158,217,0.1);
  color: #229ED9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.cql-email { background: rgba(58,123,213,0.1); color: #3A7BD5; }
.cql-phone { background: rgba(34,197,94,0.1);  color: #16a34a; }

.cql-body { flex: 1; }

.cql-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.cql-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
  word-break: break-all;
}

.cql-arrow {
  font-size: 12px;
  color: var(--text-muted);
  transition: var(--transition);
}

.consult-quick-btn:hover .cql-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* Steps */
.consult-steps { display: flex; flex-direction: column; gap: 16px; }

.consult-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.consult-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.consult-step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.consult-step-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Free card */
.consult-free-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(34,197,94,0.08), rgba(34,197,94,0.04));
  border: 1.5px solid rgba(34,197,94,0.25);
  border-radius: var(--radius-lg);
}

.consult-free-icon {
  width: 42px;
  height: 42px;
  background: rgba(34,197,94,0.15);
  color: #16a34a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.consult-free-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.consult-free-text strong {
  font-size: 14px;
  font-weight: 700;
  color: #15803d;
}

.consult-free-text span {
  font-size: 12px;
  color: #166534;
  line-height: 1.5;
}

/* Responsive consultation */
@media (max-width: 1000px) {
  .consult-layout { grid-template-columns: 1fr; }
  .consult-info-col { display: grid; grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
  .consult-form-card { padding: 24px 20px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .consult-info-col { grid-template-columns: 1fr; }
  .consult-form-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}
