/* ============================================
   INFODATA CONSULTING - Professional Light Theme
   White/Light dominant, with Navy, Blue, Cyan accents
   ============================================ */
:root {
  /* Light Theme Backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #f4f7fb;
  --bg-card: #ffffff;
  
  /* Surfaces & Borders */
  --surface: rgba(21, 101, 192, 0.05);
  --border: rgba(12, 35, 64, 0.1);
  --border-hover: rgba(21, 101, 192, 0.3);

  /* Brand Colors from Logo */
  --navy: #0c2340;
  --primary: #1565c0;
  --primary-light: #42a5f5;
  --secondary: #1976d2;
  --accent: #00bcd4;
  --accent-light: #4dd0e1;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1565c0, #0c2340);
  --gradient-secondary: linear-gradient(135deg, #00bcd4, #1565c0);
  --gradient-text: linear-gradient(135deg, #1565c0, #00bcd4);

  /* Text Colors */
  --text-primary: #0c2340;
  --text-secondary: #4a5d73;
  --text-muted: #738496;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  /* Geometry */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-full: 100rem;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-primary); background: var(--bg-primary);
  color: var(--text-primary); line-height: 1.65; overflow-x: hidden; font-size: 16px;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; color: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }
::selection { background: rgba(0,188,212,0.2); color: var(--navy); }

/* ── UTILITIES ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.btn-full { width: 100%; justify-content: center; }
.gradient-text { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; background: var(--gradient-secondary);
  z-index: 10000; width: 0%; box-shadow: 0 1px 4px rgba(0,188,212,0.3);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.2rem 0; transition: all var(--transition-base); background: transparent; }
.navbar.scrolled { padding: 0.8rem 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 2px solid var(--primary); box-shadow: 0 4px 20px rgba(12, 35, 64, 0.08); }
.nav-container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; gap: 0.6rem; font-family: var(--font-display); font-weight: 800; z-index: 1001; }
.nav-logo-image { display: block; flex-shrink: 0; width: 52px; height: 52px; object-fit: contain; }
.nav-logo-wordmark { display: flex; flex-direction: column; justify-content: center; gap: 0.15rem; line-height: 1; }
.logo-company-line { display: block; font-size: 1.12rem; line-height: 1; }
.navbar .logo-info { color: #0d1f3c; }
.navbar .logo-data { color: #1565c0; }
.navbar .logo-consulting { color: #0099cc; display: block; font-size: 0.68rem; font-weight: 700; line-height: 1; text-transform: uppercase; }
.logo-consulting { font-weight: 500; font-size: 0.85em; }

.nav-menu { display: flex; align-items: center; gap: 2.2rem; }
.nav-link { font-size: 0.9rem; font-weight: 600; color: var(--text-secondary); transition: color var(--transition-base); position: relative; }
.nav-link:not(.nav-cta)::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; background: var(--accent); border-radius: 1px; transition: width var(--transition-base); }
.nav-link:hover { color: var(--navy); }
.nav-link:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { background: var(--navy); color: #fff !important; padding: 0.6rem 1.5rem; border-radius: var(--radius-full); font-weight: 600; transition: all var(--transition-base); box-shadow: 0 4px 14px rgba(12,35,64,0.15); }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(12,35,64,0.25); background: var(--primary); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition-base); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================
   HERO & PARALLAX BACKGROUND
   ============================================ */
/* Aumentamos el alto para que el scroll inmersivo demore más */
.hero { position: relative; height: 120vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 15vh; overflow: hidden; background-color: #f8fafc; }
.hero-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; opacity: 1; }
.hero-gradient-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 25%; background: linear-gradient(to bottom, rgba(248, 250, 252, 0), #f4f7fb); z-index: 2; pointer-events: none; }

.hero-content-wrapper { position: sticky; top: 25vh; z-index: 10; width: 100%; }
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; will-change: transform, opacity; padding: 0 2rem; }

.hero-badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.5rem 1.4rem; background: rgba(255,255,255,0.8); border: 1px solid var(--border); border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700; color: var(--navy); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 2rem; box-shadow: 0 4px 15px rgba(0,0,0,0.02); animation: fadeInDown 0.7s ease both; backdrop-filter: blur(4px); }
.badge-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: dotPulseLight 2s ease-in-out infinite; }
@keyframes dotPulseLight { 0%, 100% { box-shadow: 0 0 0 0 rgba(0,188,212,0.4); } 50% { box-shadow: 0 0 0 6px rgba(0,188,212,0); } }
.hero-title { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem; color: var(--navy); animation: fadeInUp 0.7s ease 0.1s both; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 1rem; min-height: 2rem; animation: fadeInUp 0.7s ease 0.2s both; font-weight: 500; }
.typed-text { color: var(--primary); font-weight: 700; } .typed-cursor { color: var(--accent); animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hero-description { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.6; animation: fadeInUp 0.7s ease 0.3s both; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeInUp 0.7s ease 0.4s both; }

.btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 2rem; border-radius: var(--radius-full); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all var(--transition-slow); position: relative; overflow: hidden; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 25px rgba(12,35,64,0.15); }
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s ease; }
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(12,35,64,0.25); background: var(--primary); }
.btn-outline { border: 1px solid var(--border-hover); color: var(--navy); background: rgba(255,255,255,0.8); backdrop-filter: blur(4px); }
.btn-outline:hover { border-color: var(--primary); background: #fff; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(12,35,64,0.05); }
.btn-large { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-outline-light { border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-3px); }

/* ============================================
   CYBER DIVIDER (NEW TECH TRANSITION)
   ============================================ */
.cyber-divider {
  width: 100%; height: 1px; background: rgba(12,35,64,0.08); position: relative; overflow: hidden;
  z-index: 50;
}
.cyber-divider .beam {
  position: absolute; top: 0; left: -100px; width: 100px; height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: cyberScan 4s ease-in-out infinite;
}
@keyframes cyberScan {
  0% { left: -100px; } 50% { left: 100%; } 100% { left: 100%; }
}
.dark-theme .cyber-divider { background: rgba(255,255,255,0.1); }
.dark-theme .cyber-divider .beam { background: linear-gradient(90deg, transparent, var(--primary-light), transparent); }

/* ============================================
   SECTION COMMON
   ============================================ */
section { padding: 7rem 0; position: relative; z-index: 20; background: var(--bg-primary); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag { display: inline-block; padding: 0.4rem 1.2rem; background: rgba(0,188,212,0.1); border: 1px solid rgba(0,188,212,0.2); border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1.2rem; }
.section-tag.dark-tag { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: var(--accent); }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.6; }
.dark-theme .section-title { color: #fff; }
.dark-theme .section-subtitle { color: rgba(255,255,255,0.7); }

/* ============================================
   SERVICES (HORIZONTAL ACCORDION)
   ============================================ */
.services { background: var(--bg-secondary); }

.accordion-wrapper {
  max-width: 1550px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.services-accordion {
  display: flex;
  height: 550px;
  gap: 1.5rem;
  width: 100%;
}

.accordion-panel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  flex: 1;
  transition: flex 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(12,35,64,0.08);
}

/* Solo se expande cuando el cursor pasa sobre él */
.accordion-panel:hover,
.accordion-panel.is-active {
  flex: 4;
}

.accordion-panel:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.panel-bg {
  position: absolute;
  inset: 0;
}
.panel-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.accordion-panel:hover .panel-bg img,
.accordion-panel.is-active .panel-bg img {
  transform: scale(1.05);
}

.panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,35,64,0.95) 0%, rgba(12,35,64,0.4) 100%);
  transition: background 0.7s ease;
}
.accordion-panel:hover .panel-overlay,
.accordion-panel.is-active .panel-overlay {
  background: linear-gradient(to top, rgba(12,35,64,0.85) 0%, rgba(12,35,64,0.1) 100%);
}

