/* ==========================================================================
   Behsite - High-End Professional Design System (v4.0)
   Persian Font: Yekan Bakh (bundled locally)
   English Font: Plus Jakarta Sans / Inter
   Tight Section Spacing & Crisp Modern Framing
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800;900&family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================================================
   Local Yekan Bakh Font Faces (WOFF2)
   Registered as both 'YekanBakh' and 'Yekan Bakh' for universal browser support
   ========================================================================== */

/* Light (300) */
@font-face {
  font-family: 'YekanBakh';
  src: url('../assets/fonts/YekanBakh-Light.woff2') format('woff2'),
       url('/assets/fonts/YekanBakh-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Yekan Bakh';
  src: url('../assets/fonts/YekanBakh-Light.woff2') format('woff2'),
       url('/assets/fonts/YekanBakh-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Regular (400) */
@font-face {
  font-family: 'YekanBakh';
  src: url('../assets/fonts/YekanBakh-Regular.woff2') format('woff2'),
       url('/assets/fonts/YekanBakh-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Yekan Bakh';
  src: url('../assets/fonts/YekanBakh-Regular.woff2') format('woff2'),
       url('/assets/fonts/YekanBakh-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium / SemiBold (500) */
@font-face {
  font-family: 'YekanBakh';
  src: url('../assets/fonts/YekanBakh-SemiBold.woff2') format('woff2'),
       url('/assets/fonts/YekanBakh-SemiBold.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Yekan Bakh';
  src: url('../assets/fonts/YekanBakh-SemiBold.woff2') format('woff2'),
       url('/assets/fonts/YekanBakh-SemiBold.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* SemiBold (600) */
@font-face {
  font-family: 'YekanBakh';
  src: url('../assets/fonts/YekanBakh-SemiBold.woff2') format('woff2'),
       url('/assets/fonts/YekanBakh-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Yekan Bakh';
  src: url('../assets/fonts/YekanBakh-SemiBold.woff2') format('woff2'),
       url('/assets/fonts/YekanBakh-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold (700) */
@font-face {
  font-family: 'YekanBakh';
  src: url('../assets/fonts/YekanBakh-Bold.woff2') format('woff2'),
       url('/assets/fonts/YekanBakh-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Yekan Bakh';
  src: url('../assets/fonts/YekanBakh-Bold.woff2') format('woff2'),
       url('/assets/fonts/YekanBakh-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ExtraBold (800) */
@font-face {
  font-family: 'YekanBakh';
  src: url('../assets/fonts/YekanBakh-ExtraBold.woff2') format('woff2'),
       url('/assets/fonts/YekanBakh-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Yekan Bakh';
  src: url('../assets/fonts/YekanBakh-ExtraBold.woff2') format('woff2'),
       url('/assets/fonts/YekanBakh-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Black (900) */
@font-face {
  font-family: 'YekanBakh';
  src: url('../assets/fonts/YekanBakh-Black.woff2') format('woff2'),
       url('/assets/fonts/YekanBakh-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Yekan Bakh';
  src: url('../assets/fonts/YekanBakh-Black.woff2') format('woff2'),
       url('/assets/fonts/YekanBakh-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-hover: #cbd5e1;
  --border-focus: rgba(29, 78, 216, 0.4);
  
  --text-primary: #090d16;
  --text-secondary: #334155;
  --text-muted: #64748b;
  
  /* Carbon Blue Palette */
  --carbon-dark: #090d16;
  --carbon-navy: #1e3a8a;
  --carbon-blue: #1d4ed8;
  --carbon-electric: #2563eb;
  --carbon-cyan: #0284c7;
  
  --primary: #1d4ed8;
  --primary-glow: rgba(29, 78, 216, 0.28);
  --primary-hover: #1e40af;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  
  --cyan: #0284c7;
  --whatsapp: #16a34a;
  --whatsapp-hover: #15803d;
  --telegram: #0284c7;
  --telegram-hover: #0369a1;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-xs: 0 1px 2px rgba(9, 13, 22, 0.04);
  --shadow-sm: 0 1px 3px rgba(9, 13, 22, 0.05), 0 1px 2px rgba(9, 13, 22, 0.03);
  --shadow-md: 0 4px 10px -1px rgba(9, 13, 22, 0.06), 0 2px 4px -2px rgba(9, 13, 22, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(30, 58, 138, 0.09), 0 4px 10px -2px rgba(9, 13, 22, 0.03);
  --shadow-hover: 0 16px 36px -6px rgba(30, 58, 138, 0.14), 0 6px 14px -3px rgba(29, 78, 216, 0.08);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle 900px at 50% -120px, rgba(37, 99, 235, 0.16) 0%, rgba(29, 78, 216, 0.08) 35%, transparent 70%),
    radial-gradient(circle 650px at 92% 18%, rgba(2, 132, 199, 0.12) 0%, transparent 60%),
    radial-gradient(circle 600px at 8% 38%, rgba(30, 58, 138, 0.09) 0%, transparent 55%),
    radial-gradient(circle 750px at 88% 68%, rgba(37, 99, 235, 0.10) 0%, transparent 60%),
    radial-gradient(circle 650px at 15% 88%, rgba(14, 165, 233, 0.09) 0%, transparent 55%);
  background-attachment: fixed;
}

/* Persian Typography Default - Unconditionally applied to all elements in Persian/RTL */
html[lang^="fa"],
html[dir="rtl"],
html[dir="rtl"] body,
html[lang^="fa"] body,
body[dir="rtl"],
body.rtl,
[dir="rtl"],
[dir="rtl"] * {
  font-family: 'YekanBakh', 'Yekan Bakh', 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  letter-spacing: 0;
}

[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select,
[dir="rtl"] button,
[dir="rtl"] .btn,
[dir="rtl"] .nav-link,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] a {
  font-family: 'YekanBakh', 'Yekan Bakh', 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

main, header, footer, aside, section {
  position: relative;
  z-index: 1;
}

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

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Typography Utilities */
.gradient-text {
  background: linear-gradient(135deg, #090d16 0%, #1e40af 45%, #2563eb 80%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.03);
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.38rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.brand-logo svg {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.28);
  transition: var(--transition);
}

.brand-logo:hover svg {
  transform: scale(1.05);
}

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

.nav-link {
  color: var(--text-secondary);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(29, 78, 216, 0.06);
}

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

/* Header WhatsApp & Telegram Cards/Boxes */
.header-contact-boxes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.header-card-whatsapp {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.header-card-whatsapp:hover {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
  transform: translateY(-1px);
}

.header-card-telegram {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
}

.header-card-telegram:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transform: translateY(-1px);
}

.header-card-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Language Switcher Pill */
.lang-switcher {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px;
  font-size: 0.82rem;
  font-weight: 600;
}

.lang-option {
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: var(--transition);
}

.lang-option:hover {
  color: var(--text-primary);
}

.lang-option.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Standard Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #172554 0%, #1e40af 50%, #1d4ed8 100%);
  box-shadow: 0 6px 22px rgba(29, 78, 216, 0.42);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--border-hover);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(22, 163, 74, 0.25);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
  transform: translateY(-1px);
}

.btn-telegram {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.btn-telegram:hover {
  background: var(--telegram-hover);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

.btn-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

/* ==========================================================================
   Hero Section (Compact & Tight Spacing)
   ========================================================================== */
.hero-section {
  padding: 3.5rem 0 2rem;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 1080px;
  margin-inline: auto;
}

/* Framed Hero Headline (کادر شیک عنوان اصلی) */
.hero-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.35rem, 2.7vw, 2.35rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: var(--radius-xl);
  padding: 0.85rem 2.15rem;
  box-shadow: 0 8px 24px -4px rgba(29, 78, 216, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
  max-width: 100%;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(1.02rem, 4.2vw, 1.4rem);
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-lg);
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: clamp(0.85rem, 3.8vw, 1.02rem);
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
    white-space: nowrap;
  }
}

/* Hero Description (1 line on desktop, 2 lines on mobile) */
.hero-desc {
  font-size: clamp(0.96rem, 1.4vw, 1.12rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0.75rem;
  max-width: 100%;
  margin-inline: auto;
  white-space: nowrap;
}

.hero-desc-br {
  display: none;
}

@media (max-width: 768px) {
  .hero-desc {
    white-space: normal;
    font-size: clamp(0.82rem, 3.4vw, 0.94rem);
    line-height: 1.68;
    max-width: 460px;
  }
  .hero-desc-br {
    display: block;
  }
}

.hero-cta-group {
  display: none;
}

/* ==========================================================================
   Section Headers (Tightened Margin)
   ========================================================================== */
.section {
  padding: 3rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 2.25rem;
}

.section-badge {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
  letter-spacing: 0.2px;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.32;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

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

/* ==========================================================================
   Services Grid (Chic Carbon Blue 4x2 Matrix)
   ========================================================================== */
#services {
  padding-top: 0.5rem;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.35rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #1e3a8a, #2563eb, #38bdf8);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow-hover);
}

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

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transform: scale(1.06);
}

.service-icon-box svg {
  width: 24px;
  height: 24px;
}

.service-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  letter-spacing: -0.2px;
}

.service-card-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ==========================================================================
   Why Behsite Section (Framed Layout)
   ========================================================================== */
.why-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.why-lead {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-xs);
}

.why-lead-title {
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  font-weight: 800;
  line-height: 1.38;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.why-lead-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.why-lead-approach {
  padding: 1.15rem;
  background: #f0f7ff;
  border-radius: var(--radius-md);
  border: 1px solid #bfdbfe;
  border-inline-start: 4px solid var(--primary);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.benefit-card:hover {
  border-color: #bfdbfe;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.08);
}

.benefit-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 14px;
  height: 14px;
}

.benefit-text {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   Process Section (Framed Roadmap)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.2rem;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

.process-card:hover {
  border-color: #bfdbfe;
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.process-step-num {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1d4ed8;
  margin-bottom: 0.85rem;
  display: inline-block;
  font-family: monospace, sans-serif;
  padding: 0.25rem 0.65rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.process-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

/* ==========================================================================
   FAQ Accordion (Framed Accordion)
   ========================================================================== */
.faq-wrap {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item.active {
  border-color: #bfdbfe;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-primary);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: start;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.35s ease-in-out;
}

.faq-answer-inner {
  padding: 0 1.35rem 1.15rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.78;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.85rem;
}

/* ==========================================================================
   Final CTA Banner & Contact (Carbon Blue Dark Contrast Box)
   ========================================================================== */
.final-cta-card {
  background: linear-gradient(135deg, #090d16 0%, #0c1833 50%, #1e3a8a 100%);
  border: 1px solid rgba(37, 99, 235, 0.28);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  color: #ffffff;
}

.final-cta-card .final-cta-title {
  color: #ffffff;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.final-cta-card .final-cta-desc {
  font-size: 1.08rem;
  color: #cbd5e1;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.final-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.final-cta-card .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.final-cta-card .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.contact-quick-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
}

.contact-quick-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
  font-weight: 500;
}

.contact-quick-item:hover {
  color: #ffffff;
}

/* ==========================================================================
   Island Footer
   ========================================================================== */
.site-footer-wrapper {
  padding: 0 1.5rem 2.5rem;
  margin-top: 3.5rem;
}

.footer-island {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.05), 0 0 1px 1px rgba(15, 23, 42, 0.02);
  padding: 2.75rem 2.5rem 1.75rem;
  position: relative;
  overflow: hidden;
}

.footer-island::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e3a8a, #1d4ed8, #2563eb, #0284c7);
}

/* Contact Showcase in Island */
.footer-contact-showcase {
  margin-bottom: 2.5rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.footer-contact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-contact-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  display: inline-block;
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.35);
  }
}

.footer-contact-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0284c7;
  background: #e0f2fe;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #bae6fd;
}

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

.footer-action-card {
  padding: 1.25rem 1.4rem;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.footer-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.06);
}

.card-whatsapp:hover {
  border-color: #25D366;
  background: #f0fdf4;
}

.card-telegram:hover {
  border-color: #229ED9;
  background: #f0f9ff;
}

.footer-action-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-action-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-action-icon svg {
  width: 22px;
  height: 22px;
}

.card-whatsapp .footer-action-icon {
  background: #25D366;
  color: #ffffff;
}

.card-telegram .footer-action-icon {
  background: #229ED9;
  color: #ffffff;
}

.footer-action-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.footer-action-status {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.status-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
}

.footer-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.card-whatsapp .footer-action-link {
  background: #25D366;
  color: #ffffff;
}

.card-whatsapp .footer-action-link:hover {
  background: #1ebe5d;
  color: #ffffff;
}

.card-telegram .footer-action-link {
  background: #229ED9;
  color: #ffffff;
}

.card-telegram .footer-action-link:hover {
  background: #1d8ec4;
  color: #ffffff;
}

.footer-action-desc {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #e2e8f0;
}

/* Island Grid 4 Columns */
.footer-island-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.15fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
}

.footer-brand-col .brand-logo {
  margin-bottom: 0.85rem;
}

.footer-brand-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.72;
  margin-bottom: 1.25rem;
  max-width: 320px;
}

.footer-direct-call {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.85rem;
  background: #f1f5f9;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.footer-direct-call .call-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-direct-call .call-number {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.footer-direct-call .call-number:hover {
  text-decoration: underline;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: var(--text-primary);
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

[dir="rtl"] .footer-links a:hover {
  transform: translateX(-3px);
}

.portfolio-highlight-link {
  font-weight: 600 !important;
  color: var(--primary) !important;
  margin-top: 0.25rem;
}

.footer-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-lang-switcher-row {
  margin-top: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid #f1f5f9;
}

.footer-lang-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.footer-lang-pills {
  display: inline-flex;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}

.footer-lang-pills .lang-pill {
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--text-secondary);
}

.footer-lang-pills .lang-pill.active {
  background: #ffffff;
  color: var(--text-primary);
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Bottom Island */
.footer-bottom-island {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.5rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-island-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-footer-wrapper {
    padding: 0 0.85rem 2rem;
  }
  .footer-island {
    padding: 1.85rem 1.25rem 1.25rem;
    border-radius: 20px;
  }
  .footer-island-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-bottom-island {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   Mobile Bottom Floating Bar
   ========================================================================== */
.mobile-floating-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 0.65rem 1rem;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

.mobile-floating-inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
}

.mobile-floating-inner .btn {
  flex: 1;
  padding: 0.65rem 0.5rem;
  font-size: 0.88rem;
}

/* Mobile Menu Overlay - Always hidden on desktop */
.mobile-menu-overlay {
  display: none !important;
}

/* ==========================================================================
   Mobile Responsive Styles
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .why-lead {
    position: static;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }

  /* Fullscreen mobile menu */
  .mobile-menu-overlay {
    display: none !important;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
  }

  .mobile-menu-overlay.active {
    display: flex !important;
  }

  .mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
  }

  .mobile-nav-links a {
    font-size: 1.15rem;
    font-weight: 600;
    display: block;
    padding: 0.5rem 0;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-section {
    padding: 2.75rem 0 2rem;
  }

  .mobile-floating-bar {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 540px) {
  .header-card-btn span {
    display: none;
  }
  .header-card-btn {
    padding: 0.42rem 0.55rem;
  }
}
