/* =========================================================
   WebsolutX — Dark Studio Design System
   Palette extracted directly from WebsolutX-Logo-White.svg
   ========================================================= */

:root {
  --bg-canvas: #09090b;
  --bg-surface: #131317;
  --bg-elevated: #1b1b22;
  --ink-primary: #fafafa;
  --ink-secondary: #a1a1aa;
  --ink-muted: #71717a;
  --accent-orange: #fb5503;
  --accent-cyan: #03ecf0;
  --border-subtle: rgba(250, 250, 250, 0.09);
  --border-strong: rgba(250, 250, 250, 0.18);

  --font-display: "Unbounded", system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  --header-h: 76px;
  --container-w: 1220px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg-canvas);
  color: var(--ink-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
}

body {
  margin: 0;
  background: var(--bg-canvas);
  color: var(--ink-primary);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.container {
  width: min(var(--container-w), 100% - 48px);
  margin-inline: auto;
}

/* =========================================================
   Ambient Studio Depth
   ========================================================= */
.ambient-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.16;
}

.ambient-orb--orange {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, var(--accent-orange), transparent 70%);
  top: -140px;
  left: -120px;
}

.ambient-orb--cyan {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
  bottom: -160px;
  right: -120px;
  opacity: 0.12;
}

.liquid-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

/* =========================================================
   Thin Scroll Progress Bar
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 80;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan));
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
}

/* =========================================================
   Fixed Translucent Header (Apple-style Material Layer)
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 50;
  background: rgba(9, 9, 11, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-docked {
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.site-header.is-docked::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 250, 250, 0.12), transparent);
}

.header-inner {
  width: min(var(--container-w), 100% - 48px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Exact geometric docking target for the floating hero logo */
.nav-logo-slot {
  display: block;
  width: 162px;
  aspect-ratio: 2181.2 / 471.75;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.site-nav.is-visible {
  pointer-events: auto;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.24s ease, transform 0.28s var(--ease-out-expo);
}

.nav-link:not(.nav-link--cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan));
  box-shadow: 0 0 10px rgba(3, 236, 240, 0.45);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.32s var(--ease-out-expo);
}

.nav-link:not(.nav-link--cta):hover {
  color: var(--ink-primary);
  transform: scale(1.1);
}

.nav-link:not(.nav-link--cta):hover::after {
  transform: scaleX(1);
}

.nav-link:active {
  transform: scale(0.97);
}

.nav-link--cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.08);
  border: 1px solid var(--border-strong);
  color: var(--ink-primary);
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}

.nav-link--cta:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
}

/* =========================================================
   Floating Animated Brand Logo (Hero Center -> Header Top-Left)
   ========================================================= */
.brand-logo-flyer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  transform-origin: top left;
  pointer-events: none;
  will-change: transform;
}

.brand-logo-flyer.is-clickable {
  pointer-events: auto;
  cursor: pointer;
}

.brand-logo-flyer svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 10px 36px rgba(251, 85, 3, 0.12));
}

/* =========================================================
   Pinned Hero & Scroll Intro Sequence
   ========================================================= */
main {
  position: relative;
}

.section-intro,
.projects-grid,
.blog-grid,
.stats-grid,
.process-block,
.testimonials-stage,
.deck-dots,
.faq-layout,
.contact-shell {
  position: relative;
  z-index: 2;
}

.hero-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.hero-corner {
  position: absolute;
  bottom: 36px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  opacity: 0;
}

.hero-corner--left {
  left: max(24px, calc((100% - var(--container-w)) / 2));
}

.hero-corner--right {
  right: max(24px, calc((100% - var(--container-w)) / 2));
}

.hero-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 20px) 24px 48px;
}

.hero-beat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 24px) 24px 48px;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity, filter;
}

.hero-beat.is-interactive {
  pointer-events: auto;
}

/* Custom User Close-Up Eagle SVG (BlizukPlan) positioned cleanly above headline */
.origami-wrap {
  position: relative;
  width: clamp(200px, 23vw, 290px);
  height: clamp(240px, 33vh, 340px);
  margin-top: -54px;
  margin-bottom: 46px;
  pointer-events: none;
  flex-shrink: 0;
  overflow: hidden;
  will-change: transform, opacity;
}

