/* ===========================
   LEANER CONSULTING — STYLES
   =========================== */

/* === DESIGN TOKENS === */
:root {
  --dark: #0b0c0e;
  --dark-blue: #1e3a5f;
  --mid-blue: #243b55;
  --nav-blue: #1c2335;
  --accent-blue: #3a6ea5;
  --accent-purple: #6940ff;
  --accent-purple-light: #a890f8;
  --accent-gold: #c2a356;
  --text-dark: #2e3238;
  --text-mid: #5c6470;
  --text-light: #8f9399;
  --bg-light: #f5f5f7;
  --bg-white: #fefffe;
  --border: #e3e5e8;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 48px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --font-main: 'Instrument Sans', 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; }

.section-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  display: block;
}

.section-label.light { color: rgba(255,255,255,0.6); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--dark-blue);
  color: var(--white);
}
.btn-primary:hover {
  background: #152d4a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,58,95,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-light);
  border-color: var(--text-mid);
}

.btn-dark {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}
.btn-dark:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }
.mt-32 { margin-top: 32px; display: inline-flex; }

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

/* Real logo images */
.logo-img {
  height: 100px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height 0.3s ease;
}

.header.scrolled .logo-img {
  height: 65px;
}

.logo-img-overlay {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Ensure visibility on the dark navy overlay background */
  filter: brightness(0) invert(1);
}

/* Card images */
.wwd-card-visual--img {
  height: 320px;
  overflow: hidden;
}

.wwd-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.wwd-card-inner:hover .wwd-card-img {
  transform: scale(1.03);
}

.logo-text-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.logo-text-label.white { color: var(--white); }

/* === HEADER DESKTOP NAV === */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.header-nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 100px;
  transition: background var(--transition), color var(--transition);
  position: relative;
}

.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 1.5px;
  background: var(--dark-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}

.header-nav-link:hover { background: var(--bg-light); }
.header-nav-link:hover::after { transform: scaleX(1); }

/* Scrolled state: tint links */
.header.scrolled .header-nav-link { color: var(--text-dark); }

.header-cta {
  padding: 10px 22px;
  font-size: 14px;
  flex-shrink: 0;
}

/* On desktop: hide hamburger */
.menu-btn { display: none; }

.menu-btn {
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  background: var(--bg-white);
}

.menu-btn:hover {
  background: var(--bg-light);
  border-color: var(--text-mid);
}

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.menu-icon span {
  display: block;
  height: 1.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* LANGUAGE SWITCHER */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.lang-btn {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
  opacity: 0.6;
}

.lang-btn:hover {
  color: var(--accent-light);
  opacity: 1;
}

.lang-btn.active {
  color: var(--accent-light);
  font-weight: 600;
  opacity: 1;
}

.lang-divider {
  opacity: 0.3;
  font-weight: 300;
}

.header-right-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.desktop-only {
  display: flex;
}

@media (max-width: 1024px) {
  .desktop-only {
    display: none;
  }
  
  .nav-overlay-header .lang-switcher {
    color: var(--bg-primary);
  }
}

/* Adjustments for white backgrounds */
.scrolled .lang-btn.active,
.light-bg .lang-btn.active {
  color: var(--accent-color);
}

.scrolled .lang-btn:hover,
.light-bg .lang-btn:hover {
  color: var(--accent-color);
}

/* === MOBILE: toggle visibility === */
@media (max-width: 768px) {
  .header-nav,
  .header-cta  { display: none; }

  .menu-btn    { display: flex; }
}

/* === NAV OVERLAY === */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--nav-blue);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-overlay.open {
  transform: translateX(0);
}

.nav-overlay-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px 32px;
  max-width: 400px;
  margin-left: auto;
}

.nav-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}

.nav-overlay .logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.nav-overlay .logo-label {
  font-size: 13px;
  font-weight: 600;
  color: white;
  line-height: 1.3;
}

.menu-close-btn {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: color var(--transition);
}

.menu-close-btn:hover { color: white; }

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.nav-link {
  font-size: 40px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: -0.03em;
  line-height: 1.2;
  transition: color var(--transition);
  display: block;
  padding: 6px 0;
}

.nav-link:hover { color: white; }

