/* InsightxExpert - Shared Styles */

body {
  font-family: 'Inter', system-ui, sans-serif;
}

/* ========== RIGHT VERTICAL NAV RAIL — colorful premium glass ========== */
.nav-rail {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 5rem;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(240,249,255,0.9) 40%, rgba(250,245,255,0.88) 100%);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow:
    -6px 0 28px rgba(14, 165, 233, 0.08),
    -2px 0 0 rgba(139, 92, 246, 0.12),
    inset 1px 0 0 rgba(255,255,255,0.7);
  border-left: 1px solid transparent;
  border-image: linear-gradient(180deg, #22d3ee, #818cf8, #c084fc, #38bdf8) 1;
  z-index: 50;
}

@media (min-width: 1280px) {
  .nav-rail {
    width: 5.25rem;
  }
}

@media (min-width: 1024px) {
  body {
    padding-right: 5rem;
  }
}
@media (min-width: 1280px) {
  body {
    padding-right: 5.25rem;
  }
}

/* Logo — colorful glow + hover pulse */
.nav-rail-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 0.5rem);
  padding: 0.4rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 50%, #faf5ff 100%);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.15),
    0 4px 16px rgba(14, 165, 233, 0.18),
    0 0 24px rgba(168, 85, 247, 0.12);
  line-height: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  z-index: 2;
  position: relative;
}
.nav-rail-logo::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, #22d3ee, #6366f1, #a855f7, #ef4444);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  filter: blur(6px);
}
.nav-rail-logo:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.35),
    0 6px 22px rgba(14, 165, 233, 0.28),
    0 0 32px rgba(168, 85, 247, 0.22);
}
.nav-rail-logo:hover::after {
  opacity: 0.55;
}
.nav-rail-logo:active {
  transform: scale(0.96);
}
.nav-rail-logo .site-logo-img {
  display: block;
  width: 4rem;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0.35rem;
}
@media (min-width: 1280px) {
  .nav-rail-logo .site-logo-img {
    width: 4.5rem;
  }
}

/* Mobile logo */
#site-logo-mobile {
  padding: 0.25rem 0.4rem;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, #ffffff, #f0f9ff);
  box-shadow: 0 2px 12px rgba(14, 165, 233, 0.15), 0 0 0 1px rgba(139, 92, 246, 0.12);
  line-height: 0;
  transition: transform 0.2s ease;
}
#site-logo-mobile:active {
  transform: scale(0.95);
}
#site-logo-mobile .site-logo-img-mobile {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: 7.5rem;
  object-fit: contain;
}

/* Base nav link */
.nav-rail-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  padding: 0.5rem 0.2rem;
  border-radius: 0.85rem;
  color: #64748b;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;
  position: relative;
  text-align: center;
  outline: none;
}

.nav-rail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease, filter 0.25s ease;
}

.nav-rail-icon svg {
  width: 100%;
  height: 100%;
}

.nav-rail-label {
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.25s ease;
}

/* Active indicator bar (color set per item) */
.nav-rail-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3.5px;
  height: 65%;
  border-radius: 0 4px 4px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}

/* ——— Per-item accent colors ——— */
/* Home: Electric Blue */
.nav-c-home:hover,
.nav-c-home:focus-visible {
  color: #2563eb;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.08));
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.15);
}
.nav-c-home:hover .nav-rail-icon,
.nav-c-home:focus-visible .nav-rail-icon {
  transform: scale(1.18);
  color: #2563eb;
  filter: drop-shadow(0 0 6px rgba(37, 99, 235, 0.5));
}
.nav-c-home.active {
  color: #1d4ed8;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(59, 130, 246, 0.12));
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.2);
}
.nav-c-home.active .nav-rail-icon {
  color: #2563eb;
  transform: scale(1.12);
  filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.55));
}
.nav-c-home.active::before {
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
}