.panel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  pointer-events: none;
}

.panel-icon {
  margin-bottom: 1rem;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
}

.panel-title {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: 0;
  overflow-wrap: anywhere;
  position: relative;
  white-space: normal;
}

/* Opcion 1: placa translucida compacta, reservada */
.panel-title--option-1 {
  align-self: flex-start;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(7, 25, 48, 0.84);
  border: 1px solid rgba(255,255,255,0.2);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(7, 25, 48, 0.32);
  font-size: 1.55rem;
  max-width: 100%;
  overflow: hidden;
  padding: 0.55rem 0.85rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  transition: margin 0.5s ease, font-size 0.45s ease, transform 0.35s ease,
              background 0.35s ease, box-shadow 0.35s ease;
}

.panel-title--option-1::after {
  background: var(--accent);
  bottom: 0;
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 2.5rem;
}

/* Opcion 2: banda editorial de ancho completo, activa */
.panel-title--option-2 {
  align-self: stretch;
  background: linear-gradient(110deg, rgba(7,25,48,0.98) 0%, rgba(12,35,64,0.94) 55%, rgba(21,101,192,0.88) 100%);
  background-position: 100% 0;
  background-size: 180% 100%;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  border-top: 2px solid var(--accent);
  box-shadow: 0 10px 26px rgba(7,25,48,0.38);
  font-size: 1.55rem;
  margin-left: -2.5rem;
  margin-right: -2.5rem;
  max-width: none;
  overflow: hidden;
  padding: 0.75rem 2.5rem 0.8rem 3rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
  transition: margin 0.5s ease, font-size 0.45s ease, background-position 0.6s ease,
              box-shadow 0.35s ease;
}

