:root {
  --bg: #f5f2ed;
  --bg-soft: #faf8f5;
  --surface: #ffffff;
  --dark: #0f0f0f;
  --dark-2: #191919;
  --text: #141414;
  --muted: #66635e;
  --accent: #ff4d00;
  --accent-bright: #ff6a1a;
  --border: rgba(15, 15, 15, 0.1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name, .stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.accent {
  color: var(--accent);
}

.container {
  width: min(1420px, calc(100% - 64px));
  margin-inline: auto;
}

.section-pad {
  padding-block: 88px;
}

/* Ambient Background SVG Flow Lines */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.flow-lines {
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

main, header, footer {
  position: relative;
  z-index: 1;
}

/* Page Intro Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: grid;
  place-items: center;
  transition: transform 0.85s var(--ease-out-expo), opacity 0.6s ease;
}

.page-loader.is-done {
  transform: translateY(-100%);
  pointer-events: none;
}

.loader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.loader-logo span {
  color: var(--accent);
}

.loader-bar {
  width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  animation: loaderFill 0.65s var(--ease-out-expo) forwards;
}

@keyframes loaderFill {
  to { width: 100%; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: 18px;
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.site-header.is-scrolled {
  background-color: rgba(245, 242, 237, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  padding-block: 13px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s ease;
  padding-block: 6px;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Pill Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.35s var(--ease-spring), background-color 0.3s ease, color 0.3s ease, box-shadow 0.35s ease;
}

.btn-pill .arrow-icon {
  transition: transform 0.3s var(--ease-out-expo);
}

.btn-pill:hover .arrow-icon {
  transform: translateX(4px);
}

.btn-outline {
  border: 1.3px solid rgba(15, 15, 15, 0.35);
  color: var(--text);
  background: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 77, 0, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(255, 77, 0, 0.38);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  padding-inline: 10px;
}

.hamburger span {
  display: block;
  height: 1.8px;
  width: 100%;
  background: var(--dark);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.hamburger.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(245, 242, 237, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.mobile-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  transition: color 0.25s ease;
}

.mobile-link:hover {
  color: var(--accent);
}

/* Eyebrow & Section Titles */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.eyebrow-line {
  width: 24px;
  height: 1.8px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.section-desc {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 48ch;
}

/* HERO SECTION */
.hero {
  padding-top: 24px;
  padding-bottom: 64px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.15fr;
  align-items: center;
  gap: 28px;
}

.hero-title {
  font-size: clamp(3.4rem, 6.8vw, 5.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.reveal-mask {
  display: block;
  overflow: hidden;
  padding-top: 0.14em;
  padding-bottom: 0.14em;
  margin-top: -0.1em;
  margin-bottom: -0.08em;
}

.reveal-line {
  display: block;
  transform: translateY(115%);
  transition: transform 0.9s var(--ease-out-expo);
}

body.is-ready .reveal-line {
  transform: translateY(0);
}

.hero-stagger {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

body.is-ready .hero-stagger {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.32s; }
.delay-4 { transition-delay: 0.42s; }
.delay-5 { transition-delay: 0.52s; }

.hero-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.btn-reel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.25s ease;
}

.reel-play-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.2px solid rgba(15, 15, 15, 0.25);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.45);
  transition: transform 0.35s var(--ease-spring), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-reel:hover .reel-play-ring {
  transform: scale(1.1);
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 660px;
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.35s ease-out;
}

.hero-3d-wrap {
  height: 520px;
  cursor: grab;
  overflow: visible;
  background: radial-gradient(circle at 50% 52%, rgba(255, 77, 0, 0.08) 0%, rgba(245, 242, 237, 0) 68%);
}

.hero-3d-wrap:active {
  cursor: grabbing;
}

.hero-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-3d-badge {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 15, 15, 0.08);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.badge-360-icon {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  animation: slowSpin 6s linear infinite;
}

.hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  mix-blend-mode: multiply;
  filter: contrast(1.04);
  animation: heroBreath 8s ease-in-out infinite alternate;
}

@keyframes heroBreath {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

.hero-glow-streak {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 62% 58%, rgba(255, 85, 0, 0.18), transparent 55%);
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  from { opacity: 0.45; }
  to { opacity: 0.95; }
}

.hero-sparkle {
  position: absolute;
  top: 14%;
  right: 14%;
  font-size: 1rem;
  color: var(--dark);
  opacity: 0.7;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.4; }
  50% { transform: scale(1.3) rotate(45deg); opacity: 1; }
}

.hero-scroll-indicator {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.slide-current {
  color: var(--text);
}

.slide-total {
  color: var(--muted);
  opacity: 0.65;
}

.scroll-line {
  width: 1px;
  height: 54px;
  background: rgba(15, 15, 15, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 18px;
  background: var(--accent);
  animation: scrollDrop 2.2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(320%); }
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 64px;
}

.about-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.12);
}

.about-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

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

.glass-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.7);
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(255, 77, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0); }
}