/* About: Purple */
.nav-c-about:hover,
.nav-c-about:focus-visible {
  color: #7c3aed;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(168, 85, 247, 0.08));
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.15);
}
.nav-c-about:hover .nav-rail-icon,
.nav-c-about:focus-visible .nav-rail-icon {
  transform: scale(1.18);
  color: #7c3aed;
  filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.5));
}
.nav-c-about.active {
  color: #6d28d9;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(168, 85, 247, 0.12));
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.2);
}
.nav-c-about.active .nav-rail-icon {
  color: #7c3aed;
  transform: scale(1.12);
  filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.55));
}
.nav-c-about.active::before {
  background: linear-gradient(180deg, #a855f7, #7c3aed);
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
}

/* Services: Cyan */
.nav-c-services:hover,
.nav-c-services:focus-visible {
  color: #0891b2;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.14), rgba(34, 211, 238, 0.08));
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.15);
}
.nav-c-services:hover .nav-rail-icon,
.nav-c-services:focus-visible .nav-rail-icon {
  transform: scale(1.18);
  color: #06b6d4;
  filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.5));
}
.nav-c-services.active {
  color: #0e7490;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(34, 211, 238, 0.12));
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.22);
}
.nav-c-services.active .nav-rail-icon {
  color: #06b6d4;
  transform: scale(1.12);
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.55));
}
.nav-c-services.active::before {
  background: linear-gradient(180deg, #22d3ee, #06b6d4);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

/* Political: Royal Blue */
.nav-c-political:hover,
.nav-c-political:focus-visible {
  color: #1e40af;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.12), rgba(37, 99, 235, 0.08));
  box-shadow: 0 0 16px rgba(30, 64, 175, 0.15);
}
.nav-c-political:hover .nav-rail-icon,
.nav-c-political:focus-visible .nav-rail-icon {
  transform: scale(1.18);
  color: #1e40af;
  filter: drop-shadow(0 0 6px rgba(30, 64, 175, 0.5));
}
.nav-c-political.active {
  color: #1e3a8a;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.18), rgba(37, 99, 235, 0.12));
  box-shadow: 0 0 18px rgba(30, 64, 175, 0.2);
}
.nav-c-political.active .nav-rail-icon {
  color: #1e40af;
  transform: scale(1.12);
  filter: drop-shadow(0 0 8px rgba(30, 64, 175, 0.55));
}
.nav-c-political.active::before {
  background: linear-gradient(180deg, #3b82f6, #1e40af);
  box-shadow: 0 0 10px rgba(30, 64, 175, 0.6);
}

/* Process: Orange */
.nav-c-process:hover,
.nav-c-process:focus-visible {
  color: #ea580c;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.12), rgba(249, 115, 22, 0.08));
  box-shadow: 0 0 16px rgba(234, 88, 12, 0.15);
}
.nav-c-process:hover .nav-rail-icon,
.nav-c-process:focus-visible .nav-rail-icon {
  transform: scale(1.18);
  color: #ea580c;
  filter: drop-shadow(0 0 6px rgba(234, 88, 12, 0.5));
}
.nav-c-process.active {
  color: #c2410c;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.18), rgba(249, 115, 22, 0.12));
  box-shadow: 0 0 18px rgba(234, 88, 12, 0.2);
}
.nav-c-process.active .nav-rail-icon {
  color: #ea580c;
  transform: scale(1.12);
  filter: drop-shadow(0 0 8px rgba(234, 88, 12, 0.55));
}
.nav-c-process.active::before {
  background: linear-gradient(180deg, #fb923c, #ea580c);
  box-shadow: 0 0 10px rgba(234, 88, 12, 0.6);
}

/* Industries: Green */
.nav-c-industries:hover,
.nav-c-industries:focus-visible {
  color: #16a34a;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(34, 197, 94, 0.08));
  box-shadow: 0 0 16px rgba(22, 163, 74, 0.15);
}
.nav-c-industries:hover .nav-rail-icon,
.nav-c-industries:focus-visible .nav-rail-icon {
  transform: scale(1.18);
  color: #16a34a;
  filter: drop-shadow(0 0 6px rgba(22, 163, 74, 0.5));
}
.nav-c-industries.active {
  color: #15803d;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.18), rgba(34, 197, 94, 0.12));
  box-shadow: 0 0 18px rgba(22, 163, 74, 0.2);
}
.nav-c-industries.active .nav-rail-icon {
  color: #16a34a;
  transform: scale(1.12);
  filter: drop-shadow(0 0 8px rgba(22, 163, 74, 0.55));
}
.nav-c-industries.active::before {
  background: linear-gradient(180deg, #4ade80, #16a34a);
  box-shadow: 0 0 10px rgba(22, 163, 74, 0.6);
}

/* Portfolio: Pink */
.nav-c-portfolio:hover,
.nav-c-portfolio:focus-visible {
  color: #db2777;
  background: linear-gradient(135deg, rgba(219, 39, 119, 0.12), rgba(236, 72, 153, 0.08));
  box-shadow: 0 0 16px rgba(219, 39, 119, 0.15);
}
.nav-c-portfolio:hover .nav-rail-icon,
.nav-c-portfolio:focus-visible .nav-rail-icon {
  transform: scale(1.18);
  color: #db2777;
  filter: drop-shadow(0 0 6px rgba(219, 39, 119, 0.5));
}
.nav-c-portfolio.active {
  color: #be185d;
  background: linear-gradient(135deg, rgba(219, 39, 119, 0.18), rgba(236, 72, 153, 0.12));
  box-shadow: 0 0 18px rgba(219, 39, 119, 0.2);
}
.nav-c-portfolio.active .nav-rail-icon {
  color: #db2777;
  transform: scale(1.12);
  filter: drop-shadow(0 0 8px rgba(219, 39, 119, 0.55));
}
.nav-c-portfolio.active::before {
  background: linear-gradient(180deg, #f472b6, #db2777);
  box-shadow: 0 0 10px rgba(219, 39, 119, 0.6);
}

/* Contact: Violet */
.nav-c-contact:hover,
.nav-c-contact:focus-visible {
  color: #8b5cf6;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(167, 139, 250, 0.08));
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.15);
}
.nav-c-contact:hover .nav-rail-icon,
.nav-c-contact:focus-visible .nav-rail-icon {
  transform: scale(1.18);
  color: #8b5cf6;
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.5));
}
.nav-c-contact.active {
  color: #7c3aed;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(167, 139, 250, 0.12));
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.2);
}
.nav-c-contact.active .nav-rail-icon {
  color: #8b5cf6;
  transform: scale(1.12);
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.55));
}
.nav-c-contact.active::before {
  background: linear-gradient(180deg, #a78bfa, #8b5cf6);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.nav-rail-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Start Project — blue → purple gradient */
.nav-rail-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;
  padding: 0.7rem 0.3rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 55%, #a855f7 100%);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  box-shadow:
    0 4px 18px rgba(124, 58, 237, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, filter 0.25s ease;
  outline: none;
  position: relative;
  overflow: hidden;
}
.nav-rail-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.2) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav-rail-cta:hover,
.nav-rail-cta:focus-visible {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 24px rgba(124, 58, 237, 0.5),
    0 0 20px rgba(37, 99, 235, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  filter: brightness(1.08);
}
.nav-rail-cta:hover::before {
  opacity: 1;
}
.nav-rail-cta:active {
  transform: scale(0.96);
}
.nav-rail-cta:focus-visible {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px #7c3aed,
    0 8px 24px rgba(124, 58, 237, 0.5);
}

.nav-rail-cta-icon {
  display: flex;
  width: 1.15rem;
  height: 1.15rem;
  transition: transform 0.25s ease;
}
.nav-rail-cta:hover .nav-rail-cta-icon {
  transform: translateX(2px);
}
.nav-rail-cta-icon svg {
  width: 100%;
  height: 100%;
}
.nav-rail-cta-label {
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
  color: #334155;
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  background: #f0f9ff;
  color: #0284c7;
}

.mobile-nav-link.active {
  background: #e0f2fe;
  color: #0284c7;
}

#mobile-menu.is-open {
  pointer-events: auto;
}
#mobile-menu.is-open #mobile-menu-backdrop {
  opacity: 1;
}
#mobile-menu.is-open #mobile-menu-panel {
  transform: translateX(0);
}

/* Legacy glass (kept for residual use) */
.glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Legacy nav-link underline */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0ea5e9;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hero gradient (homepage) — richer premium depth */
.hero-gradient {
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(14, 165, 233, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 70%, rgba(99, 102, 241, 0.18) 0%, transparent 50%),
    linear-gradient(145deg, #020617 0%, #0c1929 28%, #0c4a6e 62%, #0369a1 100%);
  position: relative;
}
.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Insight Engine diagram animation */
.diagram-line {
  stroke-dasharray: 8 4;
  animation: dash 20s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -200;
  }
}

/* Animated counters */
.counter {
  font-variant-numeric: tabular-nums;
}

/* Service tabs — premium */
.service-tab {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.service-tab.active {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: white;
  box-shadow:
    0 4px 14px rgba(14, 165, 233, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}
.service-tab:not(.active):hover {
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.12);
}

/* FAQ accordion */
.faq-item.open .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Mobile menu transition */
#mobile-menu {
  transition: all 0.3s ease;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* ===== FLOATING 3D POLITICAL IMAGE ===== */
.perspective-container {
  perspective: 1400px;
  perspective-origin: 50% 50%;
}

.political-3d-card {
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, box-shadow 0.35s ease;
  box-shadow:
    0 25px 50px -12px rgba(15, 23, 42, 0.25),
    0 0 0 1px rgba(15, 23, 42, 0.04),
    0 0 60px -15px rgba(14, 165, 233, 0.15);
  border-radius: 4px;
  overflow: hidden;
  background: #0f172a;
}

.political-3d-card:hover,
.political-3d-card.is-active {
  box-shadow:
    0 35px 70px -15px rgba(15, 23, 42, 0.4),
    0 0 0 1px rgba(14, 165, 233, 0.12),
    0 0 80px -10px rgba(14, 165, 233, 0.3);
}

.political-3d-glow {
  background: radial-gradient(
    ellipse at 30% 35%,
    rgba(14, 165, 233, 0.18) 0%,
    transparent 55%
  );
  mix-blend-mode: screen;
  opacity: 0.8;
  transition: opacity 0.4s ease;
}

.political-3d-card:hover .political-3d-glow,
.political-3d-card.is-active .political-3d-glow {
  opacity: 1;
}

/* Floating labels around the image */
.float-label {
  position: absolute;
  left: var(--tx);
  top: var(--ty);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #334155;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
  pointer-events: none;
  z-index: 40;
}

.float-label::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 1px;
  background: #94a3b8;
  top: 50%;
  right: 100%;
  margin-right: 6px;
  opacity: 0.6;
}

.float-label[data-pos="tr"]::before,
.float-label[data-pos="mr"]::before,
.float-label[data-pos="br"]::before {
  left: 100%;
  right: auto;
  margin-left: 6px;
  margin-right: 0;
}

/* Show labels on hover / active */
.perspective-container:hover .float-label,
.perspective-container.is-hovered .float-label,
.perspective-container.is-touched .float-label {
  opacity: 1;
  transform: translateY(0);
}

.perspective-container:hover .float-label:nth-child(1) { transition-delay: 0.05s; }
.perspective-container:hover .float-label:nth-child(2) { transition-delay: 0.1s; }
.perspective-container:hover .float-label:nth-child(3) { transition-delay: 0.15s; }
.perspective-container:hover .float-label:nth-child(4) { transition-delay: 0.2s; }
.perspective-container:hover .float-label:nth-child(5) { transition-delay: 0.25s; }
.perspective-container:hover .float-label:nth-child(6) { transition-delay: 0.3s; }

