/* ============================================
   NACREATIVES — Premium Design Agency
   Design System & Stylesheet
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --orange-primary: #E8501C;
  --orange-light: #FF6B35;
  --orange-dark: #C43D10;
  --orange-glow: rgba(232, 80, 28, 0.35);
  --orange-subtle: rgba(232, 80, 28, 0.08);

  /* Neutrals */
  --black: #0A0A0A;
  --black-soft: #111111;
  --gray-950: #151515;
  --gray-900: #1A1A1A;
  --gray-800: #222222;
  --gray-700: #333333;
  --gray-600: #555555;
  --gray-500: #777777;
  --gray-400: #999999;
  --gray-300: #BBBBBB;
  --gray-200: #DDDDDD;
  --gray-100: #F0F0F0;
  --white: #FAFAFA;
  --white-pure: #FFFFFF;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-accent: 'Playfair Display', serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;

  /* Layout */
  --max-width: 1440px;
  --container-padding: clamp(1.5rem, 5vw, 6rem);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-dramatic: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.4s var(--ease-smooth);
  --transition-slow: 0.8s var(--ease-dramatic);

  /* Borders */
  --border-subtle: 1px solid rgba(255, 255, 255, 0.06);
  --border-orange: 1px solid var(--orange-primary);

  /* Shadows */
  --shadow-glow: 0 0 60px rgba(232, 80, 28, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.5);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #128c7e;
  color: #FFF;
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background: rgba(10, 10, 10, 0.9);
  color: white;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.1);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 70px;
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 25px;
  }
}

/* ============================================
   WORK PAGE & PORTFOLIO STYLES
   ============================================ */
.work-hero {
  padding: 180px 0 100px;
  background: radial-gradient(circle at 50% 0%, rgba(232, 80, 28, 0.05) 0%, transparent 70%);
  text-align: center;
}
.work-hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.9;
  margin-bottom: 30px;
}
.work-hero p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.filter-btn:hover {
  border-color: var(--orange);
  background: rgba(232, 80, 28, 0.05);
}
.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 10px 25px rgba(232, 80, 28, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding-bottom: 100px;
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  position: relative;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 80, 28, 0.4);
  background: rgba(255, 255, 255, 0.025);
}
.project-image {
  width: 100%;
  aspect-ratio: 18/9;
  background: linear-gradient(135deg, #121212 0%, #050505 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.project-image i {
  font-size: 2.8rem;
  color: rgba(232, 80, 28, 0.12);
  transition: all 0.5s ease;
}
.project-card:hover .project-image i {
  transform: scale(1.1);
  color: var(--orange);
}

.project-content {
  padding: 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.project-category {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--orange);
  margin-bottom: 6px;
  font-weight: 700;
  opacity: 0.7;
}
.project-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--white);
  line-height: 1.4;
}
.project-desc {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 15px;
  opacity: 0.8;
}

/* Redefined Minimal Process Timeline */
.project-process {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.process-step {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.process-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: var(--gray);
  transition: all 0.3s ease;
}
.process-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.process-line {
  display: none; /* Removed for minimal design */
}
.project-card:hover .process-icon {
  background: rgba(232, 80, 28, 0.2);
  color: var(--orange);
}
.project-card:hover .process-label {
  color: var(--white);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.project-link:hover {
  color: var(--orange);
  transform: translateX(3px);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--gray-300);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-700);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--orange-primary);
}

/* Selection */
::selection {
  background: var(--orange-primary);
  color: var(--white);
}

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

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

ul {
  list-style: none;
}

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

/* Custom Focus States */
*:focus-visible {
  outline: 2px solid var(--orange-primary);
  outline-offset: 4px;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section-padding {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.text-orange { color: var(--orange-primary); }
.text-white { color: var(--white); }
.accent { color: var(--orange-primary); }

/* Section Labels */
.section-label-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: rgba(232, 80, 28, 0.08); /* Slightly more prominent */
  border: 1px solid rgba(232, 80, 28, 0.2);
  border-radius: var(--radius-full);
  color: var(--orange-primary);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-md);
  margin-left: auto;
  margin-right: auto;
}

