/* ============================================
   THE WINGMAN MARKETING - PREMIUM UI
   Colors: #F61A19, #FFFBFF, #171717
   Font: Lato
   ============================================ */

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

:root {
  --red: #F61A19;
  --red-dark: #c91413;
  --light: #FFFBFF;
  --dark: #171717;
  --dark-2: #1e1e1e;
  --dark-3: #252525;
  --gray: #888;
  --gray-light: rgba(255, 251, 255, 0.12);
  --font: 'Lato', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

::selection {
  background: var(--red);
  color: var(--light);
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}

a, button, select, input, textarea { cursor: none; }

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

/* ---- Custom Cursor ---- */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
}

.cursor.active {
  width: 60px;
  height: 60px;
  background: var(--red);
  mix-blend-mode: normal;
  opacity: 0.5;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 251, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.3s, opacity 0.3s;
}

.cursor-follower.active {
  width: 80px;
  height: 80px;
  border-color: var(--red);
  opacity: 0.4;
}

.cursor-follower.hidden {
  width: 0;
  height: 0;
  opacity: 0;
}

/* ---- Grain ---- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 9998;
  pointer-events: none;
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  animation: grainShift 0.5s steps(1) infinite;
}

@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-5%, -5%); }
  50% { transform: translate(5%, 0); }
  75% { transform: translate(0, 5%); }
}

/* ---- Loader ---- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader.done {
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.loader-logo {
  width: 240px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
}

.loader-count {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--light);
  opacity: 0;
}

.loader-wipe {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--red);
  z-index: 1;
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: padding 0.4s var(--ease), background 0.4s;
}

.navbar.scrolled {
  background: rgba(23, 23, 23, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 48px;
  width: auto;
  transition: transform 0.3s var(--ease);
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  color: rgba(255, 251, 255, 0.5);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
  transform-origin: right;
}

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

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--light);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid rgba(255, 251, 255, 0.15);
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--red);
  border-color: var(--red);
}

.nav-cta svg {
  transition: transform 0.3s var(--ease);
}

.nav-cta:hover svg {
  transform: translate(2px, -2px);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--light);
  transition: all 0.4s var(--ease);
}

.hamburger span:first-child { top: 0; }
.hamburger span:last-child { bottom: 0; }

.hamburger.active span:first-child {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:last-child {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.mobile-menu.active {
  pointer-events: all;
}

.mobile-menu-bg {
  position: absolute;
  inset: 0;
  background: var(--dark);
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
}

.mobile-menu.active .mobile-menu-bg {
  transform: translateY(0);
}

.mobile-menu-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
}

.mobile-nav-links li {
  overflow: hidden;
  margin: 8px 0;
}

.mobile-nav-link {
  display: inline-block;
  color: var(--light);
  text-decoration: none;
  font-size: clamp(36px, 7vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: color 0.3s;
}

.mobile-nav-link span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.5s var(--ease);
}

.mobile-menu.active .mobile-nav-link span {
  transform: translateY(0);
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) .mobile-nav-link span { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-links li:nth-child(2) .mobile-nav-link span { transition-delay: 0.25s; }
.mobile-menu.active .mobile-nav-links li:nth-child(3) .mobile-nav-link span { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav-links li:nth-child(4) .mobile-nav-link span { transition-delay: 0.35s; }
.mobile-menu.active .mobile-nav-links li:nth-child(5) .mobile-nav-link span { transition-delay: 0.4s; }

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

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(23,23,23,0.7) 0%, rgba(23,23,23,0.3) 40%, rgba(23,23,23,0.85) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(23,23,23,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
}

.hero-top {
  margin-bottom: 40px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 12px;
  border: 1px solid rgba(255,251,255,0.12);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,251,255,0.6);
  opacity: 0;
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  margin-bottom: 40px;
}

.title-line {
  overflow: hidden;
  display: flex;
  gap: 0.3em;
}

.title-word {
  font-size: clamp(52px, 8.5vw, 120px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  display: inline-block;
  transform: translateY(110%);
}

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

.title-outline {
  -webkit-text-stroke: 2px var(--light);
  color: transparent;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 251, 255, 0.5);
  line-height: 1.8;
  font-weight: 300;
  max-width: 480px;
  opacity: 0;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0;
}

/* Magnetic Button */
.btn-magnetic {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--red);
  color: var(--light);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 100px;
  border: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.btn-magnetic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--light);
  border-radius: 100px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
}