/* Gentle idle float */
@keyframes politicalFloat {
  0%, 100% { transform: translateY(0) rotateX(1.5deg) rotateY(-2deg); }
  50% { transform: translateY(-10px) rotateX(-1deg) rotateY(2deg); }
}

.political-3d-card.floating {
  animation: politicalFloat 7s ease-in-out infinite;
}

/* Mobile adjustments */
@media (max-width: 1023px) {
  .float-label {
    display: none; /* hide orbiting labels on small screens to avoid clutter */
  }
  .political-3d-card {
    box-shadow:
      0 20px 40px -10px rgba(15, 23, 42, 0.22),
      0 0 0 1px rgba(15, 23, 42, 0.04);
  }
  .political-3d-card.floating {
    animation: none; /* reduce motion on mobile */
  }
}

/* Scroll reveal helpers */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== HERO RIGHT — 3D Political Consultancy Stage ===== */
/* ===== Interactive India Political Map (Hero Right) ===== */
.hero-right-stage {
  position: relative;
  width: 100%;
  height: 520px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -8px;
  margin-bottom: 4px;
}

.india-map-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.india-map-header {
  text-align: center;
  margin-bottom: 8px;
  pointer-events: none;
  z-index: 5;
}

.india-map-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(186, 230, 253, 0.85);
  text-transform: uppercase;
  line-height: 1.3;
}

.india-map-sub {
  display: block;
  font-size: 11px;
  color: rgba(148, 163, 184, 0.9);
  margin-top: 2px;
  font-weight: 400;
}

.india-map-container {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: calc(100% - 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 6px;
}

.india-map-container svg {
  width: 100%;
  height: 100%;
  max-height: 100%;
  filter: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.35));
}

.india-map-container path {
  fill: rgba(255, 255, 255, 0.92);
  stroke: #1e3a5f;
  stroke-width: 0.6;
  stroke-linejoin: round;
  cursor: pointer;
  transition: fill 0.25s ease, stroke 0.25s ease, stroke-width 0.25s ease, filter 0.25s ease;
  vector-effect: non-scaling-stroke;
}

.india-map-container path:hover,
.india-map-container path.is-hovered {
  fill: #e0f2fe;
  stroke: #0ea5e9;
  stroke-width: 1.2;
  filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0.45));
}

.india-map-container path.is-selected {
  fill: #bae6fd;
  stroke: #0284c7;
  stroke-width: 1.4;
  filter: drop-shadow(0 0 8px rgba(2, 132, 199, 0.55));
}

/* Kill browser focus rectangle on SVG paths (bounding-box outline on click) */
.india-map-container path:focus,
.india-map-container path:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.india-map-container svg:focus,
.india-map-container svg:focus-visible {
  outline: none !important;
}

/* Hover tooltip */
.map-hover-tooltip {
  position: absolute;
  z-index: 25;
  transform: translate(-50%, -100%);
  margin-top: -6px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.94);
  color: #f8fafc;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.25);
}
.map-hover-tooltip[hidden] {
  display: none;
}
.map-hover-tooltip strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #e0f2fe;
  margin-bottom: 2px;
}
.map-hover-tooltip span {
  display: block;
  font-size: 11px;
  color: #cbd5e1;
  font-weight: 400;
}

/* State info card */
.state-info-card {
  position: absolute;
  z-index: 30;
  min-width: 200px;
  max-width: 240px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(14, 165, 233, 0.22);
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: auto;
}

.state-info-card[hidden] {
  display: none;
}

.state-info-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  line-height: 1.25;
  text-transform: uppercase;
}

.state-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.state-info-item {
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
}

.state-info-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.state-info-value {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.state-info-total {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 8px;
  padding: 8px 10px;
  border: 1px solid #bae6fd;
  margin-bottom: 10px;
}

.state-info-total .state-info-label {
  color: #0369a1;
}

.state-info-total .state-info-value {
  color: #0c4a6e;
  font-size: 16px;
}

.state-info-cta {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #0284c7;
  background: transparent;
  border: none;
  padding: 4px 0 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.state-info-cta:hover {
  color: #0369a1;
}

/* Desktop / large */
@media (min-width: 1024px) {
  .hero-right-stage {
    height: 540px;
    margin-top: -16px;
  }
  .india-map-container {
    max-width: 520px;
  }
}

@media (min-width: 1280px) {
  .hero-right-stage {
    height: 580px;
  }
  .india-map-container {
    max-width: 560px;
  }
}

/* Tablet */
@media (max-width: 1023px) {
  .hero-right-stage {
    height: 420px;
    margin-top: 12px;
  }
  .india-map-container {
    max-width: 400px;
  }
  .state-info-card {
    min-width: 180px;
    max-width: 210px;
    padding: 12px 14px;
  }
}

/* Mobile */
@media (max-width: 639px) {
  .hero-right-stage {
    height: auto;
    min-height: 0;
    margin-top: 16px;
  }
  .india-map-eyebrow {
    font-size: 9px;
  }
  .india-map-sub {
    font-size: 10px;
  }
  .india-map-container {
    max-width: 100%;
  }
}

/* ===== Election results block inside state card ===== */
.state-info-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.state-info-header-row .state-info-name {
  margin-bottom: 0;
}

.state-live-badge {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: #dc2626;
  padding: 2px 7px;
  border-radius: 999px;
  animation: livePulse 1.6s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5); }
  50% { opacity: 0.85; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0); }
}