/* --- Noise Overlay --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 10001; /* Above navbar but below modal overlays */
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-md);
  transition: opacity 0.6s var(--ease-smooth), visibility 0.6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--gray-800);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.loader-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange-primary), var(--orange-light));
  border-radius: var(--radius-full);
  animation: loading 1.8s var(--ease-smooth) forwards;
}

@keyframes loading {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

.loader-text {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* ============================================
   CURSOR (desktop only)
   ============================================ */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--orange-primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 100000; /* Absolute top */
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
  mix-blend-mode: difference;
}

.custom-cursor.hover {
  width: 50px;
  height: 50px;
  background: rgba(232, 80, 28, 0.15);
  border-color: var(--orange-light);
}

@media (pointer: coarse) {
  .custom-cursor { display: none; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999999 !important;
  padding: var(--space-md) 0;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  padding: var(--space-sm) 0;
  border-bottom: var(--border-subtle);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.nav-logo .nas {
  color: var(--gray-500);
  font-weight: 500;
  font-size: 0.85em;
  transform: rotate(-8deg);
  display: inline-block;
  margin-right: -2px;
}

.nav-logo .creative {
  color: var(--orange-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-400);
  transition: color var(--transition-fast);
  position: relative;
  z-index: 5;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange-primary);
  transition: width var(--transition-normal);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black) !important;
  background: var(--orange-primary);
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.nav-cta::after {
  display: none !important;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-toggle svg {
  transition: transform 0.3s;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  z-index: 10003;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth), visibility 0.4s, transform 0.4s var(--ease-smooth);
  transition-delay: 0.1s; /* Grace period for hover */
}

/* Invisible bridge to prevent menu closure when crossing the gap */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}

.nav-dropdown.active .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-toggle:hover + .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gray-300);
  transition: all 0.2s;
}

.nav-dropdown-menu a:hover {
  color: var(--white);
  background: rgba(232, 80, 28, 0.1);
  padding-left: 24px;
}

.nav-dropdown-menu a::after {
  display: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
  padding-top: 200px;
  padding-bottom: 100px;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 120px;
    height: auto;
    min-height: 100vh;
  }
}

/* Particle Canvas */
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

/* Badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(232, 80, 28, 0.1);
  border: 1px solid rgba(232, 80, 28, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-top: 30px;
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-dramatic) 2s forwards;
}

@media (max-width: 480px) {
  .hero-badge {
    padding: 6px 14px;
    margin-top: 15px;
    margin-bottom: var(--space-md);
  }
  .hero-badge span {
    font-size: 0.75rem;
  }
}

.hero-badge svg {
  color: var(--orange-primary);
  flex-shrink: 0;
}

.hero-badge span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-200);
}

.about-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--space-md);
  overflow-wrap: break-word;
}

@media (max-width: 640px) {
  .about-cta-inner h2 {
    font-size: 1.5rem;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: var(--space-sm);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-dramatic) 2.2s forwards;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    margin-bottom: var(--space-md);
  }
}

.hero-title .line {
  display: block;
  min-height: 1.2em; /* Ensure height for switcher */
}

/* Text Switcher Animation */
.text-switcher {
  display: inline-block;
  vertical-align: bottom;
  position: relative;
  height: 1.2em;
  overflow: hidden;
  margin-right: -0.1em;
}

.switcher-wrapper {
  display: flex;
  flex-direction: column;
  animation: slideWords 15s cubic-bezier(0.85, 0, 0.15, 1) infinite;
}

.switcher-item {
  height: 1.2em;
  line-height: 1.2;
  display: block;
  white-space: nowrap;
}

@keyframes slideWords {
  /* Move between 6 items (index 0 to 5) */
  0%, 12% { transform: translateY(0); }
  16%, 28% { transform: translateY(-14.285%); }
  32%, 44% { transform: translateY(-28.57%); }
  48%, 60% { transform: translateY(-42.857%); }
  64%, 76% { transform: translateY(-57.142%); }
  80%, 92% { transform: translateY(-71.428%); }
  96%, 100% { transform: translateY(-85.714%); }
}

