/* ==========================================================================
   INÚBIKA SAC - CORPORATE B2B DESIGN SYSTEM
   Styles inspired by McKinsey & Company (Analytical & Editorial) 
   and Colliers International (Strategic Corporate Real Estate & Assets)
   Mobile-First Refined Responsiveness & Dynamic Social Badges
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Aligned with Official INÚBIKA Logo Gradient */
  --color-navy-dark: #050E1D;
  --color-navy-main: #07172E;
  --color-navy-card: #0E203B;
  --color-navy-light: #142847;
  
  --color-slate-dark: #1E293B;
  --color-slate-main: #334155;
  --color-slate-medium: #475569;
  --color-slate-light: #64748B;
  --color-slate-ultra-light: #94A3B8;

  --color-bg-light: #F8FAFC;
  --color-bg-subtle: #F1F5F9;
  --color-white: #FFFFFF;

  /* Logo Colors & Gradients */
  --color-logo-blue-light: #0683FB;
  --color-logo-blue-mid: #0970E8;
  --color-logo-blue-dark: #113DB6;
  --gradient-logo-btn: linear-gradient(135deg, #0683FB 0%, #0970E8 55%, #113DB6 100%);
  --gradient-logo-btn-hover: linear-gradient(135deg, #0970E8 0%, #113DB6 100%);

  --color-accent-cyan: #00F2FE;
  --color-accent-sky: #0683FB;
  --color-accent-blue: #0683FB;
  --color-accent-emerald: #10B981;
  --color-accent-gold: #D97706;

  --color-text-title: #0F172A;
  --color-text-body: #334155;
  --color-text-muted: #64748B;

  /* Typography */
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Shadows & Elevate */
  --shadow-sm: 0 2px 4px rgba(5, 14, 29, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(5, 14, 29, 0.08), 0 8px 10px -6px rgba(5, 14, 29, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(5, 14, 29, 0.12), 0 10px 20px -5px rgba(5, 14, 29, 0.06);
  --shadow-glow: 0 0 25px rgba(6, 131, 251, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-light);
  color: var(--color-text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 6rem 0;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(6, 131, 251, 0.08);
  border: 1px solid rgba(6, 131, 251, 0.25);
  border-radius: 9999px;
  color: var(--color-logo-blue-light);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.badge-tag.dark {
  background: rgba(6, 131, 251, 0.15);
  border-color: rgba(6, 131, 251, 0.4);
  color: #38BDF8;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-title);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.section-title.light {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 720px;
  line-height: 1.7;
}

.section-subtitle.light {
  color: var(--color-slate-ultra-light);
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient-logo-btn);
  color: var(--color-white);
  box-shadow: 0 4px 18px rgba(6, 131, 251, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: var(--gradient-logo-btn-hover);
  box-shadow: 0 8px 25px rgba(6, 131, 251, 0.55);
  transform: translateY(-2px);
}

.btn-secondary-ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-secondary-ghost:hover {
  background: rgba(6, 131, 251, 0.12);
  border-color: var(--color-logo-blue-light);
  color: #38BDF8;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--color-navy-main);
  color: var(--color-white);
  border: 1px solid var(--color-navy-light);
}

.btn-dark:hover {
  background: var(--color-navy-dark);
  border-color: var(--color-logo-blue-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER / NAVBAR & ENLARGED OFFICIAL BRAND LOGO
   ========================================================================== */
.header-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 14, 29, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 72px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(6, 131, 251, 0.25));
  transition: var(--transition-fast);
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  color: var(--color-slate-ultra-light);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-logo-blue-light);
  transition: var(--transition-smooth);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Dynamic Social Badges */
.social-links-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.social-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  background: rgba(6, 131, 251, 0.1);
  border: 1px solid rgba(6, 131, 251, 0.25);
  border-radius: 6px;
  color: #38BDF8;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.social-badge:hover {
  background: var(--gradient-logo-btn);
  color: var(--color-white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 131, 251, 0.3);
}

.social-badge.whatsapp {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10B981;
}

.social-badge.whatsapp:hover {
  background: #10B981;
  color: var(--color-white);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 165px;
  padding-bottom: 100px;
  background: var(--color-navy-dark);
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(6, 131, 251, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(9, 112, 232, 0.1) 0%, transparent 45%),
    linear-gradient(to bottom, var(--color-navy-dark), #07162C);
  overflow: hidden;
  color: var(--color-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content H1 {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.hero-content H1 span {
  background: linear-gradient(135deg, #FFFFFF 30%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1875rem;
  color: var(--color-slate-ultra-light);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-item .metric-val {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: #38BDF8;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric-item .metric-label {
  font-size: 0.8125rem;
  color: var(--color-slate-ultra-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-card-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(6, 131, 251, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-card-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.05);
}

.hero-overlay-badge {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  right: 1.75rem;
  background: rgba(7, 23, 46, 0.9);
  backdrop-filter: blur(12px);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(6, 131, 251, 0.35);
}

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

.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--color-logo-blue-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-logo-blue-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 131, 251, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(6, 131, 251, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 131, 251, 0); }
}

.badge-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-white);
}

.badge-text {
  font-size: 0.8125rem;
  color: var(--color-slate-ultra-light);
}

/* ==========================================================================
   DESAFÍO Y PROPÓSITO
   ========================================================================== */
.purpose-section {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-bg-subtle);
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.editorial-block {
  padding-right: 1rem;
}

.editorial-lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-navy-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--color-logo-blue-light);
  padding-left: 1.25rem;
}

.editorial-text {
  font-size: 1.05rem;
  color: var(--color-slate-main);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.quote-box {
  background: var(--color-bg-light);
  border-radius: 8px;
  padding: 1.75rem;
  border: 1px solid var(--color-bg-subtle);
  margin-top: 2rem;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-navy-main);
  margin-bottom: 0.75rem;
}

.quote-author {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-logo-blue-light);
}

.purpose-card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comparison-card {
  background: var(--color-bg-light);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 2rem;
  transition: var(--transition-smooth);
}

.comparison-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-logo-blue-light);
}

.comparison-card.highlight {
  background: linear-gradient(145deg, var(--color-navy-main) 0%, #0B2142 100%);
  color: var(--color-white);
  border: 1px solid rgba(6, 131, 251, 0.3);
  box-shadow: 0 10px 30px -5px rgba(5, 14, 29, 0.25);
}

.comp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.comp-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.comp-tag.sub {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

.comp-tag.opt {
  background: rgba(6, 131, 251, 0.18);
  color: #38BDF8;
}

.comp-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.comp-desc {
  font-size: 0.9375rem;
  color: var(--color-slate-medium);
}

.comparison-card.highlight .comp-desc {
  color: var(--color-slate-ultra-light);
  margin-bottom: 1.25rem;
}

.comp-bullets {
  list-style: none;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.comp-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #E2E8F0;
}

.comp-bullets li svg {
  flex-shrink: 0;
}

/* ==========================================================================
   DIFERENCIADORES CLAVE (4 PILLARES GRID)
   ========================================================================== */
.differentiators-section {
  background-color: var(--color-bg-light);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.diff-card {
  background: var(--color-white);
  border-radius: 10px;
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--color-bg-subtle);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.diff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-logo-btn);
  border-radius: 10px 10px 0 0;
  opacity: 0;
  transition: var(--transition-fast);
}

.diff-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

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

.diff-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(6, 131, 251, 0.18);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.diff-card:hover .diff-num {
  color: var(--color-logo-blue-light);
}

.diff-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy-main);
  margin-bottom: 0.85rem;
}

.diff-desc {
  font-size: 0.9375rem;
  color: var(--color-slate-medium);
  line-height: 1.65;
}

/* ==========================================================================
   LÍNEAS DE SERVICIO (TABS INTERACTIVAS COLLIERS STYLE)
   ========================================================================== */
.services-section {
  background-color: var(--color-navy-dark);
  color: var(--color-white);
}

.services-tabs-header {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  margin-bottom: 3.5rem;
}

.tab-btn {
  background: var(--color-navy-main);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-slate-ultra-light);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.tab-btn:hover {
  background: var(--color-navy-card);
  color: var(--color-white);
  border-color: rgba(6, 131, 251, 0.35);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--color-navy-card), #142847);
  color: var(--color-white);
  border-color: var(--color-logo-blue-light);
  box-shadow: var(--shadow-glow);
}