.state-results-block {
  margin-top: 10px;
  margin-bottom: 8px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.state-results-title {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.state-results-alliances {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.alliance-pill {
  flex: 1;
  text-align: center;
  padding: 6px 4px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.alliance-pill .alliance-name {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.04em;
  margin-bottom: 1px;
}

.alliance-pill .alliance-seats {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.alliance-pill.nda {
  background: #fff7ed;
  border-color: #fed7aa;
}
.alliance-pill.nda .alliance-name { color: #c2410c; }
.alliance-pill.nda .alliance-seats { color: #9a3412; }

.alliance-pill.india {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.alliance-pill.india .alliance-name { color: #1d4ed8; }
.alliance-pill.india .alliance-seats { color: #1e40af; }

.alliance-pill.others {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.state-results-detail {
  font-size: 10px;
  color: #64748b;
  line-height: 1.35;
  margin-top: 4px;
}

.state-info-source {
  font-size: 10px;
  color: #64748b;
  margin-bottom: 8px;
  margin-top: 2px;
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* ===== Hero enhancements: chips, 3D slot, flow, strip ===== */
.hero-3d-slot {
  position: absolute;
  right: -2%;
  bottom: 12%;
  width: 140px;
  height: 180px;
  z-index: 4;
  pointer-events: none;
  opacity: 0.92;
}
.hero-3d-canvas {
  width: 100%;
  height: 100%;
}
.hero-3d-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.data-flow-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
  overflow: hidden;
}
.data-flow-svg {
  width: 100%;
  height: 100%;
  max-height: 320px;
  position: absolute;
  left: 0;
  bottom: 40px;
}
.data-flow-line {
  stroke: rgba(186, 230, 253, 0.35);
  stroke-width: 1.2;
  stroke-dasharray: 4 6;
  fill: none;
}
.data-flow-node {
  fill: rgba(125, 211, 252, 0.85);
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 1;
}
.data-flow-label {
  fill: rgba(186, 230, 253, 0.55);
  font-size: 9px;
  font-family: system-ui, sans-serif;
  letter-spacing: 0.04em;
}

.map-data-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
}
.map-chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(14, 165, 233, 0.18);
  box-shadow:
    0 6px 18px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 92px;
}
.map-chip-num {
  font-size: 15px;
  font-weight: 700;
  color: #0c4a6e;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.map-chip-label {
  font-size: 9px;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.map-chip--tl { top: 12%; left: 0; }
.map-chip--tr { top: 10%; right: 0; }
.map-chip--bl { bottom: 18%; left: 0; }
.map-chip--br { bottom: 16%; right: 2%; }

.hero-status-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  z-index: 10;
  max-width: 100%;
}
.hero-strip-item {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(186, 230, 253, 0.7);
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-strip-item.is-active {
  color: #e0f2fe;
}
.hero-strip-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.5);
  flex-shrink: 0;
}

/* Desktop larger stage */
@media (min-width: 1024px) {
  .hero-right-stage {
    height: 560px;
    margin-top: -12px;
  }
  .hero-3d-slot {
    width: 160px;
    height: 200px;
    right: -4%;
    bottom: 14%;
  }
}
@media (min-width: 1280px) {
  .hero-right-stage {
    height: 600px;
  }
  .hero-3d-slot {
    width: 170px;
    height: 210px;
  }
}

/* Tablet: scale 3D & chips */
@media (max-width: 1023px) {
  .hero-right-stage {
    height: 460px;
    margin-top: 8px;
  }
  .hero-3d-slot {
    width: 100px;
    height: 130px;
    right: 0;
    bottom: 10%;
    opacity: 0.75;
  }
  .map-chip {
    padding: 6px 10px;
    min-width: 78px;
  }
  .map-chip-num { font-size: 13px; }
  .map-chip-label { font-size: 8px; }
  .data-flow-layer { opacity: 0.3; }
}

/* Mobile: stack chips below map area, hide 3D & flow */
@media (max-width: 639px) {
  .hero-right-stage {
    height: auto;
    min-height: 0;
    margin-top: 12px;
  }
  .india-map-wrapper {
    height: 340px;
  }
  .hero-3d-slot,
  .data-flow-layer {
    display: none;
  }
  .map-data-chips {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
    padding: 0 4px;
    pointer-events: auto;
  }
  .map-chip {
    position: static;
    min-width: 0;
  }
  .map-chip--tl,
  .map-chip--tr,
  .map-chip--bl,
  .map-chip--br {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
  .hero-status-strip {
    margin-top: 12px;
    padding: 8px 10px;
    gap: 4px 6px;
  }
  .hero-strip-item {
    font-size: 8px;
  }
  .hero-strip-dot:nth-of-type(3),
  .hero-strip-item:nth-of-type(5),
  .hero-strip-dot:nth-of-type(5),
  .hero-strip-item:nth-of-type(7) {
    display: none;
  }
}

/* ===== State card: close + back ===== */
.state-info-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.state-info-header-row .state-info-name {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}
.state-info-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.state-info-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.state-info-back {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  color: #0369a1;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.state-info-back:hover {
  background: #e0f2fe;
  border-color: #7dd3fc;
}

/* Select hint (mobile) */
.map-select-hint {
  display: none;
  text-align: center;
  font-size: 12px;
  color: rgba(186, 230, 253, 0.85);
  margin: 8px 0 0;
  font-weight: 500;
}

/* Mobile state/UT picker */
.mobile-state-picker {
  display: none;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.mobile-picker-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e0f2fe;
  margin-bottom: 10px;
}
.mobile-picker-section + .mobile-picker-section {
  margin-top: 12px;
}
.mobile-picker-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.7);
  margin-bottom: 6px;
}
.mobile-picker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.mobile-picker-btn {
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.3;
  transition: background 0.15s ease, border-color 0.15s ease;
  min-height: 36px;
}
.mobile-picker-btn:hover,
.mobile-picker-btn:focus {
  background: rgba(14, 165, 233, 0.2);
  border-color: rgba(125, 211, 252, 0.45);
  outline: none;
}
.mobile-picker-btn.is-active {
  background: rgba(14, 165, 233, 0.28);
  border-color: #38bdf8;
  color: #f0f9ff;
  font-weight: 600;
}

/* Detail mode: minimize chips */
.map-data-chips.is-minimized {
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 639px) {
  .map-select-hint {
    display: block;
  }
  .map-select-hint[hidden] {
    display: none;
  }
  .mobile-state-picker {
    display: block;
  }
  .mobile-state-picker[hidden] {
    display: none;
  }

  /* When a state is open: hide the long list, show card under map */
  .hero-right-stage.is-state-detail .mobile-state-picker {
    display: none !important;
  }
  .hero-right-stage.is-state-detail .map-select-hint {
    display: none !important;
  }
  .hero-right-stage.is-state-detail .map-data-chips {
    display: none !important;
  }

  .india-map-wrapper {
    height: auto !important;
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .india-map-container {
    position: relative;
    width: 100%;
    height: 300px;
    min-height: 300px;
    max-width: 100%;
    overflow: hidden;
    flex-shrink: 0;
  }
  .india-map-container svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  /* Card ALWAYS below map — never overlay */
  .state-info-card {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 12px !important;
    margin-bottom: 8px;
    z-index: 20;
    order: 5;
  }

  .map-data-chips {
    position: relative !important;
    inset: auto !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
    order: 3;
  }
  .map-chip {
    position: static !important;
  }

  .map-select-hint {
    order: 4;
  }
  .mobile-state-picker {
    order: 6;
  }

  .hero-right-stage {
    height: auto !important;
    min-height: 0 !important;
  }
}

/* Mobile compact select (replaces long button grid) */
.mobile-state-select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.55);
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 500;
  min-height: 48px;
  appearance: auto;
  -webkit-appearance: menulist;
}
.mobile-state-select:focus {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}
.mobile-state-select option,
.mobile-state-select optgroup {
  background: #0f172a;
  color: #f1f5f9;
}

/* India Map visible title */
.india-map-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e0f2fe;
  line-height: 1.25;
  margin-bottom: 2px;
}
.india-map-header .india-map-sub {
  display: block;
  font-size: 12px;
  color: rgba(186, 230, 253, 0.85);
  margin-bottom: 4px;
}
.india-map-header .india-map-eyebrow {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(148, 163, 184, 0.75);
  margin-top: 2px;
}

/* Hide any leftover picker UI if present */
.map-select-hint,
.mobile-state-picker,
.mobile-state-select,
.state-info-back {
  display: none !important;
}

@media (max-width: 639px) {
  .india-map-title {
    font-size: 16px;
  }
  .india-map-header .india-map-sub {
    font-size: 11px;
  }
}

/* ============================================================
   PREMIUM POLISH LAYER — elevated visual system
   (Does not alter navbar link structure or card text-align)
   ============================================================ */

/* Body & base refinements */
body {
  background-color: #f8fafc;
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(99, 102, 241, 0.04) 0%, transparent 45%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Premium selection */
::selection {
  background: rgba(14, 165, 233, 0.2);
  color: #0f172a;
}

/* Section heading accent underline */
section h2 {
  letter-spacing: -0.025em;
}

/* Soft premium cards — applied to common Tailwind card patterns */
.rounded-2xl.border,
.rounded-2xl.border-2,
.rounded-xl.border,
article.rounded-2xl,
.tab-panel > .grid > div {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

/* Lift & glow on interactive cards / package cards */
.rounded-2xl.border:hover,
.rounded-2xl.border-2:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 40px -12px rgba(15, 23, 42, 0.12),
    0 8px 16px -8px rgba(14, 165, 233, 0.1),
    0 0 0 1px rgba(14, 165, 233, 0.08);
}

/* Popular / featured package already has stronger border */
.rounded-2xl.border-2.border-brand-500 {
  box-shadow:
    0 12px 32px -8px rgba(14, 165, 233, 0.18),
    0 0 0 1px rgba(14, 165, 233, 0.15);
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}
.rounded-2xl.border-2.border-brand-500:hover {
  box-shadow:
    0 24px 48px -12px rgba(14, 165, 233, 0.25),
    0 0 0 1px rgba(14, 165, 233, 0.2);
}

/* Service grid cells — subtle hover */
.tab-panel .grid > div {
  position: relative;
}
.tab-panel .grid > div::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.tab-panel .grid > div:hover::after {
  opacity: 1;
}
.tab-panel .grid > div:hover .w-12 {
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
  transform: scale(1.06);
}
.tab-panel .grid > div .w-12 {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
}

/* Premium buttons */
a.rounded-full,
button.rounded-full {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}
a.rounded-full:hover,
button.rounded-full:hover {
  transform: translateY(-2px);
}
a.rounded-full.bg-white:hover,
a.rounded-full[class*="bg-brand"]:hover {
  box-shadow: 0 12px 28px -6px rgba(14, 165, 233, 0.35);
}

/* Soft section dividers / alternating backgrounds */
section.bg-white {
  position: relative;
}
section.bg-slate-50 {
  background:
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Testimonials / quote cards */
section .rounded-2xl.bg-white,
section article.bg-white {
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.04),
    0 2px 4px -2px rgba(15, 23, 42, 0.03);
}

/* Form premium */
form.bg-white.rounded-2xl {
  box-shadow:
    0 10px 40px -12px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(15, 23, 42, 0.04);
  border-color: rgba(148, 163, 184, 0.25);
}
form input,
form select,
form textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
form input:focus,
form select:focus,
form textarea:focus {
  background: #f8fafc;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* Badge / pill refinements */
.inline-flex.items-center.rounded-full {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Portfolio / case study cards */
#portfolio .rounded-2xl,
#portfolio article {
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
#portfolio .rounded-2xl:hover,
#portfolio article:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 48px -12px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(14, 165, 233, 0.1);
}

/* Process steps — subtle numbered premium feel */
#process .rounded-2xl,
#process .rounded-xl {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#process .rounded-2xl:hover,
#process .rounded-xl:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1);
}

/* Industry cards */
#industries .rounded-2xl,
#industries .rounded-xl {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
#industries .rounded-2xl:hover,
#industries .rounded-xl:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow:
    0 16px 36px -10px rgba(14, 165, 233, 0.12),
    0 0 0 1px rgba(14, 165, 233, 0.08);
}

/* Footer polish if present */
footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

/* Counter numbers — premium tabular + subtle glow on hero */
.hero-left .counter {
  background: linear-gradient(135deg, #ffffff 0%, #bae6fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Scrollbar (webkit) — subtle premium */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #94a3b8, #64748b);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #64748b, #475569);
}

/* Glass utility upgrade */
.glass {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

/* Mobile topbar glass refinement */
#mobile-topbar #menu-btn {
  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(148, 163, 184, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#mobile-topbar #menu-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.15);
}

/* Tag chips in services strip */
section .px-4.py-2.rounded-full.bg-slate-100 {
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
section .px-4.py-2.rounded-full.bg-slate-100:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.12);
}

/* FAQ items */
.faq-item {
  transition: background 0.25s ease, box-shadow 0.25s ease;
  border-radius: 1rem;
}
.faq-item:hover {
  background: #f8fafc;
}
.faq-item.open {
  background: #f0f9ff;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.08);
}

/* Subtle page load fade for main content */
@keyframes premium-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
#home .hero-left {
  animation: premium-fade-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
#home .hero-right-stage {
  animation: premium-fade-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  #home .hero-left,
  #home .hero-right-stage,
  .rounded-2xl.border:hover,
  .rounded-2xl.border-2:hover,
  a.rounded-full:hover {
    animation: none;
    transform: none;
  }
}


/* Premium package / content cards */
.premium-card {
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.04),
    0 2px 4px -2px rgba(15, 23, 42, 0.03),
    0 0 0 1px rgba(15, 23, 42, 0.02);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}
.premium-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 22px 44px -12px rgba(15, 23, 42, 0.12),
    0 10px 20px -8px rgba(14, 165, 233, 0.1),
    0 0 0 1px rgba(14, 165, 233, 0.1);
}
.premium-card--featured {
  box-shadow:
    0 16px 40px -10px rgba(14, 165, 233, 0.2),
    0 0 0 1px rgba(14, 165, 233, 0.12);
}
.premium-card--featured:hover {
  box-shadow:
    0 28px 56px -12px rgba(14, 165, 233, 0.28),
    0 0 0 1px rgba(14, 165, 233, 0.18);
}


/* ============================================================
   POST-HERO REDESIGN SYSTEM — premium, minimal, editorial
   Hero section styles above remain untouched.
   ============================================================ */

:root {
  --ix-ink: #0f172a;
  --ix-ink-soft: #334155;
  --ix-muted: #64748b;
  --ix-line: #e2e8f0;
  --ix-bg: #ffffff;
  --ix-bg-muted: #f8fafc;
  --ix-accent: #0284c7;
  --ix-accent-soft: #e0f2fe;
  --ix-radius: 12px;
  --ix-max: 72rem;
  --ix-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.ix-container {
  width: 100%;
  max-width: var(--ix-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .ix-container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .ix-container { padding-left: 2rem; padding-right: 2rem; }
}
.ix-container--narrow {
  max-width: 42rem;
}

.ix-section {
  padding: 5rem 0;
}
@media (min-width: 1024px) {
  .ix-section { padding: 7rem 0; }
}
.ix-section--light { background: var(--ix-bg); }
.ix-section--muted { background: var(--ix-bg-muted); }
.ix-section--dark {
  background: #0b1220;
  color: #e2e8f0;
}
.ix-section--contrast {
  background: linear-gradient(160deg, #0b1220 0%, #0c1a2e 50%, #0f2744 100%);
  color: #e2e8f0;
}

/* Typography */
.ix-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ix-accent);
  margin: 0 0 1rem;
}
.ix-eyebrow--light { color: #7dd3fc; }

.ix-heading-xl {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ix-ink);
  margin: 0 0 1.5rem;
}
.ix-heading-lg {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ix-ink);
  margin: 0 0 1rem;
}
.ix-heading--light { color: #f8fafc; }

.ix-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ix-ink-soft);
  margin: 0 0 1rem;
  max-width: 38rem;
}
.ix-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ix-muted);
  margin: 0 0 2rem;
  max-width: 38rem;
}
.ix-section-desc {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ix-muted);
  margin: 0;
  max-width: 36rem;
}
.ix-section-desc--light { color: #94a3b8; }
.ix-section-head {
  margin-bottom: 3.5rem;
  max-width: 40rem;
}
.ix-section-head--dark .ix-heading-lg { color: #f8fafc; }

/* About — editorial */
.ix-about {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .ix-about {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
  }
}
.ix-proof-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  margin-top: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ix-line);
}
@media (min-width: 640px) {
  .ix-proof-row { grid-template-columns: repeat(4, 1fr); }
}
.ix-proof__num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ix-ink);
  line-height: 1.2;
}
.ix-proof__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--ix-muted);
  margin-top: 0.25rem;
}
.ix-about__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--ix-radius);
  aspect-ratio: 4 / 3;
  background: #e2e8f0;
}
.ix-about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ix-about__caption {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ix-ink-soft);
  letter-spacing: 0.01em;
}

