/* ==========================================================================
   TALESPIN STUDIOS — PREMIUM MASTER DESIGN SYSTEM
   Nairobi, Kenya | Your Brand. Our Spin. | Every Story Counts.
   ========================================================================== */

:root {
  /* Brand Palette from TaleSpin Logo */
  --color-dark: #121822;
  --color-dark-surface: #1C2433;
  --color-dark-card: #253143;
  --color-red: #A31D1D;
  --color-red-glow: rgba(163, 29, 29, 0.15);
  --color-red-hover: #821717;
  --color-teal: #0E4D55;
  --color-teal-bright: #177E89;
  --color-teal-glow: rgba(14, 77, 85, 0.3);
  --color-orange: #F58220;
  --color-orange-glow: rgba(245, 130, 32, 0.2);
  
  --color-bg-light: #FAF8F5;
  --color-surface-light: #FFFFFF;
  --color-surface-muted: #F3EFEA;
  
  --color-text-dark: #0D1117;
  --color-text-body: #2D3748;
  --color-text-muted: #64748B;
  --color-text-light: #F8FAFC;
  --color-text-dim: #94A3B8;

  --color-border-light: rgba(13, 17, 23, 0.08);
  --color-border-dark: rgba(255, 255, 255, 0.1);
  --color-border-red: rgba(217, 35, 35, 0.3);

  /* Typography */
  --font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Layout & Transitions */
  --container-max: 1320px;
  --header-height: 84px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.14);
  --shadow-glow-red: 0 0 30px var(--color-red-glow);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-red);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-orange);
}

/* Selection */
::selection {
  background: var(--color-red);
  color: #ffffff;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-gradient-red {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-teal {
  background: linear-gradient(135deg, var(--color-teal-bright) 0%, #00F0FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline-script {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--color-red);
}

/* Section Header Component */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-red);
  background: rgba(217, 35, 35, 0.08);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(217, 35, 35, 0.2);
}

.section-tag.tag-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-orange);
  border-color: rgba(245, 130, 32, 0.3);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 680px;
  line-height: 1.7;
}

/* ==========================================================================
   NAVIGATION BAR (HIGH CONTRAST & VISIBILITY)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  background: linear-gradient(180deg, rgba(18, 24, 34, 0.88) 0%, rgba(18, 24, 34, 0.65) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.site-header.scrolled {
  background: rgba(13, 17, 23, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(217, 35, 35, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* TaleSpin Logo Badge Component */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-white-badge {
  /* Removed background padding for cleaner logo */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.brand-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Nav Menu Pill Container */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.45rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #F1F5F9 !important;
  text-decoration: none;
  position: relative;
  padding: 0.4rem 0;
  transition: all var(--transition-fast);
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-red);
  box-shadow: 0 0 8px var(--color-red);
  transition: width var(--transition-smooth);
}

.nav-link:hover {
  color: var(--color-orange) !important;
}

.nav-link.active {
  color: #FFFFFF !important;
  font-weight: 700;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Primary CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-red);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--color-red-glow);
}

.btn-primary:hover {
  background: var(--color-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(217, 35, 35, 0.4);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-text-dark);
  border-color: rgba(13, 17, 23, 0.2);
}

.btn-outline-dark:hover {
  background: var(--color-text-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text-dark);
  margin: 6px 0;
  transition: var(--transition-smooth);
}

.site-header.scrolled .hamburger-line {
  background: #ffffff;
}

.mobile-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: #ffffff;
}

.mobile-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: #ffffff;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  background: var(--color-dark);
  color: #ffffff;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: saturate(1.2) contrast(1.1);
}

.hero-gradient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}

.glow-red {
  top: -100px;
  right: -100px;
  background: rgba(217, 35, 35, 0.25);
}

.glow-teal {
  bottom: -150px;
  left: -100px;
  background: rgba(14, 77, 85, 0.35);
}

.glow-orange {
  top: 40%;
  left: 40%;
  background: rgba(245, 130, 32, 0.15);
}

.hero-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--color-orange);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title .title-accent {
  color: var(--color-red);
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 1.8vw, 1.35rem);
  color: #CBD5E1;
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-visual-card {
  position: relative;
  background: rgba(20, 27, 38, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(217, 35, 35, 0.15);
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero-visual-card:hover {
  box-shadow: 0 35px 70px rgba(0,0,0,0.7), 0 0 50px rgba(217, 35, 35, 0.3);
}

/* Glowing Border Beam Animation */
.card-border-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-red), var(--color-orange), var(--color-teal-bright), transparent);
  background-size: 200% 100%;
  animation: borderBeam 4s linear infinite;
}

