/* ═══════════════════════════════════════════════════════════════
   QYVLN — Professional Design System
   Palette: #0A0A0A · #111 · #1A1A1A · #CCFF00 · #F5F5F5
   Fonts: Space Grotesk (Headings) · Inter (Body)
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --bg: #0A0A0A;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --lime: #CCFF00;
  --lime-soft: rgba(204,255,0,0.12);
  --lime-glow: rgba(204,255,0,0.06);
  --white: #F5F5F5;
  --white-60: rgba(245,245,245,0.6);
  --white-40: rgba(245,245,245,0.4);
  --white-20: rgba(245,245,245,0.2);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s var(--ease);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1280px;
  --nav-height: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── Container ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

/* ─── Noise Overlay ─── */
.noise {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── Typography ─── */
.headline-xl {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.headline-lg {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.headline-md {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.body-lg { font-size: 18px; line-height: 1.7; color: var(--white-60); }
.body-md { font-size: 16px; line-height: 1.7; color: var(--white-60); }
.body-sm { font-size: 14px; line-height: 1.6; color: var(--white-40); }
.caption {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--lime);
}

/* ─── Section Label ─── */
.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--lime);
  margin-bottom: 24px;
}
.section-label::before {
  content: ''; width: 32px; height: 1.5px; background: var(--lime);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  padding: 14px 32px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--lime); color: #0A0A0A; border-color: var(--lime);
}
.btn--primary:hover {
  background: #d4ff33; box-shadow: 0 0 30px rgba(204,255,0,0.15);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent; color: var(--white); border-color: var(--border-hover);
}
.btn--outline:hover {
  border-color: var(--lime); color: var(--lime);
}
.btn--white {
  background: var(--white); color: #0A0A0A; border-color: var(--white);
}
.btn--white:hover {
  background: var(--lime); border-color: var(--lime);
}
.btn--lg { padding: 18px 40px; font-size: 15px; }

/* ─── Navigation ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.nav--scrolled {
  background: rgba(10,10,10,0.95);
  box-shadow: 0 1px 20px rgba(0,0,0,0.3);
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 20px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 40px; }
.nav__link {
  font-size: 14px; font-weight: 500; color: var(--white-40);
  transition: color 0.3s; position: relative;
}
.nav__link:hover, .nav__link--active { color: var(--white); }
.nav__link--active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--lime); border-radius: 1px;
}
.nav__cta {
  font-size: 13px; font-weight: 600; padding: 10px 24px;
  background: transparent; border: 1px solid var(--lime);
  color: var(--lime); border-radius: 100px; transition: all 0.3s var(--ease);
}
.nav__cta:hover { background: var(--lime); color: #0A0A0A; }
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; background: none; border: none;
}
.nav__hamburger span {
  display: block; width: 24px; height: 1.5px; background: var(--white);
  transition: all 0.3s var(--ease);
}

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--bg); flex-direction: column;
  justify-content: center; align-items: center; gap: 32px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu--open { display: flex; opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 32px; font-weight: 700;
  color: var(--white); transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--lime); }

/* ─── Hero ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--nav-height) + 48px) 0 60px;
  position: relative; overflow: hidden;
}
.hero__content { position: relative; z-index: 2; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--bg-elevated);
  font-size: 13px; font-weight: 500; color: var(--white-60);
  margin-bottom: 32px;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.1s forwards;
}
.hero__badge span { color: var(--lime); }

/* Inline spinning logo — sits right after 'We build' in the H1 */
.hero__title-line1 {
  display: block;
}
.hero__logo-inline {
  display: inline-block;
  vertical-align: middle;
  width: clamp(64px, 7.5vw, 108px);
  height: clamp(64px, 7.5vw, 108px);
  margin-left: 16px;
  position: relative;
  /* Shift up by ≈half logo height so BOTTOM aligns with text midline */
  top: calc(-1 * clamp(32px, 3.75vw, 54px));
  animation: spin 14s linear infinite;
  flex-shrink: 0;
}
.hero__logo-inline img { width: 100%; height: 100%; display: block; }

/* Ghost logo — large decorative element, right side, half-visible */
.hero__ghost-logo {
  position: absolute;
  right: -160px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(320px, 38vw, 580px);
  height: clamp(320px, 38vw, 580px);
  opacity: 0.055;
  pointer-events: none;
  z-index: 0;
  animation: spinReverse 40s linear infinite;
  filter: brightness(2) saturate(2);
}
.hero__ghost-logo img { width: 100%; height: 100%; display: block; }