.tab-btn .tab-badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(6, 131, 251, 0.2);
  color: #38BDF8;
}

.tab-content-container {
  position: relative;
  min-height: 440px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tab-pane.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-pane-info .service-pane-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.service-pane-info .service-pane-desc {
  font-size: 1.0625rem;
  color: var(--color-slate-ultra-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.service-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-fast);
}

.check-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(6, 131, 251, 0.3);
  transform: translateX(4px);
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(6, 131, 251, 0.2);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-text {
  font-size: 0.96875rem;
  color: var(--color-white);
  font-weight: 500;
}

/* Strategic Banner / Infographic */
.strategic-banner {
  margin-top: 4.5rem;
  background: linear-gradient(135deg, rgba(6, 131, 251, 0.18), rgba(9, 112, 232, 0.1));
  border: 1px solid rgba(6, 131, 251, 0.35);
  border-radius: 12px;
  padding: 2.25rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.banner-quote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.5;
}

.banner-quote span.highlight-what {
  color: #38BDF8;
  font-weight: 700;
}

.banner-quote span.highlight-how {
  color: var(--color-accent-emerald);
  font-weight: 700;
}

/* ==========================================================================
   NUESTRO PROCESO (6-STEP TIMELINE STEPPER)
   ========================================================================== */
.process-section {
  background-color: var(--color-white);
}

.stepper-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-top: 3.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.stepper-nav::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--color-bg-subtle);
  z-index: 1;
}