.eagle-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
}

.eagle-layer svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  filter: drop-shadow(0 0 18px rgba(251, 85, 3, 0.34));
}

.origami-trail {
  stroke-linecap: round;
  fill: none;
  opacity: 0;
}

.origami-trail--cyan {
  stroke: var(--accent-cyan);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 8px rgba(3, 236, 240, 0.45));
}

.origami-trail--orange {
  stroke: var(--accent-orange);
  stroke-width: 1.3;
  filter: drop-shadow(0 0 8px rgba(251, 85, 3, 0.45));
}

.origami-trail--cyan-soft {
  stroke: var(--accent-cyan);
  stroke-width: 1;
}

.liquid-text {
  cursor: default;
  user-select: none;
}

.liquid-text.is-mercury-active {
  filter: url(#mercury-filter);
}

.liquid-word {
  display: inline-block;
  white-space: nowrap;
}

.liquid-char {
  display: inline-block;
  transform-origin: center center;
  will-change: transform, color;
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

.liquid-char.is-mercury-orange {
  color: var(--accent-orange);
  text-shadow: 0 0 28px rgba(251, 85, 3, 0.55);
}

.liquid-char.is-mercury-cyan {
  color: var(--accent-cyan);
  text-shadow: 0 0 26px rgba(3, 236, 240, 0.5);
}

/* On bold orange sectors, mercury gleams crisp white instead of orange-on-orange */
.service-chapter--orange .liquid-char.is-mercury-orange {
  color: #ffffff;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.55);
}

.service-chapter--orange .liquid-char.is-mercury-cyan {
  color: #0a0a0c;
  text-shadow: 0 0 18px rgba(3, 236, 240, 0.45);
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 6.4vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  max-width: 16ch;
}

.hero-subtitle {
  margin: 26px 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.42rem);
  font-weight: 500;
  color: var(--ink-secondary);
  max-width: 46ch;
  line-height: 1.5;
}

.hero-beat--ai .ai-title,
.hero-beat--ai .ai-copy,
.hero-beat--ai .ai-signals {
  position: relative;
  z-index: 2;
}

.ai-code-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.ai-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
  max-width: 20ch;
}

.ai-copy {
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  color: var(--ink-secondary);
  max-width: 56ch;
  line-height: 1.65;
}

.ai-signals {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.045);
  border: 1px solid var(--border-subtle);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-primary);
  backdrop-filter: blur(12px);
}

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.signal-dot--orange {
  background: var(--accent-orange);
  box-shadow: 0 0 12px var(--accent-orange);
}

.signal-dot--cyan {
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
}

.signal-dot--white {
  background: var(--ink-primary);
}

/* Scroll Cue */
.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
}