@keyframes borderBeam {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(217, 35, 35, 0.15);
  border: 1px solid rgba(217, 35, 35, 0.4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(217, 35, 35, 0.2);
}

.pulse-icon-svg {
  animation: iconTilt 4s ease-in-out infinite;
}

@keyframes iconTilt {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(6deg); color: var(--color-orange); }
}

.hero-card-heading {
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.hero-card-text {
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.6;
  min-height: 56px;
  transition: opacity 0.3s ease;
}

.pillar-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 1.5rem 0 1.25rem 0;
  overflow: hidden;
}

.pillar-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-red), var(--color-orange));
  box-shadow: 0 0 10px var(--color-red);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.pillar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pillar-chip {
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #94A3B8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.pillar-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.pillar-chip.active {
  background: var(--color-red) !important;
  color: #FFFFFF !important;
  border-color: var(--color-red) !important;
  box-shadow: 0 0 16px rgba(217, 35, 35, 0.7);
  transform: translateY(-2px) scale(1.06);
}

/* ==========================================================================
   TRUST MARQUEE
   ========================================================================== */
.trust-strip {
  background: var(--color-dark-surface);
  color: #ffffff;
  padding: 1.25rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.marquee-star {
  color: var(--color-orange);
  font-size: 1.25rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  padding: 7rem 0;
  background: var(--color-bg-light);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-editorial-heading {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.about-body-text {
  font-size: 1.125rem;
  color: var(--color-text-body);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.vision-mission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.vm-card {
  background: var(--color-surface-light);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth);
}

.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.vm-title {
  font-size: 0.875rem;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}

.vm-desc {
  font-size: 0.9375rem;
  color: var(--color-text-body);
  line-height: 1.6;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.03);
}

.about-experience-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: var(--color-dark);
  color: #ffffff;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-red);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.badge-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-orange);
  line-height: 1;
}

.badge-label {
  font-size: 0.85rem;
  color: #CBD5E1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* ==========================================================================
   SERVICES MATRIX
   ========================================================================== */
.services-section {
  padding: 7rem 0;
  background: var(--color-dark);
  color: #ffffff;
  position: relative;
}

.services-header {
  margin-bottom: 4rem;
}

.services-header .section-title {
  color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--color-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-orange));
  transition: width var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 35, 35, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-card:hover::after {
  width: 100%;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.service-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.2);
}

.service-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(217, 35, 35, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
}

.service-card-title {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.service-card-desc {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.service-deliverables-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-deliverable-item {
  font-size: 0.85rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-deliverable-item::before {
  content: '✓';
  color: var(--color-orange);
  font-weight: 700;
}

.service-detail-btn {
  background: none;
  border: none;
  color: var(--color-red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0;
  transition: gap var(--transition-fast);
}

.service-card:hover .service-detail-btn {
  gap: 0.75rem;
  color: var(--color-orange);
}

/* ==========================================================================
   THE TALESPIN METHOD (PROCESS)
   ========================================================================== */
.method-section {
  padding: 7rem 0;
  background: var(--color-bg-light);
}

.method-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  position: relative;
}

.method-step-card {
  background: var(--color-surface-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all var(--transition-smooth);
}

.method-step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-red);
}

.step-badge {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-red);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-name {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-text-dark);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   WHY TALESPIN
   ========================================================================== */
.why-section {
  padding: 7rem 0;
  background: var(--color-teal);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.why-left-content .section-title {
  color: #ffffff;
}

.why-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition-smooth);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(10px);
  border-color: var(--color-orange);
}

.why-card-headline {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.why-card-detail {
  font-size: 0.95rem;
  color: #E2E8F0;
  line-height: 1.6;
}

/* ==========================================================================
   MEDIA & GALLERY SECTION — ULTRA-MODERN BENTO GRID
   ========================================================================== */
.media-section {
  padding: 8rem 0;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

/* Ambient Radial Glows */
.gallery-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
  opacity: 0.25;
}

.gallery-glow.glow-1 {
  top: 10%;
  right: -100px;
  background: var(--color-red);
}

.gallery-glow.glow-2 {
  bottom: 10%;
  left: -100px;
  background: var(--color-teal-bright);
}

/* Modern Filter Pill Bar */
.gallery-filter-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-filter-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
}

.gallery-filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.gallery-filter-btn.active {
  background: var(--color-red);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(163, 29, 29, 0.4);
}

/* Modern Bento Grid */
.modern-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 270px;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Bento Card Item */
.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              opacity 0.4s ease;
}