.panel-title--option-2::before {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0,188,212,0.65);
  content: '';
  height: 42%;
  left: 1.5rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: height 0.45s ease, box-shadow 0.45s ease;
  width: 4px;
}

.panel-details {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: translateY(20px);
  pointer-events: auto;
}

.accordion-panel:hover .panel-title--option-1,
.accordion-panel.is-active .panel-title--option-1 {
  background: rgba(7, 25, 48, 0.94);
  box-shadow: 0 12px 30px rgba(7, 25, 48, 0.46);
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1rem;
  transform: translateY(-2px);
}

.accordion-panel:hover .panel-title--option-1::after,
.accordion-panel.is-active .panel-title--option-1::after {
  width: 100%;
}

.accordion-panel:hover .panel-title--option-2,
.accordion-panel.is-active .panel-title--option-2 {
  background-position: 0 0;
  box-shadow: 0 14px 34px rgba(7,25,48,0.5);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.accordion-panel:hover .panel-title--option-2::before,
.accordion-panel.is-active .panel-title--option-2::before {
  box-shadow: 0 0 18px rgba(0,188,212,0.9);
  height: 68%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel-title--option-1,
  .panel-title--option-1::after,
  .panel-title--option-2,
  .panel-title--option-2::before {
    transition: none;
  }
}

@media (hover: none) {
  .impact-card:hover,
  .pricing-card:hover,
  .pricing-card.reveal.active:hover,
  .process-step:hover .process-image,
  .process-step:hover .process-image img,
  .floating-whatsapp:hover {
    transform: none;
  }
}

.accordion-panel:hover .panel-details,
.accordion-panel.is-active .panel-details {
  opacity: 1;
  max-height: 350px;
  visibility: visible;
  transform: translateY(0);
}

.panel-details p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  white-space: normal;
}

.panel-details ul {
  margin-bottom: 2rem;
  white-space: normal;
}
.panel-details li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.panel-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ============================================
   IMPACT STATS / WHY CHOOSE US
   ============================================ */
.impact { 
  background: var(--bg-primary); 
  padding: 6rem 0; 
  position: relative;
}

