/**
 * RavencoreX Custom Overrides v2.0
 * Hero Section - Premium BI Automation
 */

/* ===================================
   HERO SECTION FIX - PADDING TOP
   =================================== */

/* Fix hero section to account for fixed navbar */
.section_header7 {
  margin-top: 0 !important;
}

.section_header7 .padding-section-large {
  padding-top: 4rem !important;
}

@media (max-width: 991px) {
  .section_header7 {
    margin-top: 0 !important;
  }

  .section_header7 .padding-section-large {
    padding-top: 3rem !important;
  }
}

@media (max-width: 767px) {
  .section_header7 {
    margin-top: 0 !important;
  }

  .section_header7 .padding-section-large {
    padding-top: 2.5rem !important;
  }
}

/* Also ensure the header7_content has proper spacing */
.header7_content {
  position: relative;
  z-index: 1;
}

/* Ensure navbar stays fixed at top with smooth background transition */
.navbar1_component,
.navbar1_component.color-scheme-1 {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease-in-out !important;
}

/* Add padding to body to account for fixed navbar */
body {
  padding-top: 80px !important;
}

@media (max-width: 991px) {
  body {
    padding-top: 64px !important;
  }
}

/* ===================================
   GLOBAL TYPOGRAPHY
   =================================== */

/* Títulos - Quicksand */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.service-title,
.heading-style-h1,
.heading-style-h2,
.heading-style-h3,
.heading-style-h4,
.heading-style-h5,
.heading-style-h6 {
  font-family: 'Quicksand', sans-serif !important;
}

/* Textos - Roboto */
body,
p,
.hero-subtitle,
.section-subtitle,
.service-description,
.btn,
.text-size-medium,
input,
textarea,
select {
  font-family: 'Roboto', sans-serif !important;
}

.text-size-hero,
.heading-style-h1,
.navbar1_link,
.navbar1_menu,
.w-nav-link,
.navbar1_component {
  font-family: 'Montserrat', sans-serif !important;
}

/* Reduce navbar font size */
.navbar1_link,
.w-nav-link {
  font-size: 0.875rem !important;
}

/* ===================================
   HERO SECTION - PREMIUM BI
   =================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 0 3rem 0;
}

/* Background gradient and glow */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

/* Animated network canvas */
.hero-network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.85;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  animation: pulse-glow 8s ease-in-out infinite;
}

/* Network dots pattern overlay */
.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(99, 102, 241, 0.15) 1px, transparent 1px),
    radial-gradient(circle, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
  background-size: 50px 50px, 80px 80px;
  background-position: 0 0, 40px 40px;
  opacity: 0.4;
  z-index: 1;
}

/* Animated connecting lines */
.hero-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.6;
  z-index: 1;
  animation: grid-move 20s linear infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Container */
.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 3rem;
  align-items: center;
}

