/* webdevelopro — modern minimalist, sharp edges, white */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --ink: #141820;
  --muted: #5c6570;
  --line: #e4e9ef;
  --blue: #7ba8d4;
  --blue-deep: #5a8fc0;
  --blue-soft: #a4c6e8;
  --blue-wash: #eef4fa;
  --white: #ffffff;
  --header-h: 72px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
html.hero-scroll { scroll-behavior: auto; }
html.hero-scroll,
html.hero-scroll body {
  overflow-x: clip;
}
body {
  font-family: 'Outfit', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

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

/* Logo — stil original webdevelopro */
.logo-text {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.logo-we { color: #7ba8c9; }
.logo-b {
  display: inline-block;
  color: #7ba8c9;
  font-weight: 800;
  transform: scaleX(-1);
}
.logo-d { color: #7ba8c9; font-weight: 800; }
.logo-evelop { color: #7ba8c9; }
.logo-ro {
  color: #9dc4db;
  font-size: 0.55em;
  margin-left: 1px;
  vertical-align: sub;
  font-weight: 600;
}
.preloader-logo {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.preloader-logo .logo-we,
.preloader-logo .logo-evelop { color: #7ba8c9; }
.preloader-logo .logo-b {
  display: inline-block;
  color: #7ba8c9;
  font-weight: 800;
  transform: scaleX(-1);
}
.preloader-logo .logo-d { color: #7ba8c9; font-weight: 800; }
.preloader-logo .logo-ro {
  color: #9dc4db;
  font-size: 0.55em;
  margin-left: 2px;
  vertical-align: sub;
  font-weight: 600;
}
.footer-logo-text { font-size: 1.4rem; }

/* Preloader */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .35s var(--ease), visibility .35s;
}
.preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-bar { width: 160px; height: 2px; background: var(--line); overflow: hidden; }
.preloader-progress {
  height: 100%; width: 0;
  background: var(--blue-deep);
  animation: load .7s var(--ease) forwards;
}
@keyframes load { to { width: 100%; } }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: .92rem; font-weight: 600; color: var(--muted);
  transition: color .2s;
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  transition: .25s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  font-weight: 700; font-size: .92rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: transform .22s var(--ease), background .22s, border-color .22s, color .22s, box-shadow .22s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue-deep);
  color: var(--white);
  border-color: var(--blue-deep);
}
.btn-primary:hover { background: #4d7fad; border-color: #4d7fad; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--blue-deep); color: var(--blue-deep); }
.btn-ghost {
  padding-inline: 0;
  color: var(--blue-deep);
  border: 0;
  background: transparent;
}
.btn-ghost:hover { color: var(--ink); }
.btn-large { padding: 15px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-wa {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}
.btn-wa:hover { background: #1ebe57; border-color: #1ebe57; }

/* Hero */
/* Hero — sticky orbit → vertical stack journey */
.hero {
  position: relative;
  padding: 0;
  min-height: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 55%, #eef4fa 100%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(123,168,212,.08) 79px,
      rgba(123,168,212,.08) 80px
    );
  overflow: visible;
}
.hero-track {
  position: relative;
  height: calc(var(--hero-steps, 5.1) * 100svh);
  height: calc(var(--hero-steps, 5.1) * 100vh);
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero.is-journey .hero-sticky {
  overflow: visible;
}
.hero::before {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 1px;
  background: var(--line);
  z-index: 2;
}
.hero-layout {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  width: min(100% - 40px, var(--max));
  height: 100%;
  min-height: 100%;
  padding: calc(var(--header-h) + 24px) 0 28px;
  pointer-events: none;
  margin-inline: auto;
}
.hero-copy {
  max-width: 380px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(228,233,239,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(90,143,192,.1);
  pointer-events: auto;
  align-self: center;
  will-change: opacity, transform;
}
.hero.is-journey .hero-copy { pointer-events: none; }
.hero-title {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  perspective: 600px;
}
.hero-title em { font-style: normal; color: var(--blue-deep); }
.hero-title .tw { display: inline-block; margin-right: 0.22em; }
.hero-subtitle {
  font-size: .88rem;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 14px;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 12px;
}
.hero-cta .btn {
  padding: 9px 14px;
  font-size: .84rem;
  gap: 6px;
}
.hero-cta .btn svg { width: 16px; height: 16px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: .72rem; font-weight: 600; color: var(--muted);
}
.hero-meta span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.65);
  transition: color .2s, border-color .2s, background .2s;
}
.hero-meta span:hover {
  color: var(--ink);
  border-color: var(--blue-deep);
  background: #fff;
}
.hero-meta i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue-deep);
  display: inline-block;
}

.hero-webgl-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background:
    radial-gradient(ellipse at 68% 42%, rgba(164,198,232,.32), transparent 58%),
    radial-gradient(ellipse at 20% 70%, rgba(123,168,212,.12), transparent 50%);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
.hero-webgl-wrap.is-dragging {
  cursor: grabbing;
  touch-action: none;
}
.hero-webgl { position: absolute; inset: 0; }
.hero-webgl[hidden] { display: none !important; }
.hero-webgl canvas {
  display: block; width: 100% !important; height: 100% !important;
  touch-action: pan-y;
}
.hero-webgl-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.35) 28%, transparent 52%),
    linear-gradient(180deg, rgba(255,255,255,.2) 0%, transparent 18%, transparent 72%, rgba(238,244,250,.9) 100%);
  transition: opacity .4s var(--ease);
}
.hero.is-journey .hero-webgl-vignette {
  opacity: .4;
  background:
    linear-gradient(90deg, rgba(255,255,255,.2) 0%, transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,.1) 0%, transparent 22%, transparent 78%, rgba(238,244,250,.8) 100%);
}

/* Mobile DOM orbit (portable-svc formula, webdevelopro look) */
.hero-dom-ring {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: auto;
  touch-action: pan-y;
  transform: none;
}
.hero-dom-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72vw, 300px);
  transform: translate(-50%, -50%);
  transform-origin: center center;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.hero-dom-card.is-front .site-card-frame,
