/* ============================================
   MARC TECKE — 3D Studio Website
   Shared Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --void: #0A0A1A;
  --panel: #12122A;
  --panel-2: #1A1A38;
  --cyan: #00E5FF;
  --magenta: #FF3D9A;
  --violet: #7C3AED;
  --text: #F0F0FF;
  --text-dim: #9A9AC0;
  --line: rgba(124, 58, 237, 0.18);
  --glass: rgba(26, 26, 56, 0.55);

  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;

  --glow-cyan: 0 0 24px rgba(0, 229, 255, 0.45);
  --glow-magenta: 0 0 24px rgba(255, 61, 154, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--void);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient background glow */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(124, 58, 237, 0.16), transparent 60%),
    radial-gradient(50% 50% at 90% 20%, rgba(0, 229, 255, 0.10), transparent 60%),
    radial-gradient(60% 60% at 70% 95%, rgba(255, 61, 154, 0.10), transparent 60%);
  z-index: -2;
  pointer-events: none;
}

/* Subtle grid overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent 90%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(1200px, 92vw); margin: 0 auto; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 26, 0.6);
  border-bottom: 1px solid var(--line);
  transition: padding .3s ease;
}
.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.logo-mark { display: inline-flex; flex: none; position: relative; width: 42px; height: 42px; }
.logo-icon-img {
  width: 42px; height: 42px; border-radius: 50%; display: block; position: relative; z-index: 2;
  animation: logoZoom 2.8s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(0,229,255,.35));
}
@keyframes logoZoom { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }
/* pulsing wave rings */
.logo-mark::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; z-index: 0;
  box-shadow: 0 0 0 0 rgba(0,229,255,.4);
  animation: logoWave 2.6s ease-out infinite;
}
@keyframes logoWave {
  0% { box-shadow: 0 0 0 0 rgba(0,229,255,.4), 0 0 0 0 rgba(124,58,237,.3); }
  70% { box-shadow: 0 0 0 10px rgba(0,229,255,0), 0 0 0 16px rgba(124,58,237,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,229,255,0), 0 0 0 0 rgba(124,58,237,0); }
}
.logo-txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; color: var(--text); }
.logo-sub { font-family: var(--display); font-weight: 500; font-size: .72rem; letter-spacing: .06em; font-style: italic; background: linear-gradient(120deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.logo .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
  animation: pulse 2.4s infinite ease-in-out;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: .7; }
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-size: .92rem;
  color: var(--text-dim);
  font-weight: 500;
  position: relative;
  transition: color .25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transition: width .3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: 0; }
.burger span { width: 26px; height: 2px; background: var(--text); transition: .3s; }

/* ============ BUTTONS ============ */
.btn {
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform .25s ease, box-shadow .3s ease;
  position: relative;
}
.btn-primary {
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
  box-shadow: 0 0 0 rgba(0, 229, 255, 0);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.4);
}
.btn-ghost {
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}
.btn-magenta {
  background: linear-gradient(120deg, var(--magenta), var(--violet));
  color: #fff;
}
.btn-magenta:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,61,154,.4); }

/* ============ SECTION PRIMITIVES ============ */
.section { padding: clamp(70px, 10vw, 120px) 0; position: relative; }
.eyebrow {
  font-family: var(--display);
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
  display: inline-block;
}
.h-xl { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em; }
.h-lg { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.05; letter-spacing: -0.02em; }
.h-md { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.01em; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--text-dim); max-width: 60ch; }
.grad-text {
  background: linear-gradient(110deg, var(--cyan), var(--magenta) 55%, var(--violet));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============ GLASS CARD ============ */
.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at var(--mx, 50%) var(--my, 0%), rgba(0,229,255,.10), transparent 45%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 30px rgba(0,229,255,.12);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0,229,255,.15), rgba(124,58,237,.15));
  border: 1px solid var(--line);
  margin-bottom: 20px;
  color: var(--cyan);
}
.card-icon svg { width: 28px; height: 28px; }

/* Floating icon animation */
.float { animation: float 5s ease-in-out infinite; }
.float-2 { animation: float 6s ease-in-out infinite .6s; }
.float-3 { animation: float 7s ease-in-out infinite 1.2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ HERO 3D ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 90px;
  padding-bottom: 20px;
}
#hero-canvas, .scene-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero #hero-canvas { opacity: 0.45; }
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.hero-inner { max-width: 620px; }
.hero-orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 600px;
  overflow: visible;
  margin-top: -40px;
}
#orbit-canvas { width: 100%; height: 100%; display: block; cursor: grab; overflow: visible; }
#orbit-canvas:active { cursor: grabbing; }
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-orbit { max-width: 440px; margin: 0 auto; order: -1; }
  .hero-inner { max-width: none; }
}
.badge {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--glass); border: 1px solid transparent;
  font-size: .82rem; color: var(--text-dim); margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.badge::before {
  content: ''; position: absolute; inset: 0; border-radius: 999px; padding: 1.5px; z-index: -1;
  background: conic-gradient(from var(--badge-angle, 0deg), transparent 0deg, var(--cyan) 60deg, var(--magenta) 120deg, var(--violet) 180deg, transparent 260deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: badgeSpin 4s linear infinite;
}
@property --badge-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes badgeSpin { to { --badge-angle: 360deg; } }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: var(--glow-cyan); }
.hero-cta { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 64px; margin-top: 30px; padding-top: 24px; padding-bottom: 4px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-stats .stat { padding-top: 2px; }
.stat .n { font-family: var(--display); font-weight: 700; font-size: 2.2rem; color: var(--text); }
.stat .n .grad-text { font-size: inherit; }
.stat .l { font-size: .85rem; color: var(--text-dim); margin-top: 8px; }

/* ============ GRIDS ============ */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============ PAGE HEADER ============ */
.page-head { padding: 170px 0 40px; position: relative; }
.crumb { font-size: .85rem; color: var(--text-dim); margin-bottom: 16px; }
.crumb .grad-text { font-weight: 600; }

/* ============ SERVICES ICON ORBIT (home) ============ */
.orbit-note { font-size:.85rem; color: var(--text-dim); margin-top: 14px; }

/* ============ PROCESS / STEPS ============ */
.step { display: flex; gap: 22px; align-items: flex-start; }
.step-n {
  font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  width: 48px; height: 48px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255,61,154,.15), rgba(124,58,237,.18));
  border: 1px solid var(--line); color: var(--magenta);
}