/* Pillars — Why */
.ix-pillars {
  display: grid;
  gap: 1px;
  background: var(--ix-line);
  border: 1px solid var(--ix-line);
  border-radius: var(--ix-radius);
  overflow: hidden;
}
@media (min-width: 768px) {
  .ix-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ix-pillars { grid-template-columns: repeat(4, 1fr); }
}
.ix-pillar {
  background: #fff;
  padding: 2rem 1.75rem;
  transition: background 0.3s ease, transform 0.35s var(--ix-ease);
  position: relative;
}
.ix-pillar:hover {
  background: #f8fafc;
}
@media (min-width: 1024px) {
  .ix-pillar:hover { transform: translateY(-4px); }
}
.ix-pillar__index {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ix-muted);
  display: block;
  margin-bottom: 1.25rem;
}
.ix-pillar__mark {
  width: 2rem;
  height: 2rem;
  color: var(--ix-accent);
  margin-bottom: 1rem;
}
.ix-pillar__mark svg { width: 100%; height: 100%; }
.ix-pillar__title {
  font-size: 1.125rem;
  font-weight: 650;
  color: var(--ix-ink);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.ix-pillar__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ix-muted);
  margin: 0;
}

/* Services cards */
.ix-services-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .ix-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ix-services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.ix-svc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid var(--ix-line);
  border-radius: var(--ix-radius);
  transition: border-color 0.3s ease, transform 0.35s var(--ix-ease), box-shadow 0.35s ease;
}
.ix-svc-card:hover {
  border-color: #bae6fd;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.12);
}
.ix-svc-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--ix-accent);
  margin-bottom: 1.25rem;
  transition: transform 0.3s var(--ix-ease);
}
.ix-svc-card__icon svg { width: 100%; height: 100%; }
.ix-svc-card:hover .ix-svc-card__icon { transform: scale(1.06); }
.ix-svc-card__title {
  font-size: 1.125rem;
  font-weight: 650;
  color: var(--ix-ink);
  margin: 0 0 0.625rem;
  letter-spacing: -0.015em;
}
.ix-svc-card__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ix-muted);
  margin: 0 0 1.5rem;
  flex: 1;
}
.ix-svc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ix-accent);
  text-decoration: none;
  margin-top: auto;
}
.ix-svc-card__cta .ix-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ix-ease);
}
.ix-svc-card:hover .ix-svc-card__cta .ix-arrow {
  transform: translateX(4px);
}