/* Dark mode for impact section */
.impact.dark-section {
  background: var(--navy);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.impact-card { 
  padding: 3rem 2.5rem; 
  border-radius: var(--radius-xl); 
  position: relative; 
  overflow: hidden; 
  z-index: 1; 
  transition: all 0.5s ease;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

/* ============================================
   HIGH IMPACT ANIMATION: COLOR INVERSION
   ============================================ */
.impact-card {
  position: relative;
  /* Smoothly transition everything including nested colors */
}
.impact-card h3, .impact-card p, .impact-number, .prefix, .suffix, .impact-icon, .impact-icon svg {
  transition: all 0.5s ease;
}

.impact-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--gradient-secondary);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.impact-card:hover {
  transform: translateY(-8px);
  background: var(--navy);
  border-color: transparent;
  box-shadow: 0 15px 40px rgba(0, 188, 212, 0.2), 0 0 20px rgba(0, 188, 212, 0.05);
}

.impact-card:hover::before {
  opacity: 1;
}

/* Invert all text and colors inside the card on hover */
.impact-card:hover h3 { 
  color: #ffffff; 
}
.impact-card:hover p { 
  color: #ffffff; 
  font-weight: 400;
  opacity: 0.95;
}

.impact-card:hover .impact-number {
  background: transparent;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}
.impact-card:hover .prefix, .impact-card:hover .suffix {
  color: #ffffff;
}

.impact-card:hover .impact-icon {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05);
}
.impact-card:hover .impact-icon svg {
  stroke: #fff;
}

.impact-icon { 
  width: 60px; 
  height: 60px; 
  border-radius: 50%; 
  background: rgba(0, 188, 212, 0.1); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin: 0 auto 1.5rem auto; 
  box-shadow: inset 0 0 15px rgba(0,188,212,0.05);
}
.impact-icon svg { stroke: var(--accent); }

.impact-number-wrapper {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin-bottom: 1rem;
}

.impact-number { 
  font-family: var(--font-display); 
  font-size: 3.5rem; 
  font-weight: 900; 
  background: var(--gradient-secondary);
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
  line-height: 1;
}

/* Make prefix and suffix smaller so the animated number pops more */
.impact-number-wrapper .prefix, .impact-number-wrapper .suffix {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 2px;
}
.hero-subtitle { 
  font-size: 1.25rem; 
  color: var(--text-secondary); 
  margin-bottom: 2.5rem; 
  max-width: 600px; 
  line-height: 1.6; 
  font-weight: 500;
  text-shadow: 0 4px 15px rgba(255,255,255,0.9), 0 0 5px rgba(255,255,255,0.8);
}
.hero-cta { display: flex; gap: 1rem; }

/* ============================================
   PRICING (DARK THEME CONTRAST)
   ============================================ */
.pricing { background: var(--navy); color: #fff; position: relative; padding: 6rem 0; }
.pricing::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0, 188, 212, 0.2), transparent); }
.pricing .section-title { color: #fff; }

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

.plan { 
  background: rgba(12, 35, 64, 0.4); 
  border: 1px solid rgba(255, 255, 255, 0.05); 
  border-radius: var(--radius-xl); 
  padding: 3rem 2.5rem; 
  position: relative; 
  display: flex; 
  flex-direction: column; 
  backdrop-filter: blur(10px);
  transition: all 0.5s ease;
}
.plan:hover { 
  transform: translateY(-8px); 
  border-color: rgba(0, 188, 212, 0.3); 
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 188, 212, 0.1); 
}

.plan.featured { 
  background: linear-gradient(180deg, rgba(12, 35, 64, 0.8) 0%, rgba(0, 188, 212, 0.05) 100%); 
  border-color: rgba(0, 188, 212, 0.3); 
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 188, 212, 0.1);
  transform: scale(1.02);
}
.plan.featured:hover { 
  transform: scale(1.02) translateY(-8px); 
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 188, 212, 0.2); 
}

.featured-badge { 
  position: absolute; 
  top: 0; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  background: var(--gradient-primary); 
  color: #fff; 
  font-size: 0.85rem; 
  font-weight: 700; 
  padding: 0.4rem 1.2rem; 
  border-radius: 20px; 
  letter-spacing: 0.05em; 
  text-transform: uppercase; 
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.plan-tier { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em;}
.plan-tier-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.plan h3 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.plan-desc { color: rgba(255,255,255,0.6); font-size: 0.95rem; line-height: 1.6; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.05); }