.hero-title .highlight {
  color: var(--orange-primary);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--orange-primary);
  opacity: 0.2;
  border-radius: var(--radius-full);
}

.hero-description {
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  color: var(--gray-400);
  max-width: 520px;
  margin: 0 auto var(--space-lg) auto;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-dramatic) 2.5s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-dramatic) 2.7s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Primary Button */
.btn-primary {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--orange-primary);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary .arrow {
  transition: transform var(--transition-fast);
}
.btn-primary:hover .arrow {
  transform: translateX(4px);
}

/* Secondary / Ghost Button */
.btn-ghost {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  padding: 1rem 2rem;
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: all var(--transition-fast);
}

.btn-ghost:hover {
  border-color: var(--orange-primary);
  color: var(--orange-primary);
  transform: translateY(-2px);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-dramatic) 3s forwards;
}

/* HubSpot Form Integration */
.hubspot-form-container {
  background: var(--gray-950);
  border: var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.hubspot-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange-primary);
}

.hs-form-frame {
  width: 100%;
}

/* Ensure HubSpot iframe handles background correctly */
.hs-form-frame iframe {
  background: transparent !important;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: var(--gray-700);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--orange-primary);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ============================================
   SECTION HEADER (Reusable)
   ============================================ */
.section-header {
  margin-bottom: var(--space-2xl);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--orange-primary);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 640px) {
  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
}

.section-title .accent {
  color: var(--orange-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 600px;
  margin-top: var(--space-md);
  line-height: 1.8;
}

/* ============================================
   MARQUEE / TICKER
   ============================================ */
.marquee-section {
  padding: var(--space-md) 0;
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
  overflow: hidden;
  background: var(--gray-950);
}

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

.marquee-track .item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: 0 var(--space-lg);
  white-space: nowrap;
}

.marquee-track .item span {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-700);
  transition: color 0.3s;
}

.marquee-track .item .dot {
  width: 8px;
  height: 8px;
  background: var(--orange-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

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

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--black);
  position: relative;
}

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

.service-card {
  background: var(--gray-950);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-dramatic);
  cursor: pointer;
  border: 1px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-primary), var(--orange-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-dramatic);
}

.service-card:hover {
  background: var(--gray-900);
  border-color: rgba(232, 80, 28, 0.1);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-700);
  letter-spacing: 0.2em;
  margin-bottom: var(--space-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  color: var(--orange-primary);
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--orange-primary);
  color: var(--black);
  transform: scale(1.1);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-md);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange-primary);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-dramatic);
  pointer-events: auto !important;
}

.service-card:hover .learn-more {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PORTFOLIO / WORK SECTION
   ============================================ */
.work {
  background: var(--black-soft);
  position: relative;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

.work-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  aspect-ratio: 16/10;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-dramatic), filter 0.5s;
}

.work-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.5);
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(10, 10, 10, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  transition: all 0.5s;
}

.work-card-category {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-primary);
  margin-bottom: var(--space-xs);
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  transform: translateY(10px);
  transition: transform 0.5s var(--ease-dramatic);
}

.work-card:hover h3 {
  transform: translateY(0);
}

.work-card-desc {
  font-size: 0.88rem;
  color: var(--gray-400);
  margin-top: var(--space-xs);
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s var(--ease-dramatic) 0.1s;
}

.work-card:hover .work-card-desc {
  opacity: 1;
  transform: translateY(0);
}

.work-card .view-project {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange-primary);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s var(--ease-dramatic) 0.2s;
}

.work-card:hover .view-project {
  opacity: 1;
  transform: translateY(0);
}

/* Featured large card */
.work-card.featured {
  grid-column: span 2;
  aspect-ratio: 21/9;
}

/* ============================================
   STATS / NUMBERS SECTION
   ============================================ */