/* Methodology */
.ix-method {
  position: relative;
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .ix-method {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
  .ix-method__line {
    position: absolute;
    top: 1.35rem;
    left: 4%;
    right: 4%;
    height: 1px;
    background: rgba(148, 163, 184, 0.25);
  }
}
.ix-method__item {
  position: relative;
  z-index: 1;
}
.ix-method__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #0b1220;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #7dd3fc;
  margin-bottom: 1.25rem;
}
.ix-method__title {
  font-size: 1.0625rem;
  font-weight: 650;
  color: #f1f5f9;
  margin: 0 0 0.5rem;
}
.ix-method__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

/* Industries — list, not heavy cards */
.ix-industries {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ix-line);
}
.ix-industry {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--ix-line);
  cursor: default;
  transition: padding-left 0.3s var(--ix-ease), background 0.25s ease;
}
.ix-industry:hover {
  padding-left: 0.75rem;
}
.ix-industry__name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ix-ink);
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}
.ix-industry:hover .ix-industry__name {
  color: var(--ix-accent);
}
.ix-industry__hint {
  font-size: 0.875rem;
  color: var(--ix-muted);
}

/* Political / contrast */
.ix-contrast-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .ix-contrast-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}
.ix-contrast__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}
.ix-contrast-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.ix-contrast-item h3 {
  font-size: 1rem;
  font-weight: 650;
  color: #f1f5f9;
  margin: 0 0 0.35rem;
}
.ix-contrast-item p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
}

/* Process journey */
.ix-journey {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}
@media (min-width: 1024px) {
  .ix-journey {
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    position: relative;
  }
  .ix-journey::before {
    content: '';
    position: absolute;
    top: 1.1rem;
    left: 8%;
    right: 8%;
    height: 1px;
    background: var(--ix-line);
  }
}
.ix-journey__step {
  position: relative;
  padding: 0 0 1.75rem 1.5rem;
  border-left: 1px solid var(--ix-line);
  counter-increment: step;
}
@media (min-width: 1024px) {
  .ix-journey__step {
    border-left: none;
    padding: 0 1rem 0 0;
    text-align: left;
  }
}
.ix-journey__step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -0.85rem;
  top: 0;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ix-line);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ix-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}
@media (min-width: 1024px) {
  .ix-journey__step::before {
    position: relative;
    left: 0;
    margin-bottom: 1rem;
  }
}
.ix-journey__label {
  display: block;
  font-size: 1rem;
  font-weight: 650;
  color: var(--ix-ink);
  margin-bottom: 0.35rem;
}
.ix-journey__text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ix-muted);
  margin: 0;
}

/* Case studies — editorial */
.ix-case {
  display: grid;
  gap: 2rem;
  margin-bottom: 4.5rem;
  align-items: center;
}
.ix-case:last-child { margin-bottom: 0; }
@media (min-width: 1024px) {
  .ix-case {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    margin-bottom: 6rem;
  }
  .ix-case--rtl .ix-case__media { order: 2; }
  .ix-case--rtl .ix-case__body { order: 1; }
}
.ix-case__media {
  overflow: hidden;
  border-radius: var(--ix-radius);
  aspect-ratio: 16 / 10;
  background: #e2e8f0;
}
.ix-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ix-ease);
}
.ix-case:hover .ix-case__media img {
  transform: scale(1.03);
}
.ix-case__cat {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ix-accent);
  margin: 0 0 0.75rem;
}
.ix-case__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ix-ink);
  margin: 0 0 0.875rem;
  line-height: 1.25;
}
.ix-case__desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ix-muted);
  margin: 0 0 1rem;
}
.ix-case__result {
  font-size: 0.9375rem;
  color: var(--ix-ink-soft);
  margin: 0 0 1.25rem;
}
.ix-case__result strong {
  color: var(--ix-accent);
  font-weight: 700;
}
.ix-case__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ix-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.ix-case__link:hover {
  color: var(--ix-accent);
  border-color: var(--ix-accent);
}
.ix-case__link .ix-arrow {
  transition: transform 0.25s var(--ix-ease);
}
.ix-case__link:hover .ix-arrow {
  transform: translateX(4px);
}

/* Testimonials */
.ix-quote-wrap { position: relative; }
.ix-quote {
  margin: 0;
  padding: 0;
}
.ix-quote.is-hidden { display: none; }
.ix-quote__text {
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ix-ink);
  margin: 0 0 2rem;
}
.ix-quote__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: baseline;
}
.ix-quote__name {
  font-weight: 650;
  color: var(--ix-ink);
  font-size: 0.95rem;
}
.ix-quote__role {
  font-size: 0.875rem;
  color: var(--ix-muted);
}
.ix-quote__cat {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ix-accent);
}
.ix-quote-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.ix-quote-nav__btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--ix-line);
  background: #fff;
  color: var(--ix-ink);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ix-quote-nav__btn:hover {
  border-color: var(--ix-accent);
  background: var(--ix-accent-soft);
}
.ix-quote-nav__dots {
  display: flex;
  gap: 0.4rem;
}
.ix-quote-nav__dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
}
.ix-quote-nav__dot.is-active {
  background: var(--ix-accent);
  width: 1.25rem;
}

/* FAQ minimal */
.ix-faq {
  border-top: 1px solid var(--ix-line);
}
.ix-faq__item {
  border-bottom: 1px solid var(--ix-line);
}
.ix-faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ix-ink);
  cursor: pointer;
  letter-spacing: -0.01em;
}
.ix-faq__icon {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ix-muted);
  line-height: 1;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.ix-faq__item.is-open .ix-faq__icon {
  transform: rotate(45deg);
}
.ix-faq__panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s var(--ix-ease), opacity 0.25s ease, padding 0.25s ease;
}
.ix-faq__item.is-open .ix-faq__panel {
  max-height: 240px;
  opacity: 1;
  padding-bottom: 1.25rem;
}
.ix-faq__panel p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ix-muted);
}

