/* =========================================================
   PHENOMEN v3 — LIGHT PROFESSIONAL
   ========================================================= */

/* 1. VARIABLES */
:root {
  --bg:      #ffffff;
  --bg2:     #f7f6f3;
  --bg3:     #eeecea;
  --bg-dark: #111111;
  --card:    #ffffff;
  --orange:  #fa7d08;
  --orange-d: rgba(250,125,8,0.09);
  --orange-b: rgba(250,125,8,0.25);
  --border:  rgba(0,0,0,0.09);
  --border-o: rgba(250,125,8,0.35);
  --shadow:  0 4px 24px rgba(0,0,0,0.07);
  --shadow-h: 0 12px 48px rgba(0,0,0,0.13);
  --text:    #111111;
  --text-m:  #666666;
  --text-d:  #aaaaaa;
  --head:    'Raleway', sans-serif;
  --body:    'Manrope', sans-serif;
  --r:       12px;
  --r-lg:    20px;
}

/* 2. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--body); }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

/* 3. TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--head); font-weight: 900; line-height: 1.1; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5.5vw, 5.5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.5rem); }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.5rem); }

.hl { color: var(--orange); }
.section-label {
  font-family: var(--head); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--orange);
  display: inline-flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: ''; width: 28px; height: 2px;
  background: var(--orange); border-radius: 1px; flex-shrink: 0;
}

/* 4. LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }
section { padding: 100px 0; position: relative; }
@media (max-width: 768px) { section { padding: 64px 0; } }
.section-head { margin-bottom: 56px; }
.section-head h2 { margin-top: 14px; }
.section-head p { color: var(--text-m); font-size: 1rem; max-width: 480px; line-height: 1.75; margin-top: 14px; }
.dark-section { background: var(--bg-dark); }
.dark-section h2, .dark-section h3, .dark-section h4 { color: #fff; }

/* 5. PROGRESS BAR */
#pg-bar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--orange), #ffaa44);
  z-index: 9999; pointer-events: none;
}

/* 6. SPLASH */
#splash {
  position: fixed; inset: 0; background: #fff; z-index: 99999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.splash-logo {
  display: flex; align-items: center; gap: 14px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s .1s, transform .5s .1s;
}
.splash-logo.show { opacity: 1; transform: none; }
.splash-ico {
  width: 52px; height: 52px; background: var(--orange); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 900; font-size: 28px; color: #fff;
  box-shadow: 0 8px 32px rgba(250,125,8,0.4);
}
.splash-name { font-family: var(--head); font-weight: 900; font-size: 28px; letter-spacing: 6px; text-transform: uppercase; }
.splash-bar { width: 180px; height: 2px; background: #e8e8e8; border-radius: 1px; overflow: hidden; opacity: 0; transition: opacity .3s .4s; }
.splash-bar.show { opacity: 1; }
.splash-fill { height: 100%; width: 0%; background: var(--orange); }

/* 7. NAV */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  border-bottom: 1px solid transparent;
  transition: padding .3s, background .3s, border-color .3s, box-shadow .3s;
  background: rgba(255,255,255,0.0);
}
#nav.scrolled {
  padding: 14px 0;
  background: rgba(255,255,255,0.96);
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  backdrop-filter: blur(10px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  font-family: var(--head); font-weight: 900; font-size: 15px; letter-spacing: 3px; text-transform: uppercase;
}
.nav-logo-ico {
  width: 34px; height: 34px; background: var(--orange); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; font-family: var(--head); color: #fff;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a, .nav-dd > a {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-m); transition: color .2s; position: relative;
}
.nav-links > a::after, .nav-dd > a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1.5px; background: var(--orange); transition: width .3s;
}
.nav-links > a:hover, .nav-dd > a:hover { color: var(--text); }
.nav-links > a:hover::after, .nav-dd > a:hover::after { width: 100%; }
.nav-dd { position: relative; }
.nav-dd-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 6px; min-width: 210px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.nav-dd:hover .nav-dd-menu { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.nav-dd-menu a {
  display: block; padding: 9px 14px; border-radius: 8px;
  font-size: 0.78rem; color: var(--text-m); transition: background .15s, color .15s;
}
.nav-dd-menu a:hover { background: var(--orange-d); color: var(--orange); }
.nav-cta {
  background: var(--orange); color: #fff !important; padding: 10px 20px; border-radius: 7px;
  font-family: var(--head); font-size: 0.73rem !important; font-weight: 700 !important;
  letter-spacing: 0.08em; flex-shrink: 0;
  transition: box-shadow .2s, transform .2s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { box-shadow: 0 4px 20px rgba(250,125,8,0.4); transform: translateY(-1px); }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 1px; transition: .3s; }
@media (max-width: 920px) { .nav-links, .nav-cta { display: none; } .nav-burger { display: flex; } }

/* Mobile nav */
#mob-nav {
  position: fixed; inset: 0; background: var(--bg); z-index: 5000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
#mob-nav.open { opacity: 1; pointer-events: all; }
#mob-nav a {
  font-family: var(--head); font-weight: 900;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  letter-spacing: 0.05em; text-transform: uppercase; transition: color .2s;
}
#mob-nav a:hover { color: var(--orange); }
#mob-close { position: absolute; top: 24px; right: 28px; font-size: 2rem; cursor: pointer; color: var(--text-m); }