/* ============ PRICING ============ */
.price-card { display: flex; flex-direction: column; position: relative; transition: transform .4s cubic-bezier(.16,.8,.3,1), box-shadow .4s ease, border-color .4s ease; overflow: visible; }
.price-grid { align-items: stretch; }
/* section needs room for the badge that sits above the featured card */
.price-grid { padding-top: 18px; }

/* Name + description */
.pc-name { font-family: var(--display); font-weight: 700; font-size: 1.5rem; }
.pc-desc { color: var(--text-dim); font-size: .92rem; margin: 8px 0 4px; min-height: 42px; }
.pc-term { color: var(--cyan); font-size: .82rem; font-weight: 600; margin: 2px 0 6px; }
.pc-btn { margin-top: auto; justify-content: center; }

/* Spotlight glow that follows the cursor (all cards) */
.price-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 20px; pointer-events: none;
  background: radial-gradient(200px circle at var(--px, 50%) var(--py, 0%), rgba(0,229,255,.12), transparent 60%);
  opacity: 0; transition: opacity .4s ease; z-index: 1;
}
.price-card:hover::after { opacity: 1; }

/* Featured (middle) card — stays dark, elegant animated gradient BORDER + shadow glow */
.price-card.featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#14142E, #14142E) padding-box,
    linear-gradient(135deg, var(--cyan), var(--magenta), var(--violet), var(--cyan)) border-box;
  background-size: auto, 300% 300%;
  backdrop-filter: none;
  box-shadow: 0 0 30px rgba(0,229,255,.22), 0 0 60px rgba(255,61,154,.14), 0 24px 60px rgba(0,0,0,.5);
  transform: translateY(-16px);
  z-index: 2;
  animation: pcBorder 6s linear infinite;
}
@keyframes pcBorder { 0% { background-position: 0 0, 0% 50%; } 100% { background-position: 0 0, 300% 50%; } }

/* Popular badge — fully visible, floating pill with shimmer */
.pc-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 90%;
  font-family: var(--display); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 20px; border-radius: 999px; white-space: nowrap; z-index: 6;
  background: linear-gradient(120deg, var(--cyan), var(--violet), var(--magenta), var(--cyan));
  background-size: 300% 300%;
  color: #fff; font-weight: 700; text-shadow: 0 1px 5px rgba(0,0,0,.35);
  box-shadow: 0 10px 26px rgba(124,58,237,.45), 0 0 22px rgba(0,229,255,.35), inset 0 1px 0 rgba(255,255,255,.35);
  animation: pcBadgeFloat 3.4s ease-in-out infinite, pcBadge 5s ease infinite;
}
/* soft glowing halo behind the bubble */
.pc-badge::before {
  content: ''; position: absolute; inset: -6px; border-radius: 999px; z-index: -1;
  background: linear-gradient(120deg, var(--cyan), var(--magenta), var(--violet));
  opacity: .4; filter: blur(12px);
  animation: pcBadge 5s ease infinite;
}
/* tiny sparkle dot */
.pc-badge::after {
  content: ''; position: absolute; top: 50%; left: 9px; transform: translateY(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 8px 2px rgba(255,255,255,.8);
  animation: pcSparkle 2.2s ease-in-out infinite;
}
@keyframes pcSparkle { 0%,100% { opacity: .3; transform: translateY(-50%) scale(.8); } 50% { opacity: 1; transform: translateY(-50%) scale(1.3); } }
@keyframes pcBadge { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes pcBadgeFloat { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-7px); } }

/* Price */
.price { position: relative; z-index: 2; font-family: var(--display); font-weight: 700; font-size: 3rem; margin: 14px 0 4px; background: linear-gradient(120deg, var(--text), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price span { font-size: 1rem; color: var(--text-dim); font-weight: 400; -webkit-text-fill-color: var(--text-dim); }
.featured .price { background: linear-gradient(120deg, var(--cyan), var(--magenta)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.price-list { position: relative; z-index: 2; list-style: none; margin: 22px 0; display: grid; gap: 13px; }
.price-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; color: var(--text-dim); }
.price-list li svg { width: 18px; height: 18px; color: var(--cyan); flex: none; margin-top: 3px; }
.price-card > * { position: relative; z-index: 2; }

/* Hover: lift + brighten */
.price-card:hover { transform: translateY(-10px); border-color: rgba(0,229,255,.4); box-shadow: 0 26px 60px rgba(0,0,0,.45), 0 0 36px rgba(0,229,255,.16); }
.price-card.featured:hover { transform: translateY(-22px); box-shadow: 0 0 55px rgba(0,229,255,.24), 0 30px 70px rgba(0,0,0,.55); }
/* icons in list pulse cyan on hover */
.price-card:hover .price-list li svg { animation: pcCheck .5s ease; }
@keyframes pcCheck { 50% { transform: scale(1.3); } }

/* Entrance: staggered rise per column */
.price-grid .price-card { opacity: 0; transform: translateY(45px); transition: opacity .85s ease, transform .85s cubic-bezier(.16,.8,.3,1), box-shadow .4s ease, border-color .4s ease; }
.price-grid .price-card.in { opacity: 1; transform: translateY(0); }
.price-grid .price-card.featured { transform: translateY(45px); }
.price-grid .price-card.featured.in { transform: translateY(-16px); }
.price-grid .price-card.in:nth-child(1) { transition-delay: .1s; }
.price-grid .price-card.in:nth-child(2) { transition-delay: .3s; }
.price-grid .price-card.in:nth-child(3) { transition-delay: .5s; }
@media (max-width: 940px) {
  .price-card.featured, .price-grid .price-card.featured, .price-grid .price-card.featured.in { transform: none; }
}

/* ============ PORTFOLIO ============ */
.folio { border-radius: 20px; overflow: hidden; position: relative; border: 1px solid var(--line); aspect-ratio: 4/3; cursor: pointer; }
.folio-art { position: absolute; inset: 0; transition: transform .6s ease; }
.folio:hover .folio-art { transform: scale(1.06); }
.folio-meta {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; background: linear-gradient(to top, rgba(10,10,26,.92), transparent 70%);
  opacity: 0; transition: opacity .4s ease;
}
.folio:hover .folio-meta { opacity: 1; }
.folio-meta h4 { font-family: var(--display); font-size: 1.25rem; }
.folio-meta p { font-size: .85rem; color: var(--cyan); }

/* ============ TESTIMONIALS ============ */
.quote { font-size: 1.05rem; color: var(--text); font-style: italic; margin-bottom: 18px; }
.quote-author { display: flex; align-items: center; gap: 12px; }
.quote-author .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--magenta)); display:grid; place-items:center; font-family:var(--display); font-weight:700; color:#06061a; }
.quote-author .nm { font-weight: 600; font-size: .92rem; }
.quote-author .rl { font-size: .8rem; color: var(--text-dim); }
.stars { color: var(--cyan); margin-bottom: 14px; letter-spacing: 2px; }

/* ============ CONTACT FORM ============ */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .85rem; color: var(--text-dim); font-family: var(--display); }
.field input, .field textarea, .field select {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; color: var(--text); font-family: var(--body); font-size: .95rem;
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--cyan); box-shadow: var(--glow-cyan);
}
.field textarea { resize: vertical; min-height: 130px; }