.scroll-cue__label {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.scroll-cue__track {
  width: 22px;
  height: 36px;
  border-radius: 999px;
  border: 1.5px solid rgba(250, 250, 250, 0.25);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-cue__dot {
  width: 4px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-cyan);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { transform: translateY(0); opacity: 1; }
  65% { transform: translateY(13px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

/* =========================================================
   Services — Editorial Scroll-Animated Chapters
   ========================================================= */
.services-section {
  position: relative;
  padding: 120px 0 80px;
  overflow-x: clip;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 104px;
}

.section-heading {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 20px 0 0;
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  color: var(--ink-secondary);
  max-width: 58ch;
}

.service-chapter {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(32px, 4.8vw, 72px);
  padding: 64px 0;
  border-top: 1px solid var(--border-subtle);
}

.service-chapter > .chapter-media,
.service-chapter > .chapter-content {
  position: relative;
  z-index: 2;
}

.service-chapter--reverse {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.3fr);
}

/* Full-Width Edge-to-Edge Orange Statement Sectors (Large Image Cleanly Inside Orange Band) */
.service-chapter--orange {
  position: relative;
  color: #ffffff;
  border-top: 0;
  margin: 28px 0;
  padding: clamp(48px, 5.2vw, 72px) 0;
}

.service-chapter--orange::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  z-index: 0;
  background: linear-gradient(135deg, #fb5503 0%, #f24900 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(10, 10, 12, 0.2),
    0 24px 70px rgba(251, 85, 3, 0.2);
  pointer-events: none;
}

.service-chapter--orange > * {
  position: relative;
  z-index: 2;
}

.service-chapter--orange .chapter-media {
  position: relative;
  z-index: 2;
}

.service-chapter--orange .chapter-content {
  padding-block: 0;
}

.service-chapter--orange + .service-chapter {
  border-top: 0;
}

.service-chapter--orange .media-frame {
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(10, 10, 12, 0.22);
}

.service-chapter--orange .chapter-icon {
  background: rgba(10, 10, 12, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.service-chapter--orange .chapter-title {
  color: #0a0a0c;
}

.service-chapter--orange .chapter-desc {
  color: rgba(255, 255, 255, 0.94);
}

.service-chapter--orange .project-chip {
  background: rgba(10, 10, 12, 0.24);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 24px rgba(10, 10, 12, 0.16);
}

.service-chapter--orange .project-chip:hover {
  background: rgba(10, 10, 12, 0.44);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 12px 30px rgba(10, 10, 12, 0.28);
}

.service-chapter--orange .project-chip__name {
  color: #ffffff;
}

.service-chapter--orange .project-chip__meta {
  color: rgba(255, 255, 255, 0.78);
}

.service-chapter--reverse .chapter-media {
  order: 2;
}

.service-chapter--reverse .chapter-content {
  order: 1;
}

.chapter-media {
  position: relative;
}

.media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.media-frame:hover,
.media-frame.is-revealed {
  border-color: rgba(3, 236, 240, 0.5);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

/* Cool subtle kinetic shimmer-flutter when hovering an already-revealed design */
@keyframes designFlutter {
  0%   { filter: brightness(1) saturate(1); }
  22%  { filter: brightness(1.18) saturate(1.22); }
  45%  { filter: brightness(0.96) saturate(1.08); }
  70%  { filter: brightness(1.12) saturate(1.16); }
  100% { filter: brightness(1.03) saturate(1.06); }
}

.media-frame.is-fluttering .media-img--after {
  animation: designFlutter 0.55s var(--ease-out-expo);
}

.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 118%;
  object-fit: cover;
  transform: translateY(-9%);
  will-change: transform;
  pointer-events: none;
}

/* Before -> After Radial Bloom Reveal from Cursor */
.media-frame--reveal .media-img--before {
  z-index: 1;
}

.media-frame--reveal .media-img--after {
  z-index: 2;
  clip-path: circle(0% at var(--mx, 50%) var(--my, 50%));
  transition: clip-path 0.85s var(--ease-out-expo);
}

.media-frame--reveal:hover .media-img--after,
.media-frame--reveal:focus-visible .media-img--after,
.media-frame--reveal.is-revealed .media-img--after {
  clip-path: circle(150% at var(--mx, 50%) var(--my, 50%));
}

/* Banners & Motion: Raw Monochrome -> Vivid Neon Ignition on Hover */
.media-frame--ignite .media-img--after {
  filter: grayscale(0.95) brightness(0.65) contrast(0.95);
  transition: filter 0.7s var(--ease-out-expo);
}

.media-frame--ignite:hover .media-img--after,
.media-frame--ignite:focus-visible .media-img--after,
.media-frame--ignite.is-revealed .media-img--after {
  filter: grayscale(0) brightness(1.06) contrast(1.04) saturate(1.15);
}

/* Specular light sheen gliding across the glass frame on hover */
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.14),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.media-frame:hover::after {
  opacity: 1;
}

/* Crisp Frosted Status Pill inside Image */
.media-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.68);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-primary);
  pointer-events: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.media-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.media-badge__after {
  display: none;
}

.media-frame:hover .media-badge,
.media-frame.is-revealed .media-badge {
  background: rgba(9, 9, 11, 0.82);
  border-color: rgba(3, 236, 240, 0.55);
}

.media-frame:hover .media-badge__dot,
.media-frame.is-revealed .media-badge__dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
}

.media-frame:hover .media-badge__before,
.media-frame.is-revealed .media-badge__before {
  display: none;
}

.media-frame:hover .media-badge__after,
.media-frame.is-revealed .media-badge__after {
  display: inline;
}

.chapter-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: rgba(250, 250, 250, 0.05);
  border: 1px solid var(--border-subtle);
}