.btn-magnetic:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.btn-magnetic-text, .btn-magnetic-icon {
  position: relative;
  z-index: 1;
  transition: color 0.4s;
}

.btn-magnetic:hover .btn-magnetic-text,
.btn-magnetic:hover .btn-magnetic-icon {
  color: var(--dark);
}

.btn-magnetic:hover {
  box-shadow: 0 12px 40px rgba(246, 26, 25, 0.25);
}

.btn-magnetic-icon svg {
  transition: transform 0.3s var(--ease);
}

.btn-magnetic:hover .btn-magnetic-icon svg {
  transform: translate(2px, -2px);
}

.btn-magnetic-light {
  background: var(--light);
  color: var(--dark);
}

.btn-magnetic-light .btn-magnetic-text,
.btn-magnetic-light .btn-magnetic-icon {
  color: var(--dark);
}

.btn-magnetic-light::before {
  background: var(--red);
}

.btn-magnetic-light:hover .btn-magnetic-text,
.btn-magnetic-light:hover .btn-magnetic-icon {
  color: var(--light);
}

/* Text Link Button */
.btn-text-link {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  color: var(--light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-text-line {
  height: 1px;
  background: var(--light);
  transition: transform 0.4s var(--ease);
  transform-origin: left;
}

.btn-text-link:hover .btn-text-line {
  animation: lineSlide 0.6s var(--ease);
}

@keyframes lineSlide {
  0% { transform: scaleX(1); transform-origin: right; }
  50% { transform: scaleX(0); transform-origin: right; }
  50.01% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1;
  opacity: 0;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,251,255,0.25);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--red);
  border-radius: 3px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

.hero-scroll-indicator span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,251,255,0.35);
}

/* Side Text */
.hero-side-text {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1;
  transform-origin: center center;
}

.hero-side-text span {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,251,255,0.3);
}

.side-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
}