/* 8. HERO */
.hero {
  min-height: 100svh;
  padding: 130px 0 80px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--bg);
}
.hero-deco {
  position: absolute; top: -60px; right: -60px;
  width: 600px; height: 600px;
  background: radial-gradient(circle at 60% 40%, rgba(250,125,8,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-deco-2 {
  position: absolute; bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(250,125,8,0.06) 0%, transparent 70%);
  pointer-events: none;
}
/* Subtle dot grid */
.hero-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(0,0,0,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 100% 0%, black 20%, transparent 70%);
  opacity: 0.5;
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange); padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--orange-b); background: var(--orange-d); margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px; background: var(--orange); border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(250,125,8,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(250,125,8,0); }
}
.hero-title { margin-bottom: 24px; }
.hero-title .char {
  display: inline-block; opacity: 0;
  transform: translateY(30px) rotateX(-30deg);
  transform-origin: 50% 100%;
}
.hero-sub { font-size: clamp(0.95rem, 1.4vw, 1.1rem); color: var(--text-m); max-width: 520px; line-height: 1.82; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 36px; border-top: 1px solid var(--border); }
.hstat { display: flex; flex-direction: column; gap: 2px; }
.hstat-n { font-family: var(--head); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--orange); }
.hstat-l { font-size: 0.72rem; color: var(--text-m); text-transform: uppercase; letter-spacing: 0.12em; }