.plan-price { margin-bottom: 2rem; }
.plan-from { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.5); font-weight: 500; margin-bottom: 0.5rem; }
.price-amount { display: flex; align-items: flex-start; gap: 0.25rem; line-height: 1; margin-bottom: 0.5rem; }
.plan-currency { font-size: 1.5rem; font-weight: 700; color: var(--accent); margin-top: 0.5rem; }
.plan-num { font-size: 4rem; font-weight: 900; color: #fff; letter-spacing: -0.03em; }
.plan-period { font-size: 0.9rem; color: rgba(255,255,255,0.5); font-weight: 500; }

.plan-features { list-style: none; padding: 0; margin: 0 0 2.5rem 0; flex-grow: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.feat-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.plan-feat { font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.5; }
.plan-features li.disabled { opacity: 0.4; }
.plan-features li.disabled .feat-icon { color: rgba(255,255,255,0.3); }

/* Impactful Hover state for Pricing Buttons */
.plan .btn-outline-dark, .plan .btn-dark {
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.plan .btn-outline-dark {
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.plan .btn-outline-dark:hover {
  background: rgba(0, 188, 212, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.2);
  transform: translateY(-3px);
}

.plan .btn-dark {
  background: var(--gradient-primary);
  border: none;
  color: #fff;
}
.plan .btn-dark:hover {
  box-shadow: 0 10px 25px rgba(0, 188, 212, 0.4);
  transform: translateY(-3px);
}
.plan .btn-dark::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}
.plan .btn-dark:hover::before {
  left: 150%;
}

.pricing-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl); padding: 3rem 2rem;
  transition: all var(--transition-slow); position: relative;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2); backdrop-filter: blur(10px);
  transform: scale(1) translateY(0); /* Start static */
}
/* Unified dynamic hover */
.pricing-card.reveal.active:hover, 
.pricing-card:hover {
  transform: scale(1.05) translateY(-10px); /* Scale up and move up dynamically */
  box-shadow: 0 25px 50px rgba(0,0,0,0.4); 
  border-color: var(--accent);
  background: rgba(0,188,212,0.05);
}
.pricing-header h3 { font-family: var(--font-display); font-size: 1.4rem; color: #fff; margin-bottom: 0.5rem; }
.pricing-header p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.5; min-height: 45px; }
.pricing-price { margin: 2rem 0; display: flex; align-items: baseline; justify-content: center; color: #fff; }
.pricing-price .price-from { color: rgba(255,255,255,0.7); font-size: 1rem; font-weight: 600; margin-right: 0.45rem; }
.pricing-price .currency { font-size: 1.5rem; font-weight: 700; color: var(--accent); margin-left: 0.08rem; }
.pricing-price .amount { font-family: var(--font-display); font-size: 3.5rem; font-weight: 800; line-height: 1; }

.pricing-body ul { margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.pricing-body li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.pricing-body li::before { content: '✓'; color: var(--accent); font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.pricing-body li.disabled { color: rgba(255,255,255,0.3); text-decoration: line-through; }
.pricing-body li.disabled::before { content: '×'; color: rgba(255,255,255,0.3); }
.pricing-footer { text-align: center; margin-top: auto; }

/* ============================================
   CTA / CONTACT
   ============================================ */
.cta-section { background: var(--bg-secondary); position: relative; overflow: hidden; padding: 6rem 0; }
.cta-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; }
.cta-info { padding-right: 2rem; }
.cta-title { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; color: var(--navy); }
.cta-subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 2.5rem; line-height: 1.7; }
.cta-contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; color: var(--text-secondary); font-size: 1rem; font-weight: 500; }
.contact-item svg { color: var(--primary); flex-shrink: 0; padding: 10px; background: #fff; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.05); width: 42px; height: 42px;}
.contact-item a:hover { color: var(--navy); }
.cta-form-wrapper { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 3rem; box-shadow: 0 15px 40px rgba(12,35,64,0.06); }
.cta-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--navy); }

