/* ===========================================
   PROWEB MASTER — Design System v2.0
   Corporate style, Aspro Digital inspired
   =========================================== */

/* ---- CSS Variables ---- */
:root {
  --navy:    #0F172A;
  --navy2:   #1E293B;
  --blue:    #2563EB;
  --blue2:   #1D4ED8;
  --indigo:  #6366F1;
  --amber:   #F59E0B;
  --green:   #10B981;
  --red:     #EF4444;
  --purple:  #8B5CF6;
  --teal:    #14B8A6;
  --orange:  #F97316;

  --bg:      #F8FAFC;
  --surface: #FFFFFF;
  --border:  #E2E8F0;
  --text:    #1E293B;
  --muted:   #64748B;
  --light:   #F1F5F9;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 20px 40px rgba(0,0,0,.10), 0 8px 16px rgba(0,0,0,.06);
  --shadow-xl: 0 32px 64px rgba(0,0,0,.14);

  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --nav-h: 72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

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

/* ---- Typography helpers ---- */
.text-gradient {
  background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 60%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-sm  { padding: 9px 18px; font-size: 14px; border-radius: var(--radius-sm); }
.btn-lg  { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue2) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37,99,235,.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(37,99,235,.05);
}

/* Hero outline button needs light contrast on dark background */
.hero .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
}

.hero .btn-outline:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255,255,255,.16);
}

.btn-white {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---- Section headers ---- */
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37,99,235,.08);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-tag--light {
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.15);
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title--light { color: #fff; }
.section-desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.5px;
  flex-shrink: 0;
}
.logo-text { font-size: 18px; font-weight: 600; color: var(--navy); }
.logo-text strong { font-weight: 800; }
.logo--light .logo-text { color: #fff; }

/* Flag icon */
.flag-icon { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }

/* ============================================
   LEGACY PAGES COMPATIBILITY
   ============================================ */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ff6b6b 100%);
  display: none !important;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .6s ease, visibility .6s ease;
}

.loading-overlay.hide {
  opacity: 0;
  visibility: hidden;
}

.loader {
  position: relative;
  width: 96px;
  height: 96px;
}

.loader-circle {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(255,255,255,.24);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s linear infinite;
}

.loader-circle:nth-child(2) {
  inset: 10%;
  animation-delay: -.33s;
}

.loader-circle:nth-child(3) {
  inset: 20%;
  animation-delay: -.66s;
}

.loader-text {
  position: absolute;
  top: 118px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 600;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 850;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav-content {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo a {
  font-weight: 800;
  color: var(--navy);
  font-size: 20px;
}

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

.nav-menu a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--navy2);
  font-size: 14px;
  font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(37,99,235,.08);
  color: var(--blue);
}

.lang-switch {
  border: 1px solid var(--border);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.09); }
.hdr-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: nowrap;
}
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy2);
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue); background: rgba(37,99,235,.07); }
.nav-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin-left: 4px;
}
.hdr-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.hdr-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy2);
  transition: color var(--transition);
}
.hdr-phone i { color: var(--blue); font-size: 13px; }
.hdr-phone:hover { color: var(--blue); }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 2px;
  margin-left: auto;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
}
.blob-1 { width: 600px; height: 600px; background: var(--blue); top: -150px; right: -100px; }
.blob-2 { width: 400px; height: 400px; background: var(--indigo); bottom: 0; left: -100px; }
.blob-3 { width: 300px; height: 300px; background: var(--purple); top: 40%; right: 20%; }

.hero .container { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
/* Hero content */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.badge-pulse {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.6); }
  50%      { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.hero-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.hstat { text-align: center; padding: 0 20px; }
.hstat:first-child { padding-left: 0; }
.hstat strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.hstat span { font-size: 13px; color: rgba(255,255,255,.55); font-weight: 500; }
.hstat-div { width: 1px; height: 36px; background: rgba(255,255,255,.15); flex-shrink: 0; }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-code-card {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 440px;
}
.code-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }
.code-filename { font-size: 12px; color: rgba(255,255,255,.45); margin-left: 8px; font-family: 'SF Mono', 'Fira Code', monospace; }
.code-body { padding: 22px 22px 26px; font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace; }
.code-line { font-size: 13.5px; line-height: 1.9; }
.c-kw   { color: #C084FC; }
.c-var  { color: #93C5FD; }
.c-op   { color: rgba(255,255,255,.5); }
.c-prop { color: #7DD3FC; }
.c-str  { color: #86EFAC; }
.c-num  { color: #FCA5A5; }
.c-comment { color: rgba(255,255,255,.3); }

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  animation: float-bob 4s ease-in-out infinite;
}
.hero-float--tl { top: -16px; left: -24px; animation-delay: 0s; }
.hero-float--br { bottom: -16px; right: -24px; animation-delay: 2s; }
.hero-float i { font-size: 16px; }
@keyframes float-bob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.4);
  font-size: 12px;
  text-decoration: none;
  animation: scroll-bounce 2s ease-in-out infinite;
}
.hero-scroll-hint i { font-size: 14px; }
@keyframes scroll-bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   CORPORATE NAV BLOCK
   ============================================ */
.corp-nav {
  padding: 88px 0;
  background: var(--surface);
}

.corp-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.corp-nav-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--bg);
  transition: var(--transition);
}