.chapter-icon svg {
  width: 28px;
  height: 28px;
}

.chapter-icon--orange {
  color: #ffffff;
  border-color: rgba(251, 85, 3, 0.65);
  background: var(--accent-orange);
  box-shadow: 0 10px 28px rgba(251, 85, 3, 0.28);
}

.chapter-icon--cyan {
  color: var(--accent-cyan);
  border-color: rgba(3, 236, 240, 0.38);
  background: rgba(3, 236, 240, 0.1);
}

.chapter-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}

.chapter-desc {
  margin: 18px 0 0;
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--ink-secondary);
  max-width: 52ch;
}

.chapter-projects {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-chip {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.28s var(--ease-out-expo),
    box-shadow 0.25s ease;
}

.project-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 80%
  );
  transform: translateX(-110%);
  transition: transform 0.65s var(--ease-out-expo);
  pointer-events: none;
}

.project-chip:hover::before {
  transform: translateX(110%);
}

.project-chip:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(3, 236, 240, 0.48);
  transform: translateX(6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 28px rgba(0, 0, 0, 0.3);
}

.project-chip:active {
  transform: translateX(4px) scale(0.985);
}

.project-chip__name {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink-primary);
}

.project-chip__meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
  white-space: nowrap;
}

/* =========================================================
   Projects Gallery Section
   ========================================================= */
.projects-section {
  padding: 100px 0 90px;
  border-top: 1px solid var(--border-subtle);
}

.section-intro--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 56px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 9px 17px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-secondary);
  background: rgba(250, 250, 250, 0.04);
  border: 1px solid var(--border-subtle);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
}

.filter-btn:hover {
  color: var(--ink-primary);
  border-color: var(--border-strong);
}

.filter-btn:active {
  transform: scale(0.96);
}

.filter-btn.is-active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s var(--ease-out-expo);
}

.project-card.is-hidden {
  display: none;
}

.project-card:hover {
  border-color: rgba(3, 236, 240, 0.45);
  transform: translateY(-4px);
}

.project-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-elevated);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out-expo);
}

.project-card:hover .project-card__media img {
  transform: scale(1.05);
}

.project-card__body {
  padding: 20px 22px 24px;
}

.project-card__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.project-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-primary);
}

/* =========================================================
   SEO Blog Section
   ========================================================= */
.blog-section {
  padding: 96px 0;
  border-top: 1px solid var(--border-subtle);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: border-color 0.22s ease, transform 0.22s var(--ease-out-expo), background 0.22s ease;
}

.blog-card:hover {
  border-color: rgba(251, 85, 3, 0.5);
  background: var(--bg-elevated);
  transform: translateY(-4px);
}

.blog-card__meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-orange);
  margin-bottom: 12px;
}

.blog-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.32;
  color: var(--ink-primary);
}

.blog-card__excerpt {
  margin: 14px 0 22px;
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.62;
  flex: 1;
}

.blog-card__read {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

/* =========================================================
   Direct Phone & Social Channels
   ========================================================= */
.direct-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-primary);
  width: fit-content;
  transition: color 0.2s ease;
}

.direct-phone:hover {
  color: var(--accent-orange);
}

.social-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-primary);
  background: rgba(250, 250, 250, 0.05);
  border: 1px solid var(--border-subtle);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}

.social-btn:hover {
  background: rgba(250, 250, 250, 0.12);
  border-color: var(--border-strong);
}

.social-btn:active {
  transform: scale(0.96);
}

.social-btn--viber:hover {
  background: rgba(115, 96, 242, 0.22);
  border-color: #7360f2;
}