.contact-info { display: grid; gap: 22px; }
.info-row { display: flex; gap: 16px; align-items: center; }
.info-row .ic { width: 46px; height: 46px; border-radius: 12px; display:grid; place-items:center; background: var(--glass); border: 1px solid var(--line); color: var(--cyan); }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row .lbl { font-size: .78rem; color: var(--text-dim); }
.info-row .val { font-weight: 500; color: var(--text); transition: color .25s ease; }
a.val { color: var(--text); }
.info-row:hover .val { color: var(--cyan); }
.info-row:hover .ic { border-color: var(--cyan); }
.info-row .ic { transition: border-color .25s ease; }

/* ============ SOCIAL ============ */
.socials { display: flex; gap: 14px; }
.social {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--line);
  color: var(--text-dim); transition: .3s;
}
.social:hover { color: var(--cyan); border-color: var(--cyan); transform: translateY(-4px); box-shadow: var(--glow-cyan); }
.social svg { width: 20px; height: 20px; }

/* ============ CTA BAND ============ */
.cta-band {
  border-radius: 28px; padding: clamp(40px, 6vw, 70px);
  background: linear-gradient(120deg, rgba(0,229,255,.10), rgba(255,61,154,.08));
  border: 1px solid var(--line); text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content:''; position:absolute; inset:-50%;
  background: radial-gradient(circle, rgba(124,58,237,.18), transparent 60%);
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band > * { position: relative; z-index: 1; }

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 36px;
  margin-top: 40px;
  background: linear-gradient(to bottom, transparent, rgba(18,18,42,.5));
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 48px; }
.foot-grid h5 { font-family: var(--display); font-size: .82rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.foot-links { display: grid; gap: 11px; }
.foot-links a { color: var(--text-dim); font-size: .92rem; transition: color .25s; }
.foot-links a:hover { color: var(--cyan); }
.foot-contact { display: grid; gap: 13px; }
.foot-contact a { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: .92rem; transition: color .25s; }
.foot-contact a:hover { color: var(--cyan); }
.foot-contact a svg { width: 17px; height: 17px; flex: none; opacity: .8; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 16px; }
.foot-bottom p { font-size: .85rem; color: var(--text-dim); }

/* ============ CTA BUTTON PAIR ============ */
.cta-pair { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn .ico { width: 18px; height: 18px; display: inline-flex; }
.btn-primary { overflow: hidden; }
.btn-primary .shine {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none;
}
.btn-primary .shine::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 140%; } }

/* ============ VIDEO TESTIMONIALS ============ */
.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vid-card {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 9/12; border: 1px solid var(--line); cursor: pointer;
  background: var(--panel-2); transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.vid-card:hover { transform: translateY(-8px); border-color: rgba(0,229,255,.45); box-shadow: 0 24px 50px rgba(0,0,0,.5), 0 0 30px rgba(0,229,255,.15); }
.vid-poster { position: absolute; inset: 0; display: grid; place-items: center; background-size: cover !important; background-position: center !important; background-repeat: no-repeat; }
.vid-poster.vg1 { background: linear-gradient(150deg,#00E5FF,#7C3AED); }
.vid-poster.vg2 { background: linear-gradient(150deg,#FF3D9A,#7C3AED); }
.vid-poster.vg3 { background: linear-gradient(150deg,#7C3AED,#00E5FF); }
.vid-play {
  width: 66px; height: 66px; border-radius: 50%;
  background: rgba(10,10,26,.55); backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,.6);
  display: grid; place-items: center; transition: transform .35s ease, background .35s;
  position: relative; z-index: 2;
}
.vid-play::before {
  content: ''; position: absolute; inset: -8px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35); animation: ripple 2.4s ease-out infinite;
}
@keyframes ripple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.vid-card:hover .vid-play { transform: scale(1.12); background: rgba(0,229,255,.35); }
.vid-play svg { width: 24px; height: 24px; color: #fff; margin-left: 3px; }
.vid-meta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px;
  background: linear-gradient(to top, rgba(10,10,26,.95), transparent);
  z-index: 2;
}
.vid-meta .vn { font-family: var(--display); font-weight: 600; font-size: 1rem; }
.vid-meta .vr { font-size: .8rem; color: var(--cyan); }
.vid-frame { position: absolute; inset: 0; z-index: 3; border: 0; width: 100%; height: 100%; display: none; object-fit: cover; background: #000; border-radius: 20px; }
.vid-card.playing .vid-frame { display: block; }
.vid-card.playing .vid-poster, .vid-card.playing .vid-meta { display: none; }

/* ============ REVIEW MARQUEE (15 reviews) ============ */
.rev-marquee { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-height: 640px; overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent); }
.rev-track { display: flex; flex-direction: column; gap: 0; animation: scroll-y 40s linear infinite; will-change: transform; backface-visibility: hidden; }
.rev-track.t2 { animation-duration: 52s; animation-direction: reverse; }
.rev-track.t3 { animation-duration: 46s; }
.rev-marquee:hover .rev-track { animation-play-state: paused; }
@keyframes scroll-y { from { transform: translate3d(0,0,0); } to { transform: translate3d(0,-50%,0); } }
.rev {
  margin-bottom: 20px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  backdrop-filter: blur(10px); transition: border-color .3s, box-shadow .3s;
}
.rev:hover { border-color: rgba(0,229,255,.4); box-shadow: 0 0 24px rgba(0,229,255,.1); }
.rev .rev-stars { color: var(--cyan); letter-spacing: 2px; font-size: .9rem; margin-bottom: 10px; }
.rev p { color: var(--text-dim); font-size: .93rem; line-height: 1.55; }
.rev .rev-by { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.rev .rev-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: .9rem; color: #06061a; flex: none; }
.rev .rev-photo { object-fit: cover; }
.rev .rev-nm { font-weight: 600; font-size: .88rem; color: var(--text); }
.rev a.rev-link { text-decoration: none; transition: color .2s; }
.rev a.rev-link:hover { color: var(--cyan); text-decoration: underline; }
.rev .rev-rl { font-size: .76rem; color: var(--text-dim); }

@media (max-width: 780px) {
  .vid-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .rev-marquee { grid-template-columns: 1fr; max-height: 560px; }
  .rev-marquee .rev-track.t2, .rev-marquee .rev-track.t3 { display: none; }
}

/* ============ ANIMATED TECH-ICON MARQUEE ============ */
.tech {
  padding: 60px 0;
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(18,18,42,.3), transparent);
}
.tech-head { text-align: center; margin-bottom: 40px; }
.marquee {
  display: flex;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 26px;
  padding: 8px 13px;
  flex: none;
  animation: scroll-x 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 38s; }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 13px)); }
}
.tech-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  flex: none;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.tech-chip:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: rgba(0,229,255,.5);
  box-shadow: 0 12px 30px rgba(0,0,0,.4), 0 0 24px rgba(0,229,255,.18);
}
.tech-chip svg { width: 30px; height: 30px; flex: none; }
.tech-chip .lbl { font-family: var(--display); font-weight: 600; font-size: .95rem; white-space: nowrap; }