/* Final CTA band */
.ix-cta-band {
  padding: 5rem 0;
  background: #0b1220;
  text-align: center;
}
@media (min-width: 1024px) {
  .ix-cta-band { padding: 6.5rem 0; }
}
.ix-cta-band__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f8fafc;
  margin: 0 0 1rem;
  line-height: 1.2;
}
.ix-cta-band__text {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 auto 2rem;
  max-width: 32rem;
}
.ix-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Buttons */
.ix-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ix-ease);
  cursor: pointer;
}
.ix-btn--primary {
  background: var(--ix-accent);
  color: #fff;
}
.ix-btn--primary:hover {
  background: #0369a1;
  transform: translateY(-1px);
}
.ix-btn--ghost {
  background: transparent;
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.35);
}
.ix-btn--ghost:hover {
  border-color: #7dd3fc;
  color: #fff;
}
.ix-btn--light {
  background: #fff;
  color: var(--ix-ink);
}
.ix-btn--light:hover {
  background: #f1f5f9;
}
.ix-btn--full {
  width: 100%;
}

/* Form */
.ix-form {
  background: #fff;
  border: 1px solid var(--ix-line);
  border-radius: var(--ix-radius);
  padding: 1.75rem;
}
@media (min-width: 640px) {
  .ix-form { padding: 2rem; }
}
.ix-form__row {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) {
  .ix-form__row { grid-template-columns: 1fr 1fr; }
}
.ix-form__field {
  margin-bottom: 1.25rem;
}
.ix-form__row .ix-form__field { margin-bottom: 0; }
.ix-form__field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--ix-ink);
  margin-bottom: 0.4rem;
}
.ix-form__field input,
.ix-form__field select,
.ix-form__field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--ix-ink);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ix-form__field input:focus,
.ix-form__field select:focus,
.ix-form__field textarea:focus {
  border-color: var(--ix-accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

/* Footer */
.ix-footer {
  background: #020617;
  color: #94a3b8;
  padding: 4rem 0 0;
}
.ix-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .ix-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 2rem;
  }
}
.ix-footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.ix-footer__mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ix-footer__name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #f8fafc;
}
.ix-footer__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
  max-width: 16rem;
}
.ix-footer__heading {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin: 0 0 1rem;
}
.ix-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ix-footer__list li {
  margin-bottom: 0.5rem;
}
.ix-footer__list a {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ix-footer__list a:hover { color: #f8fafc; }
.ix-footer__contact li {
  font-size: 0.875rem;
}
.ix-footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}
.ix-footer__social a {
  font-size: 0.8125rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ix-footer__social a:hover { color: #7dd3fc; }
.ix-footer__bottom {
  border-top: 1px solid rgba(51, 65, 85, 0.6);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #64748b;
}
.ix-footer__legal {
  display: flex;
  gap: 1.25rem;
}
.ix-footer__legal a {
  color: #64748b;
  text-decoration: none;
}
.ix-footer__legal a:hover { color: #e2e8f0; }

/* Mobile float */
.ix-float-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--ix-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.35);
  text-decoration: none;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ix-ease), transform 0.65s var(--ix-ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ix-svc-card:hover,
  .ix-case:hover .ix-case__media img {
    transform: none;
  }
}


/* ============================================================
   RESPONSIVE SYSTEM — Who We Are → Footer only
   Breakpoints: mobile <768 | tablet 768–1199 | desktop ≥1200
   Hero styles are not altered.
   ============================================================ */

/* --- Base / mobile-first refinements --- */
.ix-container {
  max-width: 72rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}

.ix-section {
  padding: 3.5rem 0;
  overflow-x: clip;
}

.ix-heading-xl {
  font-size: clamp(1.625rem, 6.5vw, 2.25rem);
  line-height: 1.2;
}
.ix-heading-lg {
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  line-height: 1.25;
}
.ix-lead {
  font-size: 1.05rem;
}
.ix-body,
.ix-section-desc {
  font-size: 0.975rem;
}
.ix-section-head {
  margin-bottom: 2.25rem;
}

/* About — mobile stack */
.ix-about {
  grid-template-columns: 1fr;
  gap: 2rem;
}
.ix-proof-row {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
  padding-top: 1.5rem;
  margin-top: 0.25rem;
}
.ix-proof__num {
  font-size: 1.5rem;
}
.ix-about__frame {
  aspect-ratio: 16 / 11;
}

/* Pillars — mobile stack with separators */
.ix-pillars {
  grid-template-columns: 1fr;
  border: none;
  background: transparent;
  gap: 0;
  border-radius: 0;
}
.ix-pillar {
  background: transparent;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--ix-line);
}
.ix-pillar:first-child { padding-top: 0; }
.ix-pillar:last-child { border-bottom: none; padding-bottom: 0; }
.ix-pillar:hover {
  background: transparent;
  transform: none;
}

/* Services — full width stack */
.ix-services-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}
.ix-svc-card {
  padding: 1.5rem 1.25rem;
}
.ix-svc-card:hover {
  transform: none;
}
.ix-svc-card__cta {
  /* Always visible on touch — not hover-dependent */
  opacity: 1;
}

/* Method — vertical timeline on mobile */
.ix-method {
  grid-template-columns: 1fr;
  gap: 0;
  padding-left: 0.25rem;
}
.ix-method__line {
  display: none;
}
.ix-method__item {
  position: relative;
  padding: 0 0 1.75rem 1.75rem;
  border-left: 1px solid rgba(148, 163, 184, 0.3);
}
.ix-method__item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.ix-method__num {
  position: absolute;
  left: -1.25rem;
  top: 0;
  margin-bottom: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: #0b1220;
}