/* ---- Marquee ---- */
.marquee-section {
  padding: 28px 0;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.marquee-content span {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  white-space: nowrap;
  padding: 0 24px;
  color: rgba(255, 251, 255, 0.4);
}

.marquee-star {
  color: var(--red) !important;
  font-size: 10px !important;
  padding: 0 16px !important;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Shared Section Styles ---- */
.section {
  padding: 140px 0;
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.label-line {
  width: 40px;
  height: 1px;
  background: var(--red);
}

.section-label span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
}

.section-title-large {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

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

/* Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
}

/* ---- About ---- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-inner {
  overflow: hidden;
  position: relative;
}

.about-image-inner img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.about-image-wrapper:hover .about-image-inner img {
  transform: scale(1.05);
}

.about-image-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--red);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-number {
  font-size: 36px;
  font-weight: 900;
}

.badge-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
  font-weight: 700;
}

.about-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.about-desc {
  color: rgba(255, 251, 255, 0.55);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 16px;
}

.stats-grid {
  display: flex;
  gap: 32px;
  margin-top: 48px;
}

.stat-card {
  flex: 1;
  padding: 28px 24px;
  background: var(--dark-2);
  border: 1px solid var(--gray-light);
  text-align: center;
}

.stat-card .stat-number {
  font-size: 44px;
  font-weight: 900;
  color: var(--light);
  display: inline;
  letter-spacing: -1px;
}

.stat-card .stat-suffix {
  font-size: 44px;
  font-weight: 900;
  color: var(--red);
}

.stat-divider {
  width: 24px;
  height: 2px;
  background: var(--red);
  margin: 12px auto;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
  line-height: 1.6;
  display: block;
}

/* ---- Services ---- */
.services {
  background: var(--dark-2);
}

.services .section-header {
  margin-bottom: 80px;
}

.services-list {
  display: flex;
  flex-direction: column;
}

a.service-row {
  text-decoration: none;
  color: inherit;
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 48px;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--gray-light);
  position: relative;
  transition: padding 0.4s var(--ease);
}

.service-row:last-child {
  border-bottom: 1px solid var(--gray-light);
}

.service-row:hover {
  padding-left: 20px;
}

.service-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 1px;
}

.service-info h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.service-row:hover .service-info h3 {
  color: var(--red);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
  padding: 4px 14px;
  border: 1px solid rgba(255,251,255,0.08);
  border-radius: 100px;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.service-row:hover .service-tags span {
  border-color: rgba(246, 26, 25, 0.2);
  color: rgba(255,251,255,0.6);
}

.service-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: all 0.3s var(--ease);
}

.service-row:hover .service-arrow {
  background: var(--red);
  border-color: var(--red);
  color: var(--light);
  transform: rotate(-45deg);
}

.service-hover-img {
  position: fixed;
  width: 300px;
  height: 200px;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s var(--ease);
  border-radius: 4px;
}

.service-hover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Portfolio ---- */
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

.portfolio-filter {
  display: flex;
  gap: 8px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--gray-light);
  color: rgba(255,251,255,0.5);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--light);
  border-color: var(--light);
  color: var(--dark);
}

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.portfolio-item-wide {
  grid-column: span 2;
}

.portfolio-item img,
.portfolio-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.portfolio-item:hover img,
.portfolio-item:hover video {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23,23,23,0.95) 0%, rgba(23,23,23,0.2) 40%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.4s;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.portfolio-overlay h4 {
  font-size: 18px;
  font-weight: 700;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255,251,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.play-btn svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}

.portfolio-item:hover .play-btn {
  border-color: var(--red);
  background: rgba(246, 26, 25, 0.2);
}

/* ---- Clients ---- */
.clients {
  padding-bottom: 80px;
}

.clients .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.clients-marquee {
  overflow: hidden;
  position: relative;
}

.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.clients-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--dark), transparent);
}

.clients-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--dark), transparent);
}

.clients-track {
  display: flex;
  width: max-content;
  animation: clientsScroll 25s linear infinite;
}

.clients-slide {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.client-logo {
  flex-shrink: 0;
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  margin: 0 16px;
  background: var(--dark-2);
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  transition: all 0.3s var(--ease);
}

.client-logo:hover {
  border-color: rgba(246, 26, 25, 0.25);
  background: var(--dark-3);
}

.client-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.8);
  opacity: 0.5;
  transition: all 0.4s var(--ease);
}

.client-logo:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

@keyframes clientsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Testimonials ---- */
.testimonials {
  background: var(--dark-2);
}

.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

.testimonial-nav {
  display: flex;
  gap: 12px;
}

.testimonial-arrow {
  width: 52px;
  height: 52px;
  border: 1px solid var(--gray-light);
  border-radius: 50%;
  background: transparent;
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.testimonial-arrow:hover {
  background: var(--red);
  border-color: var(--red);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}

.testimonial-card {
  flex: 0 0 100%;
  min-width: 0;
  padding: 56px;
  background: var(--dark);
  border: 1px solid var(--gray-light);
  position: relative;
}

.testimonial-quote {
  margin-bottom: 28px;
}

.testimonial-text {
  font-size: 20px;
  line-height: 1.8;
  font-weight: 300;
  color: rgba(255, 251, 255, 0.7);
  margin-bottom: 40px;
  font-style: italic;
  max-width: 800px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
}

.testimonial-author h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.5px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 251, 255, 0.2);
  background: transparent;
  transition: all 0.3s;
  padding: 0;
}

.testimonial-dot.active {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.2);
}