.hero-dom-card.is-stack-active .site-card-frame {
  box-shadow: 0 28px 70px rgba(90,143,192,.28);
  border-color: rgba(90,143,192,.4);
}
.hero--dom .hero-orb,
.hero--dom .hero-grid-fx,
.hero--dom .cursor-glow {
  display: none;
}
.hero--dom .hero-layout {
  z-index: 4;
  align-items: end;
  padding-bottom: 18px;
}
.hero--dom .hero-copy {
  max-width: 100%;
  width: 100%;
  margin: 0;
  border-radius: var(--radius) var(--radius) 0 0;
}
.hero-caption {
  position: absolute;
  right: 0;
  bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: auto;
  z-index: 4;
}
.hero-progress {
  width: 120px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(228,233,239,.9);
  overflow: hidden;
}
.hero-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-deep));
}
.hero-site-index {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--blue-deep);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(123,168,212,.3);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
}
.orbit-label {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(123,168,212,.35);
  font-weight: 800; font-size: .95rem;
  color: var(--blue-deep);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(90,143,192,.12);
  transition: border-color .25s, color .25s, transform .25s var(--ease);
}
.orbit-label:hover {
  border-color: var(--blue-deep);
  color: var(--ink);
  transform: translateY(-2px);
}
.orbit-hint {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.65);
}