@keyframes spinReverse {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(-360deg); }
}

.hero__title {
  margin-bottom: 24px;
}
.hero__title .accent { color: var(--lime); }

/* Word stagger animation */
.hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: wordReveal 0.7s var(--ease) forwards;
}
.hero__word:nth-child(1) { animation-delay: 0.3s; }
.hero__word:nth-child(2) { animation-delay: 0.4s; }
.hero__word:nth-child(3) { animation-delay: 0.5s; }
.hero__word:nth-child(4) { animation-delay: 0.55s; }
.hero__word:nth-child(5) { animation-delay: 0.6s; }
.hero__word:nth-child(6) { animation-delay: 0.65s; }
.hero__word:nth-child(7) { animation-delay: 0.7s; }

.hero__subtitle {
  font-size: clamp(16px, 1.5vw, 20px); line-height: 1.7;
  color: var(--white-40); max-width: 520px; margin-bottom: 48px;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.75s forwards;
}
.hero__actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.9s forwards;
}
.hero__stats {
  display: flex; gap: 48px; margin-top: 80px;
  padding-top: 48px; border-top: 1px solid var(--border);
  opacity: 0; animation: fadeUp 0.8s var(--ease) 1.1s forwards;
}
.hero__stat-value {
  font-family: var(--font-display); font-size: 36px; font-weight: 700;
  color: var(--white); display: block;
}
.hero__stat-label {
  font-size: 13px; color: var(--white-40); margin-top: 4px;
}

/* ─── Marquee ─── */
.marquee {
  padding: 24px 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); overflow: hidden;
  background: var(--bg-elevated);
}
.marquee__track {
  display: flex; gap: 48px; white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.marquee__item {
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
  color: var(--white-20); flex-shrink: 0;
}
.marquee__sep { color: var(--lime); font-size: 10px; display: flex; align-items: center; }

/* ─── Section Spacing ─── */
.section { padding: 120px 0; }
.section--alt { background: var(--bg-elevated); }

/* ─── Featured Work Grid ─── */
.work-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4/3; background: var(--bg-card);
  cursor: pointer; display: block;
}
.work-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  filter: grayscale(100%) brightness(0.7);
}
.work-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1);
}
.work-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.1) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; opacity: 0; transition: opacity 0.4s var(--ease);
}
.work-card:hover .work-card__overlay { opacity: 1; }
.work-card__tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 8px;
}
.work-card__title {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
}
.work-card__arrow {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--lime); color: #0A0A0A;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(10px); opacity: 0;
  transition: all 0.4s var(--ease);
}
.work-card:hover .work-card__arrow { transform: translateY(0); opacity: 1; }

/* ─── Service Cards ─── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 32px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.service-card:hover {
  border-color: var(--lime); transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(204,255,0,0.05);
}
.service-card__num {
  font-family: var(--font-display); font-size: 48px; font-weight: 700;
  color: var(--white-20); margin-bottom: 24px; line-height: 1;
}
.service-card:hover .service-card__num { color: var(--lime); }
.service-card__name {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  margin-bottom: 16px;
}
.service-card__desc { font-size: 14px; line-height: 1.7; color: var(--white-40); margin-bottom: 24px; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 11px; font-weight: 500; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 6px 14px;
  border: 1px solid var(--border); border-radius: 100px;
  color: var(--white-40); transition: all 0.3s;
}
.service-card:hover .tag { border-color: var(--lime-soft); color: var(--lime); }

/* ─── Process Steps ─── */
.process-list { display: flex; flex-direction: column; }
.process-step {
  display: grid; grid-template-columns: 64px 1fr; gap: 32px;
  padding: 32px 0; border-bottom: 1px solid var(--border);
  align-items: start; transition: opacity 0.3s;
}
.process-list:hover .process-step { opacity: 0.4; }
.process-list .process-step:hover { opacity: 1; }
.process-step__num {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--lime); padding-top: 4px;
}
.process-step__title {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  margin-bottom: 8px;
}
.process-step__desc { font-size: 15px; line-height: 1.7; color: var(--white-40); max-width: 560px; }