/* Hero 3D dashboard — LIGHT */
.hero-right { perspective: 900px; }
@media (max-width: 900px) { .hero-right { display: none; } }
.dash-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 20px; padding: 26px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.12);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform .08s linear; will-change: transform;
}
.dash-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dash-ttl { font-family: var(--head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-m); }
.dash-live { display: flex; align-items: center; gap: 6px; font-size: 0.63rem; color: #16a34a; font-weight: 700; }
.dash-live span { width: 6px; height: 6px; background: #16a34a; border-radius: 50%; animation: pulseDot 1.5s ease-in-out infinite; }
.dash-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.dash-m {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px;
}
.dash-m-l { font-size: 0.62rem; color: var(--text-m); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 5px; }
.dash-m-v { font-family: var(--head); font-weight: 900; font-size: 1.55rem; line-height: 1; }
.dash-m-v.g { color: #16a34a; } .dash-m-v.o { color: var(--orange); }
.dash-m-c { font-size: 0.68rem; color: #16a34a; margin-top: 3px; }
.chart-area { margin-bottom: 18px; }
.chart-lbl { font-size: 0.62rem; color: var(--text-m); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.chart-bars { display: flex; align-items: flex-end; gap: 4px; height: 64px; }
.cbar {
  flex: 1; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--orange), rgba(250,125,8,0.3));
  animation: barUp .9s ease-out both; transform-origin: bottom;
}
@keyframes barUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.dash-leads { display: flex; flex-direction: column; gap: 7px; overflow: hidden; }
.dl-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 11px; background: var(--bg2); border-radius: 7px;
}
.dl-name { font-size: 0.77rem; font-weight: 600; color: var(--text); }
.dl-tag { font-size: 0.62rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.dl-tag.new { background: rgba(250,125,8,0.12); color: var(--orange); }
.dl-tag.ok  { background: rgba(22,163,74,0.12);  color: #16a34a; }
.dl-tag.cl  { background: rgba(59,130,246,0.12);  color: #3b82f6; }

/* Floating deco badges */
.dash-deco {
  position: absolute; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 14px;
  font-family: var(--head); font-weight: 700;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  animation: floatBadge var(--fd,6s) ease-in-out infinite alternate;
}
.deco-tl { top: -18px; left: -36px; --fd: 5s; }
.deco-br { bottom: -22px; right: -24px; --fd: 7s; animation-delay: -3.5s; }
.deco-v { font-size: 1.3rem; color: var(--orange); line-height: 1; }
.deco-l { font-size: 0.58rem; color: var(--text-m); text-transform: uppercase; letter-spacing: 0.1em; }
@keyframes floatBadge { 0% { transform: translateY(0); } 100% { transform: translateY(-12px); } }

/* 9. BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 28px; border-radius: 8px;
  position: relative; overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s, color .22s, background .22s;
}
.btn::before {
  content: ''; position: absolute; top: -50%; left: -75%; width: 50%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg); transition: left .5s;
}
.btn:hover::before { left: 130%; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 20px rgba(250,125,8,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(250,125,8,0.45); }
.btn-outline { border: 1.5px solid rgba(0,0,0,0.18); color: var(--text); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn-outline-white { border: 1.5px solid rgba(255,255,255,0.3); color: #fff; }
.btn-outline-white:hover { border-color: #fff; transform: translateY(-2px); }
.arr::after { content: '→'; font-size: 1rem; transition: transform .2s; }
.btn:hover .arr::after { transform: translateX(4px); }

/* 10. MARQUEE */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 26s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.m-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 32px;
  font-family: var(--head); font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-m); white-space: nowrap;
}
.m-dot { width: 5px; height: 5px; background: var(--orange); border-radius: 50%; flex-shrink: 0; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 11. SERVICES */
.svcs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 20px; margin-top: 56px; }
.svc-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px 32px;
  position: relative; overflow: hidden; cursor: pointer;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  transform-style: preserve-3d; will-change: transform;
}
.svc-card:hover { border-color: var(--border-o); box-shadow: var(--shadow-h); }
.svc-num {
  position: absolute; top: 14px; right: 22px;
  font-family: var(--head); font-weight: 900; font-size: 5rem;
  color: rgba(0,0,0,0.04); line-height: 1; user-select: none;
}
.svc-ico {
  width: 88px; height: 88px;
  margin-bottom: 24px; flex-shrink: 0;
  background: transparent; border: none;
  display: flex; align-items: center; justify-content: center;
  /* NO transform here — all motion on img to avoid jitter */
}
.svc-ico img {
  width: 84px; height: 84px; object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 10px 20px rgba(250,125,8,0.22));
  transform: perspective(700px) rotateX(4deg) rotateY(-8deg) translateY(0px);
  transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1), filter 0.45s ease;
  will-change: transform;
}
.svc-card:hover .svc-ico img {
  filter: drop-shadow(0 22px 38px rgba(250,125,8,0.42));
  transform: perspective(700px) rotateX(0deg) rotateY(0deg) translateY(-8px) scale(1.07);
}
.svc-ttl { font-family: var(--head); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 12px; }
.svc-desc { font-size: 0.87rem; color: var(--text-m); line-height: 1.75; margin-bottom: 28px; }
.svc-lnk {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange);
}
.svc-lnk::after { content: '→'; transition: transform .2s; }
.svc-card:hover .svc-lnk::after { transform: translateX(5px); }