/* Vertical site reels */
.site-reel {
  position: relative;
  background: linear-gradient(180deg, #eef4fa 0%, #f7f9fc 40%, #ffffff 100%);
}
.site-reel-track {
  height: calc(var(--reel-steps, 3) * 100svh);
  height: calc(var(--reel-steps, 3) * 100vh);
  position: relative;
}
.site-reel-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 100svh;
  overflow: visible;
  display: grid;
  place-items: center;
}
.site-reel-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(164,198,232,.35), transparent 58%),
    radial-gradient(ellipse at 80% 80%, rgba(123,168,212,.12), transparent 45%);
  pointer-events: none;
}
.site-reel-stage {
  position: relative;
  width: min(520px, 92vw);
  height: min(70vh, 640px);
  perspective: 1400px;
  transform-style: preserve-3d;
  overflow: visible;
}
.site-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100%, 380px);
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  will-change: transform, opacity;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  backface-visibility: hidden;
}
/* Match Three.js browser panels: white frame + chrome bar + screenshot */
.site-card-frame {
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(123,168,212,.22);
  box-shadow: 0 24px 60px rgba(90,143,192,.16);
  overflow: hidden;
  padding: 5px 5px 6px;
}
.site-card-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  height: auto;
  margin: 2px 2px 6px;
  padding: 7px 8px;
  border-radius: 10px;
  background: #e8eef5;
  border: 0;
}
.site-card-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.site-card-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5d3e2;
}
.site-card-dots i:nth-child(1) { background: #ff5f57; }
.site-card-dots i:nth-child(2) { background: #febc2e; }
.site-card-dots i:nth-child(3) { background: #28c840; }
.site-card-url {
  flex: 1;
  min-width: 0;
  font-size: .68rem;
  font-weight: 600;
  color: #5c6570;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #fff;
  border: 1px solid rgba(228,233,239,.95);
  border-radius: 999px;
  padding: 4px 10px;
  line-height: 1.3;
}
.site-card-shot {
  display: block;
  width: 100%;
  /* Same ratio as Three.js screen: planeH / planeW ≈ 1.22 */
  aspect-ratio: 1 / 1.22;
  object-fit: cover;
  object-position: center top;
  background: #dde6f0;
  border-radius: 14px;
}
video.site-card-video {
  pointer-events: none;
  background: #0b1220;
}
.site-reel-ui {
  position: absolute;
  right: max(20px, calc((100vw - var(--max)) / 2));
  bottom: 28px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}
.site-reel-ui .site-reel-label { pointer-events: auto; }
.site-reel-progress {
  width: 120px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(228,233,239,.95);
  overflow: hidden;
}
.site-reel-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-deep));
}
.site-reel-label {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(123,168,212,.35);
  font-weight: 800;
  font-size: .95rem;
  color: var(--blue-deep);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(90,143,192,.12);
  transition: transform .25s var(--ease), color .25s, border-color .25s;
}
.site-reel-label:hover {
  color: var(--ink);
  border-color: var(--blue-deep);
  transform: translateY(-2px);
}
.site-reel-hint {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.7);
}
.site-reel-index {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--blue-deep);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(123,168,212,.3);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
}

/* Speech bubble — top-right of reel card (from active site) */
.site-card-bubble {
  position: absolute;
  top: 8px;
  right: -8px;
  z-index: 5;
  width: min(230px, 58vw);
  pointer-events: none;
  opacity: 0;
  transform: translate(10px, -6px) scale(0.92);
  transform-origin: 0% 100%;
  transition:
    opacity .4s var(--ease),
    transform .5s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-card.is-active .site-card-bubble {
  opacity: 1;
  transform: translate(20px, -20px) scale(1);
}
.site-card-bubble-inner {
  position: relative;
  padding: 12px 14px;
  border-radius: 18px 18px 18px 6px;
  background: #fff;
  border: 1px solid rgba(123,168,212,.28);
  box-shadow: 0 14px 36px rgba(90,143,192,.2);
  color: var(--ink);
}
.site-card-bubble-inner::before {
  content: '';
  position: absolute;
  left: -6px;
  bottom: 16px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid rgba(123,168,212,.28);
  border-bottom: 1px solid rgba(123,168,212,.28);
  transform: rotate(45deg);
}
.site-card-bubble-tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(123,168,212,.16);
  color: var(--blue-deep);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.site-card-bubble-stars {
  color: #f5b301;
  font-size: .85rem;
  letter-spacing: 1px;
  margin-bottom: 6px;
  line-height: 1;
}
.site-card-bubble-inner p {
  margin: 0;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--ink);
}
.site-card-bubble-inner cite {
  display: block;
  margin-top: 8px;
  font-size: .72rem;
  font-style: normal;
  font-weight: 700;
  color: var(--blue-deep);
}