/* Left Content */
.hero-content {
  color: white;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

/* CTAs */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: inherit;
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Trust line */
.hero-trust {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* Right Video Container */
.hero-video-container {
  position: relative;
}

.hero-video-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  aspect-ratio: 16 / 10;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-glow {
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  opacity: 0.5;
  z-index: -1;
  filter: blur(20px);
  animation: video-glow 3s ease-in-out infinite alternate;
}

@keyframes video-glow {
  0% { opacity: 0.3; }
  100% { opacity: 0.6; }
}

/* ===================================
   MODAL - DEMO VIDEO
   =================================== */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1200px;
  background: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
}

.modal-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===================================
   TECH STRIP INTEGRATED IN HERO
   =================================== */

.hero-tech-strip {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
  padding: 2rem 0 0 0;
}

.hero-tech-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-tech-strip .tech-logo {
  transition: all 0.3s ease;
  background: transparent !important;
}

.hero-tech-strip .tech-logo:hover {
  transform: scale(1.1);
}

.hero-tech-strip .tech-logo-img {
  width: auto;
  height: 40px;
  object-fit: contain;
  opacity: 0.7;
  filter: brightness(0) invert(1);
  transition: all 0.4s ease;
  background: transparent !important;
  mix-blend-mode: normal;
}

.hero-tech-strip .tech-logo:hover .tech-logo-img {
  opacity: 1;
}

/* ===================================
   RESPONSIVE - MOBILE FIRST
   =================================== */

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-video-container {
    order: -1; /* Video first on mobile */
  }

  .hero-tech-strip {
    margin-top: 2rem;
    padding: 1.5rem 0 0 0;
  }

  .hero-tech-container {
    gap: 2rem;
    padding: 0 1rem;
  }

  .hero-tech-strip .tech-logo-img {
    height: 32px;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 800px;
  }

  .hero-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .hero-subtitle {
    text-align: center;
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-trust {
    text-align: center;
  }

  .hero-video-container {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
}

/* Desktop (>= 992px) */
@media (min-width: 992px) {
  .hero-section {
    min-height: 650px;
  }
}

/* Large Desktop (>= 1400px) */
@media (min-width: 1400px) {
  .hero-container {
    max-width: 1600px;
  }

  .hero-title {
    font-size: 4rem;
  }
}

/* ===================================
   SECTION 2: TECH & TRUST STRIP
   =================================== */

.tech-strip {
  background: #ffffff;
  padding: 3rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.tech-strip-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.tech-strip-logos {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2.5rem;
  align-items: center;
  justify-items: center;
}

.tech-logo {
  width: 100%;
  max-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: transparent !important;
  padding: 0.75rem;
  border-radius: 12px;
}

.tech-logo-img {
  width: 100%;
  height: auto;
  max-height: 50px;
  object-fit: contain;
  opacity: 0.85;
  transition: all 0.4s ease;
  background: transparent !important;
  mix-blend-mode: lighten;
}

.tech-logo:hover .tech-logo-img {
  opacity: 1;
  transform: scale(1.05);
}

/* ===================================
   TECH STRIP - RESPONSIVE
   =================================== */

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .tech-strip {
    padding: 2rem 0;
  }

  .tech-strip-container {
    padding: 0 1rem;
  }

  .tech-strip-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .tech-logo {
    max-width: 120px;
  }

  .tech-logo-img {
    max-height: 40px;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .tech-strip {
    padding: 2.5rem 0;
  }

  .tech-strip-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .tech-logo {
    max-width: 140px;
  }

  .tech-logo-img {
    max-height: 45px;
  }
}

/* Desktop (>= 992px) */
@media (min-width: 992px) {
  .tech-strip-logos {
    grid-template-columns: repeat(7, 1fr);
  }
}

/* ===================================
   SECTION 2: WHAT WE DO - PREMIUM
   =================================== */

.what-we-do-premium-section {
  position: relative;
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF1F7 100%);
  padding: 6rem 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Animated Background Pattern */
.animated-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: moveBackground 20s linear infinite;
  pointer-events: none;
}

@keyframes moveBackground {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

.what-we-do-premium-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Glass Effect Container */
.glass-container {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 32px;
  padding: 4rem 3rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Premium Header */
.premium-header {
  margin-bottom: 4rem;
  text-align: center;
}

.premium-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: #4a5568;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

/* Premium Flow Diagram */
.premium-flow-diagram {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 3.5rem;
  padding: 0;
}

.premium-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
  width: 220px;
  transition: transform 0.3s ease;
}

.premium-flow-step:hover {
  transform: translateY(-8px);
}

/* Icon Wrapper with Gradient Background */
.premium-flow-icon-wrapper {
  position: relative;
  margin-bottom: 0.5rem;
}

.premium-flow-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 30px rgba(99, 102, 241, 0.3),
    0 0 0 0 rgba(99, 102, 241, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

/* Glow effect on hover */
.premium-flow-step:hover .premium-flow-icon {
  box-shadow:
    0 15px 40px rgba(99, 102, 241, 0.5),
    0 0 60px rgba(139, 92, 246, 0.4);
  transform: scale(1.1);
}

.premium-flow-icon svg {
  width: 45px;
  height: 45px;
  color: white;
  stroke-width: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Flow Step Text */
.premium-flow-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d3748;
  text-align: center;
  margin-bottom: 0.25rem;
}

.premium-flow-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6366f1;
  text-align: center;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.premium-flow-description {
  font-size: 0.9375rem;
  color: #718096;
  text-align: center;
  line-height: 1.5;
  max-width: 200px;
  margin: 0;
}

/* Animated Connectors */
.premium-flow-connector {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.connector-line {
  width: 100%;
  height: 4px;
  opacity: 0.8;
}

/* Animated Dots on Connectors */
.flow-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
  animation: moveDot 3s ease-in-out infinite;
  top: 50%;
  transform: translateY(-50%);
}

.flow-dot.dot-1 {
  animation-delay: 0s;
}

.flow-dot.dot-2 {
  animation-delay: 1s;
}

.flow-dot.dot-3 {
  animation-delay: 2s;
}

@keyframes moveDot {
  0% {
    left: -10px;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    left: calc(100% + 10px);
    opacity: 0;
  }
}

/* Premium CTA Section */
.premium-cta-section {
  text-align: center;
  margin-top: 1rem;
}

.premium-cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 12px;
  text-decoration: none;
  box-shadow:
    0 10px 25px rgba(99, 102, 241, 0.3),
    0 0 0 0 rgba(99, 102, 241, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.premium-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.premium-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 15px 35px rgba(99, 102, 241, 0.4),
    0 0 20px rgba(139, 92, 246, 0.6);
}

.premium-cta-btn:hover::before {
  opacity: 1;
}

.premium-cta-btn span {
  position: relative;
  z-index: 1;
}

.premium-cta-microcopy {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #718096;
  font-style: italic;
}

/* ===================================
   WHAT WE DO PREMIUM - RESPONSIVE
   =================================== */

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .what-we-do-premium-section {
    padding: 4rem 0;
    min-height: auto;
  }

  .what-we-do-premium-container {
    padding: 0 1rem;
  }

  .glass-container {
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
  }

  .premium-header {
    margin-bottom: 3rem;
  }

  .premium-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .premium-subtitle {
    font-size: 1rem;
  }

  /* Flow Diagram - Stack vertically on mobile */
  .premium-flow-diagram {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .premium-flow-step {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .premium-flow-connector {
    width: 100%;
    height: 60px;
    transform: rotate(90deg);
  }

  .premium-flow-icon {
    width: 80px;
    height: 80px;
  }

  .premium-flow-icon svg {
    width: 38px;
    height: 38px;
  }

  .premium-flow-title {
    font-size: 1.125rem;
  }

  .premium-flow-label {
    font-size: 0.8125rem;
  }

  .premium-flow-description {
    font-size: 0.875rem;
    max-width: 260px;
  }

  .premium-cta-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .premium-cta-microcopy {
    font-size: 0.8125rem;
    padding: 0 1rem;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .what-we-do-premium-section {
    padding: 5rem 0;
  }

  .glass-container {
    padding: 3rem 2rem;
  }

  .premium-header {
    margin-bottom: 3.5rem;
  }

  /* Flow Diagram - Wrap on tablet if needed */
  .premium-flow-diagram {
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }

  .premium-flow-step {
    width: 180px;
  }

  .premium-flow-connector {
    width: 80px;
    height: 80px;
  }

  .premium-flow-icon {
    width: 85px;
    height: 85px;
  }

  .premium-flow-icon svg {
    width: 40px;
    height: 40px;
  }

  .premium-flow-title {
    font-size: 1.125rem;
  }

  .premium-flow-description {
    font-size: 0.875rem;
    max-width: 180px;
  }
}

/* Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .premium-flow-step {
    width: 200px;
  }

  .premium-flow-connector {
    width: 90px;
  }

  .premium-flow-icon {
    width: 90px;
    height: 90px;
  }
}

/* ===================================
   SECTION 3: SOLUTIONS & USE CASES - PREMIUM
   =================================== */

.solutions-premium-section {
  position: relative;
  background: #F8FAFC;
  padding: 8rem 0;
  min-height: 100vh;
  overflow: hidden;
}

/* Animated Background Particles */
.solutions-bg-particles {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px),
    linear-gradient(0deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: flowParticles 25s linear infinite;
  pointer-events: none;
  opacity: 0.5;
}

@keyframes flowParticles {
  0% { transform: translateX(0); }
  100% { transform: translateX(60px); }
}

.solutions-premium-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Header with Fade-Up Animation */
.solutions-header {
  text-align: center;
  margin-bottom: 5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.solutions-header.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.solutions-main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 1rem;
  line-height: 1.15;
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.solutions-main-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: #4a5568;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Premium Card - 50/50 Layout */
.solution-premium-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 4rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateX(-50px);
}

.solution-premium-card.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* E-commerce Card - Green to Blue Gradient */
.solution-card-ecommerce {
  background: linear-gradient(135deg, #D1FAE5 0%, #F0FDFA 100%);
}

/* Enterprise Card - Blue Gradient */
.solution-card-enterprise {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  transform: translateX(50px);
}

.solution-card-enterprise.animate-in {
  transform: translateX(0);
}

/* Video Wrapper */
.solution-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 450px;
}

.solution-video-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: all 0.5s ease;
}

.solution-video-container:hover {
  transform: scale(1.02);
}

.solution-premium-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.solution-video-container:hover .solution-premium-video {
  filter: brightness(1.1);
  transform: scale(1.05);
}

/* Glass Overlay on Video */
.solution-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  pointer-events: none;
  transition: all 0.5s ease;
}

.overlay-enterprise {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(99, 102, 241, 0.15) 100%);
}

.solution-video-container:hover .solution-video-overlay {
  opacity: 0.7;
}


/* Glass Badge */
.solution-glass-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.625rem 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
}

.badge-pyme {
  color: #059669;
  animation: badgeGlow 3s ease-in-out infinite;
}

.badge-enterprise {
  color: #4f46e5;
  animation: badgeGlow 3s ease-in-out infinite 1.5s;
}

@keyframes badgeGlow {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.15),
      0 0 20px rgba(99, 102, 241, 0.3);
  }
}