.stats-section {
  background: var(--gray-950);
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
  padding: var(--space-2xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.stat-item {
  padding: var(--space-lg);
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--gray-800);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-number .orange {
  color: var(--orange-primary);
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(232, 80, 28, 0.15);
  border-radius: var(--radius-lg);
}

.about-image .floating-badge {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border: var(--border-subtle);
}

.floating-badge .years {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange-primary);
  line-height: 1;
}

.floating-badge .years-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-content {
  max-width: 540px;
}

.about-content .lead {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gray-300);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.about-content p {
  color: var(--gray-500);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.value-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.value-item .check {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-subtle);
  border-radius: var(--radius-sm);
  color: var(--orange-primary);
  flex-shrink: 0;
}

.value-item span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-300);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
  background: var(--gray-950);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  counter-reset: step;
}

.process-step {
  background: var(--black);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  counter-increment: step;
  transition: all 0.5s var(--ease-dramatic);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.process-step:hover {
  background: var(--gray-900);
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  display: block;
  transition: color 0.5s;
}

.process-step:hover::before {
  color: rgba(232, 80, 28, 0.15);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.process-step p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* Connector line */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1px;
  width: 30px;
  height: 1px;
  background: var(--gray-800);
  z-index: 1;
}

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .process-step:not(:last-child)::after {
    display: none;
  }
  
  .process-step {
    padding: var(--space-xl) var(--space-md);
    border-bottom: 1px solid var(--gray-900);
    align-items: center;
    text-align: center;
  }

  .process-step::before {
    font-size: 2.5rem;
  }

  .process-step h3 {
    font-size: 1.5rem;
    margin-top: -10px;
  }

  .process-step p {
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* HubSpot Form Styling */
.hubspot-form-container .hs-form-frame,
.hubspot-form-container iframe {
  width: 100% !important;
  min-height: 400px;
}

/* Targeting common HubSpot form classes if they leak through or for shadow DOM targeting in future */
.hs-form label, 
.hs-form .hs-label, 
.hs-form .hs-field-desc,
.hs-form .hs-main-font-element {
  color: white !important;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  background: var(--black);
  overflow: hidden;
}

.testimonials-slider {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: var(--space-lg);
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 min(100%, 550px);
  scroll-snap-align: center;
  background: var(--gray-950);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-accent);
  font-size: 5rem;
  color: var(--orange-primary);
  opacity: 0.2;
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-md);
  color: var(--orange-primary);
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
}

.testimonial-author-info h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--gray-950);
}

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

.cta-inner .section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: var(--space-md);
}

.cta-inner .section-subtitle {
  margin: 0 auto var(--space-xl) auto;
  text-align: center;
}

.cta-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 80, 28, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   CONTACT / FORM SECTION
   ============================================ */
.contact {
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-subtle);
  border-radius: var(--radius-md);
  color: var(--orange-primary);
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  color: var(--white);
  font-size: 1rem;
  transition: color var(--transition-fast);
}

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

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

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

.form-group label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--gray-950);
  border: 1px solid var(--gray-800);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-600);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 3px rgba(232, 80, 28, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select {
  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='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-group select option {
  background: var(--gray-900);
  color: var(--white);
}

.form-submit {
  align-self: flex-start;
  margin-top: var(--space-sm);
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-800);
  border-radius: var(--radius-sm);
  color: var(--gray-500);
  transition: all var(--transition-fast);
}

.social-link:hover {
  border-color: var(--orange-primary);
  color: var(--orange-primary);
  background: var(--orange-subtle);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-950);
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: var(--border-subtle);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: var(--space-xl);
  border-bottom: var(--border-subtle);
  margin-bottom: var(--space-lg);
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.footer-brand .footer-logo .nas {
  color: var(--gray-500);
  font-weight: 500;
  font-size: 0.85em;
  transform: rotate(-8deg);
  display: inline-block;
}

.footer-brand .footer-logo .creative {
  color: var(--orange-primary);
}