.step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-align: center;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-slate-light);
  color: var(--color-slate-medium);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  margin-bottom: 0.75rem;
  box-shadow: 0 0 0 4px var(--color-white);
}

.step-node:hover .step-circle {
  border-color: var(--color-logo-blue-light);
  color: var(--color-logo-blue-light);
}

.step-node.active .step-circle {
  background: var(--gradient-logo-btn);
  border-color: var(--color-logo-blue-light);
  color: var(--color-white);
  box-shadow: 0 0 0 4px var(--color-white), 0 0 16px rgba(6, 131, 251, 0.4);
}

.step-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-slate-medium);
  transition: var(--transition-fast);
  line-height: 1.3;
}

.step-node.active .step-label {
  color: var(--color-navy-main);
}

.process-detail-card {
  background: var(--color-bg-light);
  border-radius: 12px;
  border: 1px solid var(--color-bg-subtle);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.detail-stage-num {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-logo-blue-light);
  margin-bottom: 0.5rem;
}

.detail-stage-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-navy-main);
  margin-bottom: 1rem;
}

.detail-stage-desc {
  font-size: 1.05rem;
  color: var(--color-slate-medium);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.deliverable-box {
  background: var(--color-white);
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid var(--color-accent-emerald);
  box-shadow: var(--shadow-sm);
}

.deliverable-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-slate-light);
  margin-bottom: 0.35rem;
}

.deliverable-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy-main);
}

/* ==========================================================================
   PERFIL DE CLIENTES & EVALUADOR DE PORTAFOLIO
   ========================================================================== */
.clients-section {
  background-color: var(--color-bg-light);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
  margin-bottom: 4rem;
}

.client-asset-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid var(--color-bg-subtle);
  transition: var(--transition-smooth);
}