.nav-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.social-link {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.social-link:hover { color: white; }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(105,64,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 760px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  font-size: 14px;
  color: var(--accent-blue);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero .section-accent-line {
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 540px;
  margin: 0 auto 40px;
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-light);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}

/* === WHAT WE DO === */
.what-we-do {
  background: linear-gradient(180deg, #1e3a5f 0%, #1c2335 100%);
  position: relative;
}

.wwd-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 120px 32px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 120px;
  align-items: start;
}

.wwd-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.wwd-sticky .section-label {
  color: rgba(255,255,255,0.5);
}

.wwd-subtitle {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  max-width: 260px;
}

.wwd-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wwd-nav-item {
  font-size: 28px;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  letter-spacing: -0.03em;
  line-height: 1.3;
  text-align: left;
  padding: 4px 0;
  transition: color var(--transition);
  cursor: pointer;
}

.wwd-nav-item.active,
.wwd-nav-item:hover {
  color: rgba(255,255,255,0.9);
}

.wwd-cards {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 480px;
}

.wwd-card {
  margin-bottom: 120px;
}

.wwd-card:last-child { margin-bottom: 0; }

.wwd-card-inner {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.wwd-card-visual {
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.wwd-card-content {
  padding: 36px 40px;
}

.wwd-card-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-bottom: 12px;
}

.wwd-card-title {
  font-size: 36px;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.wwd-card-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}

.wwd-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wwd-card-features li {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  padding-left: 20px;
  position: relative;
}

.wwd-card-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.3);
}

/* === ILLUSTRATIONS === */
.wwd-illustration {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Funnel */
.funnel-shape {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.funnel-step {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.funnel-step.s1 { width: 200px; height: 52px; }
.funnel-step.s2 { width: 150px; height: 52px; }
.funnel-step.s3 { width: 100px; height: 52px; background: rgba(255,255,255,0.3); }

.funnel-stats { position: absolute; right: 20%; bottom: 20%; }
.stat-badge {
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
}

/* AI Agent */
.ai-agent-visual {
  display: flex;
  align-items: center;
  gap: 48px;
}

.ai-brain {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ai-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.5; }
}

.ai-core {
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.ai-connections {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-conn {
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Docs */
.doc-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 280px;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.2);
}

.doc-icon { font-size: 20px; }

.doc-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doc-bar div {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.3);
}

.doc-bar div:first-child { width: 80%; }
.doc-bar div:last-child { width: 50%; }

/* Kanban */
.kanban-board {
  display: flex;
  gap: 12px;
}

.kanban-col {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
  width: 110px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kanban-header {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.kanban-card {
  height: 42px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.1);
}

.kanban-card.active { background: rgba(105,64,255,0.4); border-color: rgba(105,64,255,0.6); }
.kanban-card.done { background: rgba(60,180,100,0.3); border-color: rgba(60,180,100,0.5); }

/* === SECTORS === */
.sectors {
  padding: 100px 32px;
  background: var(--bg-white);
}

.sectors-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sectors-title {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--text-dark);
  margin: 16px 0 56px;
  text-align: center;
}

.sectors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.sector-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  transition: all var(--transition);
  background: var(--bg-white);
}

.sector-item:hover {
  border-color: var(--dark-blue);
  background: var(--bg-light);
  transform: translateY(-2px);
}

.sector-icon { font-size: 20px; }

/* === MARQUEE === */
.marquee-section {
  background: var(--dark);
  padding: 20px 0;
  overflow: hidden;
}

.marquee-track {
  white-space: nowrap;
  overflow: hidden;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-content span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  padding: 0 20px;
  letter-spacing: 0.02em;
}

.marquee-content .dot {
  color: rgba(255,255,255,0.2);
  padding: 0;
}

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

/* === CASOS === */
.casos {
  padding: 0;
  background: var(--bg-white);
}

.casos-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 120px 32px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}

.casos-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.casos-subtitle {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 260px;
}

.casos-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.casos-nav-item {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-light);
  opacity: 0.3;
  letter-spacing: -0.03em;
  line-height: 1.3;
  text-align: left;
  padding: 4px 0;
  transition: all var(--transition);
  cursor: pointer;
  background: none;
  border: none;
}

.casos-nav-item.active,
.casos-nav-item:hover {
  color: var(--dark-blue);
  opacity: 1;
}

.casos-cards {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: 680px;
}

.caso-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
  margin-bottom: 80px;
}