/* 12. STATS (DARK SECTION) */
.stats-wrap { background: var(--bg-dark); }
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); }
.stat-cell { padding: 70px 40px; text-align: center; position: relative; }
.stat-cell:not(:last-child)::after {
  content: ''; position: absolute; top: 20%; right: 0; height: 60%; width: 1px;
  background: rgba(255,255,255,0.08);
}
.stat-n { font-family: var(--head); font-weight: 900; font-size: clamp(3rem, 5.5vw, 5.5rem); line-height: 1; margin-bottom: 10px; color: #fff; }
.stat-n em { color: var(--orange); font-style: normal; }
.stat-l { font-size: 0.78rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; }
@media (max-width: 640px) {
  .stats-row { grid-template-columns: 1fr; }
  .stat-cell:not(:last-child)::after { display: none; }
  .stat-cell { padding: 44px 20px; }
}

/* 13. PROCESS */
.proc-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 56px; }
.proc-step {
  padding: 40px 32px; border-left: 1px solid var(--border); transition: border-color .3s, background .2s;
  border-radius: 0;
}
.proc-step:first-child { border-left: none; padding-left: 0; }
.proc-step:hover { border-color: var(--border-o); background: var(--orange-d); }
.proc-n {
  font-family: var(--head); font-weight: 900; font-size: 4rem; line-height: 1;
  margin-bottom: 18px; color: rgba(250,125,8,0.15); transition: color .3s;
}
.proc-step:hover .proc-n { color: rgba(250,125,8,0.35); }
.proc-t { font-family: var(--head); font-weight: 800; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.proc-d { font-size: 0.83rem; color: var(--text-m); line-height: 1.75; }
@media (max-width: 768px) {
  .proc-row { grid-template-columns: 1fr 1fr; }
  .proc-step { padding: 28px; border-left: 1px solid var(--border) !important; }
}
@media (max-width: 480px) {
  .proc-row { grid-template-columns: 1fr; }
  .proc-step { border-left: none !important; border-top: 1px solid var(--border); padding: 26px 0; }
  .proc-step:first-child { border-top: none; }
}

/* 14. CASES */
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 20px; margin-top: 56px; }
.case-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .25s, transform .3s, box-shadow .3s;
}
.case-card:hover { border-color: var(--border-o); transform: translateY(-5px); box-shadow: var(--shadow-h); }
.case-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f0eeea, #e8e5df);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.case-img svg { width: 56px; height: 56px; opacity: 0.35; }
.case-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.45), transparent); }
.case-label {
  position: absolute; bottom: 14px; left: 14px;
  padding: 4px 10px; border-radius: 4px;
  background: var(--orange);
  font-family: var(--head); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
}
.case-body { padding: 24px 28px; }
.case-title { font-family: var(--head); font-weight: 800; font-size: 1rem; margin-bottom: 8px; line-height: 1.35; }
.case-txt { font-size: 0.83rem; color: var(--text-m); line-height: 1.65; }
.case-metrics { display: flex; gap: 20px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.cm { display: flex; flex-direction: column; gap: 2px; }
.cm-v { font-family: var(--head); font-weight: 900; font-size: 1.1rem; color: var(--orange); }
.cm-l { font-size: 0.68rem; color: var(--text-m); text-transform: uppercase; letter-spacing: 0.08em; }

/* 15. WHY US */
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 56px; }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  display: flex; gap: 20px; padding: 28px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  transition: border-color .25s, box-shadow .25s; cursor: default;
}
.why-card:hover { border-color: var(--border-o); box-shadow: var(--shadow); }
.why-ico {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(145deg, #fff8f2, #fde5c0);
  border: 1px solid rgba(250,125,8,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    3px 3px 0 rgba(250,125,8,0.12),
    6px 6px 0 rgba(250,125,8,0.06),
    0 10px 24px rgba(250,125,8,0.14);
  transform: perspective(400px) rotateX(6deg) rotateY(-10deg);
  transition: transform .35s ease, box-shadow .35s ease;
}
.why-ico svg { width: 22px; height: 22px; }
.why-card:hover .why-ico {
  transform: perspective(400px) rotateX(0deg) rotateY(0deg) translateY(-4px);
  box-shadow: 0 16px 32px rgba(250,125,8,0.22);
}
.why-body h4 { font-family: var(--head); font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.why-body p { font-size: 0.83rem; color: var(--text-m); line-height: 1.72; }

/* 16. TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.team-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 36px 28px 28px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.team-card:hover { border-color: var(--border-o); box-shadow: var(--shadow-h); transform: translateY(-4px); }
.team-ava {
  width: 100px; height: 100px; border-radius: 50%; flex-shrink: 0;
  border: 3px solid var(--orange-b); overflow: hidden;
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center; color: var(--orange);
  margin-bottom: 20px;
}
.team-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-ava svg { width: 44px; height: 44px; }
.team-info { width: 100%; }
.team-name { font-family: var(--head); font-weight: 900; font-size: 1.2rem; margin-bottom: 4px; }
.team-role { font-size: 0.68rem; color: var(--orange); font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 14px; }
.team-bio { font-size: 0.85rem; color: var(--text-m); line-height: 1.75; margin-bottom: 16px; }
.team-contacts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 4px; }
.team-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: var(--text-m); text-decoration: none;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 20px;
  padding: 5px 14px; transition: border-color .2s, color .2s;
}
.team-link:hover { border-color: var(--orange); color: var(--orange); }
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .team-card { padding: 24px 16px 20px; }
  .team-ava { width: 72px; height: 72px; margin-bottom: 14px; }
}
@media (max-width: 420px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* 17. REVIEWS */
.revs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 20px; margin-top: 56px; }
.rev-card {
  padding: 30px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  transition: border-color .25s, transform .3s, box-shadow .3s;
}
.rev-card:hover { border-color: var(--border-o); transform: translateY(-4px); box-shadow: var(--shadow-h); }
.rev-stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--orange); font-size: 0.88rem; }
.rev-text { font-size: 0.91rem; color: var(--text-m); line-height: 1.8; font-style: italic; margin-bottom: 22px; }
.rev-author { display: flex; align-items: center; gap: 12px; }
.rev-ava {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange), #ffaa44);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 900; font-size: 1rem; color: #fff;
}
.rev-name { font-weight: 700; font-size: 0.87rem; }
.rev-co { font-size: 0.72rem; color: var(--text-m); }