.bento-card.is-hidden {
  display: none !important;
}

.bento-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(163, 29, 29, 0.2);
  border-color: rgba(255, 255, 255, 0.25);
  z-index: 5;
}

/* Bento Featured Spans */
.bento-card--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-card--wide {
  grid-column: span 2;
  grid-row: span 1;
}

/* Card Image */
.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.bento-card:hover img {
  transform: scale(1.06);
}

/* Top Floating Pill Badge */
.bento-badge-top {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(18, 24, 34, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.bento-card:hover .bento-badge-top {
  background: var(--color-red);
  border-color: var(--color-red);
  box-shadow: 0 0 15px rgba(163, 29, 29, 0.5);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 8px var(--color-orange);
}

/* Frosted Glass Scrim Overlay */
.bento-glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 24, 34, 0.05) 0%, rgba(18, 24, 34, 0.4) 50%, rgba(18, 24, 34, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  z-index: 1;
  transition: background 0.4s ease;
}

.bento-card:hover .bento-glass-overlay {
  background: linear-gradient(180deg, rgba(18, 24, 34, 0.1) 0%, rgba(18, 24, 34, 0.6) 40%, rgba(18, 24, 34, 0.98) 100%);
}

.bento-meta-loc {
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.bento-title-sm {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.bento-desc {
  font-size: 0.875rem;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.bento-zoom-hint {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: #94A3B8;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition-fast);
}

.bento-card:hover .bento-zoom-hint {
  opacity: 1;
  transform: translateY(0);
  color: var(--color-orange);
}

/* Lightbox Modal Specific Styling */
.lightbox-modal-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lightbox-image-box {
  width: 100%;
  max-height: 65vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
}

.lightbox-image-box img {
  width: 100%;
  height: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
}

.lightbox-info-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.lightbox-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 0.25rem;
}

.lightbox-meta {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Bento Grid Breakpoints */
@media (max-width: 1200px) {
  .modern-bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
  }
}

@media (max-width: 900px) {
  .modern-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
  }
  .bento-card--featured {
    grid-column: span 2;
    grid-row: span 1;
  }
  .bento-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .modern-bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }
  .bento-card--featured,
  .bento-card--wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .bento-zoom-hint {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   CASE STUDIES / PORTFOLIO
   ========================================================================== */
.work-section {
  padding: 7rem 0;
  background: var(--color-bg-light);
}

.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.case-card {
  background: var(--color-surface-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.case-card-image {
  height: 280px;
  position: relative;
  overflow: hidden;
}

.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-card:hover .case-card-image img {
  transform: scale(1.06);
}

.case-card-category {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--color-dark);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
}

.case-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-card-partner {
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-red);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.case-card-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.case-card-summary {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.case-card-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast);
}

.case-card:hover .case-card-link {
  color: var(--color-red);
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */
.team-section {
  padding: 7rem 0;
  background: var(--color-dark);
  color: #ffffff;
}

.team-section .section-title {
  color: #ffffff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.team-card {
  background: var(--color-dark-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-red);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.team-image-box {
  height: 320px;
  overflow: hidden;
  position: relative;
}

.team-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-card:hover .team-image-box img {
  transform: scale(1.05);
}

.team-card-content {
  padding: 1.75rem;
}

.team-member-name {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.team-member-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-red);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.team-member-specialty {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.team-read-bio-btn {
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   INSIGHTS SECTION
   ========================================================================== */
.insights-section {
  padding: 7rem 0;
  background: var(--color-bg-light);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.insight-card {
  background: var(--color-surface-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.insight-image {
  height: 180px;
  overflow: hidden;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insight-card:hover .insight-image img {
  transform: scale(1.05);
}

.insight-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.insight-category {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-red);
  text-transform: uppercase;
}

.insight-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.insight-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* ==========================================================================
   PHILOSOPHY & IMPACT SECTION
   ========================================================================== */
.philosophy-section {
  padding: 8rem 0;
  background: var(--color-dark);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.philosophy-lead {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: var(--color-red);
  text-transform: uppercase;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.philosophy-points-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
  max-width: 900px;
  margin: 0 auto 3.5rem auto;
  list-style: none;
}

.philosophy-point {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #E2E8F0;
}

.philosophy-closing {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--color-orange);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 7rem 0;
  background: var(--color-bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card-box {
  background: var(--color-surface-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: rgba(217, 35, 35, 0.1);
  color: var(--color-red);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-label {
  font-size: 0.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.info-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  text-decoration: none;
}

.info-val:hover {
  color: var(--color-red);
}

.contact-form-card {
  background: var(--color-surface-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-glow);
  background: #ffffff;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-dark);
  color: #ffffff;
  padding: 6rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-col .logo-title {
  color: #ffffff;
}

.footer-desc {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-top: 1.25rem;
  max-width: 380px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-orange);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--color-red);
}

.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   CINEMATIC ANIMATION SYSTEM & PAGE TRANSITION CURTAIN
   ========================================================================== */

/* Page Transition Curtain Overlay */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.curtain-layer-top {
  flex: 1;
  background: var(--color-dark);
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.curtain-layer-bottom {
  flex: 1;
  background: var(--color-red);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.page-curtain.animating .curtain-layer-top {
  transform: translateY(0%);
}

.page-curtain.animating .curtain-layer-bottom {
  transform: translateY(0%);
}

/* Scroll Reveal Classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Floating Elements & Glow Animations */
@keyframes floatY {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes textShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.floating-hero-card {
  animation: floatY 6s ease-in-out infinite;
}

.glow-red {
  animation: pulseGlow 8s ease-in-out infinite;
}

.glow-teal {
  animation: pulseGlow 10s ease-in-out infinite 2s;
}

/* Magnetic Button Pulse */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.8s ease;
}

.btn-primary:hover::after {
  transform: rotate(30deg) translateX(100%);
}

/* ==========================================================================
   PARTNERS & CLIENTS SECTION (LOGO GRID)
   ========================================================================== */
.partners-section {
  padding: 6rem 0;
  background: var(--color-surface-light);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.partner-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-red);
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-red);
}

.partner-card:hover::before {
  opacity: 1;
  background: var(--color-orange);
}

.partner-logo-box {
  width: 100%;
  height: 100px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: all var(--transition-smooth);
}

.partner-card:hover .partner-logo-box {
  border-color: rgba(217, 35, 35, 0.3);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.partner-logo-img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  filter: contrast(1.05);
  transition: transform var(--transition-smooth);
}

.partner-card:hover .partner-logo-img {
  transform: scale(1.05);
}

.partner-card-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
  background: rgba(217, 35, 35, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  align-self: flex-start;
  margin-bottom: 1rem;
}

.partner-card-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.partner-card-sector {
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-teal);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.partner-card-desc {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MODAL DIALOG SYSTEM (CASE STUDIES & TEAM BIOS)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--color-surface-light);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-smooth);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-red);
  color: #ffffff;
}

.modal-content-body {
  padding: 3rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content-grid, .about-grid, .why-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .method-timeline {
    grid-template-columns: 1fr;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .team-grid, .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    justify-content: space-between;
  }

  .site-header .btn-primary {
    display: none; /* Hide 'Let's Talk' button in header on mobile */
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: var(--color-dark-surface);
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
    transition: right var(--transition-smooth);
    box-shadow: -15px 0 40px rgba(0,0,0,0.7);
    border-left: 1px solid var(--color-border-light);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    color: #ffffff !important;
    font-size: 1.35rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    width: 100%;
    display: block;
  }

  .nav-link:hover {
    color: var(--color-orange) !important;
    padding-left: 10px;
  }

  .mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
  }

  .mobile-toggle .hamburger-line {
    background: #ffffff !important;
    width: 24px !important;
    height: 2px !important;
    margin: 3px 0 !important;
    flex-shrink: 0;
    display: block;
    border-radius: 2px;
  }

  .team-grid, .insights-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   WORLD-CLASS FEATURES (PRELOADER, CURSOR, SCROLL PROGRESS)
   ========================================================================== */

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--color-dark);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  animation: pulseGlow 2s infinite;
}

.preloader-logo {
  height: 80px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 10px rgba(217, 35, 35, 0.4));
}

.preloader-progress-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  border-radius: 2px;
  overflow: hidden;
}

.preloader-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--color-red);
  transition: width 0.3s ease;
}

/* Scroll Progress */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 9999;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-red), var(--color-orange), var(--color-teal-bright));
  box-shadow: 0 0 10px var(--color-red);
}

/* Custom Cursor (Only for pointing devices) */
@media (pointer: fine) {
  body, a, button, .pillar-chip, .case-card, .team-card, .insight-card {
    cursor: none !important;
  }
  
  .custom-cursor,
  .custom-cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s, border 0.2s;
  }

  .custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--color-red);
    box-shadow: 0 0 10px var(--color-red);
  }

  .custom-cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(217, 35, 35, 0.5);
    transition: transform 0.1s ease-out, width 0.2s, height 0.2s, background 0.2s, border 0.2s;
  }

  .custom-cursor.active {
    width: 0;
    height: 0;
  }

  .custom-cursor-follower.active {
    width: 60px;
    height: 60px;
    background: rgba(217, 35, 35, 0.1);
    border: 1px solid var(--color-red);
    backdrop-filter: blur(2px);
  }
  
  input, textarea {
    cursor: text !important;
  }
}