.footer-brand p {
  color: var(--gray-500);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-nav {
  display: flex;
  gap: var(--space-2xl);
}

.footer-nav-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-nav-col a {
  display: block;
  color: var(--gray-500);
  font-size: 0.88rem;
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.footer-nav-col a:hover {
  color: var(--orange-primary);
}

.footer-link-header {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link-header:hover {
  color: var(--orange-primary);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 5px 15px rgba(232, 80, 28, 0.3);
}

.footer-nav-col .connect-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.connect-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-500);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.3s var(--transition-fast);
}

.connect-link:hover {
  color: var(--orange-primary);
  transform: translateX(3px);
  cursor: pointer;
}

.connect-link i {
  width: 16px;
  text-align: center;
  font-size: 0.9rem;
}

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

.footer-actions {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.footer-social-row {
  display: flex;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.back-to-top {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-sm);
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.back-to-top:hover {
  border-color: var(--orange-primary);
  color: var(--orange-primary);
  transform: translateY(-3px);
}

/* ============================================
   NASBOT GREETING BUBBLE
   ============================================ */
.nasbot-greeting-bubble {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: #fff;
  color: #1a1a1a;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 10000;
}

.nasbot-greeting-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 22px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}

.nasbot-greeting-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-dramatic), transform 0.8s var(--ease-dramatic);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-dramatic), transform 0.8s var(--ease-dramatic);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-dramatic), transform 0.8s var(--ease-dramatic);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-dramatic), transform 0.8s var(--ease-dramatic);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1150px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: none;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10%;
    gap: 15px;
    transition: right 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    border-left: none;
    z-index: 1001;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-dropdown {
    width: 100%;
    box-sizing: border-box;
  }

  .nav-links a {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: none;
    letter-spacing: -0.02em;
    padding: 10px 0;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    color: var(--white);
  }
  
  .nav-links a::after {
    display: none !important;
  }

  .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: none !important;
    border: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-dropdown.active .nav-dropdown-menu {
    display: flex !important;
    flex-direction: column;
    margin-top: 15px;
    border-right: none !important;
    border-left: 2px solid var(--orange-primary) !important;
    padding-left: 20px !important;
    padding-right: 0 !important;
  }

  .nav-dropdown-menu a {
    font-size: 1.1rem;
    color: var(--gray-400);
    padding: 8px 0;
    text-align: left;
    font-weight: 500;
  }

  .nav-cta {
    margin-top: 30px;
    width: 100%;
    text-align: center !important;
    padding: 20px !important;
    font-size: 1.2rem !important;
    border-radius: var(--radius-lg) !important;
    background: transparent !important;
    border: 1px solid var(--orange-primary) !important;
    color: var(--orange-primary) !important;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step:nth-child(2)::after {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 900px) {

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

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

  .work-card.featured {
    grid-column: span 1;
  }

  .footer-top {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column-reverse;
    gap: var(--space-lg);
    text-align: center;
    justify-content: center;
  }

  .footer-actions {
    width: 100%;
    justify-content: center;
    gap: var(--space-lg);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step::after {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    width: 100%;
  }

  .stat-item {
    text-align: center;
    padding: var(--space-sm) var(--space-xs);
    border: none;
  }

  .stat-number {
    font-size: 1.6rem !important;
  }

  .stat-label {
    font-size: 0.65rem !important;
    white-space: nowrap;
    letter-spacing: 0.05em;
  }

  .stat-item::after {
    display: none !important;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}


/* ============================================
   REDESIGNED QUOTE PAGE STYLES (REFINEMENTS)
   ============================================ */
.minimal-hero {
  padding: 220px 0 60px;
  text-align: center;
  background: var(--black);
}

.minimal-hero h1 {
  font-family: var(--font-display) !important;
  font-size: clamp(2.5rem, 6vw, 4.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  margin-bottom: 2rem !important;
  text-align: center !important;
  color: var(--white) !important;
  padding-top: 60px !important;
}

.minimal-hero p {
  margin-bottom: 50px !important; 
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.6 !important;
  color: var(--gray-300) !important;
  font-size: 1.15rem !important;
  display: block !important;
}

/* MARQUEE TRUST BAR */
.narrow-trust-strip {
  padding: 0 !important;
  background: #0a0a0a !important;
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  margin-top: 50px !important;
  overflow: hidden !important;
  height: 80px !important;
  display: flex !important;
  align-items: center !important;
}

.quote-page .trust-marquee-group {
  display: flex !important;
  align-items: center !important;
  gap: 80px !important;
  opacity: 1 !important;
  filter: none !important;
}

.quote-page .trust-marquee img {
  height: 280px !important; /* Extremely high to force visibility in square strip */
  width: auto !important;
  margin: 0 -20px !important;
  filter: brightness(1.5) invert(1) !important; 
  display: block !important;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.how-it-works {
  padding: var(--space-xl) 0 80px; /* Reduced top padding */
}

/* AUTHORITY SECTION (LIVERPOOL ECHO) */
.authority-section {
  padding: 100px 0;
  background: var(--black);
  border-top: var(--border-subtle);
}

.authority-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.authority-image {
  border-radius: var(--radius-xl);
  box-shadow: 0 0 50px rgba(232, 80, 28, 0.1);
  border: 1px solid var(--border-subtle);
}

.authority-tag {
  color: var(--orange-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 20px;
  display: block;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.step-card {
  text-align: center;
}

.step-card .number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange-primary);
  opacity: 0.2;
  margin-bottom: -20px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.comparison-section {
  padding: var(--space-3xl) 0;
  background: var(--gray-950);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: var(--space-2xl);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 20px;
  border-bottom: var(--border-subtle);
}

.comparison-table th {
  font-family: var(--font-display);
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.comparison-table .feature {
  color: var(--white);
  font-weight: 500;
}

.comparison-table .plus {
  color: #4cd964;
  font-weight: 700;
}

.comparison-table .minus {
  color: #ff3b30;
}

.faq-section {
  padding: var(--space-3xl) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.faq-card {
  background: var(--gray-950);
  border: var(--border-subtle);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
}

.faq-card h4 {
  color: var(--white);
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.faq-card p {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.founder-section {
  padding: var(--space-2xl) 0;
  border-top: var(--border-subtle);
}

.founder-card {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
  background: var(--black-soft);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

.founder-image-wrapper {
  flex: 0 0 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--orange-primary);
}

.founder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-smooth);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--black-soft);
  border: var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 90%;
  position: relative;
  max-height: 90vh;
  padding: var(--space-xl);
  overflow-y: auto;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-smooth);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal-form button {
  margin-top: 1.5rem;
  padding: 1rem;
}

.modal-overlay.open .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: var(--gray-500);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.close-modal:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .step-grid, .faq-grid, .authority-grid { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; text-align: center; }
  .authority-grid { gap: 40px; text-align: center; }
}
/* --- See More Works Button --- */
.work-actions {
  display: flex;
  justify-content: center;
  margin-top: var(--space-2xl);
}

/* --- Success Modal --- */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease-dramatic);
}

.success-overlay.open {
  opacity: 1;
  visibility: visible;
}

.success-content {
  background: var(--gray-950);
  border: 1px solid rgba(232, 80, 28, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: translateY(30px);
  transition: all 0.6s var(--ease-dramatic);
  box-shadow: var(--shadow-elevated);
}

.success-overlay.open .success-content {
  transform: translateY(0);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--orange-subtle);
  color: var(--orange-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto var(--space-lg);
  position: relative;
}

.success-icon::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid var(--orange-primary);
  border-radius: 50%;
  opacity: 0.2;
  animation: pulseSuccess 2s infinite;
}

@keyframes pulseSuccess {
  0% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.1); opacity: 0.4; }
  100% { transform: scale(1); opacity: 0.2; }
}

.success-content h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.success-content p {
  color: var(--gray-400);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.close-success {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--gray-600);
  cursor: pointer;
  transition: color 0.3s;
}

.close-success:hover {
  color: var(--white);
}
