/* ============================================
   CREXO Design System
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --black: #0A0A0A;
  --black-light: #111111;
  --black-card: #141414;
  --gray-dark: #1a1a1a;
  --gray-mid: #888888;
  --gray-light: #aaaaaa;
  --white: #ffffff;
  --orange: #FF6A1A;
  --orange-glow: rgba(255,106,26,0.15);
  --orange-dim: rgba(255,106,26,0.08);
  --green-wa: #25D366;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --text-hero: clamp(3.2rem, 9vw, 8rem);
  --text-display: clamp(2.2rem, 5vw, 4.5rem);
  --text-heading: clamp(1.4rem, 3vw, 2.2rem);
  --text-subhead: clamp(1.1rem, 2vw, 1.5rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-xs: 0.75rem;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1240px;
  --container-wide: 1440px;
  --nav-height: 72px;
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
}

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

/* ---- Grain Overlay ---- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  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");
}

/* ---- Container ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 1.5rem;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none; /* Let clicks pass through empty space */
}

.nav-inner {
  pointer-events: auto; /* Re-enable clicks inside the pill */
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  gap: 3rem;
  background: rgba(15, 15, 15, 0.45);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 0.5rem 0.6rem 0.5rem 1.8rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.5s var(--ease-smooth);
}

.nav.scrolled .nav-inner {
  background: rgba(10, 10, 10, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-0.25rem);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  opacity: 0;
  animation: navReveal 0.8s var(--ease) 0.05s forwards;
}
.nav-logo img { height: 28px; width: auto; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.55);
  padding: 0.45rem 0.9rem;
  position: relative;
  opacity: 0;
  transition: color 0.3s var(--ease-smooth);
}
.nav-links a:nth-child(1) { animation: navReveal 0.6s var(--ease) 0.1s forwards; }
.nav-links a:nth-child(2) { animation: navReveal 0.6s var(--ease) 0.16s forwards; }
.nav-links a:nth-child(3) { animation: navReveal 0.6s var(--ease) 0.22s forwards; }
.nav-links a:nth-child(4) { animation: navReveal 0.6s var(--ease) 0.28s forwards; }
.nav-links a:nth-child(5) { animation: navReveal 0.6s var(--ease) 0.34s forwards; }
.nav-links a:nth-child(6) { animation: navReveal 0.6s var(--ease) 0.4s forwards; }
.nav-links a:hover { color: var(--white); }

/* CTA — pill button */
.nav-cta {
  font-weight: 500;
  color: var(--black) !important;
  background: var(--white);
  border-radius: 100px;
  padding: 0.5rem 1.4rem !important;
  border: 1px solid var(--white);
  transition: all 0.3s var(--ease-smooth) !important;
  margin-left: 0.4rem;
}
.nav-cta:hover {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  color: var(--white) !important;
}

@keyframes navReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .nav {
    top: 1rem;
  }
  .nav-inner {
    width: calc(100% - 2rem);
    padding: 0.6rem 1.2rem;
    gap: 1rem;
  }
  .nav-links {
    display: none; /* Hide links on mobile, rely on hamburger */
  }
}

/* ---- Hamburger ---- */
.nav-hamburger {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1001;
  flex-shrink: 0;
}
.nav-hamburger span {
  position: absolute;
  left: 4px;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.4s var(--ease);
}
.nav-hamburger span:nth-child(1) { top: 10px; }
.nav-hamburger span:nth-child(2) { top: 16px; width: 16px; }
.nav-hamburger span:nth-child(3) { top: 22px; }
.nav-hamburger.active span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.nav-hamburger.active span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

/* ---- Mobile Menu ---- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(2rem, 8vw, 4rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-smooth);
}
.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
  padding: 0.3rem 0;
  display: block;
  transition: color 0.3s var(--ease-smooth), transform 0.3s var(--ease), opacity 0.3s;
}
.mobile-menu a:hover,
.mobile-menu a:focus {
  color: var(--white);
  transform: translateX(10px);
}
/* Override nav-cta styles inside mobile menu */
.mobile-menu a.nav-cta,
.mobile-menu a:last-child {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0.3rem 0;
  margin-left: 0;
  color: var(--orange);
  font-size: clamp(2rem, 8vw, 3.5rem);
}



/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-body);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,106,26,0.35);
}
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  background: transparent;
}
.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.btn-wa {
  background: var(--green-wa);
  color: var(--white);
}
.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.3);
}
.btn-ghost {
  color: var(--orange);
  padding: 0;
  font-weight: 500;
}
.btn-ghost::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}
.btn-ghost:hover::after { transform: translateX(4px); }

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: var(--nav-height) 0 clamp(1.5rem, 3vw, 3rem) 0;
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.hero > .container {
  width: 100%;
}

/* Fullscreen video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  /* Slight scale-in on load for premium feel */
  animation: heroVideoIn 1.2s var(--ease-smooth) both;
}
@keyframes heroVideoIn {
  from { transform: scale(1.04); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* Overlay: dark at bottom (text legible across width), transparent at top (video subject visible) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(10,10,10,0.15) 0%,
      rgba(10,10,10,0.35) 40%,
      rgba(10,10,10,0.70) 65%,
      rgba(10,10,10,0.95) 95%
    );
}