/* 18. CTA BANNER (DARK) */
.cta-section {
  background: var(--bg-dark); padding: 100px 0; text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.6); font-size: 1.05rem; max-width: 500px; margin: 0 auto 40px; line-height: 1.75; }

/* 19. CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { color: var(--text-m); line-height: 1.8; margin-bottom: 36px; }
.c-items { display: flex; flex-direction: column; gap: 14px; }
.c-item { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; }
.c-ico {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  background: var(--orange-d); border: 1px solid var(--orange-b);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.c-ico svg { width: 18px; height: 18px; }
.c-item a { color: var(--text-m); transition: color .2s; }
.c-item a:hover { color: var(--orange); }
.c-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.c-social-link {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-m); transition: border-color .2s, color .2s, background .2s;
}
.c-social-link:hover { border-color: var(--orange); color: var(--orange); background: rgba(250,125,8,.08); }

/* Form */
.form { display: flex; flex-direction: column; gap: 16px; }
.fg { display: flex; flex-direction: column; gap: 7px; }
.fg label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-m); }
.fg input, .fg textarea, .fg select {
  width: 100%; background: var(--bg2); border: 1.5px solid var(--border); border-radius: 8px;
  padding: 13px 16px; color: var(--text); font-family: var(--body); font-size: 0.93rem;
  transition: border-color .2s, box-shadow .2s; outline: none; resize: none; -webkit-appearance: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--text-d); }