/* Industries — single column list */
.ix-industry {
  padding: 1.15rem 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
.ix-industry:hover {
  padding-left: 0;
}
.ix-industry__name {
  font-size: 1.125rem;
}
.ix-industry__hint {
  font-size: 0.8125rem;
}

/* Political contrast — stack */
.ix-contrast-grid {
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.ix-contrast__intro .ix-btn {
  width: 100%;
  max-width: 20rem;
}

/* Process journey — vertical on mobile (already is) */
.ix-journey {
  grid-template-columns: 1fr;
}
.ix-journey::before {
  display: none;
}

/* Case studies — always stack on mobile */
.ix-case {
  grid-template-columns: 1fr !important;
  gap: 1.5rem;
  margin-bottom: 3.25rem;
}
.ix-case--rtl .ix-case__media,
.ix-case--rtl .ix-case__body {
  order: unset !important;
}
.ix-case__media {
  aspect-ratio: 16 / 10;
  width: 100%;
}
.ix-case__title {
  font-size: 1.35rem;
}

/* Testimonials */
.ix-quote__text {
  font-size: clamp(1.15rem, 4.5vw, 1.4rem);
}
.ix-quote-nav {
  margin-top: 1.75rem;
}
.ix-quote-nav__btn {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
}

/* FAQ */
.ix-faq__btn {
  padding: 1.15rem 0;
  font-size: 0.975rem;
  min-height: 3rem;
  gap: 0.75rem;
}
.ix-faq__icon {
  width: 1.5rem;
  text-align: center;
}

/* CTA band */
.ix-cta-band {
  padding: 3.5rem 0;
}
.ix-cta-band__title {
  font-size: clamp(1.5rem, 6vw, 2rem);
}
.ix-cta-band__text {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.ix-cta-band__actions {
  flex-direction: column;
  align-items: stretch;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}
.ix-cta-band__actions .ix-btn {
  width: 100%;
  min-height: 3rem;
}

/* Form */
.ix-form {
  padding: 1.35rem;
}
.ix-form__row {
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.ix-form__field {
  margin-bottom: 1rem;
}
.ix-btn--full {
  min-height: 3rem;
}

/* Footer — stack */
.ix-footer {
  padding-top: 3rem;
}
.ix-footer__grid {
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.ix-footer__brand {
  order: -1;
}
.ix-footer__bottom {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem 0;
}
.ix-footer__desc {
  max-width: none;
}

/* Prevent any horizontal overflow globally for post-hero */
.ix-section,
.ix-container,
.ix-footer,
.ix-cta-band {
  max-width: 100vw;
}
.ix-section img,
.ix-case__media img,
.ix-about__img {
  max-width: 100%;
  height: auto;
}

/* ============================================================
   TABLET: 768px – 1199px
   ============================================================ */
@media (min-width: 768px) and (max-width: 1199px) {
  .ix-section {
    padding: 4.25rem 0;
  }
  .ix-container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }
  .ix-heading-xl {
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  }
  .ix-heading-lg {
    font-size: clamp(1.65rem, 3vw, 2.15rem);
  }
  .ix-section-head {
    margin-bottom: 2.75rem;
  }

  /* About — 2 col if room */
  .ix-about {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
  }
  .ix-proof-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .ix-about__frame {
    aspect-ratio: 4 / 3;
  }

  /* Pillars 2×2 */
  .ix-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--ix-line);
    border: 1px solid var(--ix-line);
    border-radius: var(--ix-radius);
    overflow: hidden;
  }
  .ix-pillar {
    background: #fff;
    padding: 1.75rem 1.5rem;
    border-bottom: none;
  }
  .ix-pillar:hover {
    background: #f8fafc;
    transform: none;
  }

  /* Services 2 col */
  .ix-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
  .ix-svc-card {
    padding: 1.5rem;
  }

  /* Method — 2+3 without horizontal scroll */
  .ix-method {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1.25rem;
    padding-left: 0;
  }
  .ix-method__item {
    border-left: none;
    padding: 0;
  }
  .ix-method__num {
    position: relative;
    left: 0;
    margin-bottom: 1rem;
  }
  .ix-method__line {
    display: none;
  }
  /* First two span row feel via natural flow of 5 items in 3-col */

  /* Industries */
  .ix-industry {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    padding: 1.25rem 0;
  }
  .ix-industry:hover {
    padding-left: 0.5rem;
  }
  .ix-industry__name {
    font-size: 1.2rem;
  }

  /* Contrast */
  .ix-contrast-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  /* Process — 2×3 */
  .ix-journey {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem 1.25rem;
  }
  .ix-journey__step {
    border-left: none;
    padding: 0;
  }
  .ix-journey__step::before {
    position: relative;
    left: 0;
    margin-bottom: 0.75rem;
  }
  .ix-journey::before {
    display: none;
  }

  /* Case studies — image above text for reliability */
  .ix-case {
    grid-template-columns: 1fr !important;
    gap: 1.75rem;
    margin-bottom: 3.5rem;
  }
  .ix-case__media {
    aspect-ratio: 16 / 9;
  }

  /* CTA */
  .ix-cta-band {
    padding: 4.5rem 0;
  }
  .ix-cta-band__actions {
    flex-direction: row;
    justify-content: center;
    max-width: none;
    align-items: center;
  }
  .ix-cta-band__actions .ix-btn {
    width: auto;
    min-width: 10rem;
  }

  /* Form */
  .ix-form__row {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer 2–3 groups */
  .ix-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
  }
  .ix-footer__brand {
    grid-column: 1 / -1;
  }
  .ix-footer__bottom {
    flex-direction: row;
    align-items: center;
  }
}

/* ============================================================
   DESKTOP: ≥ 1200px — full editorial
   ============================================================ */
@media (min-width: 1200px) {
  .ix-section {
    padding: 7rem 0;
  }
  .ix-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .ix-heading-xl {
    font-size: clamp(2.25rem, 3.2vw, 3rem);
  }
  .ix-heading-lg {
    font-size: clamp(2rem, 2.6vw, 2.5rem);
  }
  .ix-section-head {
    margin-bottom: 3.5rem;
  }

  .ix-about {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
  }
  .ix-proof-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .ix-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--ix-line);
    border: 1px solid var(--ix-line);
    border-radius: var(--ix-radius);
    overflow: hidden;
  }
  .ix-pillar {
    background: #fff;
    padding: 2rem 1.75rem;
    border-bottom: none;
  }
  .ix-pillar:hover {
    background: #f8fafc;
    transform: translateY(-4px);
  }

  .ix-services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .ix-svc-card:hover {
    transform: translateY(-4px);
  }

  .ix-method {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    padding-left: 0;
  }
  .ix-method__item {
    border-left: none;
    padding: 0;
  }
  .ix-method__num {
    position: relative;
    left: 0;
    margin-bottom: 1.25rem;
  }
  .ix-method__line {
    display: block;
    position: absolute;
    top: 1.35rem;
    left: 4%;
    right: 4%;
    height: 1px;
    background: rgba(148, 163, 184, 0.25);
  }

  .ix-industry {
    flex-direction: row;
    align-items: baseline;
  }
  .ix-industry:hover {
    padding-left: 0.75rem;
  }
  .ix-industry__name {
    font-size: 1.25rem;
  }

  .ix-contrast-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .ix-journey {
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
  }
  .ix-journey::before {
    display: block;
    content: '';
    position: absolute;
    top: 1.1rem;
    left: 8%;
    right: 8%;
    height: 1px;
    background: var(--ix-line);
  }
  .ix-journey__step {
    border-left: none;
    padding: 0 1rem 0 0;
  }
  .ix-journey__step::before {
    position: relative;
    left: 0;
    margin-bottom: 1rem;
  }

  .ix-case {
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 3.5rem;
    margin-bottom: 6rem;
  }
  .ix-case--rtl .ix-case__media { order: 2 !important; }
  .ix-case--rtl .ix-case__body { order: 1 !important; }
  .ix-case__title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  }

  .ix-quote__text {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  }

  .ix-cta-band {
    padding: 6.5rem 0;
  }
  .ix-cta-band__title {
    font-size: clamp(2rem, 3vw, 2.75rem);
  }
  .ix-cta-band__actions {
    flex-direction: row;
    max-width: none;
  }
  .ix-cta-band__actions .ix-btn {
    width: auto;
  }

  .ix-form__row {
    grid-template-columns: 1fr 1fr;
  }

  .ix-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 2rem;
  }
  .ix-footer__brand {
    grid-column: auto;
  }
  .ix-footer__bottom {
    flex-direction: row;
  }
}

/* ============================================================
   Small phones ≤ 390px
   ============================================================ */
@media (max-width: 390px) {
  .ix-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .ix-section {
    padding: 3rem 0;
  }
  .ix-heading-xl {
    font-size: 1.5rem;
  }
  .ix-heading-lg {
    font-size: 1.375rem;
  }
  .ix-proof-row {
    gap: 1rem;
  }
  .ix-proof__num {
    font-size: 1.35rem;
  }
  .ix-svc-card {
    padding: 1.25rem 1rem;
  }
  .ix-quote-nav__btn {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* ============================================================
   Touch devices — reduce hover-only reliance
   ============================================================ */
@media (hover: none) {
  .ix-svc-card:hover,
  .ix-pillar:hover,
  .ix-case:hover .ix-case__media img {
    transform: none;
  }
  .ix-svc-card:hover {
    box-shadow: none;
    border-color: var(--ix-line);
  }
  .ix-industry:hover {
    padding-left: 0;
  }
  .ix-industry:active .ix-industry__name {
    color: var(--ix-accent);
  }
  .ix-svc-card:active {
    border-color: #bae6fd;
    background: #f8fafc;
  }
}

/* Safety: no horizontal scroll on body from post-hero */
html {
  overflow-x: hidden;
}