/* Side WhatsApp CTAs on white area (every 3 sites) */
.site-reel-cta {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: min(240px, 28vw);
  transform: translateY(-50%);
  pointer-events: none;
}
.site-reel-cta.is-left {
  left: max(16px, calc((100vw - min(100vw, var(--max))) / 2));
}
.site-reel-cta.is-right {
  right: max(16px, calc((100vw - min(100vw, var(--max))) / 2));
}
.site-reel-cta-card {
  pointer-events: auto;
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(123,168,212,.22);
  box-shadow: 0 16px 40px rgba(90,143,192,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-reel-cta-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
.site-reel-cta-text {
  margin: 0 0 14px;
  font-size: .84rem;
  line-height: 1.45;
  color: var(--muted);
}
.site-reel-cta-btn {
  padding: 9px 14px;
  font-size: .82rem;
}

/* Hero morph: concept bubble + side CTA (moved from post-services reel) */
.hero-morph-bubble {
  position: absolute;
  top: calc(var(--header-h) + 12vh);
  left: calc(50% + 128px);
  right: auto;
  z-index: 6;
  width: min(240px, 28vw);
  opacity: 0;
  pointer-events: none;
  transform: translate(16px, 6px) scale(0.94);
  transition:
    opacity .45s var(--ease),
    transform .55s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-morph-bubble.is-on {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
.hero-morph-bubble[hidden],
.hero-morph-cta[hidden] {
  display: none !important;
}
.hero-morph-cta {
  z-index: 5;
  opacity: 0;
  transform: translateY(-50%) translateX(-12px);
  transition:
    opacity .45s var(--ease),
    transform .55s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-morph-cta.is-on {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.hero-morph-cta.is-right.is-on {
  transform: translateY(-50%) translateX(0);
}
.hero.is-journey .hero-morph-cta,
.hero.is-journey .hero-morph-bubble {
  pointer-events: auto;
}

/* Atmosphere */
.cursor-glow {
  position: fixed;
  width: 360px; height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(123,168,212,.22) 0%, transparent 70%);
  mix-blend-mode: multiply;
  will-change: transform;
}
.hero-orb {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
  border-radius: 50%;
}
.hero-orb-1 {
  width: 220px; height: 220px; right: 8%; top: 18%;
  background: radial-gradient(circle, rgba(164,198,232,.55), transparent 70%);
}
.hero-orb-2 {
  width: 140px; height: 140px; right: 28%; bottom: 18%;
  background: radial-gradient(circle, rgba(90,143,192,.35), transparent 70%);
}
.hero-orb-3 {
  width: 90px; height: 90px; left: 42%; top: 22%;
  background: radial-gradient(circle, rgba(164,198,232,.4), transparent 70%);
}
.hero-grid-fx {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(123,168,212,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,168,212,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 48px 48px; }
}
.hero-title { perspective: 600px; }
.hero-title .tw {
  display: inline-block;
  margin-right: 0.28em;
}
.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 18px;
}

/* Sections */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-header { max-width: 640px; margin-bottom: 48px; }
.section-header.center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-lead { color: var(--muted); font-size: 1.05rem; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: transparent;
  border: 0;
}
.service {
  background: var(--bg);
  padding: 40px 36px;
  display: flex; flex-direction: column; gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background .25s, border-color .25s, box-shadow .3s;
}
.service:hover { background: var(--blue-wash); border-color: var(--blue-soft); }
.service-num {
  font-size: .75rem; font-weight: 800;
  letter-spacing: .12em; color: var(--blue-deep);
}
.service h3 {
  font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em;
}
.service p { color: var(--muted); flex: 1; }
.service ul { display: grid; gap: 8px; margin: 4px 0 8px; }
.service li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .95rem; font-weight: 500;
}
.service li::before {
  content: '';
  width: 8px; height: 8px; margin-top: 7px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-deep);
}

/* Features strip */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: transparent;
  border: 0;
}
.feature {
  background: var(--bg);
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature p { color: var(--muted); font-size: .92rem; }

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.project {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}
.project:nth-child(even) .project-media { order: 2; }
.project-media {
  min-height: 320px;
  background-size: cover;
  background-position: center top;
  position: relative;
  border-right: 1px solid var(--line);
  transform-style: preserve-3d;
  will-change: transform;
}
.project-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,24,32,.18));
  pointer-events: none;
}
.concept-media,
.service {
  transform-style: preserve-3d;
  will-change: transform;
}
.js-tilt-glare {
  border-radius: var(--radius) !important;
}
.project:nth-child(even) .project-media { border-right: 0; border-left: 1px solid var(--line); }
.project-type {
  position: absolute; left: 0; top: 0;
  background: var(--ink); color: #fff;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 12px;
}
.project-body {
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.project-title {
  font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em;
}
.project-desc { color: var(--muted); }
.project-review {
  margin-top: 4px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.project-review p {
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.55;
  font-weight: 500;
}
.project-review cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue-deep);
  letter-spacing: .02em;
}
.project-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: auto; padding-top: 8px;
}