.fg input:focus, .fg textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(250,125,8,0.1); }
.fg textarea { min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.78rem; color: var(--text-m); cursor: pointer; line-height: 1.5;
}
.form-check input { accent-color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.form-check a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.btn-full { width: 100%; justify-content: center; }

/* 20. FOOTER */
footer { background: var(--bg-dark); padding: 60px 0 28px; }
.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 28px;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-logo-ico {
  width: 32px; height: 32px; background: var(--orange); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 900; font-size: 14px; color: #fff;
}
.foot-logo-name { font-family: var(--head); font-weight: 900; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: #fff; }
.foot-desc { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.72; max-width: 260px; }
.foot-col h4 { font-family: var(--head); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px; color: rgba(255,255,255,0.5); }
.foot-col ul { display: flex; flex-direction: column; gap: 10px; }
.foot-col li a { font-size: 0.82rem; color: rgba(255,255,255,0.55); transition: color .2s; }
.foot-col li a:hover { color: var(--orange); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.foot-copy { font-size: 0.76rem; color: rgba(255,255,255,0.3); }
.foot-legal { display: flex; gap: 18px; }
.foot-legal a { font-size: 0.7rem; color: rgba(255,255,255,0.3); transition: color .2s; }
.foot-legal a:hover { color: rgba(255,255,255,0.6); }

/* ── FLOATING SERVICE CARDS ─────────────────────────────── */
.sf-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.sf-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 32px 20px 26px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s;
  will-change: transform;
}
.sf-card:nth-child(1) { animation: sfF1 5.2s 0.0s ease-in-out infinite; }
.sf-card:nth-child(2) { animation: sfF2 5.8s 0.5s ease-in-out infinite; }
.sf-card:nth-child(3) { animation: sfF3 5.4s 1.0s ease-in-out infinite; }
.sf-card:nth-child(4) { animation: sfF4 6.0s 1.5s ease-in-out infinite; }
@keyframes sfF1 { 0%,100%{ transform:translateY(0) rotate(-1.2deg); } 50%{ transform:translateY(-14px) rotate(1deg); } }
@keyframes sfF2 { 0%,100%{ transform:translateY(0) rotate(1deg); }    50%{ transform:translateY(-12px) rotate(-1.8deg); } }
@keyframes sfF3 { 0%,100%{ transform:translateY(0) rotate(-0.8deg); } 50%{ transform:translateY(-16px) rotate(1.2deg); } }
@keyframes sfF4 { 0%,100%{ transform:translateY(0) rotate(1.4deg); }  50%{ transform:translateY(-10px) rotate(-0.8deg); } }

.sf-card:hover { border-color: var(--border-o); box-shadow: 0 16px 48px rgba(250,125,8,0.12); animation-play-state: paused; }
.sf-card.sf-active { border-color: var(--orange); box-shadow: 0 8px 36px rgba(250,125,8,0.18); animation-play-state: paused; }

.sf-num {
  position: absolute; top: 12px; right: 16px;
  font-family: var(--head); font-weight: 900; font-size: 4.5rem;
  color: rgba(0,0,0,0.04); line-height: 1; user-select: none;
}
.sf-ico {
  width: 90px; height: 90px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
}
.sf-ico img {
  width: 82px; height: 82px; object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(250,125,8,0.22));
  transition: filter 0.4s, transform 0.5s cubic-bezier(0.34,1.4,0.64,1);
}
.sf-card:hover .sf-ico img,
.sf-card.sf-active .sf-ico img {
  filter: drop-shadow(0 18px 36px rgba(250,125,8,0.42));
  transform: scale(1.1) translateY(-4px);
}
.sf-ttl {
  font-family: var(--head); font-weight: 800;
  font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.05em; line-height: 1.35;
  color: var(--text);
}
.sf-card.sf-active .sf-ttl { color: var(--orange); }

/* expand panel */
.sf-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-top: 16px;
}
.sf-panel.is-open { grid-template-rows: 1fr; }
.sf-panel-inner { overflow: hidden; }
.sf-panel-body {
  background: var(--card);
  border: 1.5px solid var(--orange);
  border-radius: 18px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 4px;
  position: relative;
}
.sf-panel-body::before {
  content: '';
  position: absolute;
  top: -9px;
  left: var(--arr, 12.5%);
  width: 16px; height: 16px;
  background: var(--card);
  border-top: 1.5px solid var(--orange);
  border-left: 1.5px solid var(--orange);
  transform: rotate(45deg) translateX(-50%);
  border-radius: 2px;
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.sf-panel-desc {
  flex: 1;
  font-size: 0.95rem; color: var(--text-m); line-height: 1.82;
}
.sf-panel-lnk {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange); white-space: nowrap; flex-shrink: 0;
}
.sf-panel-lnk::after { content: '→'; transition: transform 0.2s; }
.sf-panel-lnk:hover::after { transform: translateX(4px); }