.solution-glass-badge:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 25px rgba(0, 0, 0, 0.15),
    0 0 25px rgba(99, 102, 241, 0.4);
}

/* Content Section */
.solution-premium-content {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
}

.solution-premium-title {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #1a202c;
  line-height: 1.2;
  margin: 0;
}

.solution-premium-description {
  font-size: 1.125rem;
  color: #4a5568;
  line-height: 1.7;
  margin: 0;
  max-width: 550px;
}

/* Gradient Animated Button */
.solution-gradient-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 2.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  background-size: 200% 200%;
  border-radius: 12px;
  text-decoration: none;
  box-shadow:
    0 10px 25px rgba(139, 92, 246, 0.3),
    0 0 0 0 rgba(139, 92, 246, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  align-self: flex-start;
}

.solution-gradient-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.solution-gradient-btn span,
.solution-gradient-btn .btn-arrow {
  position: relative;
  z-index: 1;
}

.solution-gradient-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 15px 35px rgba(139, 92, 246, 0.4),
    0 0 30px rgba(99, 102, 241, 0.5);
  background-position: 100% 0;
}

.solution-gradient-btn:hover::before {
  opacity: 1;
}

.btn-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.solution-gradient-btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* Enterprise Border Glow */
.solution-video-enterprise {
  border: 2px solid rgba(99, 102, 241, 0.3);
  transition: all 0.5s ease;
}

.solution-video-enterprise:hover {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow:
    0 0 30px rgba(99, 102, 241, 0.4),
    inset 0 0 20px rgba(99, 102, 241, 0.1);
}

/* ===================================
   SOLUTIONS PREMIUM - RESPONSIVE
   =================================== */

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .solutions-premium-section {
    padding: 4rem 0;
  }

  .solutions-premium-container {
    padding: 0 1.5rem;
  }

  .solutions-header {
    margin-bottom: 3rem;
  }

  .solutions-main-title {
    font-size: 2rem;
  }

  .solutions-main-subtitle {
    font-size: 1rem;
  }

  /* Stack cards vertically */
  .solution-premium-card {
    grid-template-columns: 1fr;
    margin-bottom: 2.5rem;
  }

  .solution-video-wrapper {
    min-height: 300px;
    order: 1;
  }

  .solution-premium-content {
    padding: 2rem 1.5rem;
    order: 2;
  }

  /* Reverse order for enterprise card */
  .solution-card-enterprise .solution-video-wrapper {
    order: 1;
  }

  .solution-card-enterprise .solution-premium-content {
    order: 2;
  }

  .solution-premium-title {
    font-size: 1.625rem;
  }

  .solution-premium-description {
    font-size: 1rem;
  }

  .solution-gradient-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .solution-glass-badge {
    top: 1rem;
    left: 1rem;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .solutions-premium-section {
    padding: 5rem 0;
  }

  .solutions-premium-container {
    padding: 0 2rem;
  }

  .solutions-header {
    margin-bottom: 4rem;
  }

  .solution-video-wrapper {
    min-height: 380px;
  }

  .solution-premium-content {
    padding: 2.5rem 2rem;
  }

  .solution-premium-title {
    font-size: 2rem;
  }

  .solution-premium-description {
    font-size: 1.0625rem;
    max-width: 100%;
  }

  .solution-gradient-btn {
    padding: 1rem 2rem;
  }
}

/* Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .solution-premium-content {
    padding: 3rem 2.5rem;
  }

  .solution-premium-description {
    max-width: 480px;
  }
}

/* Desktop Large (>= 1200px) */
@media (min-width: 1200px) {
  .solutions-grid {
    gap: 2.5rem;
  }

  .solution-content {
    padding: 2.5rem 3rem;
  }

  .solution-title {
    font-size: 2rem;
  }
}

/* ===================================
   SECTION 4: SHOWCASE / VIDEO GALLERY
   =================================== */

.showcase-section {
  background: #1a1a1a;
  padding: 4rem 0;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.showcase-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Header Override for Dark Background */
.showcase-section .section-title {
  color: #ffffff;
}

.showcase-section .section-subtitle {
  color: #d1d5db;
}

/* Showcase Grid - 2x2 Layout */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

/* Showcase Card */
.showcase-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
}

.showcase-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 50px rgba(99, 102, 241, 0.3);
}

/* Video Wrapper */
.showcase-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.showcase-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay - Hidden by default, shown on hover with title only */
.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  padding: 2rem 1.5rem 1.5rem;
  opacity: 0;
  transition: all 0.4s ease;
}