/* ─── Pricing ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 32px;
  display: flex; flex-direction: column;
  transition: all var(--transition);
}
.price-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.price-card--featured {
  background: var(--lime); color: #0A0A0A;
  border-color: var(--lime);
}
.price-card--featured:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(204,255,0,0.15); }
.price-card__tier {
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 16px;
}
.price-card--featured .price-card__tier { color: rgba(10,10,10,0.5); }
.price-card__name {
  font-family: var(--font-display); font-size: 28px; font-weight: 700;
  margin-bottom: 8px;
}
.price-card__amount {
  font-family: var(--font-display); font-size: 40px; font-weight: 700;
  margin-bottom: 32px;
}
.price-card__amount small { font-size: 16px; opacity: 0.5; }
.price-card__divider { height: 1px; background: var(--border); margin-bottom: 32px; }
.price-card--featured .price-card__divider { background: rgba(10,10,10,0.15); }
.price-card__features { display: flex; flex-direction: column; gap: 14px; flex: 1; margin-bottom: 32px; }
.price-card__features li {
  font-size: 14px; color: var(--white-60); display: flex; gap: 12px; align-items: flex-start;
}
.price-card--featured .price-card__features li { color: rgba(10,10,10,0.7); }
.price-card__features li::before {
  content: '→'; color: var(--lime); flex-shrink: 0; margin-top: 1px;
}
.price-card--featured .price-card__features li::before { color: #0A0A0A; }

/* ─── Stats Bar ─── */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border-radius: var(--radius); overflow: hidden;
}
.stat-item {
  background: var(--bg-elevated); padding: 40px 32px; text-align: center;
}
.stat-item__value {
  font-family: var(--font-display); font-size: 40px; font-weight: 700;
  color: var(--white);
}
.stat-item__value span { color: var(--lime); }
.stat-item__label {
  font-size: 13px; color: var(--white-40); margin-top: 8px;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ─── CTA Section ─── */
.cta {
  padding: 120px 0; text-align: center;
  background: var(--bg-elevated); position: relative; overflow: hidden;
}
.cta__glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--lime-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta__title { margin-bottom: 24px; }
.cta__subtitle {
  font-size: 17px; line-height: 1.7; color: var(--white-40);
  max-width: 460px; margin: 0 auto 48px;
}
.cta__contacts {
  display: flex; gap: 48px; justify-content: center; margin-top: 64px;
}
.cta__contact-label {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white-40); margin-bottom: 6px;
}
.cta__contact-value a { font-size: 15px; color: var(--white); transition: color 0.3s; }
.cta__contact-value a:hover { color: var(--lime); }

/* ─── Footer ─── */
.footer {
  padding: 48px 0; border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: center;
}
.footer__logo img { height: 18px; }
.footer__copy { font-size: 13px; color: var(--white-40); }
.footer__socials { display: flex; gap: 24px; }
.footer__socials a {
  font-size: 13px; color: var(--white-40); transition: color 0.3s;
}
.footer__socials a:hover { color: var(--lime); }

/* ─── Page Header (for inner pages) ─── */
.page-header {
  padding: calc(var(--nav-height) + 80px) 0 60px;
  border-bottom: 1px solid var(--border);
}
.page-header__title { margin-bottom: 16px; }

/* ─── Project Page ─── */
.project-hero {
  padding: calc(var(--nav-height) + 60px) 0 40px;
}
.project-hero__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--white-40);
  margin-bottom: 32px; transition: color 0.3s;
}
.project-hero__back:hover { color: var(--lime); }
.project-hero__title {
  font-family: var(--font-display); font-size: clamp(32px, 4vw, 56px);
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px;
}
.project-hero__category { color: var(--lime); }
/* ─── Project Gallery ─── */
.project-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding-bottom: 80px;
  max-width: 980px;
  margin: 0 auto;
}

/* Full-width single image */
.project-gallery img {
  width: 100%;
  border-radius: var(--radius-sm);
  display: block;
  transition: transform 0.6s var(--ease);
}
.project-gallery img:hover { transform: scale(1.005); }

/* Gallery Row: 2 images side by side */
.gallery-row {
  display: grid;
  gap: 6px;
}
.gallery-row--2 { grid-template-columns: 1fr 1fr; }
.gallery-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.gallery-row--1-2 { grid-template-columns: 1fr 2fr; }
.gallery-row--2-1 { grid-template-columns: 2fr 1fr; }