/* Orbiting service-icon ring */
.orbit-stage {
  position: relative;
  width: min(440px, 80vw);
  aspect-ratio: 1;
  margin: 0 auto;
}
.orbit-core {
  position: absolute; inset: 0; margin: auto;
  width: 110px; height: 110px; border-radius: 28px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0,229,255,.2), rgba(124,58,237,.25));
  border: 1px solid rgba(0,229,255,.4);
  box-shadow: 0 0 40px rgba(0,229,255,.25);
  z-index: 2;
}
.orbit-core svg { width: 52px; height: 52px; color: var(--cyan); }
.orbit-ring {
  position: absolute; inset: 0;
  border: 1px dashed var(--line); border-radius: 50%;
  animation: orbit-spin 28s linear infinite;
}
.orbit-ring.r2 { inset: 18%; animation-duration: 20s; animation-direction: reverse; border-color: rgba(255,61,154,.18); }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.orbit-item {
  position: absolute; top: -26px; left: 50%;
  width: 52px; height: 52px; margin-left: -26px;
  border-radius: 14px; display: grid; place-items: center;
  background: var(--panel-2); border: 1px solid var(--line);
  box-shadow: var(--glow-cyan);
  animation: orbit-counter 28s linear infinite;
}
.orbit-ring.r2 .orbit-item { animation-duration: 20s; animation-direction: reverse; box-shadow: var(--glow-magenta); }
.orbit-item svg { width: 26px; height: 26px; }
@keyframes orbit-counter { to { transform: rotate(-360deg); } }
.orbit-item.p2 { top: 50%; left: auto; right: -26px; margin: -26px 0 0 0; }
.orbit-item.p3 { top: auto; bottom: -26px; left: 50%; }
.orbit-item.p4 { top: 50%; left: -26px; margin-top: -26px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; height: 100vh; height: 100dvh; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 90px 28px 40px; gap: 6px; background: rgba(10,10,24,.98); backdrop-filter: blur(24px);
    transform: translateX(100%); transition: transform .4s cubic-bezier(.16,.8,.3,1); border-left: 1px solid var(--line);
    box-shadow: -20px 0 60px rgba(0,0,0,.5); overflow-y: auto;
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.08rem; padding: 14px 16px; border-radius: 12px; width: 100%; transition: background .25s ease, color .25s ease; }
  .nav-links a:not(.btn):hover, .nav-links a:not(.btn).active { background: rgba(0,229,255,.1); color: var(--cyan); }
  .nav-links a::after { display: none; }
  .nav-links .btn { margin-top: 14px; justify-content: center; font-size: 1rem; }
  .burger { display: flex; z-index: 101; }
  .nav-links.open ~ .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-links.open ~ .burger span:nth-child(2) { opacity: 0; }
  .nav-links.open ~ .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============ BOOKING / CONTACT MODAL ============ */
.mt-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.mt-modal.open { display: block; }
.mt-modal-backdrop { position: absolute; inset: 0; background: rgba(6,6,20,.72); backdrop-filter: blur(6px); animation: mtFade .25s ease; }
@keyframes mtFade { from { opacity: 0; } to { opacity: 1; } }
.mt-modal-card {
  position: relative; z-index: 2;
  width: min(560px, 92vw); max-height: 90vh; overflow-y: auto;
  margin: 6vh auto 0; padding: 34px;
  background: linear-gradient(160deg, #14142E, #0E0E22);
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(0,229,255,.08);
  animation: mtPop .3s cubic-bezier(.2,.8,.3,1);
}
@keyframes mtPop { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.mt-modal-x {
  position: absolute; top: 16px; right: 18px;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--glass); border: 1px solid var(--line);
  color: var(--text-dim); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: .2s;
}
.mt-modal-x:hover { color: var(--text); border-color: var(--cyan); }
.mt-modal-card .field input[type="date"] { color-scheme: dark; }

/* ============ NAV BOOK BUTTON: white → gradient glow on hover ============ */
.nav .btn-primary {
  background: transparent;
  border: 1px solid rgba(255,255,255,.6);
  color: #ffffff;
  box-shadow: none;
  transition: background .35s ease, box-shadow .35s ease, transform .25s ease, border-color .35s ease, color .35s ease;
}
.nav .btn-primary .ico svg { stroke: #ffffff; }
.nav .btn-primary:hover {
  background: linear-gradient(120deg, var(--magenta), var(--violet), var(--cyan));
  border-color: transparent;
  color: #06061a;
  transform: translateY(-3px);
  box-shadow: 0 10px 34px rgba(255,61,154,.45), 0 0 26px rgba(0,229,255,.35);
}
.nav .btn-primary:hover .ico svg { stroke: #06061a; }
.nav .btn-primary .shine { display: none; }
.nav .btn-primary:hover .shine { display: block; }

/* ============ TEAM AVATARS: glowing ring + hover ============ */
.team-av-ring {
  width: 92px; height: 92px;
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta), var(--violet));
  box-shadow: 0 0 18px rgba(0,229,255,.25), 0 0 30px rgba(255,61,154,.15);
  transition: box-shadow .35s ease, transform .35s ease;
}
.team-av-ring .av {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--panel);
}
/* Card hover: lift + brighten the ring + subtle photo zoom */
.team-card { transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; overflow: hidden; }
.team-card:hover { transform: translateY(-8px); border-color: rgba(0,229,255,.4); box-shadow: 0 22px 55px rgba(0,0,0,.45), 0 0 34px rgba(0,229,255,.14); }
.team-card:hover .team-av-ring {
  transform: scale(1.06);
  box-shadow: 0 0 26px rgba(0,229,255,.5), 0 0 44px rgba(255,61,154,.32);
}
.team-card .team-av-ring .av { transition: transform .4s ease; }
.team-card:hover .team-av-ring .av { transform: scale(1.08); }