.social-btn--whatsapp:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: #25d366;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-socials a {
  color: var(--ink-secondary);
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: var(--accent-cyan);
}

/* =========================================================
   Approach: Animated Stats + 4-Step Process
   ========================================================= */
.approach-section {
  padding: 100px 0 96px;
  border-top: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-card--orange {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  box-shadow: 0 20px 50px rgba(251, 85, 3, 0.25);
}

.stat-card--orange .stat-value {
  color: #0a0a0c;
}

.stat-card--orange .stat-label {
  color: rgba(10, 10, 12, 0.82);
  font-weight: 600;
}

.stat-card--orange .stat-bar {
  background: rgba(10, 10, 12, 0.18);
}

.stat-card--orange .stat-bar__fill {
  background: #ffffff;
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent-orange);
}

.stat-value--cyan {
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

.stat-bar {
  margin-top: 8px;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.08);
  overflow: hidden;
}

.stat-bar__fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
}

.stat-bar__fill--orange {
  background: linear-gradient(90deg, var(--accent-orange), #ff8a3d);
}

.stat-bar__fill--cyan {
  background: linear-gradient(90deg, var(--accent-cyan), #7af7ff);
}

/* 4-Step Process Timeline */
.process-block {
  margin-top: 96px;
}

.process-block .section-intro {
  margin-bottom: 56px;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.process-line {
  position: absolute;
  top: 22px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: rgba(250, 250, 250, 0.08);
  z-index: 0;
}

.process-line__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan));
  transform-origin: left center;
  transform: scaleX(0);
}

.process-step {
  position: relative;
  z-index: 1;
  padding-top: 56px;
}

.process-num {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-canvas);
  border: 1.5px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.process-step h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.process-step p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* =========================================================
   Client Testimonials — Interactive 3D Depth Deck
   ========================================================= */
.testimonials-section {
  padding: 96px 0;
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}

.testimonials-section .section-intro {
  margin-bottom: 36px;
}

.deck-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.deck-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(250, 250, 250, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--ink-primary);
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
}

.deck-btn:hover {
  background: rgba(250, 250, 250, 0.12);
  border-color: var(--accent-cyan);
}

.deck-btn:active {
  transform: scale(0.94);
}

.testimonials-stage {
  position: relative;
  width: 100%;
  height: 360px;
  margin-top: 12px;
  perspective: 1200px;
  transform-style: preserve-3d;
  cursor: ew-resize;
  user-select: none;
}

.testimonial-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(460px, calc(100vw - 44px));
  margin: 0;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(22, 22, 28, 0.94);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  will-change: transform, opacity, filter;
  cursor: pointer;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card.is-active {
  border-color: rgba(251, 85, 3, 0.5);
  box-shadow:
    0 28px 75px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(3, 236, 240, 0.14);
}

.deck-dots {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.deck-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.2);
  transition: width 0.28s var(--ease-out-expo), background 0.2s ease;
}

.deck-dot.is-active {
  width: 26px;
  background: var(--accent-orange);
}

.testimonial-stars {
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--accent-orange);
}

.testimonial-quote {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.68;
  color: var(--ink-primary);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(250, 250, 250, 0.08);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-primary);
  flex-shrink: 0;
}

.testimonial-avatar--cyan {
  border-color: rgba(3, 236, 240, 0.5);
  color: var(--accent-cyan);
}

.testimonial-avatar--orange {
  border-color: rgba(251, 85, 3, 0.55);
  color: var(--accent-orange);
}

.testimonial-name {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-primary);
}

.testimonial-role {
  display: block;
  font-size: 0.83rem;
  color: var(--ink-muted);
}

/* =========================================================
   FAQ Accordion (Често задавани въпроси)
   ========================================================= */
.faq-section {
  padding: 96px 0;
  border-top: 1px solid var(--border-subtle);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-trigger {
  width: 100%;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink-primary);
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--accent-cyan);
}

.faq-icon {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent-orange);
  transition: transform 0.28s var(--ease-out-expo);
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out-expo);
}