.corp-nav-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: var(--shadow);
  background: #fff;
}

.corp-nav-card h3 {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 8px;
}

.corp-nav-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ============================================
   INTERNAL PAGES (UNIFIED STYLE)
   ============================================ */
.page-hero {
  margin-top: var(--nav-h);
  padding: 56px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #6366f1 100%);
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255,255,255,.84);
  font-size: 17px;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.76);
  margin-bottom: 16px;
}

.breadcrumbs a { color: rgba(255,255,255,.92); }

.page-main {
  padding: 72px 0;
  background: var(--bg);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

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

.info-card h3 {
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 14px;
}

.badge-row span {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.18);
  border-radius: 100px;
  padding: 4px 10px;
}

.detail-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--blue);
  font-weight: 700;
  margin-top: 14px;
}

.detail-link:hover { color: var(--indigo); }

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.panel p { color: var(--muted); }

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.stat-box {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.stat-box strong {
  display: block;
  color: var(--blue);
  font-size: 22px;
}

.stat-box span {
  color: var(--muted);
  font-size: 12px;
}

.page-cta {
  margin-top: 36px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1d4ed8 0%, #6366f1 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.page-cta .cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.page-cta p { color: rgba(255,255,255,.85); }

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 96px 0;
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.srv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.srv-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.srv-card--featured {
  background: linear-gradient(135deg, var(--navy) 0%, #1E3A5F 100%);
  border-color: transparent;
  color: #fff;
}
.srv-card--featured h3 { color: #fff; }
.srv-card--featured p { color: rgba(255,255,255,.7); }
.srv-card--featured .srv-features li { color: rgba(255,255,255,.8); }
.srv-card--featured .srv-features i { color: var(--green); }
.srv-card--featured .srv-link { color: rgba(255,255,255,.7); }
.srv-card--featured .srv-link:hover { color: #fff; }

.srv-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.srv-icon--blue   { background: rgba(37,99,235,.1);   color: var(--blue); }
.srv-icon--purple { background: rgba(139,92,246,.1);  color: var(--purple); }
.srv-icon--orange { background: rgba(249,115,22,.1);  color: var(--orange); }
.srv-icon--green  { background: rgba(16,185,129,.1);  color: var(--green); }
.srv-icon--teal   { background: rgba(20,184,166,.1);  color: var(--teal); }
.srv-icon--red    { background: rgba(239,68,68,.1);   color: var(--red); }

.srv-card h3 { font-size: 19px; font-weight: 700; color: var(--navy); }
.srv-card p  { font-size: 14px; color: var(--muted); line-height: 1.65; flex: 1; }
.srv-features { display: flex; flex-direction: column; gap: 6px; }
.srv-features li { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.srv-features i { color: var(--blue); font-size: 11px; }
.srv-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}
.srv-link:hover { gap: 10px; }

/* Ensure featured service card remains readable */
.services .srv-card--featured h3,
.services .srv-card--featured p,
.services .srv-card--featured .srv-features li,
.services .srv-card--featured .srv-link {
  color: #fff;
}

.services .srv-card--featured p {
  color: rgba(255,255,255,.86);
}

.services .srv-card--featured .srv-link {
  color: rgba(255,255,255,.94);
}

.services .srv-card--featured .srv-icon {
  background: rgba(255,255,255,.14);
  color: #fff;
}

/* ============================================
   NUMBERS / ABOUT
   ============================================ */
.numbers-section {
  padding: 96px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.numbers-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,.2) 0%, transparent 70%);
  pointer-events: none;
}
.numbers-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.numbers-text .btn-primary { margin-top: 8px; }
.numbers-desc {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  margin-bottom: 28px;
}
.numbers-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.n-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
}
.numbers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.num-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
}
.num-card:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.num-value {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.num-label { font-size: 13px; color: rgba(255,255,255,.5); font-weight: 500; }

/* ============================================
   CASES
   ============================================ */
.cases {
  padding: 96px 0;
  background: var(--surface);
}
.cases-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { color: var(--blue); border-color: var(--blue); background: rgba(37,99,235,.05); }
.filter-btn.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.case-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9.5;
  background: var(--light);
}
.case-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.case-card:hover .case-image img { transform: scale(1.06); }
.case-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.case-card:hover .case-overlay { opacity: 1; }
.case-overlay-btn {
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius);
  transition: var(--transition);
  transform: translateY(8px);
}
.case-card:hover .case-overlay-btn { transform: translateY(0); }