/* ============ SERVICES PAGE — animated blocks ============ */
/* Idea 1: alternating slide-in on scroll */
.svc-block { opacity: 0; transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.16,.8,.3,1); position: relative; overflow: hidden; }
.svc-block.from-left { transform: translateX(-70px); }
.svc-block.from-right { transform: translateX(70px); }
.svc-block.in { opacity: 1; transform: translateX(0); }

/* Idea 2: animated gradient glow border + icon float on hover */
.svc-block::after {
  content: ''; position: absolute; inset: 0; border-radius: 20px; padding: 1px;
  background: linear-gradient(120deg, var(--cyan), var(--magenta), var(--violet), var(--cyan));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.svc-block:hover { transform: translateX(0) translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 40px rgba(0,229,255,.12); }
.svc-block:hover::after { opacity: 1; animation: svcBorder 4s linear infinite; }
@keyframes svcBorder { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
.svc-block:hover .card-icon { animation: svcFloat 1.6s ease-in-out infinite; }
@keyframes svcFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Idea 4: staggered checkmark draw-in when block enters (gentle cascade) */
.svc-block .price-list li { opacity: 0; transform: translateX(14px); transition: opacity .65s ease, transform .65s ease; }
.svc-block.in .price-list li { opacity: 1; transform: translateX(0); }
.svc-block.in .price-list li:nth-child(1) { transition-delay: .35s; }
.svc-block.in .price-list li:nth-child(2) { transition-delay: .58s; }
.svc-block.in .price-list li:nth-child(3) { transition-delay: .81s; }
.svc-block.in .price-list li:nth-child(4) { transition-delay: 1.04s; }
.svc-block.in .price-list li:nth-child(5) { transition-delay: 1.27s; }
.svc-block .price-list li svg {
  stroke-dasharray: 24; stroke-dashoffset: 24;
  transition: stroke-dashoffset .6s ease;
}
.svc-block.in .price-list li svg { stroke-dashoffset: 0; }
.svc-block.in .price-list li:nth-child(1) svg { transition-delay: .5s; }
.svc-block.in .price-list li:nth-child(2) svg { transition-delay: .73s; }
.svc-block.in .price-list li:nth-child(3) svg { transition-delay: .96s; }
.svc-block.in .price-list li:nth-child(4) svg { transition-delay: 1.19s; }
.svc-block.in .price-list li:nth-child(5) svg { transition-delay: 1.42s; }

/* ============ FAQ ACCORDION ============ */
.faq-wrap { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq {
  background: var(--glass); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 22px; overflow: hidden; transition: border-color .3s ease, box-shadow .3s ease, background .3s ease, transform .3s cubic-bezier(.16,.8,.3,1);
}
.faq:hover { border-color: rgba(0,229,255,.4); box-shadow: 0 12px 34px rgba(0,0,0,.4), 0 0 30px rgba(0,229,255,.16); transform: scale(1.02); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--text);
  transition: color .25s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq:hover summary { color: var(--cyan); }
.faq summary::after {
  content: ''; position: absolute; right: 4px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: translateY(-70%) rotate(45deg); transition: transform .35s ease;
}
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p {
  color: var(--text-dim); font-size: .94rem; line-height: 1.6;
  margin: 0; padding-bottom: 20px; max-width: 68ch;
  animation: faqOpen .4s ease;
}
@keyframes faqOpen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ============ PORTFOLIO CATEGORY CARDS ============ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

.cat-card {
  position: relative; display: block; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
  text-decoration: none; color: var(--text);
  transition: transform .4s cubic-bezier(.16,.8,.3,1), box-shadow .4s ease, border-color .4s ease;
}
.cat-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, var(--cyan), var(--violet)); }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.16,.8,.3,1); }
.cat-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,26,.85), transparent 55%); }

.cat-info { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; z-index: 2; }
.cat-info h3 { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.cat-info p { color: var(--cyan); font-size: .85rem; margin-top: 2px; }
.cat-arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line); color: var(--cyan); flex: none; transition: transform .35s ease, background .35s ease; }
.cat-arrow svg { width: 18px; height: 18px; }

/* "View gallery" hint pill that appears on the thumbnail */
.cat-hint {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  padding: 9px 18px; border-radius: 999px;
  background: linear-gradient(120deg, var(--cyan), var(--magenta), var(--violet));
  background-size: 200% 200%;
  color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(-10px) scale(.9); transition: opacity .35s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 8px 26px rgba(0,229,255,.45), 0 0 20px rgba(255,61,154,.35);
}