.caso-card:last-child { margin-bottom: 0; }

.caso-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.caso-visual {
  height: 360px;
  position: relative;
  overflow: hidden;
}

.v1 { background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%); }
.v2 { background: linear-gradient(135deg, #f0fff8 0%, #e0faf0 100%); }
.v3 { background: linear-gradient(135deg, #fff8f0 0%, #faeee0 100%); }

.caso-mockup {
  position: absolute;
  inset: 20px 20px 0 20px;
  background: white;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.mockup-bar {
  height: 32px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.r { background: #ff5f57; }
.mockup-dot.y { background: #febc2e; }
.mockup-dot.g { background: #28c840; }

.mockup-content {
  padding: 16px;
}

.mockup-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.mockup-cell {
  height: 24px;
  border-radius: 4px;
  background: #e8e8e8;
  flex: 1;
}
.mockup-cell.wide { flex: 3; }
.mockup-cell.narrow { flex: 0 0 60px; }
.mockup-cell.blue { background: #c7d9f0; }
.mockup-cell.purple { background: #d4ccff; }

.mockup-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mt-row {
  display: flex;
  gap: 8px;
}

.mt-cell {
  height: 20px;
  border-radius: 3px;
  background: #f0f0f0;
  flex: 1;
}
.mt-cell.blue { background: #c7d9f0; }
.mt-cell.purple { background: #d4ccff; }

/* AI Visual */
.caso-ai-visual {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  position: relative;
}

.tooth-icon {
  font-size: 56px;
  filter: grayscale(0.3);
}

.ai-badge {
  position: absolute;
  top: 20px;
  right: 24px;
  background: var(--dark-blue);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.ai-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ai-line {
  height: 10px;
  background: linear-gradient(90deg, var(--accent-blue) 0%, transparent 80%);
  border-radius: 5px;
  opacity: 0.5;
  animation: shimmer 2s infinite;
}

.ai-line.short { width: 60%; animation-delay: 0.5s; }

@keyframes shimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* Pipeline visual */
.pipeline-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  padding: 24px;
}

.pipe-stage {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(194,163,86,0.15);
  color: var(--text-dark);
  border: 1.5px solid rgba(194,163,86,0.3);
}

.pipe-stage.active {
  background: var(--accent-gold);
  color: white;
  border-color: var(--accent-gold);
}

.pipe-arrow { color: var(--accent-gold); font-size: 20px; }

.caso-content {
  padding: 32px 36px;
}

.caso-card.featured .caso-content { 
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.caso-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.caso-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--bg-light);
  color: var(--text-mid);
  border: 1px solid var(--border);
}

.caso-title {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.caso-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 24px;
}

.caso-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.caso-stat-num {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.03em;
  line-height: 1;
}

.caso-stat-label {
  font-size: 13px;
  color: var(--text-mid);
  display: block;
  margin-top: 4px;
}

/* === STATS === */
.stats-section {
  background: var(--dark-blue);
  padding: 80px 32px;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
}

.stat-card {
  flex: 1;
  text-align: center;
  padding: 32px 16px;
}

.stat-number {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  display: inline;
}

.stat-unit {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: rgba(255,255,255,0.5);
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  letter-spacing: 0.01em;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* === FAQ === */
.faq-section {
  padding: 100px 32px;
  background: var(--bg-white);
}

.faq-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}

.faq-title {
  font-size: clamp(32px, 4vw, 48px);
  margin: 16px 0 12px;
}

.faq-sub {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.6;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--dark-blue); }

.faq-icon {
  font-size: 24px;
  line-height: 1;
  transition: transform var(--transition);
  color: var(--text-mid);
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
}


/* === CTA / CONTACT === */
.cta-section {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--nav-blue) 100%);
  padding: 100px 32px;
}

.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-title {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  margin: 16px 0 16px;
  line-height: 1.15;
}

.cta-desc {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

/* === CONTACT FORM === */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--white);
  font-family: var(--font-main);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.12);
}

.form-note {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* === FOOTER === */
.footer {
  background: var(--dark);
  padding: 80px 32px 40px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
  line-height: 1.6;
}

.footer-links-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-col a:hover { color: rgba(255,255,255,0.9); }

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

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .wwd-container {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px 32px;
  }

  .wwd-sticky {
    position: relative;
    top: unset;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
  }

  .wwd-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .wwd-nav-item {
    font-size: 20px;
    padding: 4px 0;
  }

  .wwd-card { margin-bottom: 32px; }

  .faq-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

}

@media (max-width: 768px) {
  .header-inner { padding: 16px 24px; }

  .hero { padding: 100px 24px 80px; }
  .hero-title { font-size: 40px; }

  .casos-grid {
    grid-template-columns: 1fr;
  }
  .caso-card.featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .caso-card.featured .caso-visual {
    min-height: 260px;
  }
  .caso-card.small { grid-column: auto; }

  .stats-inner {
    flex-wrap: wrap;
  }
  .stat-divider { display: none; }
  .stat-card { flex: 0 0 50%; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-links-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .sectors-grid { gap: 12px; }

  .wwd-nav { flex-direction: column; }
  .wwd-nav-item { font-size: 22px; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-overlay-inner {
    padding: 20px 24px;
    max-width: 100%;
  }

  .nav-link { font-size: 28px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 34px; }
  .hero-description { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }

  .sectors { padding: 64px 24px; }
  .stats-section { padding: 60px 24px; }
  .stat-card { flex: 0 0 100%; }
  .stat-divider { display: none; }

  .faq-section, .cta-section { padding: 64px 24px; }

  .footer-links-cols { grid-template-columns: 1fr; }
  .footer { padding: 60px 24px 32px; }

  .caso-card.featured .caso-visual { min-height: 200px; }
}


/* =============================================
   PREMIUM ANIMATIONS & EFFECTS
   ============================================= */

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* --- Hero Entrance (runs once on load) --- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow  { animation: heroFadeUp 0.7s ease both; animation-delay: 0.1s; }
.hero-title    { animation: heroFadeUp 0.7s ease both; animation-delay: 0.25s; }
.hero-description { animation: heroFadeUp 0.7s ease both; animation-delay: 0.4s; }
.hero-actions  { animation: heroFadeUp 0.7s ease both; animation-delay: 0.55s; }

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              transform 0.75s cubic-bezier(0.22,1,0.36,1);
}

.reveal.reveal--up    { transform: translateY(40px); }
.reveal.reveal--left  { transform: translateX(-40px); }
.reveal.reveal--right { transform: translateX(40px); }
.reveal.reveal--scale { transform: scale(0.94); }

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Stagger helpers */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Button Shine --- */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::after { left: 160%; }

/* --- Card Glow on hover --- */
.caso-card {
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.35s cubic-bezier(0.22,1,0.36,1),
              border-color 0.35s ease;
  border: 1px solid transparent;
}
.caso-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(30,58,95,0.13);
  border-color: rgba(30,58,95,0.08);
}

/* --- wwd-card inner border glow --- */
.wwd-card-inner {
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.wwd-card-inner:hover {
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 0 40px rgba(105,64,255,0.12);
}

/* --- Nav link draw-in underline --- */
.nav-link {
  position: relative;
  display: inline-block;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0;
  height: 1.5px;
  background: white;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* --- Footer links underline --- */
.footer-col a {
  position: relative;
  display: inline-block;
}
.footer-col a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: rgba(255,255,255,0.5);
  transition: width 0.3s ease;
}
.footer-col a:hover::after { width: 100%; }

/* --- Section title accent line --- */
.section-accent-line {
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 2px;
  margin-top: 10px;
  margin-bottom: 16px;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-accent-line.expanded { width: 48px; }

/* Light version for dark backgrounds */
.section-label.light + .section-accent-line {
  background: rgba(255,255,255,0.4);
}

/* --- Sector pill micro-lift --- */
.sector-item {
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}
.sector-item:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(30,58,95,0.1);
}

/* --- FAQ hover line --- */
.faq-question {
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.faq-question:hover { padding-left: 6px; }

/* --- Testimonial card subtle scale --- */
.testimonial-card {
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.35s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 48px rgba(0,0,0,0.09);
}

/* --- Form input focus glow --- */
.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(105,64,255,0.2);
}

/* --- Stats number highlight --- */
.stat-number {
  background: linear-gradient(135deg, #fff 40%, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Smooth section transitions --- */
section {
  transition: background 0.5s ease;
}

/* --- Marquee pause on hover --- */
.marquee-section:hover .marquee-content {
  animation-play-state: paused;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