.about-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.rotating-star {
  animation: slowSpin 14s linear infinite;
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

.stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 42px;
  background: var(--border);
}

/* SERVICES SECTION */
.services-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.55fr;
  align-items: center;
  gap: 36px;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: center;
  perspective: 1200px;
}

.service-card {
  position: relative;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 240, 234, 0.85) 100%);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(15, 15, 15, 0.07);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
  transform-style: preserve-3d;
}

.service-card:nth-child(1) {
  transform: rotateY(8deg) rotateZ(-1deg) translateY(8px);
}

.service-card-elevated {
  transform: rotateY(3deg) translateY(-26px);
}

.service-card:nth-child(3) {
  transform: rotateY(-5deg) rotateZ(1deg) translateY(6px);
  overflow: visible;
}

.service-card:hover {
  box-shadow: 0 30px 64px rgba(15, 15, 15, 0.13);
}

.service-card-top {
  padding: 22px 20px 10px;
  position: relative;
  z-index: 2;
}

.service-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(15, 15, 15, 0.05);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 6px;
}

.service-desc {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 18ch;
}

.circle-arrow-btn {
  position: absolute;
  right: 16px;
  bottom: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease-spring), background-color 0.3s ease;
}

.service-card:hover .circle-arrow-btn {
  background: var(--accent);
  transform: scale(1.12);
}

.service-card-media {
  height: 132px;
  margin-top: -8px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 28%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 28%);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 0.6s var(--ease-out-expo);
}

.service-card-sphere {
  height: 148px;
  margin-top: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

.service-card-sphere img {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  object-fit: cover;
  mix-blend-mode: normal;
  box-shadow: 0 18px 36px rgba(255, 77, 0, 0.25), 0 12px 24px rgba(0, 0, 0, 0.22);
  transform: translateY(12px);
}

.service-card:hover .service-card-media img {
  transform: scale(1.08);
}

.service-card:hover .service-card-sphere img {
  transform: translateY(8px) scale(1.06);
}

/* SELECTED PROJECTS SECTION */
.projects-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.45fr;
  align-items: center;
  gap: 44px;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.2px solid rgba(15, 15, 15, 0.22);
  display: grid;
  place-items: center;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-spring), border-color 0.3s ease;
}

.slider-btn:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  transform: scale(1.08);
}

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

.project-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1 / 1.06;
  background: var(--dark);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
  cursor: pointer;
}

.project-card.is-active {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px rgba(255, 77, 0, 0.18);
}

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

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

.project-overlay {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.25) 45%, transparent 100%);
  color: #fff;
}

.project-meta h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.project-meta span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.project-link-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-spring);
}

.project-card:hover .project-link-icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(12deg) scale(1.1);
}

/* PROCESS SECTION */
.process-grid {
  display: grid;
  grid-template-columns: 0.95fr 0.9fr 1fr;
  align-items: center;
  gap: 36px;
}

.torus-float img {
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  mix-blend-mode: multiply;
  animation: floatTorus 5.5s ease-in-out infinite;
}

@keyframes floatTorus {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

.process-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(15, 15, 15, 0.14);
}

.process-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  cursor: pointer;
}

.step-num {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg);
  border: 1.2px solid rgba(15, 15, 15, 0.25);
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease-spring);
}

.process-step:hover .step-num,
.process-step.active .step-num {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  transform: scale(1.08);
}

.step-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.step-body p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* CTA BANNER */
.cta-section {
  padding-top: 24px;
  padding-bottom: 64px;
}

.cta-banner {
  position: relative;
  background: var(--dark);
  color: #fff;
  border-radius: 26px;
  padding: 42px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 15, 15, 0.22);
}

.cta-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.cta-direct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.direct-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.direct-link:hover {
  background: rgba(255, 77, 0, 0.2);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cta-flare {
  position: relative;
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.flare-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.65) 0%, transparent 70%);
  filter: blur(8px);
  animation: pulseGlow 3s ease-in-out infinite alternate;
}

.flare-star {
  position: relative;
  font-size: 2rem;
  color: #ff8a47;
  text-shadow: 0 0 24px rgba(255, 85, 0, 0.9);
  animation: twinkle 3.2s ease-in-out infinite;
}

/* FOOTER */
.site-footer {
  padding-bottom: 40px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--text);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(15, 15, 15, 0.18);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-spring), border-color 0.3s ease;
}

.social-btn:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-contact-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-inline a:hover {
  color: var(--accent);
}

.modal-direct-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}

.modal-direct-contact a:hover {
  color: var(--accent);
}

.floating-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}

.floating-wa:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.45);
}

.footer-motto span {
  margin-inline: 4px;
}

/* Scroll Reveal Utility */
.reveal-up {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.modal-card {
  position: relative;
  width: min(560px, 100%);
  background: var(--bg-soft);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.45s var(--ease-out-expo);
}

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

.modal-reel {
  width: min(760px, 100%);
  padding: 16px;
  background: var(--dark);
  color: #fff;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.modal-contact .modal-close {
  background: rgba(15, 15, 15, 0.08);
}

.modal-close:hover {
  transform: rotate(90deg);
}

.reel-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.reel-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}