/* hover: stronger lift, brighter glow border, zoom image, reveal hint, animate arrow */
.cat-card:hover { transform: translateY(-14px); border-color: var(--cyan); box-shadow: 0 34px 70px rgba(0,0,0,.55), 0 0 55px rgba(0,229,255,.35), 0 0 90px rgba(124,58,237,.22); }
.cat-card:hover .cat-thumb img { transform: scale(1.12); }
.cat-card:hover .cat-thumb::after { background: linear-gradient(to top, rgba(10,10,26,.9), rgba(0,229,255,.08) 60%, transparent 80%); }
.cat-card:hover .cat-hint { opacity: 1; transform: translateY(0) scale(1); animation: hintPulse 1.6s ease infinite; }
@keyframes hintPulse { 0%,100% { box-shadow: 0 8px 26px rgba(0,229,255,.45), 0 0 20px rgba(255,61,154,.35); background-position: 0% 50%; } 50% { box-shadow: 0 8px 32px rgba(0,229,255,.7), 0 0 30px rgba(255,61,154,.5); background-position: 100% 50%; } }
.cat-card:hover .cat-info h3 { color: var(--cyan); }
.cat-info h3 { transition: color .3s ease; }
.cat-card:hover .cat-arrow { transform: translateX(5px) scale(1.1); background: linear-gradient(120deg, var(--cyan), var(--violet)); color: #06061a; border-color: transparent; box-shadow: 0 0 22px rgba(0,229,255,.5); }

/* entrance stagger */
.cat-grid .cat-card { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,.8,.3,1), box-shadow .4s ease, border-color .4s ease; }
.cat-grid .cat-card.in { opacity: 1; transform: translateY(0); }
.cat-grid .cat-card.in:nth-child(2) { transition-delay: .08s; }
.cat-grid .cat-card.in:nth-child(3) { transition-delay: .16s; }
.cat-grid .cat-card.in:nth-child(4) { transition-delay: .24s; }
.cat-grid .cat-card.in:nth-child(5) { transition-delay: .32s; }
.cat-grid .cat-card.in:nth-child(6) { transition-delay: .40s; }

/* ============ GALLERY PAGES ============ */
.gallery-grid { display: grid; gap: 20px; }
.gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .gallery-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } .gallery-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } .gallery-grid.cols-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .gallery-grid.cols-4 { grid-template-columns: 1fr; } .gallery-grid.cols-3 { grid-template-columns: 1fr; } }

.gtile {
  position: relative; padding: 0; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; cursor: pointer; background: var(--panel); aspect-ratio: 1/1;
  opacity: 0; transform: translateY(30px) scale(.96);
  transition: opacity .6s ease, transform .6s cubic-bezier(.16,.8,.3,1), box-shadow .35s ease, border-color .35s ease;
}
.gallery-grid.cols-2 .gtile, .gallery-grid.cols-3 .gtile { aspect-ratio: 4/3; }
.gtile.in { opacity: 1; transform: translateY(0) scale(1); }
.gtile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.16,.8,.3,1); }
.gtile-eye {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
  background: linear-gradient(to top, rgba(10,10,26,.7), rgba(10,10,26,.15));
  opacity: 0; transition: opacity .35s ease;
}
.gtile-eye svg { width: 40px; height: 40px; color: #fff; transform: scale(.7); transition: transform .35s cubic-bezier(.34,1.56,.64,1); filter: drop-shadow(0 0 12px rgba(0,229,255,.8)); }
.gtile:hover { border-color: var(--cyan); box-shadow: 0 20px 46px rgba(0,0,0,.5), 0 0 34px rgba(0,229,255,.28); transform: translateY(-6px); }
.gtile:hover img { transform: scale(1.1); }
.gtile:hover .gtile-eye { opacity: 1; }
.gtile:hover .gtile-eye svg { transform: scale(1); }

.load-more-wrap { text-align: center; margin-top: 40px; }
#load-more { position: relative; overflow: hidden; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none; place-items: center;
  background: rgba(6,6,18,.92); backdrop-filter: blur(8px); padding: 40px;
}
.lightbox.open { display: grid; animation: lbFade .3s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(0,229,255,.15); animation: lbZoom .35s cubic-bezier(.16,.8,.3,1); }
@keyframes lbZoom { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: var(--glass); border: 1px solid var(--line); color: var(--text);
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  transition: background .25s ease, border-color .25s ease, transform .25s ease; z-index: 2;
}
.lb-close svg, .lb-prev svg, .lb-next svg { width: 24px; height: 24px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: linear-gradient(120deg,var(--cyan),var(--violet)); color: #06061a; border-color: transparent; transform: scale(1.08); }
.lb-close { top: 26px; right: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.08); }
.lb-count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: var(--text-dim); font-size: .9rem; letter-spacing: .05em; }
@media (max-width: 600px) { .lb-prev { left: 12px; } .lb-next { right: 12px; } .lb-close { top: 14px; right: 14px; } }

/* ============ FLOATING BACK BUTTON (icon only, all pages) ============ */
.back-fab {
  position: fixed; left: 22px; bottom: 22px; z-index: 900;
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(18,18,42,.5); backdrop-filter: blur(10px);
  border: 1.5px solid transparent;
  background-image: linear-gradient(rgba(18,18,42,.55), rgba(18,18,42,.55)), linear-gradient(135deg, var(--cyan), var(--magenta), var(--violet));
  background-origin: border-box; background-clip: padding-box, border-box;
  color: var(--text); text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 26px rgba(0,0,0,.4), 0 0 22px rgba(0,229,255,.22);
  opacity: 0; transform: translateY(24px) scale(.8); pointer-events: none;
  transition: opacity .4s ease, transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.back-fab span { display: none; }
.back-fab.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-fab::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0,229,255,.35);
  animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(0,229,255,.4); } 70% { box-shadow: 0 0 0 14px rgba(0,229,255,0); } 100% { box-shadow: 0 0 0 0 rgba(0,229,255,0); } }
.back-fab svg { width: 22px; height: 22px; transition: transform .3s ease; position: relative; z-index: 1; }
.back-fab:hover { transform: translateY(-4px) scale(1.08); color: var(--cyan); box-shadow: 0 12px 32px rgba(0,0,0,.5), 0 0 30px rgba(0,229,255,.45); }
.back-fab:hover svg { transform: translateX(-3px); }
@media (max-width: 600px) { .back-fab { left: 14px; bottom: 14px; width: 48px; height: 48px; } }

/* ============ WEBSITES GALLERY ============ */
.web-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .web-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .web-grid { grid-template-columns: 1fr; } }

.web-card {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel);
  opacity: 0; transform: translateY(36px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16,.8,.3,1), box-shadow .4s ease, border-color .4s ease;
}
.web-card.in { opacity: 1; transform: translateY(0); }
.web-card:hover { transform: translateY(-8px); border-color: var(--cyan); box-shadow: 0 24px 55px rgba(0,0,0,.5), 0 0 34px rgba(0,229,255,.24); }

.web-thumb { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: #0d0d1f; }
.web-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.16,.8,.3,1); }
.web-card:hover .web-thumb img { transform: scale(1.07); }
.web-thumb::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(120deg, rgba(0,229,255,.14), rgba(124,58,237,.16) 60%, rgba(255,61,154,.12));
  opacity: 0; transition: opacity .4s ease;
}
.web-card:hover .web-thumb::after { opacity: 1; }