/* Split layout — Title on left, text/buttons on right */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 4rem;
  padding-bottom: 0;
}
.hero-left {
  flex: 1;
  max-width: 650px;
}
.hero-right {
  flex: 0 1 450px;
  margin-bottom: 1.5rem; /* Optical alignment with the bottom of the title */
}

@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .hero-right {
    margin-bottom: 0;
  }
}
.hero-label {
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.hero-title .accent { color: var(--orange); }
.hero-title .outline {
  -webkit-text-stroke: 1.5px var(--white);
  color: transparent;
}
.hero-sub {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  color: rgba(255,255,255,0.7);
  max-width: 440px;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ---- Section ---- */
.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
}
.section-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.section-sub {
  font-size: var(--text-body);
  color: var(--gray-light);
  max-width: 550px;
  line-height: 1.7;
}

/* ---- Clients ---- */
.clients {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.clients-ticker {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  margin-top: 3rem;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.5s var(--ease);
}
.clients-ticker:hover {
  opacity: 0.9;
}
.clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}
.client-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  user-select: none;
  padding: 0 3rem; /* Give them breathing room in the track */
}
@media (max-width: 768px) {
  .client-logo {
    font-size: 1.2rem;
    padding: 0 1.5rem;
  }
}

/* ---- Service Cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: clamp(2rem, 3vw, 3rem);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  background: var(--gray-dark);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.service-card:hover::before { border-color: var(--orange); }
.service-card-num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-heading);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--gray-light);
  font-size: var(--text-small);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.service-card .btn-ghost { font-size: var(--text-small); }

/* ---- Stats ---- */
.stats-section {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.stat-number .accent { color: var(--orange); }
.stat-label {
  font-size: var(--text-small);
  color: var(--gray-mid);
  margin-top: 0.5rem;
}

/* ---- Work Grid ---- */
.work-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  margin-top: 3rem;
}
.work-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--black-card);
}
.work-item:first-child { grid-row: 1 / 3; }
.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.work-item:hover img { transform: scale(1.04); }
.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.work-item:hover .work-overlay { opacity: 1; }
.work-overlay span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-small);
  letter-spacing: 0.05em;
}

/* ---- Process Timeline ---- */
.process-timeline {
  position: relative;
  margin-top: 4rem;
  padding: 0 2rem;
}
.process-track {
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: rgba(255,255,255,0.08);
  z-index: 0;
}
.process-track-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--orange);
  border-radius: 2px;
  transition: width 0.6s var(--ease);
  box-shadow: 0 0 12px rgba(255,106,26,0.4);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  background: var(--black);
  margin: 22px auto 1.5rem;
  position: relative;
  transition: all 0.4s var(--ease);
  z-index: 2;
}
.process-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.4s var(--ease);
}
.process-step.active .process-dot {
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(255,106,26,0.4);
}
.process-step.active .process-dot::after {
  background: var(--orange);
}
.process-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: color 0.5s var(--ease);
}
.process-step.active .process-num {
  color: rgba(255,106,26,0.15);
}
.process-step h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-body);
  margin-bottom: 0.5rem;
  transition: color 0.4s var(--ease);
}
.process-step.active h4 {
  color: var(--orange);
}
.process-step p {
  font-size: var(--text-small);
  color: var(--gray-mid);
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}

/* ---- Drawer Steps (Branding page) ---- */
.drawer-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}
.drawer-step {
  text-align: center;
  position: relative;
}
.drawer-num-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1;
  margin-bottom: 0.5rem;
}
/* Ghost number — always visible, dim */
.drawer-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  display: block;
  letter-spacing: -0.02em;
}
/* Orange fill — sits on top, clipped from top */
.drawer-fill {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.02em;
  clip-path: inset(100% 0% 0% 0%);
  /* No CSS transition — driven by JS for scroll reversal */
}
.drawer-content {
  opacity: 0.2;
  transform: translateY(20px);
  /* No CSS transition — driven by JS */
}
.drawer-content h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-body);
  margin-bottom: 0.5rem;
  color: var(--white);
}
.drawer-content p {
  font-size: var(--text-small);
  color: var(--gray-mid);
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .drawer-steps { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
}

/* ---- CTA Block ---- */
.cta-block {
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange-dim) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  position: relative;
}
.cta-sub {
  color: var(--gray-light);
  margin-bottom: 2.5rem;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  position: relative;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  background: var(--black);
  position: relative;
}