.showcase-card:hover .showcase-overlay {
  opacity: 1;
  background: linear-gradient(
    to top,
    rgba(99, 102, 241, 0.95) 0%,
    rgba(99, 102, 241, 0.8) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Overlay Content */
.showcase-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.showcase-description {
  font-size: 0.875rem;
  color: #e5e7eb;
  margin: 0;
  line-height: 1.5;
}

/* CTA Wrapper */
.showcase-cta-wrapper {
  text-align: center;
  margin-top: 2.5rem;
}

.showcase-cta-btn {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
  transition: all 0.3s ease;
}

.showcase-cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.6);
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

/* ===================================
   SHOWCASE - RESPONSIVE
   =================================== */

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .showcase-section {
    padding: 3rem 0;
  }

  .showcase-container {
    padding: 0 1rem;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .showcase-overlay {
    padding: 1.5rem 1rem 1rem;
  }

  .showcase-title {
    font-size: 1.125rem;
  }

  .showcase-description {
    font-size: 0.8125rem;
  }

  .showcase-cta-btn {
    width: 100%;
    font-size: 1rem;
    padding: 0.875rem 2rem;
  }
}

/* ===================================
   SECTION 5: RESULTS + PROCESS (FUSIONADAS)
   =================================== */

.results-process-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  padding: 4rem 0;
  min-height: 150vh; /* 1.5 pantallas */
  display: flex;
  align-items: center;
}

.results-process-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* ===================================
   BLOQUE SUPERIOR: RESULTADOS
   =================================== */

.results-block {
  margin-bottom: 6rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.result-metric {
  text-align: center;
  padding: 2.5rem 2rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.result-metric::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
  transform: scaleX(0);
  transition: transform 0.6s ease;
}

.result-metric:hover::before {
  transform: scaleX(1);
}

.result-metric:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(99, 102, 241, 0.2);
}

/* Números grandes con animación */
.result-number {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: #6366f1;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.result-sign {
  font-size: 4rem;
  opacity: 0.9;
}

.result-multiplier {
  font-size: 4rem;
  opacity: 0.9;
}

.result-percent {
  font-size: 3rem;
  opacity: 0.9;
}

.counter {
  display: inline-block;
  min-width: 2ch;
  text-align: center;
}

.result-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.result-description {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* ===================================
   BLOQUE INFERIOR: PROCESO
   =================================== */

.process-block {
  margin-top: 4rem;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 2.5rem 2rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  position: relative;
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.process-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.4s ease;
}

.process-step:hover .process-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.process-icon svg {
  width: 48px;
  height: 48px;
}

.process-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 3rem;
  font-weight: 800;
  color: #f3f4f6;
  line-height: 1;
  z-index: 0;
}

.process-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.process-description {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* Arrow Connectors */
.process-arrow {
  display: flex;
  align-items: center;
  margin-top: 3rem;
  color: #d1d5db;
}

.process-arrow svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

/* ===================================
   RESULTS + PROCESS - RESPONSIVE
   =================================== */

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .results-process-section {
    min-height: auto;
    padding: 3rem 0;
  }

  .results-process-container {
    padding: 0 1rem;
  }

  .results-block {
    margin-bottom: 4rem;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }

  .result-metric {
    padding: 2rem 1.5rem;
  }

  .result-number {
    font-size: 3.5rem;
  }

  .result-sign,
  .result-multiplier {
    font-size: 3rem;
  }

  .result-percent {
    font-size: 2.5rem;
  }

  .result-label {
    font-size: 1.25rem;
  }

  .result-description {
    font-size: 0.875rem;
  }

  .process-steps {
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
  }

  .process-step {
    max-width: 100%;
    padding: 2rem 1.5rem;
  }

  .process-arrow {
    display: none;
  }

  .process-icon {
    width: 64px;
    height: 64px;
  }

  .process-icon svg {
    width: 36px;
    height: 36px;
  }

  .process-number {
    font-size: 2.5rem;
  }

  .process-title {
    font-size: 1.25rem;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .results-process-section {
    min-height: auto;
    padding: 3.5rem 0;
  }

  .results-grid {
    gap: 2rem;
  }

  .result-number {
    font-size: 4rem;
  }

  .result-sign,
  .result-multiplier {
    font-size: 3.5rem;
  }

  .result-percent {
    font-size: 2.75rem;
  }

  .process-steps {
    gap: 1.5rem;
  }

  .process-step {
    padding: 2rem 1.5rem;
  }

  .process-arrow svg {
    width: 36px;
    height: 36px;
  }
}

/* ===================================
   SECTION 6: LEAD CAPTURE (Free BI Audit)
   =================================== */

.lead-capture-section {
  background: #ffffff;
  padding: 4rem 0;
  min-height: 75vh; /* ¾ pantalla */
  display: flex;
  align-items: center;
}

.lead-capture-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ===================================
   LEFT SIDE: FORM
   =================================== */

.lead-capture-form-wrapper {
  padding: 2rem 0;
}

.lead-capture-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1f2937;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.lead-capture-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  margin: 0 0 2.5rem 0;
  line-height: 1.6;
}

.lead-capture-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Form Groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
}

.form-input {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #1f2937;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  background: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
}

/* Submit Button */
.form-submit {
  margin-top: 0.5rem;
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.form-submit:active {
  transform: translateY(0);
}

/* Privacy Note */
.form-privacy-note {
  font-size: 0.875rem;
  color: #9ca3af;
  margin: 0.5rem 0 0 0;
  text-align: center;
  line-height: 1.5;
}

/* ===================================
   RIGHT SIDE: IMAGE/MOCKUP
   =================================== */

.lead-capture-image-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lead-capture-image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4f6;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4 / 3;
}

.lead-capture-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback Visual */
.lead-capture-image-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: #9ca3af;
}

.lead-capture-image-fallback svg {
  stroke: #d1d5db;
}

.lead-capture-image-fallback p {
  font-size: 1.125rem;
  font-weight: 600;
  color: #6b7280;
  margin: 0;
}

/* Trust Badge */
.lead-capture-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #86efac;
  border-radius: 12px;
  color: #166534;
  font-size: 0.9375rem;
  font-weight: 600;
}

.lead-capture-badge svg {
  stroke: #22c55e;
  flex-shrink: 0;
}