.web-info { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.web-info h3 {
  font-family: var(--display); font-weight: 700; font-size: 1.08rem;
  background: linear-gradient(120deg, var(--text) 30%, var(--cyan), var(--magenta), var(--text) 70%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: background-position .5s ease;
}
.web-card:hover .web-info h3 { animation: nameShine 1.6s linear infinite; }
@keyframes nameShine { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
.web-btn {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 9px 16px; border-radius: 999px; font-size: .82rem; font-weight: 600; text-decoration: none;
  color: var(--text); background: var(--glass); border: 1px solid var(--line);
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}
.web-btn svg { width: 14px; height: 14px; }
.web-btn:hover { background: linear-gradient(120deg, var(--cyan), var(--violet)); color: #06061a; border-color: transparent; transform: translateX(2px); box-shadow: 0 6px 18px rgba(0,229,255,.35); }

.web-grid .web-card.in:nth-child(3n+1) { transition-delay: .05s; }
.web-grid .web-card.in:nth-child(3n+2) { transition-delay: .15s; }
.web-grid .web-card.in:nth-child(3n+3) { transition-delay: .25s; }

/* ============ HERO BADGE FLOAT + ROTATING WORD ============ */
.badge-float { animation: badgeFloat 3.5s ease-in-out infinite; }
@keyframes badgeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.rotate-word { display: inline-block; transition: opacity .5s ease, transform .5s cubic-bezier(.16,.8,.3,1); }
.rotate-word.rw-out { opacity: 0; transform: translateY(-14px); filter: blur(3px); }
.rotate-word.rw-in { animation: rwIn .6s cubic-bezier(.16,.8,.3,1); }
@keyframes rwIn { 0% { opacity: 0; transform: translateY(16px); filter: blur(3px); } 100% { opacity: 1; transform: translateY(0); filter: blur(0); } }

/* ============ PROJECTS DELIVERED animation ============ */
.stat-deliver .n { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.deliver-ic { display: inline-grid; place-items: center; color: var(--cyan); }
.deliver-ic svg { width: 22px; height: 22px; animation: deliverFly 2.8s ease-in-out infinite; }
@keyframes deliverFly {
  0% { transform: translate(0,0) rotate(0deg); opacity: 1; }
  40% { transform: translate(10px,-8px) rotate(8deg); opacity: 1; }
  60% { transform: translate(20px,-14px) rotate(12deg); opacity: 0; }
  61% { transform: translate(-8px,4px) rotate(0deg); opacity: 0; }
  100% { transform: translate(0,0) rotate(0deg); opacity: 1; }
}

/* ============ PREMIUM SHINY BUTTONS ============ */
.btn-shine {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--cyan), var(--violet), var(--magenta), var(--cyan));
  background-size: 300% 300%;
  color: #fff !important; font-weight: 700; border: none; text-shadow: 0 1px 6px rgba(0,0,0,.3);
  animation: btnGradient 5s ease infinite;
  box-shadow: 0 8px 26px rgba(0,229,255,.3), 0 0 20px rgba(124,58,237,.2);
  transition: transform .3s ease, box-shadow .3s ease;
}
@keyframes btnGradient { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn-shine::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); animation: btnSheen 3.5s ease-in-out infinite;
}
@keyframes btnSheen { 0% { left: -80%; } 45%,100% { left: 130%; } }
.btn-shine:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 38px rgba(0,229,255,.5), 0 0 30px rgba(255,61,154,.3); }

/* premium ghost/outline button to pair with shine */
.btn-outline {
  position: relative; overflow: hidden;
  background: rgba(18,18,42,.6); color: var(--text); font-weight: 600;
  border: 1.5px solid transparent;
  background-image: linear-gradient(rgba(18,18,42,.85), rgba(18,18,42,.85)), linear-gradient(120deg, var(--cyan), var(--magenta), var(--violet));
  background-origin: border-box; background-clip: padding-box, border-box;
  transition: transform .3s ease, box-shadow .3s ease, color .3s ease;
}
.btn-outline:hover { transform: translateY(-3px); color: var(--cyan); box-shadow: 0 10px 30px rgba(0,0,0,.4), 0 0 24px rgba(0,229,255,.22); }

/* ============ BACK-FAB per-page color variants (transparent shiny) ============ */
.back-fab.fab-cyan { background-image: linear-gradient(rgba(18,18,42,.55), rgba(18,18,42,.55)), linear-gradient(135deg, #00E5FF, #00B8D4); }
.back-fab.fab-magenta { background-image: linear-gradient(rgba(18,18,42,.55), rgba(18,18,42,.55)), linear-gradient(135deg, #FF3D9A, #FF80AB); }
.back-fab.fab-violet { background-image: linear-gradient(rgba(18,18,42,.55), rgba(18,18,42,.55)), linear-gradient(135deg, #7C3AED, #B388FF); }
.back-fab.fab-cyan-violet { background-image: linear-gradient(rgba(18,18,42,.55), rgba(18,18,42,.55)), linear-gradient(135deg, #00E5FF, #7C3AED); }
.back-fab.fab-magenta-violet { background-image: linear-gradient(rgba(18,18,42,.55), rgba(18,18,42,.55)), linear-gradient(135deg, #FF3D9A, #7C3AED); }
.back-fab.fab-cyan-magenta { background-image: linear-gradient(rgba(18,18,42,.55), rgba(18,18,42,.55)), linear-gradient(135deg, #00E5FF, #FF3D9A); }

/* ============ HOME CURSOR GLOW ============ */
#cursor-glow {
  position: fixed; top: 0; left: 0; width: 500px; height: 500px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0,229,255,.12), rgba(124,58,237,.08) 40%, transparent 70%);
  opacity: 0; transition: opacity .5s ease;
  will-change: transform;
}
#cursor-glow.active { opacity: 1; }

/* ============ SUCCESS POPUP (contact & book) ============ */
.success-overlay {
  position: fixed; inset: 0; z-index: 2000; display: none; place-items: center;
  background: rgba(6,6,18,.85); backdrop-filter: blur(8px); padding: 24px;
}
.success-overlay.open { display: grid; animation: soFade .3s ease; }
@keyframes soFade { from { opacity: 0; } to { opacity: 1; } }
.success-card {
  background: linear-gradient(#14142E, #14142E) padding-box, linear-gradient(135deg, var(--cyan), var(--magenta), var(--violet)) border-box;
  border: 1.5px solid transparent; border-radius: 22px;
  padding: 44px 36px; max-width: 420px; width: 100%; text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 50px rgba(0,229,255,.2);
  animation: soPop .45s cubic-bezier(.34,1.56,.64,1);
}
@keyframes soPop { from { opacity: 0; transform: scale(.85) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.success-check { width: 84px; height: 84px; margin: 0 auto 22px; }
.success-check svg { width: 100%; height: 100%; }
.sc-circle { stroke: var(--cyan); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: scCircle .6s cubic-bezier(.65,0,.45,1) forwards; filter: drop-shadow(0 0 8px rgba(0,229,255,.6)); }
.sc-tick { stroke: var(--cyan); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: scTick .4s cubic-bezier(.65,0,.45,1) .5s forwards; filter: drop-shadow(0 0 6px rgba(0,229,255,.8)); }
@keyframes scCircle { to { stroke-dashoffset: 0; } }
@keyframes scTick { to { stroke-dashoffset: 0; } }
.success-title { font-family: var(--display); font-weight: 700; font-size: 1.6rem; margin-bottom: 10px; background: linear-gradient(120deg, var(--cyan), var(--magenta)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.success-msg { color: var(--text-dim); font-size: .98rem; line-height: 1.6; margin-bottom: 26px; }
.success-close { min-width: 140px; justify-content: center; }

/* ============ MOBILE / TABLET RESPONSIVE POLISH ============ */
html, body { max-width: 100%; overflow-x: hidden; }

/* Cursor glow: desktop only (touch devices don't have a hovering cursor) */
@media (hover: none), (max-width: 900px) {
  #cursor-glow { display: none !important; }
}

/* Tablet */
@media (max-width: 1024px) {
  .wrap { padding-left: 22px; padding-right: 22px; }
}

/* Phones */
@media (max-width: 620px) {
  .h-xl { font-size: clamp(2rem, 9vw, 2.8rem); }
  .h-lg { font-size: clamp(1.6rem, 6.5vw, 2.2rem); }
  .hero-cta, .cta-pair { flex-direction: column; align-items: stretch; }
  .hero-cta .btn, .cta-pair .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .svc-block { padding: 26px !important; }
  .svc-block.grid-2 { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .cat-info h3 { font-size: 1.05rem; }
  .web-info { flex-direction: column; align-items: flex-start; gap: 10px; }
  .web-info .web-btn { align-self: stretch; justify-content: center; }
  /* stack any 2-col grids fully */
  .grid-2 { grid-template-columns: 1fr; }
  /* logo text slightly smaller on very small screens */
  .logo-name { font-size: 1rem; }
  .logo-sub { font-size: .66rem; }
}

/* Small phones */
@media (max-width: 400px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .logo-icon-img { width: 36px; height: 36px; }
  .logo-mark { width: 36px; height: 36px; }
}

/* ============ MOBILE FIXES (phones ≤ 640px) ============ */
@media (max-width: 640px) {
  /* Comfortable edge padding everywhere */
  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 48px; padding-bottom: 48px; }

  /* Hide desktop-only 3D canvases (disabled in JS, hide leftover boxes) */
  #hero-canvas, #orbit-canvas, .scene-canvas { display: none !important; }

  /* Hero: pull content up now that 3D icons are hidden */
  .hero { min-height: auto; padding-top: 90px; align-items: flex-start; }
  .hero-inner { max-width: 100%; }
  .hero-orbit { display: none !important; }
  .orbit-wrap, .orbit-stage { display: none !important; }

  /* Hero headline: force "choice." etc onto its own 4th line via narrower measure */
  .h-xl { font-size: clamp(2rem, 9vw, 2.7rem); line-height: 1.08; }

  /* Shorter hero buttons (not full width) */
  .hero-cta.cta-pair { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-cta.cta-pair .btn { width: auto; min-width: 210px; padding-left: 22px; padding-right: 22px; }

  /* CTA band buttons stay centered + reasonable width */
  .cta-band .hero-cta { align-items: center; }
  .cta-band .btn { min-width: 200px; }

  /* Badge text wraps cleanly */
  .badge { font-size: .74rem; line-height: 1.4; }

  /* Reviews: single smooth column */
  .rev-marquee { grid-template-columns: 1fr; max-height: 520px; }
  .rev-marquee .rev-track.t2, .rev-marquee .rev-track.t3 { display: none; }

  /* FOOTER: PAGES + MORE side by side, Get in touch below */
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-grid > div:last-child { grid-column: 1 / -1; }
  /* ensure footer links are tappable */
  .foot-links a, footer a { position: relative; z-index: 2; }
  .foot-links a { display: inline-block; padding: 3px 0; }
  .foot-contact a { display: flex; align-items: center; gap: 10px; padding: 3px 0; }

  /* Portfolio: 2 per row for logos + all image categories */
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cat-info { padding: 12px 12px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .cat-info h3 { font-size: .92rem; }
  .cat-info p { font-size: .74rem; }
  .cat-arrow { display: none; }
  .gallery-grid.cols-4, .gallery-grid.cols-3, .gallery-grid.cols-2 { grid-template-columns: 1fr 1fr; gap: 12px; }
  /* websites stay 1 per row (they're wide) */
  .web-grid { grid-template-columns: 1fr; }

  /* Page can't scroll past footer (prevent over-scroll blank space) */
  body { overflow-x: hidden; }
  footer { margin-bottom: 0; }
}

/* Hide "Reach us directly" + "Socials" on contact & book (mobile) */
@media (max-width: 640px) {
  .contact-side-info { display: none; }
}

/* Team photos: mobile = moving gradient ring instead of static outline */
@media (max-width: 640px) {
  .team-av-ring { background: none !important; padding: 3px; position: relative; }
  .team-av-ring::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%; padding: 3px;
    background: conic-gradient(from var(--team-angle, 0deg), var(--cyan), var(--magenta), var(--violet), var(--cyan));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    animation: teamSpin 4s linear infinite;
  }
}
@property --team-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes teamSpin { to { --team-angle: 360deg; } }

/* Rotating phrase: forced line break into two lines on all screen sizes */
.rw-br { display: block; height: 0; overflow: hidden; }

/* Hide the three top buttons on Services page (mobile only) */
@media (max-width: 640px) {
  .services-hero-cta { display: none; }
}