/* Enhanced Magnetic Buttons */
.btn-primary.magnetic {
  transition: transform 0.2s cubic-bezier(0.1, 0.7, 0.1, 1), box-shadow 0.2s ease;
}

/* ==========================================================================
   WORLD-CLASS PRO FEATURES (SOUND TOGGLE, STATS, ESTIMATOR, TOASTS, SCROLL TOP)
   ========================================================================== */

/* Header Actions & Audio Toggle */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #CBD5E1;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.sound-toggle-btn:hover,
.sound-toggle-btn.sound-on {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: var(--color-orange);
  box-shadow: 0 0 12px rgba(245, 130, 32, 0.3);
}

/* Impact Stats Strip */
.impact-stats-strip {
  padding: 4.5rem 0;
  background: var(--color-dark-surface);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  padding: 1.5rem 1rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding-left: 1.75rem;
  transition: all var(--transition-smooth);
}

.stat-card:hover {
  border-left-color: var(--color-red);
  transform: translateX(6px);
}

.stat-num-wrapper {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
}

.stat-suffix {
  color: var(--color-orange);
  font-size: 0.75em;
  margin-left: 2px;
}

.stat-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text-light);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .sound-toggle-btn {
    display: none;
  }
}

/* Interactive Campaign Scope Builder */
.scope-builder-section {
  padding: 7rem 0;
  background: var(--color-dark);
}