/* Added borders to inputs */
.cta-form input, .cta-form select, .cta-form textarea { 
  width: 100%; padding: 0.85rem 1.2rem; background: var(--bg-primary); 
  border: 1px solid rgba(12, 35, 64, 0.15); /* Minimal visible border */
  border-radius: var(--radius-md); color: var(--text-primary); font-size: 0.95rem; transition: all var(--transition-base); 
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: var(--text-muted); }
.cta-form select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5d73' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.2rem center; }
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(21,101,192,0.1); }
.cta-form textarea { resize: vertical; min-height: 120px; }
.cta-form .btn { width: 100%; justify-content: center; margin-top: 1rem; padding: 1.1rem; font-size: 1.05rem;}
.form-success { display: none; text-align: center; padding: 4rem 1rem; }
.form-success.show { display: flex; flex-direction: column; align-items: center; gap: 1rem; animation: fadeInUp 0.5s ease; }
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--navy);}
.form-success p { color: var(--text-secondary); font-size: 1rem; }

/* ============================================
   CLEAN FOOTER
   ============================================ */
.footer { background: var(--navy); color: #fff; position: relative; padding: 4rem 0 1rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer .nav-logo-wordmark { align-items: flex-start; }
.footer .logo-info { color: #ffffff; }
.footer .logo-data { color: #63b3ed; }
.footer .logo-consulting { color: #90cdf4; display: block; font-size: 0.68rem; font-weight: 700; line-height: 1; text-transform: uppercase; }
.footer-brand p { color: #94a8be; font-size: 0.95rem; line-height: 1.8; margin-top: 1rem; max-width: 300px; }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1rem; }
.social-link { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 0; padding: 0; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; color: #fff; transition: all var(--transition-base); }
.social-link svg { display: block; flex-shrink: 0; width: 20px; height: 20px; }
.social-link:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 10px 20px rgba(21,101,192,0.3); }
.footer-links h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; margin-bottom: 1.5rem; color: #fff; letter-spacing: 0.05em;}
.footer-links > a { display: block; color: #cfd8dc; font-size: 0.9rem; line-height: 2.2; transition: color var(--transition-base); }
.footer-links > a:hover { color: var(--accent); padding-left: 5px; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #738496; }
.footer-bottom-links span { color: var(--accent); font-weight: 600; }

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.pricing-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.pricing-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.3s; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================
   PROCESS / TIMELINE (ZIGZAG)
   ============================================ */
.process { background: var(--bg-primary); } /* Changed to primary to contrast with pricing and cta */

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  padding: 2rem 0;
}

/* The fixed background line */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
  z-index: 1;
}

/* The animated progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  background: var(--gradient-secondary);
  transform: translateX(-50%);
  z-index: 2;
  height: 0%; /* Will be controlled by JS */
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.6);
  transition: height 0.1s ease-out;
}

.process-step {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

/* Alternate text alignment for zigzag */
.process-content {
  text-align: right;
  padding-right: 2rem;
}
.process-step--reverse .process-content {
  text-align: left;
  padding-left: 2rem;
  padding-right: 0;
}

/* Reorder grid columns for the reversed rows */
.process-step--reverse .process-content { order: 3; }
.process-step--reverse .process-center { order: 2; }
.process-step--reverse .process-image { order: 1; }

.process-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.2);
  transition: all 0.4s ease;
  position: relative;
  z-index: 10;
}

/* Hover effect for the step */
.process-step:hover .process-number {
  background: var(--gradient-secondary);
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 0 25px rgba(0, 188, 212, 0.5);
  border-color: transparent;
}

.process-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.process-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.process-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(12,35,64,0.06);
  border: 1px solid var(--border);
  transition: all var(--transition-slow);
}
.process-step:hover .process-image {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(12,35,64,0.12);
  border-color: var(--primary-light);
}
.process-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.process-step:hover .process-image img {
  transform: scale(1.08);
}

/* Stagger reveal for process steps */
.process-step.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.process-step.reveal.active { opacity: 1; transform: translateY(0); }

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.floating-whatsapp {
  position: fixed; bottom: 30px; right: 30px;
  width: 60px; height: 60px; background-color: #25d366; color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 9999;
  transition: all var(--transition-base);
}
.floating-whatsapp svg { width: 35px; height: 35px; }
.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  background-color: #20b858;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  section { padding: 5.5rem 0; }
  .section-header { margin-bottom: 3rem; }
  .impact-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; gap: 2.5rem; max-width: 500px; margin: 0 auto; }
  .cta-layout { grid-template-columns: 1fr; gap: 3rem; }
  .cta-info { padding-right: 0; text-align: center; }
  .cta-contact-details { align-items: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  
  .process-timeline::before, .timeline-progress { display: none; }
  .process-step, .process-step--reverse { 
    grid-template-columns: 1fr; 
    gap: 1.5rem; 
    padding: 1rem 0 3rem;
  }
  .process-step--reverse .process-content { order: 1; text-align: center; padding: 0; }
  .process-step--reverse .process-center { order: 2; }
  .process-step--reverse .process-image { order: 3; }
  .process-content { text-align: center; padding: 0; }
  .process-center { justify-content: flex-start; margin-bottom: -3rem; position: relative; z-index: 10; padding-left: 2rem;}
  .process-number { box-shadow: 0 10px 20px rgba(0,0,0,0.15); background: var(--gradient-secondary); color: #fff;}
}

@media (max-width: 900px) {
  html.menu-open,
  body.menu-open { overflow: hidden; }

  body.menu-open .navbar.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: none;
  }

  .nav-logo,
  .nav-toggle { position: relative; z-index: 1002; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 1000;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
    padding: clamp(7rem, 18vh, 9rem) 1.5rem max(2rem, env(safe-area-inset-bottom));
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.35rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity var(--transition-base), transform var(--transition-base), visibility 0s linear var(--transition-base);
  }
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
  body:not(.menu-open) .nav-menu { transition: none; }
  .nav-link { width: fit-content; font-size: 1.25rem; color: var(--navy); text-align: center; }
  .nav-cta { margin-top: 0.35rem; }

  .accordion-wrapper { padding: 0 2rem; }
  .services-accordion { flex-direction: column; height: auto; width: 100%; }
  .accordion-panel { flex: none; min-height: 160px; transition: min-height 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .accordion-panel:hover,
  .accordion-panel.is-active { flex: none; min-height: 520px; }
  .panel-content { padding: 1.5rem; }
  .panel-title--option-2 { margin-left: -1.5rem; margin-right: -1.5rem; padding-left: 2.25rem; padding-right: 1.5rem; }
  .panel-title--option-2::before { left: 1rem; }
}

@media (max-width: 768px) {
  section { padding: 4.5rem 0; }
  .section-header { margin-bottom: 2.75rem; }
  .nav-container { padding: 0 1.5rem; }
  .nav-logo-image { width: 46px; height: 46px; }
  .logo-company-line { font-size: 1rem; }
  .navbar .logo-consulting { font-size: 0.62rem; }

  .hero { height: auto; min-height: 100vh; min-height: 100svh; padding: 9rem 0 5rem; }
  .hero-content-wrapper { position: relative; top: 0; }
  .hero-title { font-size: 2.6rem; }

  .form-row { grid-template-columns: 1fr; }
  .contact-item { max-width: 100%; }
  .contact-item a { overflow-wrap: anywhere; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-brand .nav-logo { justify-content: center; }
  .footer-brand p { margin: 1rem auto; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
  .process-image img { height: 240px; }
}

@media (max-width: 480px) {
  .container, .nav-container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .accordion-wrapper { padding: 0 1.25rem; }
  .hero-content { padding: 0 1.25rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-description { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .accordion-panel { min-height: 190px; }
  .accordion-panel:hover,
  .accordion-panel.is-active { min-height: 620px; }
  .service-visual { height: 180px; }
  .impact-card, .pricing-card { padding: 2rem 1.5rem; }
  .cta-form-wrapper { padding: 1.75rem 1.25rem; }
  .process-image img { height: 210px; }
  .floating-whatsapp { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .floating-whatsapp svg { width: 29px; height: 29px; }
}