@media (max-width: 768px) { .sf-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) {
  .sf-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sf-card { padding: 24px 14px 20px; }
  .sf-ico { width: 68px; height: 68px; }
  .sf-ico img { width: 62px; height: 62px; }
  .sf-ttl { font-size: 0.72rem; }
  .sf-panel-body { flex-direction: column; align-items: flex-start; gap: 20px; padding: 22px 20px; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — FULL RESPONSIVE PASS
   ═══════════════════════════════════════════════════════════ */

/* ── Hero: show dashboard on mobile, flat (no 3D) ── */
@media (max-width: 900px) {
  .hero-right {
    display: block !important;
    perspective: none;
  }
  .dash-card {
    transform: none !important;
    will-change: auto;
    box-shadow: 0 6px 32px rgba(0,0,0,0.1);
  }
  .dash-deco { display: none; }
  .hero-inner { gap: 36px; }
}

/* ── Hero text tightening ── */
@media (max-width: 768px) {
  .hero-sub { font-size: 0.97rem; margin-bottom: 28px; }
  .hero-btns { gap: 10px; margin-bottom: 32px; }
  .hero-stats { gap: 22px; padding-top: 24px; }
  .hstat-n { font-size: 1.75rem; }
}

/* ── Hero + dashboard on small phones ── */
@media (max-width: 480px) {
  .hero-inner { gap: 28px; }
  .hero-sub { font-size: 0.9rem; }
  .hero-btns .btn { padding: 13px 20px; font-size: 0.75rem; }
  .hstat-n { font-size: 1.5rem; }
  .hero-stats { gap: 16px; }

  /* compact dashboard card */
  .dash-card { padding: 18px; border-radius: 16px; }
  .dash-hdr { margin-bottom: 14px; }
  .dash-m-v { font-size: 1.25rem; }
  .dash-m { padding: 10px 12px; }
  .chart-bars { height: 48px; }
  .chart-area { margin-bottom: 12px; }
  .dl-row { padding: 6px 9px; }
  .dl-name { font-size: 0.72rem; }
  .dl-tag { font-size: 0.58rem; padding: 2px 6px; }
}

/* ── Stats: 2 columns on mobile ── */
@media (max-width: 640px) {
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .stat-cell:not(:last-child)::after { display: none; }
  .stat-cell { padding: 44px 16px; }
  .stat-cell:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.06);
  }
  .stat-cell:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
}

/* ── Service cards: tighter on phones ── */
@media (max-width: 480px) {
  .svcs-grid { grid-template-columns: 1fr; gap: 14px; }
  .svc-card { padding: 28px 22px; }
  .svc-ico { width: 70px; height: 70px; margin-bottom: 16px; }
  .svc-ico img { width: 66px; height: 66px; }
  .svc-ttl { font-size: 1rem; }
}