/* ===================================
   LEAD CAPTURE - RESPONSIVE
   =================================== */

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .lead-capture-section {
    min-height: auto;
    padding: 3rem 0;
  }

  .lead-capture-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1rem;
  }

  .lead-capture-form-wrapper {
    order: 1;
    padding: 0;
  }

  .lead-capture-title {
    font-size: 2rem;
  }

  .lead-capture-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .lead-capture-form {
    gap: 1.25rem;
  }

  .form-input {
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
  }

  .form-submit {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .lead-capture-image-wrapper {
    order: 2;
  }

  .lead-capture-badge {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .lead-capture-section {
    min-height: auto;
    padding: 3.5rem 0;
  }

  .lead-capture-container {
    gap: 3rem;
  }

  .lead-capture-title {
    font-size: 2.25rem;
  }

  .lead-capture-subtitle {
    font-size: 1.0625rem;
  }

  .form-input {
    padding: 0.9375rem 1.125rem;
  }

  .form-submit {
    padding: 1rem 2.25rem;
    font-size: 1.0625rem;
  }
}

/* Desktop Large (>= 1200px) */
@media (min-width: 1200px) {
  .lead-capture-container {
    gap: 5rem;
  }

  .lead-capture-title {
    font-size: 3rem;
  }

  .lead-capture-image-container {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .showcase-section {
    padding: 4rem 0;
  }

  .showcase-grid {
    gap: 1.75rem;
  }

  .showcase-title {
    font-size: 1.125rem;
  }

  .showcase-cta-btn {
    font-size: 1rem;
    padding: 0.875rem 2rem;
  }
}

/* ===================================
   SECTION 7: FINAL CTA + FOOTER
   =================================== */

/* Final CTA Section */
.final-cta-section {
  position: relative;
  min-height: 50vh; /* ½ pantalla */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 2rem;
}

/* Background with Video */
.final-cta-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.final-cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px);
  transform: scale(1.1);
}

.final-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(31, 41, 55, 0.9) 100%);
  z-index: 1;
}

/* Particle Canvas */
.final-cta-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.6;
}

/* Content */
.final-cta-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.final-cta-subtitle {
  font-size: 1.25rem;
  color: #e5e7eb;
  margin: 0 0 2.5rem 0;
  line-height: 1.6;
}

.final-cta-btn {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border: none;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
  transition: all 0.3s ease;
}

.final-cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

/* ===================================
   FOOTER - TECH STACK
   =================================== */

.footer-tech-stack {
  margin: 1.5rem 0 2rem 0;
}

.footer-tech-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-tech-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.footer-tech-logo {
  height: 28px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%) brightness(0) invert(1);
  transition: all 0.3s ease;
}

.footer-tech-logo:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1) invert(0);
  transform: scale(1.1);
}

/* ===================================
   FINAL CTA - RESPONSIVE
   =================================== */

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .final-cta-section {
    min-height: 60vh;
    padding: 4rem 1.5rem;
  }

  .final-cta-title {
    font-size: 2rem;
  }

  .final-cta-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .final-cta-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
  }

  .footer-tech-logos {
    gap: 0.75rem;
  }

  .footer-tech-logo {
    height: 24px;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .final-cta-section {
    padding: 5rem 2rem;
  }

  .final-cta-title {
    font-size: 2.75rem;
  }

  .final-cta-subtitle {
    font-size: 1.125rem;
  }

  .final-cta-btn {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
  }
}

/* Desktop Large (>= 1200px) */
@media (min-width: 1200px) {
  .final-cta-title {
    font-size: 4rem;
  }

  .final-cta-subtitle {
    font-size: 1.375rem;
  }

  .showcase-grid {
    gap: 2.5rem;
  }

  .showcase-overlay {
    padding: 2.5rem 2rem 1.75rem;
  }

  .showcase-title {
    font-size: 1.375rem;
  }

  .showcase-description {
    font-size: 0.9375rem;
  }
}

/* ===================================
   SECTION 6: RESULTS & METRICS
   =================================== */

.metrics-section {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  padding: 6rem 0;
  position: relative;
}

.metrics-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Metrics Grid - 4 columns */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

/* Metric Card */
.metric-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.metric-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

/* Metric Icon */
.metric-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.metric-icon svg {
  width: 32px;
  height: 32px;
}

/* Metric Value - Big Number */
.metric-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: #6366f1;
  line-height: 1;
  margin-bottom: 1rem;
  font-family: 'Quicksand', sans-serif;
}

/* Metric Label */
.metric-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

/* Metric Description */
.metric-description {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* ===================================
   METRICS - RESPONSIVE
   =================================== */

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .metrics-section {
    padding: 3rem 0;
  }

  .metrics-container {
    padding: 0 1rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .metric-card {
    padding: 2rem 1.5rem;
  }

  .metric-icon {
    width: 56px;
    height: 56px;
  }

  .metric-icon svg {
    width: 28px;
    height: 28px;
  }

  .metric-value {
    font-size: 2.5rem;
  }

  .metric-label {
    font-size: 1rem;
  }

  .metric-description {
    font-size: 0.875rem;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .metrics-section {
    padding: 4rem 0;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .metric-card {
    padding: 2.5rem 2rem;
  }

  .metric-value {
    font-size: 3rem;
  }

  .metric-label {
    font-size: 1.0625rem;
  }
}

/* Desktop Large (>= 1200px) */
@media (min-width: 1200px) {
  .metrics-grid {
    gap: 2.5rem;
  }

  .metric-card {
    padding: 3.5rem 2.5rem;
  }

  .metric-value {
    font-size: 4rem;
  }
}

/* ===================================
   SECTION 7: HOW WE WORK (PROCESS)
   =================================== */

.process-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* Subtle pattern overlay */
.process-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.process-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Section Header Override for Dark Background */
.process-section .section-title {
  color: #ffffff;
}

.process-section .section-subtitle {
  color: #d1d5db;
}

/* Process Grid - 3 columns */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

/* Process Step */
.process-step {
  text-align: center;
  position: relative;
}

/* Process Number */
.process-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 1.5rem;
  font-family: 'Quicksand', sans-serif;
  letter-spacing: 0.05em;
}

/* Process Illustration */
.process-illustration {
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
  color: #60a5fa;
  transition: all 0.4s ease;
}

.process-step:hover .process-illustration {
  color: #93c5fd;
  transform: scale(1.05);
}

.process-illustration svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(96, 165, 250, 0.3));
}