/* Concepts */
.concepts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.concept {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.concept-media {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center top;
  border-bottom: 1px solid var(--line);
  transition: opacity .3s;
}
.concept:hover .concept-media { opacity: .92; }
.concept-body { padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.concept-body h3 { font-size: 1.15rem; font-weight: 800; }
.concept-body p { color: var(--muted); font-size: .92rem; flex: 1; }
.concept-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }

/* Mid CTA band */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute; right: -5%; top: -40%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(123,168,212,.35), transparent 70%);
  pointer-events: none;
}
.cta-band .container {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800; letter-spacing: -0.02em; max-width: 520px;
}
.cta-band p { color: rgba(255,255,255,.7); margin-top: 8px; max-width: 420px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 100px 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--blue-wash) 100%);
  border-top: 1px solid var(--line);
}
.final-cta h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.03em;
  margin: 12px 0 16px;
}
.final-cta p { color: var(--muted); max-width: 480px; margin: 0 auto 28px; }
.final-cta .cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Footer */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: var(--muted); margin: 14px 0 18px; max-width: 320px; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact a { font-weight: 600; color: var(--ink); }
.footer-contact a:hover { color: var(--blue-deep); }
.footer h4 {
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--ink); font-weight: 600; }
.footer-links a:hover { color: var(--blue-deep); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: var(--ink); }

/* Floating WhatsApp + phone dock (mobile morph from hero-copy) */
.float-phone {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 1101;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: none;
  place-items: center;
  background: var(--blue-deep);
  color: #fff;
  box-shadow: 0 10px 28px rgba(90,143,192,.4);
  opacity: 0;
  transform: scale(0.2) translateY(18px);
  pointer-events: none;
  transition:
    opacity .4s var(--ease),
    transform .55s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow .3s;
}
.float-phone svg { width: 22px; height: 22px; }
.float-phone.is-on {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.float-phone.is-on:active { transform: scale(0.94); }
.float-wa {
  position: fixed;
  right: 20px; bottom: 20px; z-index: 1100;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(37,211,102,.35);
  transition: transform .2s var(--ease);
  animation: waPulse 2.4s ease-in-out infinite;
}
.float-wa:hover { transform: translateY(-2px); }
.float-wa svg { width: 22px; height: 22px; fill: currentColor; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.35); }
  50% { box-shadow: 0 10px 40px rgba(37,211,102,.55); }
}

/* Reveal motion — GSAP owns opacity/transform; fallback CSS for no-JS */
.reveal {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.no-js .reveal { opacity: 1; transform: none; }

/* Interactions */
.btn, .nav-link, .slider-btn, .slider-dot, .audit-wa-link {
  transition: transform .22s var(--ease), background .22s, border-color .22s, color .22s, box-shadow .22s;
}
.btn.is-press, .nav-link.is-press, .interactive.is-press {
  transform: scale(0.97) !important;
}
.magnetic { will-change: transform; }
.service, .concept, .audit-panel, .slide-media {
  transition: border-color .3s, box-shadow .3s, background .3s, transform .3s var(--ease);
}
.service:hover, .concept:hover {
  box-shadow: 0 16px 40px rgba(31,38,135,.08);
}
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--blue-deep);
  transition: width .25s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Audit panel */