.reel-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.eyebrow-badge {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.reel-overlay-text h3 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
}

.modal-contact h3 {
  font-size: 1.7rem;
  margin-bottom: 22px;
}

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

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-submit {
  align-self: flex-start;
  margin-top: 4px;
}

.form-feedback {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  min-height: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .projects-grid,
  .process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-card:nth-child(1),
  .service-card-elevated,
  .service-card:nth-child(3) {
    transform: none;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
  }

  .cta-flare {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-3d-wrap {
    height: 380px;
  }

  .main-nav,
  .header-actions .btn-outline {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .services-cards,
  .projects-track {
    grid-template-columns: 1fr;
  }

  .stats-row {
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* =========================================
   CATEGORY & PRODUCT DETAIL PAGES
   ========================================= */
.subpage-main {
  padding-bottom: 64px;
}

.page-hero {
  padding-top: 36px;
  padding-bottom: 36px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .current {
  color: var(--text);
  font-weight: 600;
}

.subpage-title {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.subpage-desc {
  color: var(--muted);
  font-size: 1rem;
  max-width: 60ch;
  margin-bottom: 28px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cat-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.cat-tab:hover {
  border-color: var(--dark);
  color: var(--text);
  transform: translateY(-2px);
}

.cat-tab.active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.catalog-section {
  padding-top: 16px;
  padding-bottom: 48px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.catalog-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(15, 15, 15, 0.06);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  animation: fadeSlideUp 0.55s var(--ease-out-expo) both;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(15, 15, 15, 0.12);
}

.catalog-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dark);
}

.catalog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out-expo);
}

.catalog-card:hover .catalog-card-media img {
  transform: scale(1.07);
}

.catalog-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.72);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}

.catalog-card-body {
  padding: 22px 24px 24px;
}

.catalog-card-body h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.catalog-card-body p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.catalog-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.catalog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.25s ease, gap 0.25s ease;
}

.catalog-card-link:hover {
  color: var(--accent);
  gap: 12px;
}

/* Product Detail Page */
.product-detail-section {
  padding-top: 32px;
  padding-bottom: 64px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-main {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dark);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.12);
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.22s ease, transform 0.6s var(--ease-out-expo);
}

.gallery-main img.is-fading {
  opacity: 0.25;
}

.gallery-main:hover img {
  transform: scale(1.03);
}

.gallery-zoom-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.68);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-thumb {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--accent);
}

.product-title {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.product-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 24px;
}

.product-description-box {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 22px 24px;
  margin-bottom: 24px;
}

.product-description-box h2 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.product-description-box p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.catalog-card-simple {
  display: block;
}

.catalog-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
}

.catalog-card-title-row h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
}

.catalog-arrow {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(15, 15, 15, 0.06);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.catalog-card:hover .catalog-arrow {
  background: var(--accent);
  color: #fff;
  transform: translateX(3px);
}

/* Category Section Showcase (3-Column Partner Style) */
.category-sections-wrap {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.cat-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.cat-section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 6px;
}

.cat-section-sub {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 66ch;
}

.cat-view-all {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--text);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.cat-view-all:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.partner-card {
  background: #fff;
  border: 1px solid rgba(15, 15, 15, 0.08);
  border-radius: 22px;
  padding: 12px 12px 20px;
  box-shadow: 0 18px 42px rgba(15, 15, 15, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  animation: fadeSlideUp 0.55s var(--ease-out-expo) both;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(15, 15, 15, 0.11);
}

.partner-media {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dark);
  margin-bottom: 18px;
}

.partner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out-expo);
}

.partner-card:hover .partner-media img {
  transform: scale(1.06);
}

.partner-num {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(15, 15, 15, 0.25);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.partner-body {
  padding-inline: 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.partner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.partner-head h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.partner-tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  flex-shrink: 0;
}

.tag-orange { background: #ff6b2b; }
.tag-blue { background: #14b8a6; }
.tag-slate { background: #64748b; }

.partner-sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.partner-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.partner-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.partner-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.partner-btn:hover {
  background: var(--dark);
  color: #fff;
}

.partner-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(15, 15, 15, 0.22);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.partner-circle:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

@media (max-width: 768px) {
  .cat-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.product-bottom-desc {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.spec-box {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-key {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.spec-val {
  font-size: 0.9rem;
  font-weight: 700;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.related-section {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.related-header {
  margin-bottom: 28px;
}

.lightbox-card {
  position: relative;
  width: min(920px, 94vw);
  max-height: 88vh;
  border-radius: 22px;
  overflow: hidden;
  background: var(--dark);
}

.lightbox-card img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

@media (max-width: 960px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 540px) {
  .catalog-grid,
  .product-specs-grid {
    grid-template-columns: 1fr;
  }
}