.faq-panel p {
  margin: 0 0 22px;
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--ink-secondary);
  max-width: 60ch;
}

/* =========================================================
   Contact Section
   ========================================================= */
.contact-section {
  padding: 64px 0 110px;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.contact-heading {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.contact-lead {
  margin: 18px 0 0;
  color: var(--ink-secondary);
  font-size: 1.02rem;
  max-width: 44ch;
}

.contact-direct {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.direct-link {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-cyan);
  width: fit-content;
  transition: opacity 0.2s ease;
}

.direct-link:hover {
  opacity: 0.8;
}

.direct-note {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.service-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pick-pill {
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-secondary);
  background: rgba(250, 250, 250, 0.04);
  border: 1px solid var(--border-subtle);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
}

.pick-pill:hover {
  color: var(--ink-primary);
  border-color: var(--border-strong);
}

.pick-pill:active {
  transform: scale(0.96);
}

.pick-pill.is-active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: rgba(9, 9, 11, 0.65);
  color: var(--ink-primary);
  font: inherit;
  font-size: 0.96rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--ink-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(9, 9, 11, 0.95);
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}

.btn-primary {
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent-orange);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background: #ff671c;
}

.btn-primary:active {
  transform: scale(0.97);
}

.form-status {
  font-size: 0.9rem;
  color: var(--accent-cyan);
}

.form-status.is-error {
  color: #ff6b6b;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.footer-top {
  color: var(--ink-secondary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-top:hover {
  color: var(--ink-primary);
}

/* =========================================================
   Project Detail Modal (Apple-style Translucent Sheet)
   ========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 5, 8, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-sheet {
  position: relative;
  width: min(520px, 100%);
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(24, 24, 30, 0.92);
  border: 1px solid var(--border-strong);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
  transform: scale(0.94) translateY(12px);
  transition: transform 0.35s var(--ease-out-expo);
}

.modal-backdrop.is-open .modal-sheet {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(250, 250, 250, 0.08);
  color: var(--ink-secondary);
  display: grid;
  place-items: center;
  transition: background 0.18s ease, color 0.18s ease;
}

.modal-close:hover {
  background: rgba(250, 250, 250, 0.16);
  color: var(--ink-primary);
}

.modal-category {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
}

.modal-detail {
  margin: 16px 0 0;
  color: var(--ink-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

.modal-deliverables {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(250, 250, 250, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--ink-primary);
}

.modal-actions {
  margin-top: 26px;
}

/* =========================================================
   Responsive Adjustments
   ========================================================= */
@media (max-width: 960px) {
  .designer-mascot,
  .sector-mascot {
    display: none;
  }

  .service-chapter,
  .service-chapter--orange,
  .service-chapter--orange.service-chapter--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .service-chapter--orange {
    margin-block: 28px;
    padding: 40px 0;
  }

  .service-chapter--orange::before {
    top: 0;
    bottom: 0;
  }

  .service-chapter--orange .chapter-content {
    padding-block: 0;
  }

  .service-chapter--orange .media-frame {
    aspect-ratio: 16 / 9;
  }

  .service-chapter--reverse .chapter-media,
  .service-chapter--reverse .chapter-content {
    order: initial;
  }

  .projects-grid,
  .blog-grid,
  .testimonials-grid,
  .stats-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-line {
    display: none;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .container,
  .header-inner {
    width: calc(100% - 32px);
  }

  .nav-logo-slot {
    width: 124px;
  }

  .site-nav {
    gap: 14px;
  }

  .nav-link:not(.nav-link--cta) {
    display: none;
  }

  .hero-corner {
    display: none;
  }

  .testimonials-stage {
    height: 390px;
  }

  .projects-grid,
  .blog-grid,
  .testimonials-grid,
  .stats-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .project-chip {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================================
   Reduced Motion & Accessibility
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .scroll-cue__dot {
    animation: none;
  }

  .site-header,
  .modal-backdrop,
  .modal-sheet {
    transition: opacity 0.2s ease !important;
    transform: none !important;
  }
}