/* Top band — large logo + tagline */
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand {
  flex: 0 0 auto;
}
.footer-asset1 {
  display: block;
  height: auto;
  width: clamp(180px, 22vw, 300px);
  opacity: 0.85;
}
.footer-brand p {
  color: rgba(255,255,255,0.3);
  font-size: var(--text-small);
  margin-top: 1.2rem;
  max-width: 280px;
  line-height: 1.65;
}
.footer-cta-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-small);
  color: var(--white);
  padding: 0.6rem 1.6rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  transition: all 0.35s var(--ease);
}
.footer-cta:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* Link columns */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: clamp(2rem, 3.5vw, 3rem) 0;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.25);
}
.footer-col a {
  display: block;
  font-size: var(--text-small);
  color: rgba(255,255,255,0.5);
  padding: 0.3rem 0;
  transition: color 0.25s var(--ease-smooth);
}
.footer-col a:hover { color: var(--white); }

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.2);
}
.footer-bottom a {
  color: rgba(255,255,255,0.2);
  transition: color 0.25s;
}
.footer-bottom a:hover { color: var(--orange); }

/* ---- Service Page ---- */
.service-hero {
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  position: relative;
}
.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.service-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.service-hero-img img { width: 100%; border-radius: var(--radius); }

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-item {
  padding: 1.5rem;
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s var(--ease);
}
.feature-item:hover { border-color: rgba(255,106,26,0.3); }
.feature-item h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-item p { font-size: var(--text-small); color: var(--gray-light); }

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 800px;
}
.pricing-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--orange);
  box-shadow: 0 0 40px var(--orange-glow);
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-subhead);
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 1rem 0;
}
.pricing-price .accent { color: var(--orange); }
.pricing-features {
  text-align: left;
  margin: 1.5rem 0;
}
.pricing-features li {
  font-size: var(--text-small);
  color: var(--gray-light);
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: var(--text-xs);
}

/* ---- Scroll Gallery ---- */
.scroll-gallery {
  overflow: hidden;
  padding: 1.5rem 0;
  position: relative;
}
.scroll-gallery::before,
.scroll-gallery::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.scroll-gallery::before { left: 0; background: linear-gradient(90deg, var(--black), transparent); }
.scroll-gallery::after { right: 0; background: linear-gradient(270deg, var(--black), transparent); }
.scroll-row {
  display: flex;
  gap: 1rem;
  will-change: transform;
  width: max-content;
}
.scroll-row + .scroll-row { margin-top: 1rem; }
.scroll-item {
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.scroll-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Row 1: Square 1:1 */
.scroll-row.row-square .scroll-item { width: 220px; height: 220px; }
/* Row 2: Landscape 16:9 */
.scroll-row.row-landscape .scroll-item { width: 360px; height: 200px; }
/* Row 3: Portrait 9:16 */
.scroll-row.row-portrait .scroll-item { width: 180px; height: 320px; }

@media (max-width: 768px) {
  .scroll-row.row-square .scroll-item { width: 160px; height: 160px; }
  .scroll-row.row-landscape .scroll-item { width: 260px; height: 145px; }
  .scroll-row.row-portrait .scroll-item { width: 130px; height: 230px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-track { display: none; }
}

/* ---- Contact Form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: all 0.35s var(--ease);
}
.contact-card:hover {
  border-color: rgba(255,106,26,0.3);
  transform: translateX(4px);
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-icon.wa { background: rgba(37,211,102,0.15); color: var(--green-wa); }
.contact-icon.email { background: var(--orange-glow); color: var(--orange); }
.contact-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.contact-card p { font-size: var(--text-small); color: var(--gray-mid); }

.contact-form {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-heading);
  margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--gray-light);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-small);
  transition: border-color 0.3s var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-group select option { background: var(--black-card); color: var(--white); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.2rem 0;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
  margin-top: 2px;
  flex-shrink: 0;
}
.form-check label {
  font-size: var(--text-xs);
  color: var(--gray-mid);
  line-height: 1.4;
  cursor: pointer;
}
.form-math {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: rgba(255,106,26,0.05);
  border: 1px solid rgba(255,106,26,0.15);
  border-radius: var(--radius-sm);
}
.form-math span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-body);
  color: var(--orange);
  white-space: nowrap;
}
.form-math input {
  width: 60px;
  padding: 0.4rem 0.6rem;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--text-body);
  text-align: center;
  outline: none;
}
.form-math input:focus { border-color: var(--orange); }
.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* ---- Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  filter: blur(5px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px) scale(0.98);
  filter: blur(5px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px) scale(0.98);
  filter: blur(5px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
}

/* Stagger children */
.stagger .reveal:nth-child(1) { transition-delay: 0s; }
.stagger .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger .reveal:nth-child(4) { transition-delay: 0.3s; }

/* Page entrance */
.page-enter { animation: pageIn 0.8s var(--ease) forwards; }
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: column; gap: 2rem; }
  .footer-cta-wrap { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .service-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-item:first-child { grid-row: auto; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo img { height: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 2rem; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .footer-asset1 { width: clamp(140px, 40vw, 200px); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 100%; }
  .features-list { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: -0.02em; }
  .hero { min-height: auto; padding-top: calc(var(--nav-height) + 3rem); padding-bottom: 3rem; }
  .hero-sub { max-width: 100%; }
  .section { padding: clamp(3rem, 8vw, 5rem) 0; }
  .contact-form { padding: 1.5rem; }
  .cta-title { font-size: clamp(1.8rem, 6vw, 3rem); }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-3 { margin-bottom: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-md { max-width: 600px; }