/* ── Cases: 1 col on small phones ── */
@media (max-width: 480px) {
  .cases-grid { grid-template-columns: 1fr; }
}

/* ── Process: already 1 col on 480px ── */

/* ── CTA dark section ── */
@media (max-width: 768px) {
  .cta-section { padding: 72px 0; }
  .cta-section p { font-size: 0.95rem; }
}
@media (max-width: 480px) {
  .cta-section { padding: 56px 0; }
}

/* ── Footer on small phones ── */
@media (max-width: 480px) {
  footer { padding: 44px 0 24px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot-legal { flex-wrap: wrap; gap: 10px; }
}

/* 21. SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; } .d5 { transition-delay: .4s; }

/* 22. INNER PAGE HERO */
.pg-hero { padding: 150px 0 80px; position: relative; overflow: hidden; background: var(--bg2); }
.pg-hero-deco {
  position: absolute; top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(250,125,8,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.pg-hero-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(0,0,0,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 100% 0%, black 20%, transparent 65%);
  opacity: 0.6;
}
.pg-inner { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.76rem; color: var(--text-m); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--orange); } .bc-sep { color: var(--text-d); }
.pg-stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--border); }

/* 23. FAQ */
.faq-wrap { display: flex; flex-direction: column; gap: 2px; margin-top: 56px; }
.faq-item {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; transition: border-color .25s;
}
.faq-item.open { border-color: var(--border-o); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer;
  font-family: var(--head); font-weight: 700; font-size: 0.93rem;
}
.faq-plus { color: var(--orange); font-size: 1.2rem; flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a {
  padding: 0 24px; max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .3s ease;
  font-size: 0.87rem; color: var(--text-m); line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 20px; }

/* 24. FEATURE LIST */
.feat-list { display: flex; flex-direction: column; gap: 12px; }
.feat-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  transition: border-color .25s, box-shadow .25s;
}
.feat-item:hover { border-color: var(--border-o); box-shadow: var(--shadow); }
.feat-ico { color: var(--orange); flex-shrink: 0; margin-top: 1px; }
.feat-ico svg { width: 18px; height: 18px; }
.feat-txt { font-size: 0.87rem; color: var(--text-m); line-height: 1.65; }
.feat-txt strong { color: var(--text); }

/* 25. CURSOR */
.cursor {
  position: fixed; width: 8px; height: 8px; background: var(--orange);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%); transition: transform .1s, opacity .2s;
}
.cursor-ring {
  position: fixed; width: 32px; height: 32px; border: 1.5px solid var(--orange);
  border-radius: 50%; pointer-events: none; z-index: 9997;
  transform: translate(-50%, -50%); opacity: 0.5; transition: opacity .2s;
}
body.cur-hover .cursor { transform: translate(-50%, -50%) scale(1.8); opacity: 0.7; }
body.cur-hover .cursor-ring { transform: translate(-50%, -50%) scale(1.4); opacity: 0.25; }

/* 26. BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 20px; margin-top: 56px; }
.blog-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .25s, transform .3s, box-shadow .3s;
}
.blog-card:hover { border-color: var(--border-o); transform: translateY(-4px); box-shadow: var(--shadow-h); }
.blog-img {
  aspect-ratio: 16/9;
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.blog-img svg { width: 48px; height: 48px; opacity: 0.4; }
.blog-body { padding: 22px; }
.blog-tag {
  display: inline-block; padding: 3px 9px; border-radius: 4px;
  background: var(--orange-d); border: 1px solid var(--orange-b);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.blog-title { font-family: var(--head); font-weight: 800; font-size: 1rem; margin-bottom: 8px; line-height: 1.35; }
.blog-exc { font-size: 0.81rem; color: var(--text-m); line-height: 1.65; margin-bottom: 14px; }
.blog-meta { font-size: 0.7rem; color: var(--text-d); }