.client-asset-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-logo-blue-light);
  box-shadow: var(--shadow-md);
}

.asset-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem auto;
  background: var(--color-bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-logo-blue-light);
}

.asset-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy-main);
}

/* Assessment Interactive Tool */
.evaluator-box {
  background: linear-gradient(135deg, var(--color-navy-main), var(--color-navy-dark));
  border-radius: 16px;
  padding: 3.5rem 3rem;
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.evaluator-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.evaluator-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 1.25rem;
  align-items: end;
}

.eval-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-slate-ultra-light);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.eval-field select, .eval-field input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  outline: none;
  transition: var(--transition-fast);
}

.eval-field select option {
  background: var(--color-navy-main);
  color: var(--color-white);
}

.eval-field select:focus, .eval-field input:focus {
  border-color: var(--color-logo-blue-light);
  box-shadow: 0 0 10px rgba(6, 131, 251, 0.35);
}

.eval-result-card {
  display: none;
  margin-top: 2rem;
  background: rgba(6, 131, 251, 0.12);
  border: 1px solid rgba(6, 131, 251, 0.35);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  animation: fadeIn 0.4s ease;
}

.eval-result-card.show {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.result-text-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #38BDF8;
  margin-bottom: 0.25rem;
}

.result-text-desc {
  font-size: 0.9375rem;
  color: var(--color-slate-ultra-light);
}

/* ==========================================================================
   FOOTER Y FORMULARIO B2B
   ========================================================================== */
.contact-section {
  background-color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: stretch;
}

.contact-card-info {
  background: var(--color-bg-light);
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card-info .info-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #E2E8F0;
}

.contact-card-info .info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-link {
  color: var(--color-logo-blue-light);
  transition: var(--transition-fast);
}

.contact-link:hover {
  color: var(--color-logo-blue-dark);
  text-decoration: underline;
}

.info-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--color-white);
  border: 1px solid #E2E8F0;
  color: var(--color-logo-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.info-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-slate-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.info-val {
  font-size: 1.025rem;
  font-weight: 600;
  color: var(--color-navy-main);
}

.b2b-form-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2.75rem 2.5rem;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-navy-main);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.9375rem;
  color: var(--color-slate-medium);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group.full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-slate-medium);
  margin-bottom: 0.4rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  color: var(--color-text-title);
  background: var(--color-bg-light);
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--color-logo-blue-light);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(6, 131, 251, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer Bottom */
.footer-corporate {
  background-color: var(--color-navy-dark);
  color: var(--color-slate-ultra-light);
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-slate-ultra-light);
  max-width: 400px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--color-slate-ultra-light);
  font-size: 0.9375rem;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: #38BDF8;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84375rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #38BDF8;
  font-weight: 600;
}

/* Modal Popup */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 14, 29, 0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.show {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: var(--color-white);
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-slate-medium);
  cursor: pointer;
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-navy-main);
  color: var(--color-white);
  padding: 1.25rem 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-logo-blue-light);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE FIRST REFINED)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .purpose-grid, .tab-pane.active, .process-detail-card, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .evaluator-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stepper-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .stepper-nav::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 75px;
  }
  .brand-logo-img {
    height: 48px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: rgba(5, 14, 29, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  .hero-content H1 {
    font-size: 2.15rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
  }
  .hero-card-frame img {
    height: 280px;
  }
  .diff-grid, .clients-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: span 1;
  }
  .evaluator-form-grid {
    grid-template-columns: 1fr;
  }
  .evaluator-box {
    padding: 2rem 1.5rem;
  }
  .services-tabs-header {
    flex-direction: column;
    width: 100%;
  }
  .tab-btn {
    width: 100%;
    justify-content: center;
  }
  .strategic-banner {
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    text-align: center;
  }
  .banner-quote {
    font-size: 1.125rem;
  }
  .stepper-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .process-detail-card {
    padding: 1.5rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