/* ---- CTA ---- */
.cta-section {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  background: var(--red);
}

.cta-inner {
  position: relative;
}

.cta-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(100px, 18vw, 280px);
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255,0.06);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.03em;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: var(--light);
}

.cta-content .accent {
  color: var(--dark);
}

.cta-content p {
  font-size: 17px;
  color: rgba(255,251,255,0.7);
  max-width: 560px;
  margin: 0 auto 48px;
  font-weight: 300;
  line-height: 1.8;
}

/* ---- Contact ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
}

.contact-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.contact-item a,
.contact-item span {
  color: rgba(255,251,255,0.6);
  text-decoration: none;
  font-size: 16px;
  font-weight: 300;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--light);
}

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

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,251,255,0.4);
  margin-bottom: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,251,255,0.1);
  color: var(--light);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,251,255,0.2);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.contact-form select option {
  background: var(--dark);
  color: var(--light);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: flex-start;
  padding: 18px 40px;
  background: var(--red);
  color: var(--light);
  border: none;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--light);
  border-radius: 100px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.btn-submit:hover::before {
  transform: scaleX(1);
}

.btn-submit span,
.btn-submit svg {
  position: relative;
  z-index: 1;
  transition: color 0.4s, stroke 0.4s;
}

.btn-submit:hover span {
  color: var(--dark);
}

.btn-submit:hover svg {
  stroke: var(--dark);
  transform: translateX(4px);
}

.btn-submit svg {
  transition: transform 0.3s var(--ease);
}

/* ---- Footer ---- */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--gray-light);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--gray-light);
}

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--gray);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: rgba(255,251,255,0.4);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--light);
}


.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
}

.footer-bottom p {
  color: rgba(255,251,255,0.3);
  font-size: 13px;
  font-weight: 300;
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,251,255,0.3);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.back-to-top:hover {
  color: var(--red);
}

.back-to-top svg {
  transition: transform 0.3s var(--ease);
}

.back-to-top:hover svg {
  transform: translateY(-3px);
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 36px;
  background: none;
  border: none;
  color: var(--light);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,251,255,0.15);
  border-radius: 50%;
  z-index: 1;
  transition: all 0.3s;
}

.lightbox-close:hover {
  background: var(--red);
  border-color: var(--red);
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-image-inner img {
    height: 450px;
  }

  .about-image-badge {
    right: 20px;
    bottom: -20px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .service-hover-img {
    display: none;
  }

  .hero-side-text {
    display: none;
  }

  .testimonials-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .testimonial-card {
    padding: 40px 32px;
  }

  .testimonial-text {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .reveal-up {
    transform: translateY(32px);
  }

  .nav-container {
    padding: 0 24px;
  }

  .container {
    padding: 0 24px;
  }

  .hero-content {
    padding: 0 24px;
  }

  .section {
    padding: 64px 0;
  }

  .title-word {
    font-size: clamp(40px, 12vw, 72px);
  }

  .services .section-header {
    margin-bottom: 48px;
  }

  .service-row {
    grid-template-columns: 50px 1fr 40px;
    gap: 20px;
    padding: 32px 0;
  }

  .service-info h3 {
    font-size: 22px;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .portfolio-item-wide {
    grid-column: span 2;
  }

  .stats-grid {
    flex-direction: column;
    gap: 16px;
  }

  .stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }

  .stat-divider {
    width: 2px;
    height: 24px;
    margin: 0;
  }

  .cta-section {
    padding: 64px 0;
  }

  .hero-scroll-indicator {
    left: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Hide custom cursor on touch */
  .cursor, .cursor-follower {
    display: none;
  }

  body {
    cursor: auto;
  }

  a, button, select, input, textarea {
    cursor: auto;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 48px 0;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item-wide {
    grid-column: span 1;
  }

  .portfolio-filter {
    flex-wrap: wrap;
  }

  .about-image-inner img {
    height: 320px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .service-tags {
    display: none;
  }
}