.audit-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
}
.audit-list { border-right: 1px solid var(--line); }
.audit-check {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.audit-check:last-child { border-bottom: 0; }
.audit-check:hover { background: var(--blue-wash); }
.audit-ico {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border: 1px solid var(--blue-soft);
  border-radius: 8px;
  color: var(--blue-deep);
  font-size: .75rem; font-weight: 800;
  margin-top: 2px;
}
.audit-check strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.audit-check p { color: var(--muted); font-size: .92rem; }
.audit-cta {
  padding: 32px 28px;
  display: flex; flex-direction: column; justify-content: center;
}
.audit-lead {
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.35;
  margin-bottom: 20px;
}
.audit-price {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 6px;
}
.audit-zero {
  font-size: clamp(3rem, 6vw, 4.2rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  color: var(--ink);
}
.audit-per { font-size: 1.1rem; font-weight: 700; color: var(--muted); }
.audit-note {
  font-size: .85rem; color: var(--muted);
  margin-bottom: 22px;
}
.audit-btn {
  justify-content: space-between;
  background: var(--blue-deep) !important;
  border-color: var(--blue-deep) !important;
  letter-spacing: .04em;
}
.audit-arrow {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: #fff; color: var(--blue-deep);
  font-weight: 800;
}
.audit-wa-link {
  display: inline-block;
  margin-top: 16px;
  text-align: center;
  font-size: .8rem; font-weight: 800;
  letter-spacing: .12em;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink);
}
.audit-wa-link:hover { color: var(--blue-deep); }

/* Portfolio slider */
.portfolio-slider { margin-top: 8px; }
.slider-toolbar {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 18px;
}
.slider-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 1.1rem; font-weight: 700;
  color: var(--ink);
}
.slider-btn:hover {
  border-color: var(--blue-deep);
  color: var(--blue-deep);
  background: var(--blue-wash);
}
.slider-dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-pill);
  background: var(--line);
  border: 0;
  transition: width .25s, background .25s;
}
.slider-dot.active {
  width: 28px;
  background: var(--blue-deep);
}
.slider-viewport {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  cursor: grab;
}
.slider-viewport:active { cursor: grabbing; }
.slider-track {
  display: flex;
  gap: 24px;
  will-change: transform;
  padding: 0;
}
.slide-card {
  flex: 0 0 min(100%, 860px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 340px;
}
.slide-media {
  min-height: 280px;
  background-size: cover;
  background-position: center top;
  position: relative;
  border-right: 1px solid var(--line);
}
.slide-body {
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.slide-body .project-review { margin-top: 4px; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-accent, .badge-dot { animation: none; }
}

/* Mobile */
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  html, body { overflow-x: clip; }
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 64px 0; }
  .section-title { font-size: clamp(1.55rem, 6vw, 2rem); }
  .section-lead { font-size: .95rem; }
  .nav-brand .logo-text { font-size: 1.05rem; }
  .nav-actions .btn { padding: 8px 12px; font-size: .82rem; }

  .hero-copy {
    max-width: min(100% - 24px, 100%);
    width: calc(100% - 24px);
    margin: 0 12px 8px;
    padding: 12px 14px 12px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.94);
    align-self: end;
    transform-origin: 88% 100%;
    transition:
      opacity .55s var(--ease),
      transform .7s cubic-bezier(0.22, 1, 0.36, 1),
      filter .5s ease,
      border-radius .5s ease,
      box-shadow .45s ease,
      background .4s ease;
    will-change: transform, opacity;
  }
  .hero-copy .hero-title { font-size: clamp(1.35rem, 6.2vw, 1.75rem); margin-bottom: 8px; }
  .hero-copy .hero-subtitle {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .8rem;
    margin-bottom: 10px;
  }
  .hero-copy .hero-meta { display: none; }
  .hero-copy .hero-cta { gap: 8px; margin-bottom: 0; }
  .hero-copy .hero-cta .btn { padding: 9px 12px; font-size: .8rem; }
  .hero-layout {
    align-items: end;
    width: min(100% - 16px, var(--max));
    padding: calc(var(--header-h) + 8px) 0 max(16px, env(safe-area-inset-bottom, 0px) + 72px);
  }
  .hero--dom .hero-dom-ring {
    inset: 0;
    align-items: center;
    justify-content: center;
  }
  .hero--dom .hero-layout {
    z-index: 4;
    align-items: end;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px) + 72px);
  }
  .hero--dom .hero-copy {
    max-width: calc(100% - 24px);
    width: calc(100% - 24px);
    margin: 0 12px 8px;
    border-radius: var(--radius);
    align-self: end;
  }
  .hero--dom .hero-dom-card {
    width: min(76vw, 300px);
  }
  /* Morph copy → phone FAB above WhatsApp */
  body.hero-phone-docked .hero-copy {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate3d(36vw, 22vh, 0) scale(0.06) !important;
    border-radius: 50%;
    filter: blur(2px);
    background: var(--blue-deep);
    box-shadow: 0 10px 28px rgba(90,143,192,.45);
    transition-delay: 0s;
  }
  body.hero-phone-docked .float-phone {
    transition-delay: .28s;
  }
  .float-phone { display: grid; }
  .float-wa {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }
  .float-phone {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px) + 66px);
  }

  .site-reel-ui {
    left: 0;
    right: 0;
    bottom: max(12px, env(safe-area-inset-bottom, 0px) + 8px);
    align-items: center;
  }
  .site-reel-stage {
    width: min(92vw, 400px);
    height: min(68vh, 560px);
  }
  .site-card { width: min(100%, 320px); }
  .site-card-bubble {
    width: min(158px, 42vw);
    right: 0;
    top: 4px;
  }
  .site-card.is-active .site-card-bubble {
    transform: translate(2px, -10px) scale(1);
  }
  .site-card-bubble-inner {
    padding: 10px 11px;
  }
  .site-card-bubble-inner p { font-size: .72rem; line-height: 1.4; }
  .site-reel-cta { display: none; }
  .site-reel-hint { display: none; }
  .hero-morph-bubble {
    top: auto;
    bottom: max(22%, env(safe-area-inset-bottom, 0px) + 140px);
    left: auto;
    right: 10px;
    width: min(180px, 46vw);
  }
  .hero-morph-cta { display: none; }
  .cursor-glow { display: none; }

  .services-grid,
  .features,
  .concepts-grid,
  .footer-grid,
  .audit-panel { grid-template-columns: 1fr; }
  .audit-list { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 18px; }
  .audit-cta { padding: 24px 18px; }
  .features { grid-template-columns: 1fr 1fr; gap: 12px; }
  .slide-card { flex-basis: min(100%, 92vw); grid-template-columns: 1fr; }
  .slide-media { border-right: 0; border-bottom: 1px solid var(--line); min-height: 200px; }
  .project { grid-template-columns: 1fr; }
  .project:nth-child(even) .project-media { order: 0; }
  .project-media { border-right: 0; border-bottom: 1px solid var(--line); min-height: 240px; }
  .project:nth-child(even) .project-media { border-left: 0; }
  .final-cta { padding: 72px 0; }
  .final-cta h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .footer { padding: 48px 0 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 0px)); gap: 0;
    display: none;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-actions .btn-outline { display: none; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .concepts-grid { grid-template-columns: 1fr; }
  .float-wa .float-label { display: none; }
  .float-wa { padding: 15px; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }
  .float-phone { width: 52px; height: 52px; bottom: calc(16px + env(safe-area-inset-bottom, 0px) + 64px); }
  .site-card { width: min(100%, 300px); }
  .site-reel-stage { height: min(64vh, 520px); }
  .hero-copy .hero-cta .btn-outline { display: none; }
  .site-card-bubble {
    width: min(148px, 40vw);
  }
  .site-card-bubble-inner cite {
    font-size: .68rem;
  }
}
@media (max-width: 390px) {
  .hero-copy { padding: 10px 12px; }
  .hero-copy .hero-title { font-size: 1.28rem; }
  .site-card { width: min(100%, 280px); }
  .hero-morph-bubble { width: min(160px, 44vw); font-size: .9em; }
}