.scope-builder-card {
  background: var(--color-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 4rem 3.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.scope-builder-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.scope-builder-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.scope-step-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.scope-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.scope-opt-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.scope-opt-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.scope-opt-chip.active {
  background: var(--color-red) !important;
  color: #ffffff !important;
  border-color: var(--color-red) !important;
  box-shadow: 0 0 16px rgba(163, 29, 29, 0.6);
  transform: translateY(-2px);
}

.scope-summary-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.scope-summary-count {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-orange);
  margin-bottom: 0.25rem;
}

@media (max-width: 900px) {
  .scope-builder-card {
    padding: 2.5rem 1.75rem;
  }
  .scope-builder-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .scope-summary-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .scope-summary-panel .btn {
    width: 100%;
  }
}

/* Toast Notification System */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast-msg {
  pointer-events: auto;
  background: rgba(18, 24, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 4px solid var(--color-red);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 380px;
}

.toast-msg.toast-success {
  border-left-color: #10B981;
}

.toast-msg.toast-fadeout {
  animation: toastSlideOut 0.4s ease forwards;
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(50px) scale(0.95); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastSlideOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(50px) scale(0.95); }
}

/* Circular Back-to-Top Floating Widget */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-smooth);
}

.back-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(163, 29, 29, 0.4);
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.progress-ring-circle {
  transition: stroke-dashoffset 0.1s linear;
}

.arrow-up {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

/* Lightbox Pro Navigation Controls */
.lightbox-nav-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 1rem;
}

.lightbox-nav-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}

.lightbox-counter-badge {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #94A3B8;
}