.gallery-row img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  aspect-ratio: 3/4;
  transition: transform 0.6s var(--ease);
}
.gallery-row--2 img,
.gallery-row--3 img { aspect-ratio: 3/4; }
.gallery-row--1-2 img:first-child,
.gallery-row--2-1 img:last-child { aspect-ratio: 4/5; }
.gallery-row img:hover { transform: scale(1.02); }

/* Lightbox trigger */
.gallery-row img, .project-gallery > img {
  cursor: zoom-in;
}

.project-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 40px 0; border-top: 1px solid var(--border);
  max-width: 980px; margin: 0 auto;
}
.project-nav a {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  color: var(--white-60); transition: color 0.3s;
}
.project-nav a:hover { color: var(--lime); }

/* ─── Next Project Thumbnail ─── */
.next-project {
  display: flex; align-items: center; gap: 20px;
  padding: 40px 0; border-top: 1px solid var(--border);
  max-width: 980px; margin: 0 auto;
  cursor: pointer; text-decoration: none;
  transition: all 0.4s var(--ease);
  color: var(--white);
}
.next-project:hover { color: var(--lime); }
.next-project__thumb {
  width: 72px; height: 72px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  border: 2px solid var(--border);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.next-project:hover .next-project__thumb {
  border-color: var(--lime);
  transform: scale(1.05);
}
.next-project__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%;
}
.next-project__label {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white-40); margin-bottom: 4px;
  display: block;
}
.next-project__title {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  letter-spacing: -0.01em;
}
.next-project__arrow {
  margin-left: auto; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: all 0.4s var(--ease);
  flex-shrink: 0;
}
.next-project:hover .next-project__arrow {
  background: var(--lime); color: #0A0A0A;
  border-color: var(--lime); transform: translateX(4px);
}

/* ─── Lightbox ─── */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.95); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }
.lightbox-overlay img {
  max-width: 90vw; max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 40px 120px rgba(0,0,0,0.8);
  transform: scale(0.95);
  transition: transform 0.4s var(--ease);
}
.lightbox-overlay.open img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: 1px solid var(--border);
  color: var(--white); width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.lightbox-close:hover { border-color: var(--lime); color: var(--lime); }


/* ─── Contact Form ─── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 500; color: var(--white-60);
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 16px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--white); font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.3s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--lime);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.contact-info { padding-top: 16px; }
.contact-info__item {
  padding: 24px 0; border-bottom: 1px solid var(--border);
}
.contact-info__label {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white-40); margin-bottom: 8px;
}
.contact-info__value { font-size: 18px; font-weight: 500; }
.contact-info__value a:hover { color: var(--lime); }

/* ─── Manifesto ─── */
.manifesto-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: center;
}
.manifesto__headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 600; line-height: 1.2;
}
.manifesto__headline em {
  font-style: italic; color: var(--lime);
  font-family: Georgia, 'Times New Roman', serif;
}
.manifesto__text p {
  font-size: 16px; line-height: 1.8; color: var(--white-40); margin-bottom: 20px;
}

/* ─── Reveal Animation ─── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Staggered children */
.work-grid .reveal:nth-child(1) { transition-delay: 0s; }
.work-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.work-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.work-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.work-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.work-grid .reveal:nth-child(6) { transition-delay: 0.40s; }
.work-grid .reveal:nth-child(7) { transition-delay: 0.48s; }
.work-grid .reveal:nth-child(8) { transition-delay: 0.56s; }
.work-grid .reveal:nth-child(9) { transition-delay: 0.64s; }
.work-grid .reveal:nth-child(10) { transition-delay: 0.72s; }

/* ─── Spinning Q Logo (FOOTER ONLY) ─── */
.footer__spinner {
  width: 48px; height: 48px;
  animation: spin 15s linear infinite;
  opacity: 0.4;
}
.footer__spinner img { width: 100%; height: 100%; }

/* Spinning Q used as section divider accent */
.section-spinner {
  display: flex; justify-content: center; padding: 48px 0;
}
.section-spinner__icon {
  width: 64px; height: 64px;
  animation: spin 12s linear infinite;
  opacity: 0.12;
}
.section-spinner__icon img { width: 100%; height: 100%; }