.case-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: .04em;
}
.case-badge--green  { background: var(--green); }
.case-badge--purple { background: var(--purple); }
.case-badge--orange { background: var(--orange); }
.case-badge--teal   { background: var(--teal); }

.case-body { padding: 24px; }
.case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.case-cat  { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--blue); }
.case-duration { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }

.case-body h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.case-body h3 a { color: inherit; }
.case-body h3 a:hover { color: var(--blue); }
.case-body p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }

.case-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.case-tech li {
  font-size: 12px;
  font-weight: 600;
  background: var(--light);
  color: var(--navy2);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.case-results {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.case-result { text-align: center; }
.case-result strong { display: block; font-size: 18px; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 3px; }
.case-result span  { font-size: 11px; color: var(--muted); font-weight: 500; }

/* ============================================
   TECH STACK
   ============================================ */
.tech-section {
  padding: 80px 0;
  background: var(--bg);
}
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  min-width: 100px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: var(--transition);
}
.tech-item:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(37,99,235,.1);
  transform: translateY(-3px);
}
.tech-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.5px;
}
.ti-bitrix { background: #e53e3e; color: #fff; font-size: 14px; }
.ti-b24    { background: #2563eb; color: #fff; font-size: 13px; }
.ti-react  { background: #0ea5e9; color: #fff; }
.ti-vue    { background: #10b981; color: #fff; }
.ti-node   { background: #65a30d; color: #fff; }
.ti-php    { background: #6366f1; color: #fff; font-size: 11px; }
.ti-laravel{ background: #ef4444; color: #fff; }
.ti-ts     { background: #2563eb; color: #fff; font-size: 13px; }
.ti-docker { background: #0ea5e9; color: #fff; font-size: 22px; }
.ti-figma  { background: #f97316; color: #fff; }

/* ============================================
   PROCESS
   ============================================ */
.process {
  padding: 96px 0;
  background: var(--surface);
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  margin-top: 16px;
}
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
}
.process-connector {
  flex-shrink: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--indigo));
  margin-top: 32px;
  opacity: .3;
}
.process-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: rgba(37,99,235,.3);
  margin-bottom: 16px;
}
.process-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px rgba(37,99,235,.3);
}
.process-body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.process-body p  { font-size: 14px; color: var(--muted); line-height: 1.65; max-width: 200px; margin: 0 auto 12px; }
.process-dur {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(37,99,235,.08);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
  padding: 96px 0;
  background: var(--bg);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-4px); }
.review-card--featured {
  background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%);
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(37,99,235,.3);
}
.review-card--featured .review-stars i  { color: var(--amber); }
.review-card--featured .review-text     { color: rgba(255,255,255,.9); }
.review-card--featured .review-author strong { color: #fff; }
.review-card--featured .review-author span   { color: rgba(255,255,255,.6); }

.review-stars { display: flex; gap: 3px; }
.review-stars i { color: var(--amber); font-size: 14px; }
.review-text { font-size: 15px; color: var(--muted); line-height: 1.75; font-style: italic; flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); }
.review-author span   { font-size: 12px; color: var(--muted); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1a2744 50%, #0F172A 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-content h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin: 10px 0 14px;
  line-height: 1.2;
}
.cta-content p { font-size: 16px; color: rgba(255,255,255,.65); max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 96px 0;
  background: var(--surface);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-intro {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ci-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: rgba(37,99,235,.1);
  color: var(--blue);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.contact-item > div span:first-child { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 3px; }
.contact-item > div a,
.contact-item > div span:last-child { font-size: 15px; font-weight: 600; color: var(--navy); }
.contact-item > div a:hover { color: var(--blue); }
.contact-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.trust-item i { color: var(--green); font-size: 15px; }

/* Contact Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.form-field:not(.form-row .form-field) { margin-bottom: 16px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--navy2); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #A0AEC0; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
  background: var(--surface);
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
}
.form-note i { color: var(--green); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  padding-top: 72px;
  margin-top: auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin: 18px 0 24px;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 16px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-links-group { display: flex; flex-direction: column; gap: 12px; }
.footer-links-group h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 6px;
}
.footer-links-group a,
.footer-links-group span {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.footer-links-group a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.35); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.65); }

/* ============================================
   NOTIFICATIONS
   ============================================ */
.notification {
  position: fixed;
  top: 24px;
  right: 24px;
  min-width: 320px;
  max-width: 420px;
  padding: 16px 20px;
  border-radius: var(--radius);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  box-shadow: var(--shadow-xl);
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  align-items: center;
  gap: 12px;
}
.notification.show { transform: translateX(0); }
.notification-success { background: linear-gradient(135deg, #059669, #10B981); }
.notification-error   { background: linear-gradient(135deg, #DC2626, #EF4444); }
.notification-info    { background: linear-gradient(135deg, var(--blue), var(--indigo)); }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .cards-grid     { grid-template-columns: repeat(2, 1fr); }
  .stats-strip    { grid-template-columns: repeat(2, 1fr); }
  .split-layout   { grid-template-columns: 1fr; }
  .corp-nav-grid  { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 36px; }
  .process-steps { flex-direction: column; align-items: center; gap: 32px; }
  .process-connector { width: 2px; height: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .hdr-inner {
    padding: 0 12px;
    gap: 12px;
  }
  .logo-mark { width: 34px; height: 34px; }
  .logo-text { font-size: 16px; }

  .main-nav, .hdr-actions .hdr-phone { display: none; }
  .burger { display: flex; }

  /* Mobile nav open */
  .main-nav.nav-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    z-index: 800;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .main-nav.nav-open a { padding: 11px 12px; font-size: 15px; }
  .hdr-actions .btn-sm { display: none; }

  .cards-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .corp-nav-grid { grid-template-columns: 1fr; }
  .hero-layout    { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual    { display: none; }
  .hero .container { padding-top: 48px; padding-bottom: 64px; }
  .hero-title     { font-size: 36px; }
  .hero-stats     { gap: 0; }
  .hstat          { padding: 0 14px; }
  .hstat strong   { font-size: 22px; }

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

  .numbers-layout { grid-template-columns: 1fr; gap: 48px; }
  .numbers-grid   { grid-template-columns: 1fr 1fr; }

  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-form   { padding: 28px 20px; }
  .form-row       { grid-template-columns: 1fr; }

  .page-hero { padding: 42px 0; }
  .page-main { padding: 56px 0; }
  .panel { padding: 20px; }
  .page-cta { padding: 22px; }
  .btn-lg { height: 46px; padding: 0 20px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner  { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .section-head { margin-bottom: 36px; }
  .services, .cases, .reviews, .process, .tech-section,
  .numbers-section, .contact { padding: 64px 0; }
}

/* Disable old ripple circles on clickable elements */
.ripple::after,
.ripple.active::after {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

@media (max-width: 480px) {
  .stats-strip { grid-template-columns: 1fr; }
  .hdr-inner { padding: 0 10px; }
  .logo-text { font-size: 15px; }
  .hero-stats { flex-wrap: wrap; gap: 12px; }
  .hstat-div  { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .num-value { font-size: 36px; }
  .tech-grid .tech-item { min-width: 80px; }
}

/* ============================================
   PROJECT DETAIL PAGES STYLES
   ========================================== */

/* Project Hero */
.project-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.project-hero .breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.project-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.project-hero .breadcrumb a:hover {
    color: white;
}

.project-hero .breadcrumb span {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.project-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.project-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.project-meta-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.meta-item i {
    opacity: 0.8;
}

.project-hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.project-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Project Overview */
.project-overview {
    padding: 100px 0;
    background: white;
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.overview-main h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.overview-main h3 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    color: #334155;
}

.overview-main p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
}

.project-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.project-list li {
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
    border-left: 3px solid #e2e8f0;
    margin-bottom: 1rem;
}

.project-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 24px;
    height: 24px;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.overview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.sidebar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.tech-stack-detailed {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-stack-detailed span {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #6366f1;
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

.team-list {
    list-style: none;
    padding: 0;
}

.team-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #475569;
}

.team-list li:last-child {
    border-bottom: none;
}

.team-list i {
    color: #6366f1;
}

.project-budget {
    font-size: 2rem;
    font-weight: 700;
    color: #6366f1;
    margin: 0;
}

/* Project Results */
.project-results {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.project-results h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

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

.result-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, background 0.3s;
}

.result-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.result-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Project Gallery */
.project-gallery {
    padding: 100px 0;
    background: white;
}

.project-gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #1e293b;
}

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

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-caption {
    padding: 1.5rem;
    background: #f8fafc;
    color: #475569;
    font-size: 0.95rem;
}

/* Client Testimonial */
.client-testimonial {
    padding: 100px 0;
    background: #f8fafc;
}

.testimonial-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    font-size: 4rem;
    color: #6366f1;
    opacity: 0.3;
    margin-bottom: 2rem;
}

blockquote {
    margin: 0;
    padding: 0;
}

blockquote p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #334155;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.author-info p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Next Project */
.next-project {
    padding: 100px 0;
    background: white;
}

.next-project h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.next-project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    align-items: center;
}

.next-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.next-project-image {
    border-radius: 15px;
    overflow: hidden;
}

.next-project-image img {
    width: 100%;
    height: auto;
    display: block;
}

.next-project-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.next-project-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.next-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive ��� ������� �������� */
@media (max-width: 992px) {
    .project-hero-content,
    .overview-grid,
    .next-project-card {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .project-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .project-hero {
        padding: 100px 0 60px;
    }
    
    .project-overview,
    .project-results,
    .project-gallery,
    .client-testimonial,
    .next-project {
        padding: 60px 0;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .project-hero h1 {
        font-size: 2rem;
    }
    
    .overview-main h2 {
        font-size: 2rem;
    }
    
    blockquote p {
        font-size: 1.2rem;
    }
}

/* Ripple Effect for Touch */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple.active::after {
    width: 300px;
    height: 300px;
}

/* Enhanced Mobile Interactions */
@media (hover: none) and (pointer: coarse) {
    .service-card, .project-card {
        animation: swipeInUp 0.8s ease-out;
        animation-delay: 0.1s;
        animation-fill-mode: both;
        opacity: 0;
    }
    
    .services-grid .service-card {
        animation-name: swipeInUp;
        opacity: 1;
    }
    
    .projects-grid .project-card {
        animation-name: swipeInUp;
        opacity: 1;
    }
    
    /* Enhanced touch interactions */
    .contact-item:active {
        transform: scale(0.98);
    }
    
    /* Enhanced navigation menu animations */
    .nav-menu li:not(.lang-switcher) {
        transform: translateX(-100%);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active li:not(.lang-switcher) {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-menu .lang-switcher {
        opacity: 1;
        transform: none;
    }
    
    /* Improved form interactions */
    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
        transform: scale(1.02);
        box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    }
    
    /* Smooth scrolling behavior for mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Remove any remaining focus outlines on mobile */
    *:focus {
        outline: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }
}

/* Page Flip Effects for Mobile */
.page-flip-enter {
    animation: pageFlipIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.page-flip-exit {
    animation: pageFlipOut 0.6s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
}

@keyframes pageFlipIn {
    0% {
        transform: rotateY(-90deg) scale(0.8);
        opacity: 0;
        transform-origin: left center;
    }
    50% {
        transform: rotateY(-45deg) scale(0.9);
        opacity: 0.7;
    }
    100% {
        transform: rotateY(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes pageFlipOut {
    0% {
        transform: rotateY(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: rotateY(45deg) scale(0.9);
        opacity: 0.7;
    }
    100% {
        transform: rotateY(90deg) scale(0.8);
        opacity: 0;
        transform-origin: right center;
    }
}

/* Card Flip Effect */
.card-flip {
    animation: cardFlip 0.6s ease-in-out;
}

@keyframes cardFlip {
    0% {
        transform: perspective(1000px) rotateY(0deg);
    }
    50% {
        transform: perspective(1000px) rotateY(90deg);
        opacity: 0.8;
    }
    100% {
        transform: perspective(1000px) rotateY(0deg);
    }
}

/* Ripple Effect for Touch */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple.active::after {
    width: 300px;
    height: 300px;
}