/* Process Title */
.process-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Process Description */
.process-description {
  font-size: 1rem;
  color: #d1d5db;
  line-height: 1.7;
  margin: 0;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

/* Connecting Lines (optional decorative element) */
.process-step::after {
  content: '';
  position: absolute;
  top: 120px;
  right: -1.5rem;
  width: 3rem;
  height: 2px;
  background: linear-gradient(to right, rgba(96, 165, 250, 0.5), rgba(96, 165, 250, 0.1));
  display: none;
}

@media (min-width: 992px) {
  .process-step:not(:last-child)::after {
    display: block;
  }
}

/* CTA Wrapper */
.process-cta-wrapper {
  text-align: center;
  margin-top: 3rem;
}

.process-cta-btn {
  background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
  color: #1e3a8a;
  border: none;
  padding: 1.125rem 3rem;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.process-cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
  color: #1e3a8a;
}

/* ===================================
   PROCESS - RESPONSIVE
   =================================== */

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .process-section {
    padding: 3rem 0;
  }

  .process-container {
    padding: 0 1rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .process-illustration {
    width: 150px;
    height: 150px;
  }

  .process-number {
    font-size: 1.125rem;
  }

  .process-title {
    font-size: 1.25rem;
  }

  .process-description {
    font-size: 0.9375rem;
  }

  .process-cta-btn {
    width: 100%;
    font-size: 1rem;
    padding: 1rem 2rem;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .process-section {
    padding: 4rem 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process-illustration {
    width: 180px;
    height: 180px;
  }

  .process-title {
    font-size: 1.375rem;
  }

  .process-cta-btn {
    font-size: 1rem;
    padding: 1rem 2.5rem;
  }
}

/* Desktop Large (>= 1200px) */
@media (min-width: 1200px) {
  .process-grid {
    gap: 4rem;
  }

  .process-illustration {
    width: 220px;
    height: 220px;
  }

  .process-title {
    font-size: 1.625rem;
  }

  .process-description {
    max-width: 320px;
  }
}

/* ===================================
   NEW FOOTER (Section 8)
   =================================== */

.new-footer {
  background: #f8f9fa;
  padding: 4rem 0 2rem 0;
}

.new-footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Footer Content Grid */
.new-footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Column 1: Logo + Newsletter + Tech Stack */
.new-footer-col-main {
  max-width: 400px;
}

.new-footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
}

.new-footer-description {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

/* Newsletter Form */
.new-footer-newsletter {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.new-footer-input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #ffffff;
  transition: all 0.3s ease;
}

.new-footer-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.new-footer-submit-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  background: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.new-footer-submit-btn:hover {
  background: #2563eb;
}

.new-footer-privacy-text {
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.5;
  margin: 0 0 2rem 0;
}

/* Tech Stack */
.new-footer-tech-stack {
  margin-top: 2rem;
}

.new-footer-tech-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.new-footer-tech-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.new-footer-tech-logo {
  height: 24px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.new-footer-tech-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Columns 2-4: Links */
.new-footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 1rem 0;
}

.new-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.new-footer-link {
  font-size: 0.9375rem;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.3s ease;
}

.new-footer-link:hover {
  color: #6366f1;
}

/* Social Links with Icons */
.new-footer-social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.new-footer-social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.3s ease;
}

.new-footer-social-link:hover {
  color: #6366f1;
}

.new-footer-social-link:hover .new-footer-icon {
  fill: #6366f1;
}

.new-footer-icon {
  width: 20px;
  height: 20px;
  fill: #9ca3af;
  transition: fill 0.3s ease;
}

/* Footer Divider */
.new-footer-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 2rem 0;
}

/* Footer Bottom */
.new-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.new-footer-copyright {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.new-footer-legal {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.new-footer-legal-link {
  font-size: 0.875rem;
  color: #6b7280;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.new-footer-legal-link:hover {
  color: #6366f1;
}

/* ===================================
   NEW FOOTER - RESPONSIVE
   =================================== */

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .new-footer {
    padding: 3rem 0 2rem 0;
  }

  .new-footer-container {
    padding: 0 1rem;
  }

  .new-footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .new-footer-col-main {
    max-width: 100%;
  }

  .new-footer-newsletter {
    flex-direction: column;
  }

  .new-footer-submit-btn {
    width: 100%;
  }

  .new-footer-tech-logos {
    gap: 0.75rem;
  }

  .new-footer-tech-logo {
    height: 20px;
  }

  .new-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .new-footer-legal {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .new-footer-content {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
  }

  .new-footer-col:last-child {
    grid-column: 1 / -1;
  }
}

/* Desktop Large (>= 1200px) */
@media (min-width: 1200px) {
  .new-footer-content {
    gap: 4rem;
  }
}

/* ===================================
/* ===================================
   NUCLEAR OPTION - HIDE ALL WHITE BACKGROUNDS
   =================================== */

/* Kill Webflow's default backgrounds with extreme prejudice */
.footer1_form-block .w-form-done,
.footer1_form-block.w-form .w-form-done,
div.footer1_form-block.w-form .w-form-done,
.w-form .footer1_form-block .w-form-done {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.footer1_form-block .w-form-fail,
.footer1_form-block.w-form .w-form-fail,
div.footer1_form-block.w-form .w-form-fail,
.w-form .footer1_form-block .w-form-fail {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Wrappers - absolute transparency */
.footer1_form-block .form_message-success-wrapper,
.footer1_form-block .form_message-error-wrapper,
div.form_message-success-wrapper,
div.form_message-error-wrapper {
  display: block !important;
  padding: 0 !important;
  margin: 1rem 0 0 0 !important;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Inner message boxes - ONLY these have color */
.footer1_form-block .form_message-success,
div.form_message-success {
  display: block !important;
  background: rgba(16, 185, 129, 0.25) !important;
  background-color: rgba(16, 185, 129, 0.25) !important;
  color: #10b981 !important;
  border: 2px solid #10b981 !important;
  border-radius: 8px !important;
  padding: 1rem 1.25rem !important;
  margin: 0 !important;
  font-weight: 600 !important;
  text-align: center !important;
}

.footer1_form-block .form_message-success div,
.footer1_form-block .form_message-success * {
  background: none !important;
  background-color: transparent !important;
  color: #10b981 !important;
}

.footer1_form-block .form_message-error,
div.form_message-error {
  display: block !important;
  background: rgba(239, 68, 68, 0.25) !important;
  background-color: rgba(239, 68, 68, 0.25) !important;
  color: #ef4444 !important;
  border: 2px solid #ef4444 !important;
  border-radius: 8px !important;
  padding: 1rem 1.25rem !important;
  margin: 0 !important;
  font-weight: 600 !important;
  text-align: center !important;
}

.footer1_form-block .form_message-error div,
.footer1_form-block .form_message-error * {
  background: none !important;
  background-color: transparent !important;
  color: #ef4444 !important;
}

/* ============================================
   Solutions Cards - Image on Top, White Box Below
   ============================================ */

.section_layout372 {
  background-color: #eee;
}

.section_success-case {
  background-color: #eee;
}

.section_layout395 {
  background-color: #ffffff !important;
}

/* Results, Not Promises - light background */
.section_case-studies {
  background-color: #eee !important;
}

#case-studies.section_case-studies,
#case-studies.section_case-studies *,
.section_case-studies,
.section_case-studies * {
  color: #1e293b !important;
}

#case-studies .heading-style-h2,
#case-studies .heading-style-h4,
#case-studies .heading-style-h6,
#case-studies .text-size-medium,
#case-studies .text-size-regular,
#case-studies p,
#case-studies li,
#case-studies span,
#case-studies h2,
#case-studies h3,
#case-studies h4 {
  color: #1e293b !important;
}

.section_case-studies .case-study-tag {
  color: #ffffff !important;
}

.section_case-studies .metric-value,
#case-studies .metric-value,
#case-studies.section_case-studies .metric-value,
.section_case-studies .metrics-grid .metric .metric-value,
#case-studies span.metric-value,
.section_case-studies span.metric-value {
  color: #2f6fe4 !important;
}

.section_case-studies .metric-label {
  color: #64748b !important;
}

.section_case-studies .case-studies-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 2rem !important;
  align-items: stretch !important;
}

.section_case-studies .case-study-card {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.section_case-studies .case-study-card .case-study-results {
  margin-top: auto !important;
  padding-top: 1.5rem !important;
}

.section_case-studies .case-study-tag,
#case-studies .case-study-tag {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%) !important;
  color: #ffffff !important;
  padding: 0.5rem 1rem !important;
  border-radius: 50px !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  display: inline-block !important;
  width: fit-content !important;
  font-family: 'Montserrat', sans-serif !important;
}

.section_case-studies .metric {
  background-color: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
}

.section_case-studies .metric-value,
#case-studies .metric-value,
#case-studies.section_case-studies .metric-value,
.section_case-studies .metrics-grid .metric .metric-value,
#case-studies span.metric-value,
.section_case-studies span.metric-value {
  color: #2f6fe4 !important;
}

.section_case-studies .metric-label {
  color: #64748b !important;
}

/* Base card styling */
.layout372_card-small {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.layout372_card-small:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Image container */
.layout372_card-small-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.layout372_card-small-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* White content box */
.layout372_card-small-content {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-top: none !important;
  padding: 1.5rem !important;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

/* Text styling for white background */
.layout372_card-small-content h3 {
  color: #111827 !important;
  margin: 0;
  text-shadow: none !important;
}

.layout372_card-small-content p {
  color: #6b7280 !important;
  margin: 0;
  text-shadow: none !important;
}

/* Remove icon wrapper */
.layout372_card-small .layout372_item-icon-wrapper {
  display: none;
}

/* Button styling for white cards */
.layout372_card-small .button.is-link {
  color: #000000 !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  text-align: left !important;
  justify-content: flex-start !important;
}

.layout372_card-small .button.is-link:hover {
  color: #333333 !important;
  transform: translateX(4px);
}

.layout372_card-small .button.is-link svg path {
  stroke: #000000 !important;
}

/* ============================================
   What We Do Section - 3 Services
   ============================================ */

.section_what-we-do {
  background-color: #f9fafb;
}

.what-we-do_grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  grid-auto-columns: 1fr;
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
}

.what-we-do_card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.what-we-do_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.what-we-do_card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
}

.what-we-do_card-content h3 {
  margin: 0 0 0.75rem 0;
  color: #111827;
}

.what-we-do_card-content p {
  margin: 0;
  color: #6b7280;
  line-height: 1.6;
}

/* Responsive design */
@media screen and (max-width: 991px) {
  .what-we-do_grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media screen and (max-width: 767px) {
  .what-we-do_card {
    padding: 1.5rem;
  }
}

/* ============================================
   Lead Magnet Section
   ============================================ */

.section_lead-magnet {
  background-image: url('/images/bigquery-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.lead-magnet_component {
  max-width: 800px;
  margin: 0 auto;
}

.lead-magnet_content {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.lead-magnet_content h2,
.lead-magnet_content p {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lead-magnet_buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.lead-magnet_buttons .button {
  min-width: 200px;
  text-align: center;
}

.lead-magnet_buttons .button.is-primary {
  background-color: #2f6fe4;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lead-magnet_buttons .button.is-primary:hover {
  background-color: #1e5cd1;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.lead-magnet_buttons .button.is-secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.lead-magnet_buttons .button.is-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

/* Responsive design */
@media screen and (max-width: 767px) {
  .lead-magnet_content {
    padding: 2rem 1.5rem;
  }

  .lead-magnet_buttons {
    flex-direction: column;
    width: 100%;
  }

  .lead-magnet_buttons .button {
    width: 100%;
  }
}

/* ============================================
   Why RavencoreX Section
   ============================================ */

.section_why-ravencorex {
  background-color: #ffffff;
}

.why-ravencorex_content {
  max-width: 700px;
  margin: 0 auto;
}

.why-ravencorex_list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-ravencorex_item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #111827;
}

.why-ravencorex_icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #2f6fe4;
  margin-top: 0.125rem;
}

.why-ravencorex_cta {
  text-align: center;
  margin-top: 2.5rem;
}

.why-ravencorex_cta .button {
  min-width: 200px;
}

/* Responsive design */
@media screen and (max-width: 767px) {
  .why-ravencorex_item {
    font-size: 1rem;
  }
}

/* ============================================
   CTA29 Section - Glassmorphism
   ============================================ */

.cta29_glass-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  max-width: 1100px;
  margin: 0 auto;
}

.cta29_list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 1.25rem 2rem;
  text-align: left;
  width: 100%;
}

.cta29_list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  min-width: 200px;
}

.cta29_icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #ffffff;
  margin-top: 0.125rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.cta29_glass-container h2,
.cta29_glass-container .text-style-tagline {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive design */
@media screen and (max-width: 991px) {
  .cta29_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
  }
}

@media screen and (max-width: 767px) {
  .cta29_glass-container {
    padding: 2rem 1.5rem;
  }

  .cta29_list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cta29_list-item {
    font-size: 0.9375rem;
  }
}

/* ============================================
   Our Methodology Section - Ribbon Design
   ============================================ */

.section_methodology {
  background-color: #ffffff;
}

.methodology_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 0 auto;
}

.methodology_step-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.methodology_step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.methodology_step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.methodology_step-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2f6fe4;
  line-height: 1;
}

.methodology_step-week {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.methodology_step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.methodology_step-description {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* Responsive design */
@media screen and (max-width: 991px) {
  .methodology_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media screen and (max-width: 767px) {
  .methodology_grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .methodology_step-card {
    padding: 1.5rem;
  }
}

.methodology_ribbon-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Rocket line styles */
.methodology_ribbon {
  --h: 48px;          /* alto de cada tramo */
  --tip: 26px;        /* largo de la punta */
  --radius: 8px;      /* redondeo */
  --dot: 10px;        /* tamaño del punto */

  display: flex;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 2rem;
  height: var(--h);
  overflow: hidden;
  border-radius: var(--radius);
  gap: 0;
}

.seg {
  position: relative;
  flex: 1 1 0;
  height: 100%;
}

/* base rectangular */
.seg .body {
  position: absolute;
  inset: 0;
  background: var(--c);
}

/* punta a la derecha */
.seg::after {
  content: "";
  position: absolute;
  top: 0;
  right: calc(-1 * var(--tip));
  width: 0;
  height: 0;
  border-top: calc(var(--h) / 2) solid transparent;
  border-bottom: calc(var(--h) / 2) solid transparent;
  border-left: var(--tip) solid var(--c);
  z-index: 2;
}

/* recorte para que no se superponga la punta anterior */
.seg:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: calc(var(--h) / 2) solid transparent;
  border-bottom: calc(var(--h) / 2) solid transparent;
  border-left: var(--tip) solid white;
  transform: translateX(-1px);
  z-index: 3;
}

/* último sin punta */
.seg:last-child::after {
  display: none;
}

/* puntito central */
.dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--dot);
  height: var(--dot);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08) inset;
  z-index: 4;
}

/* redondear extremos */
.seg:first-child .body {
  border-radius: var(--radius) 0 0 var(--radius);
}

.seg:last-child .body {
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Labels */
.methodology_label {
  text-align: center;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.methodology_week {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.methodology_title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
}

/* Responsive design */
@media screen and (max-width: 991px) {
  .methodology_ribbon {
    flex-wrap: wrap;
    gap: 2rem;
    height: auto;
    overflow: visible;
    border-radius: 0;
  }

  .seg {
    flex: 0 0 calc(50% - 1rem);
  }

  .seg::after,
  .seg::before {
    display: none;
  }

  .seg .body {
    border-radius: var(--radius);
  }

  .methodology_label {
    margin-top: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .methodology_ribbon {
    flex-direction: column;
    align-items: stretch;
  }

  .seg {
    flex: none;
    height: 60px;
  }
}

/* ===================================
   REPOSITIONING - JANUARY 2026
   =================================== */

/* Hero Services List */
.hero-services-list {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  letter-spacing: 0.05em;
}

/* ===================================
   SERVICES GRID (5 CARDS)
   =================================== */

/* What We Fix Section - Light background matching site design */
.section_what-we-fix {
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF1F7 100%);
  position: relative;
}

.section_what-we-fix::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Section header text - dark colors for light background */
.section_what-we-fix .heading-style-h2 {
  color: #1e293b !important;
}

.section_what-we-fix .text-size-medium {
  color: #475569 !important;
}

.services-grid-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.services-grid-5 .service-card:nth-child(4),
.services-grid-5 .service-card:nth-child(5) {
  grid-column: span 1;
}

/* Center last row with 2 cards */
@media (min-width: 992px) {
  .services-grid-5 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
  }

  .services-grid-5 .service-card:nth-child(1),
  .services-grid-5 .service-card:nth-child(2),
  .services-grid-5 .service-card:nth-child(3) {
    grid-column: span 2;
  }

  .services-grid-5 .service-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .services-grid-5 .service-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

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

  .services-grid-5 .service-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

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

  .services-grid-5 .service-card:nth-child(5) {
    max-width: 100%;
  }
}

/* Service Card - White background with gray borders */
.section_what-we-fix .service-card,
.service-card {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.section_what-we-fix .service-card:hover,
.service-card:hover {
  border-color: #cbd5e1 !important;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.section_what-we-fix .service-card-icon,
.service-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--color-primary, #4d65ff) !important;
}

.service-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section_what-we-fix .service-card-content h3,
.section_what-we-fix .service-card .heading-style-h5,
.service-card-content h3 {
  margin-bottom: 0.75rem;
  color: #1e293b !important;
}

.section_what-we-fix .service-card-content p,
.section_what-we-fix .service-card .text-size-regular,
.service-card-content p {
  color: #475569 !important;
  margin-bottom: 1.5rem;
  flex: 1;
  line-height: 1.6;
}

.section_what-we-fix .service-card-link,
.service-card-link {
  color: var(--color-primary, #4d65ff) !important;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.section_what-we-fix .service-card-link:hover,
.service-card-link:hover {
  color: #3b4fd9 !important;
}

/* ===================================
   CASE STUDIES SECTION
   =================================== */

.section_case-studies {
  background: var(--mag-bg-secondary, #1a1f26);
}

/* Section header text colors */
.section_case-studies .heading-style-h2,
.section_case-studies h2 {
  color: #fff !important;
}

.section_case-studies .text-size-medium {
  color: rgba(255, 255, 255, 0.7) !important;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 991px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
}

/* Case Study Card */
.case-study-card {
  background: var(--mag-bg-primary, #0E1116);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.case-study-card h3,
.case-study-card h4,
.case-study-card p,
.case-study-card li {
  color: #fff !important;
}

.case-study-tag {
  display: inline-block;
  background: var(--color-primary, #4d65ff);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.case-study-card h3 {
  margin-bottom: 0.25rem;
  color: #fff !important;
}

.case-study-industry {
  color: var(--mag-text-secondary, #A0A0A0);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.case-study-challenge,
.case-study-solution,
.case-study-results {
  margin-bottom: 1.5rem;
}

.case-study-challenge h4,
.case-study-solution h4,
.case-study-results h4 {
  color: var(--mag-text-secondary, #A0A0A0) !important;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.case-study-challenge p,
.case-study-solution p {
  color: #fff !important;
}

.case-study-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-study-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--mag-text-primary, #fff);
}

.case-study-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-primary, #4d65ff);
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
}

.metric {
  text-align: center;
  padding: 1rem 0.5rem;
  background: rgba(77, 101, 255, 0.08);
  border-radius: 8px;
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary, #4d65ff);
  line-height: 1.2;
}

.metric-label {
  display: block;
  font-size: 0.75rem;
  color: var(--mag-text-secondary, #A0A0A0);
  margin-top: 0.25rem;
}

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

  .metric-value {
    font-size: 1.5rem;
  }
}