/* ─── Scroll Progress Bar ─── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 1001;
  height: 3px; background: var(--lime);
  width: 0%; transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(204,255,0,0.5);
}

/* ─── Enhanced Work Card Animations ─── */
.work-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(204,255,0,0.1) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.4s var(--ease);
  z-index: 1; pointer-events: none; border-radius: var(--radius);
}
.work-card:hover::after { opacity: 1; }

.work-card__overlay {
  z-index: 2;
}
.work-card__title {
  transform: translateY(8px);
  transition: transform 0.4s var(--ease);
}
.work-card:hover .work-card__title { transform: translateY(0); }
.work-card__tag {
  transform: translateY(4px); opacity: 0;
  transition: all 0.3s var(--ease) 0.05s;
}
.work-card:hover .work-card__tag { transform: translateY(0); opacity: 1; }

/* ─── Service Card Shine ─── */
.service-card::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, transparent 30%, rgba(204,255,0,0.03) 50%, transparent 70%, transparent 100%);
  animation: cardShine 6s linear infinite;
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover::before { opacity: 1; }

/* ─── Floating Dots (Hero decoration) ─── */
.hero__dots {
  position: absolute; inset: 0; overflow: hidden;
  pointer-events: none; z-index: 0;
}
.hero__dot {
  position: absolute; width: 4px; height: 4px;
  background: var(--lime); border-radius: 50%;
  opacity: 0.1;
}
.hero__dot:nth-child(1) { top: 20%; left: 15%; animation: float 8s ease-in-out infinite; }
.hero__dot:nth-child(2) { top: 60%; left: 80%; animation: float 10s ease-in-out infinite 1s; }
.hero__dot:nth-child(3) { top: 40%; left: 60%; animation: float 7s ease-in-out infinite 2s; }
.hero__dot:nth-child(4) { top: 75%; left: 30%; animation: float 9s ease-in-out infinite 0.5s; }
.hero__dot:nth-child(5) { top: 30%; left: 90%; animation: float 11s ease-in-out infinite 3s; }

/* ─── Marquee enhanced ─── */
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { transition: color 0.3s; }
.marquee:hover .marquee__item { color: var(--white-40); }

/* ─── CTA Glow pulse ─── */
.cta__glow {
  animation: glowPulse 4s ease-in-out infinite;
}

/* ─── Nav link hover underline animation ─── */
.nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 50%; right: 50%;
  height: 2px; background: var(--lime); border-radius: 1px;
  transition: left 0.3s var(--ease), right 0.3s var(--ease);
}
.nav__link:hover::after { left: 0; right: 0; }
.nav__link--active::after { left: 0; right: 0; }

/* ─── Animations ─── */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes wordReveal {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-20px) translateX(10px); }
  50% { transform: translateY(-10px) translateX(-5px); }
  75% { transform: translateY(-25px) translateX(15px); }
}
@keyframes cardShine {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes glowPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
  50% { transform: translateX(-50%) scale(1.1); opacity: 0.6; }
}
@keyframes cursorGlowAnim {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.9; }
}

/* ─── Premium Cursor Glow ─── */
.cursor-glow {
  position: fixed; pointer-events: none; z-index: 9998;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,255,0,0.04) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: transform 0.1s linear;
  mix-blend-mode: screen;
}

/* ─── Magnetic Button ─── */
.btn-magnetic {
  display: inline-flex;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}


/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav { padding: 0 32px; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero { padding-top: calc(var(--nav-height) + 32px); }
  .hero__logo-inline { width: 64px; height: 64px; }
  .hero__stats { gap: 32px; }

  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .manifesto-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .cta__contacts { flex-wrap: wrap; gap: 32px; }
  .footer__inner { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav { padding: 0 20px; height: 60px; }
  .section { padding: 80px 0; }

  .hero { min-height: auto; padding-bottom: 60px; padding-top: calc(var(--nav-height) + 24px); }
  .hero__logo-inline { width: 44px; height: 44px; margin-left: 8px; }
  .hero__dots { display: none; }
  .hero__stats { flex-direction: column; gap: 20px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .gallery-row--2,
  .gallery-row--3,
  .gallery-row--1-2,
  .gallery-row--2-1 { grid-template-columns: 1fr; }
  .gallery-row img { aspect-ratio: 16/9; }

  .next-project__title { font-size: 18px; }

  .work-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 48px 1fr; gap: 16px; }
  .cta__contacts { flex-direction: column; align-items: center; }
  .project-gallery img { border-radius: var(--radius-sm); }
}
