/* ==========================================================================
   DEVS DESIGN SRL - ENTERPRISE DESIGN SYSTEM (B2B)
   Fase 2: Interactividad con Propósito + Microanimaciones + Sensación Premium
   ========================================================================== */

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

:root {
  /* Colors - Base Canvas & Surfaces */
  --bg-canvas: #f8fafc;
  --bg-canvas-alt: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-muted: #f8fafc;
  --bg-dark: #0b1120;
  --bg-dark-surface: #131d31;
  --bg-dark-border: #1e293b;

  /* Typography Colors */
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #f8fafc;
  --text-inverse-muted: #94a3b8;

  /* Brand & Accents */
  --brand-navy: #0f2b48;
  --brand-primary: #0f4c81;
  --brand-primary-hover: #0a3861;
  --brand-accent: #0284c7;
  --brand-accent-hover: #0369a1;
  --brand-accent-light: #e0f2fe;
  --brand-teal: #0d9488;
  --brand-teal-light: #ccfbf1;
  --brand-emerald: #059669;

  /* Borders & Dividers */
  --border-subtle: #e2e8f0;
  --border-card: rgba(15, 23, 42, 0.08);
  --border-focus: #0284c7;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-float: 0 24px 48px -12px rgba(15, 23, 42, 0.16);

  /* Typography Specs */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Layout & Animation Tokens */
  --container-max: 1200px;
  --container-wide: 1320px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --header-height: 76px;

  /* Timing & Motion Tokens */
  --dur-fast: 150ms;
  --dur-normal: 250ms;
  --dur-slow: 400ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

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

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--brand-accent-hover);
}

:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

button, input, select, textarea {
  font-family: inherit;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 3.8vw + 0.5rem, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 2.6vw + 0.2rem, 2.5rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.2rem, 1.5vw + 0.1rem, 1.55rem);
  font-weight: 600;
}

h4 {
  font-size: 1.12rem;
  font-weight: 600;
}

p {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.7;
}

.text-muted {
  color: var(--text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
  background: rgba(15, 76, 129, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  width: fit-content;
  transition: background-color var(--dur-fast) var(--ease-out);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-accent);
  display: inline-block;
  animation: pulseDot 2.5s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

.eyebrow-dark {
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
}
.eyebrow-dark .eyebrow-dot {
  background-color: #38bdf8;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-wide {
  max-width: var(--container-wide);
}

section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.bg-alt {
  background-color: var(--bg-canvas-alt);
}

.bg-dark-section {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
}
.bg-dark-section h2, 
.bg-dark-section h3, 
.bg-dark-section h4 {
  color: var(--text-inverse);
}
.bg-dark-section p {
  color: var(--text-inverse-muted);
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-normal) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--dur-normal) var(--ease-out);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background-color: var(--brand-primary);
  color: #ffffff !important;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--brand-primary-hover);
  color: #ffffff !important;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-accent {
  background-color: var(--brand-accent);
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.btn-accent:hover {
  background-color: var(--brand-accent-hover);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transform: translateY(-2px);
}

.btn-accent:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--brand-navy) !important;
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--bg-canvas-alt);
  border-color: #cbd5e1;
  color: var(--brand-navy) !important;
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-dark-outline {
  background-color: transparent;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-dark-outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.02rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
  transition: all var(--dur-slow) var(--ease-out);
}

.site-header .container {
  max-width: var(--container-wide, 1360px);
  padding-left: 24px;
  padding-right: 24px;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: var(--header-height);
  transition: height var(--dur-normal) var(--ease-out);
}

.site-header.scrolled .header-inner {
  height: 66px;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 8px;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.brand-logo:hover {
  opacity: 0.85;
}

.brand-logo img {
  height: 38px;
  width: auto;
  max-width: 195px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  transition: color var(--dur-fast) var(--ease-out);
  padding: 6px 2px;
  position: relative;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand-primary);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-accent);
  transition: width var(--dur-normal) var(--ease-out);
}

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

.helpdesk-nav-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: var(--brand-navy) !important;
  background-color: rgba(2, 132, 199, 0.08);
  padding: 5px 12px !important;
  border-radius: var(--radius-full);
  border: 1px solid rgba(2, 132, 199, 0.2);
  font-size: 0.84rem !important;
  font-weight: 600;
  transition: all var(--dur-normal) var(--ease-out);
}

.helpdesk-nav-link:hover {
  background-color: var(--brand-accent-light);
  border-color: var(--brand-accent);
  color: var(--brand-accent) !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

.helpdesk-nav-link::after {
  display: none !important;
}

.helpdesk-nav-icon {
  width: 13px;
  height: 13px;
  color: var(--brand-accent);
}

.mobile-helpdesk-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  background: rgba(2, 132, 199, 0.08);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: var(--brand-navy) !important;
  font-weight: 600;
}

.mobile-helpdesk-item:hover {
  background: var(--brand-accent-light);
  color: var(--brand-accent) !important;
}

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

.header-actions .btn {
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-heading);
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-fast);
}

.mobile-toggle:hover {
  background-color: var(--bg-canvas-alt);
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
}

/* Mobile Navigation Backdrop & Drawer */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--dur-normal) var(--ease-out);
}

.mobile-nav-backdrop.active {
  display: block;
  opacity: 1;
}

.mobile-nav-drawer {
  display: none;
}

/* Compact Desktop / Laptop Adaptation */
@media (min-width: 1025px) and (max-width: 1240px) {
  .header-inner {
    gap: 16px;
  }
  .main-nav {
    gap: 14px;
  }
  .main-nav a {
    font-size: 0.82rem;
    padding: 6px 1px;
  }
  .brand-logo img {
    height: 34px;
    max-width: 170px;
  }
  .header-actions .btn-sm {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1024px) {
  .main-nav, .header-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }

  .mobile-nav-drawer {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px;
    box-shadow: var(--shadow-xl);
    transform: translateY(-120%);
    transition: transform var(--dur-slow) var(--ease-out);
    z-index: 999;
  }

  .mobile-nav-drawer.open {
    transform: translateY(0);
  }

  .mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
  }

  .mobile-nav-list a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    display: block;
    padding: 8px 0;
  }

  .mobile-nav-drawer .btn {
    width: 100%;
  }
}

/* ==========================================================================
   HERO SECTION (Staggered Entry & Micro-Tilt 3D)
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 80px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-canvas) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

/* Sequential entry stagger */
.hero-stagger-1 { animation: heroEntry 0.5s var(--ease-out) 0.05s both; }
.hero-stagger-2 { animation: heroEntry 0.5s var(--ease-out) 0.12s both; }
.hero-stagger-3 { animation: heroEntry 0.5s var(--ease-out) 0.18s both; }
.hero-stagger-4 { animation: heroEntry 0.5s var(--ease-out) 0.24s both; }
.hero-stagger-5 { animation: heroEntry 0.5s var(--ease-out) 0.30s both; }

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

.hero-content h1 {
  margin-bottom: 20px;
  color: var(--brand-navy);
}

.hero-content h1 .highlight-text {
  color: var(--brand-primary);
  display: inline-block;
  position: relative;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-trust-points {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.trust-point-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-point-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-teal);
  flex-shrink: 0;
}

/* Hero Showcase Window with 3D Tilt */
.hero-showcase {
  position: relative;
  width: 100%;
  perspective: 1200px;
}

.showcase-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 1px 3px 0 rgba(15, 23, 42, 0.04);
  overflow: hidden;
  position: relative;
  transition: transform var(--dur-normal) var(--ease-out), box-shadow var(--dur-normal) var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}

.showcase-window:hover {
  box-shadow: var(--shadow-float);
}

.window-header {
  height: 44px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 16px;
  justify-content: space-between;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.control-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.control-dot.red { background-color: #ef4444; }
.control-dot.yellow { background-color: #f59e0b; }
.control-dot.green { background-color: #10b981; }

.window-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.window-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.status-pulse {
  width: 6px;
  height: 6px;
  background-color: var(--brand-emerald);
  border-radius: 50%;
  animation: pulseDot 2s infinite ease-in-out;
}

.window-body {
  padding: 20px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-box {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  border-radius: var(--radius-md);
  transition: transform var(--dur-fast), border-color var(--dur-fast);
}

.stat-box:hover {
  border-color: var(--brand-accent);
  transform: translateY(-2px);
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.stat-indicator {
  font-size: 0.72rem;
  color: var(--brand-teal);
  font-weight: 600;
  margin-top: 2px;
}

/* System Pipeline / Diagram in Window */
.system-pipeline-preview {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  background: #ffffff;
}

.pipeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pipeline-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-heading);
}

.pipeline-tag {
  font-size: 0.7rem;
  background: var(--brand-accent-light);
  color: var(--brand-accent-hover);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.pipeline-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pipeline-step {
  flex: 1;
  background: var(--bg-canvas-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  text-align: center;
  transition: all var(--dur-fast);
}

.pipeline-step:hover {
  background: #ffffff;
  border-color: var(--brand-accent);
}

.pipeline-step-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.pipeline-step-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.pipeline-arrow {
  color: var(--text-light);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.floating-badge-card {
  position: absolute;
  bottom: -16px;
  right: -12px;
  background: var(--brand-navy);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
  transition: transform var(--dur-normal) var(--ease-out);
}

.floating-badge-card:hover {
  transform: translateY(-3px);
}

.floating-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.floating-badge-icon svg {
  width: 20px;
  height: 20px;
}

.floating-badge-text strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.2;
}

.floating-badge-text span {
  font-size: 0.75rem;
  color: #cbd5e1;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-content .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust-points {
    justify-content: center;
  }
  .floating-badge-card {
    position: static;
    margin-top: 16px;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .dashboard-stats-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .pipeline-steps {
    flex-direction: column;
    gap: 6px;
  }
  .pipeline-arrow {
    transform: rotate(90deg);
  }
  .pipeline-step {
    width: 100%;
  }
}

/* ==========================================================================
   TECH STACK & TRUST BAR
   ========================================================================== */
.trust-tech-bar {
  padding: 36px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-tech-header {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.tech-badges-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tech-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
  transition: all var(--dur-fast) var(--ease-out);
  cursor: default;
}

.tech-badge-item:hover {
  border-color: var(--brand-accent);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.tech-badge-item img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.tech-badge-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-accent);
}

/* ==========================================================================
   VALUE PROPOSITION ("¿Por qué DevsDesign?")
   ========================================================================== */
.value-prop-section {
  background-color: #ffffff;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 32px;
}

.value-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  background: var(--bg-canvas);
  transition: transform var(--dur-normal) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.value-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-normal) var(--ease-out), background-color var(--dur-fast);
}

.value-card:hover .value-card-icon {
  background: var(--brand-accent-light);
  color: var(--brand-accent-hover);
  transform: scale(1.06);
}

.value-card-icon svg {
  width: 26px;
  height: 26px;
}

.value-card h3 {
  margin-bottom: 12px;
  color: var(--brand-navy);
}

.value-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   SOLUTIONS MATRIX (4 Strategic Pillars)
   ========================================================================== */
.solutions-section {
  background-color: var(--bg-canvas);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.solution-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.solution-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.solution-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--brand-accent-light);
  color: var(--brand-accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-normal) var(--ease-out);
}

.solution-card:hover .solution-icon-box {
  transform: scale(1.05);
}

.solution-icon-box svg {
  width: 30px;
  height: 30px;
}

.solution-number {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: #cbd5e1;
}

.solution-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--brand-navy);
}

.solution-card p.solution-summary {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.solution-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.solution-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.solution-features-list li svg {
  width: 18px;
  height: 18px;
  color: var(--brand-teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.solution-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-accent);
}

.solution-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-normal) var(--ease-out);
}

.solution-card:hover .solution-card-link svg {
  transform: translateX(4px);
}

@media (max-width: 991px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .solution-card {
    padding: 28px;
  }
}

/* ==========================================================================
   ODOO ERP DEEP DIVE & BUSINESS FLOW VISUALIZER
   ========================================================================== */
.odoo-enterprise-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Odoo Business Flow Visualizer Component */
.odoo-flow-box {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-xs);
}

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

.flow-title-group h4 {
  font-size: 1.15rem;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

.flow-title-group p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.flow-badge-auto {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-teal);
  background: var(--brand-teal-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.flow-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  align-items: center;
  position: relative;
}

.flow-step-node {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-out);
  position: relative;
}

.flow-step-node:hover,
.flow-step-node.active {
  border-color: var(--brand-accent);
  background: var(--brand-accent-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.flow-node-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 8px auto;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step-node.active .flow-node-icon {
  color: var(--brand-accent-hover);
}

.flow-node-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.flow-node-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.flow-step-arrow {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 0.9rem;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 991px) {
  .flow-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .flow-step-arrow {
    display: none;
  }
}

@media (max-width: 576px) {
  .flow-steps-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Odoo Modules Layout Grid */
.odoo-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 56px;
}

.odoo-info-pane h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--brand-navy);
}

.odoo-info-pane p {
  margin-bottom: 24px;
  color: var(--text-body);
}

.odoo-modules-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.module-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all var(--dur-fast) var(--ease-out);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-heading);
}

.module-tab-btn:hover {
  background: #ffffff;
  border-color: var(--brand-accent);
}

.module-tab-btn.active {
  background: var(--brand-accent-light);
  border-color: var(--brand-accent);
  color: var(--brand-accent-hover);
  box-shadow: var(--shadow-xs);
}

.module-tab-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Module Interactive Preview Card */
.odoo-preview-card {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 32px;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  transition: opacity var(--dur-normal) var(--ease-out), transform var(--dur-normal) var(--ease-out);
}

.odoo-preview-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--bg-dark-border);
}

.odoo-preview-header img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
  flex-shrink: 0;
}

.odoo-preview-header h4 {
  color: #ffffff;
  font-size: 1.3rem;
}

.odoo-preview-header span {
  font-size: 0.8rem;
  color: #94a3b8;
}

.odoo-preview-body {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 24px;
}

.odoo-preview-bullet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.odoo-preview-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #f1f5f9;
}

.odoo-preview-bullet svg {
  width: 16px;
  height: 16px;
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Featured e-CF DGII Banner (República Dominicana) */
.ecf-official-card {
  background: linear-gradient(135deg, #0b1e36 0%, #0f2b48 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  border: 1px solid rgba(2, 132, 199, 0.3);
  box-shadow: 0 20px 35px -5px rgba(11, 30, 54, 0.4);
  position: relative;
  overflow: hidden;
}

.ecf-official-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0284c7, #0d9488, #38bdf8);
}

.ecf-content-left {
  max-width: 720px;
}

.ecf-badge-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.ecf-official-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.ecf-official-card p {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.ecf-cta-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .odoo-layout-grid {
    grid-template-columns: 1fr;
  }
  .ecf-official-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .ecf-cta-box {
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .odoo-modules-nav {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CUSTOM SOFTWARE SECTION & PRODUCT SHOWCASE
   ========================================================================== */
.software-custom-section {
  background-color: var(--bg-canvas);
}

/* Software Product Showcase Mockup */
.software-showcase-box {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
}

.showcase-tabs-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.showcase-tab-btn {
  padding: 8px 18px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.showcase-tab-btn:hover {
  background: #ffffff;
  border-color: var(--brand-accent);
}

.showcase-tab-btn.active {
  background: var(--brand-navy);
  color: #ffffff;
  border-color: var(--brand-navy);
  box-shadow: var(--shadow-sm);
}

.showcase-screen-window {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.showcase-screen-topbar {
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-view-panel {
  display: none;
  padding: 24px;
  animation: fadeInView 0.3s var(--ease-out) both;
}

.showcase-view-panel.active {
  display: block;
}

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

.software-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.software-type-item {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.software-type-item:hover {
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.software-type-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-canvas-alt);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform var(--dur-normal) var(--ease-out);
}

.software-type-item:hover .software-type-icon {
  transform: scale(1.08);
}

.software-type-icon svg {
  width: 22px;
  height: 22px;
}

.software-type-item h4 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  color: var(--brand-navy);
}

.software-type-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   5-STAGE METHODOLOGY SECTION
   ========================================================================== */
.methodology-section {
  background-color: #ffffff;
}

.methodology-steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  position: relative;
}

.method-step-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-normal) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out);
  cursor: default;
}

.method-step-card:hover,
.method-step-card.active-step {
  background: #ffffff;
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.method-step-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-primary);
  background: rgba(15, 76, 129, 0.1);
  width: fit-content;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}

.method-step-card:hover .method-step-badge {
  background: var(--brand-accent);
  color: #ffffff;
}

.method-step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--brand-navy);
}

.method-step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   PROJECTS & CLIENTS SECTION + MODAL
   ========================================================================== */
.projects-section {
  background-color: var(--bg-canvas-alt);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 28px;
}

.project-case-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}

.project-case-card:hover {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.project-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-accent-hover);
  background: var(--brand-accent-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  width: fit-content;
}

.project-case-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--brand-navy);
}

.project-case-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-body);
  background: var(--bg-canvas);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.btn-view-case {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  transition: all var(--dur-fast) var(--ease-out);
}

.btn-view-case:hover {
  border-color: var(--brand-accent);
  background: var(--brand-accent-light);
  color: var(--brand-accent-hover);
}

/* Case Study Modal */
.case-modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--dur-normal) var(--ease-out);
}

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

.case-modal {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  padding: 36px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: scale(0.96);
  transition: transform var(--dur-normal) var(--ease-out);
}

.case-modal-backdrop.active .case-modal {
  transform: scale(1);
}

.case-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

/* ==========================================================================
   INTERMEDIATE CTA BANNER
   ========================================================================== */
.intermediate-cta-section {
  padding: 64px 0;
  background: #ffffff;
}

.intermediate-cta-card {
  background: linear-gradient(135deg, #0f2b48 0%, #0f4c81 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-lg);
}

.cta-banner-text h3 {
  color: #ffffff;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  margin-bottom: 8px;
}

.cta-banner-text p {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin: 0;
}

@media (max-width: 991px) {
  .intermediate-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }
}

/* ==========================================================================
   FAQ SECTION (ACCESSIBLE ACCORDION)
   ========================================================================== */
.faq-section {
  background-color: var(--bg-canvas);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur-fast), box-shadow var(--dur-normal);
}

.faq-item:hover,
.faq-item.open {
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  width: 100%;
  padding: 22px 24px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-accent);
  transition: transform var(--dur-normal) var(--ease-out);
  flex-shrink: 0;
}

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

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-normal) var(--ease-out);
  padding: 0 24px;
}

.faq-item.open .faq-content {
  grid-template-rows: 1fr;
  padding-bottom: 22px;
}

.faq-content-inner {
  overflow: hidden;
}

.faq-content p {
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   CONTACT & CONVERSION SECTION (B2B Guided Form with Chips)
   ========================================================================== */
.contact-section {
  background-color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--dur-normal) var(--ease-out), border-color var(--dur-fast);
}

.contact-info-card:hover {
  border-color: var(--brand-accent);
  transform: translateY(-2px);
}

.contact-info-card h4 {
  font-size: 1.1rem;
  color: var(--brand-navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-card h4 svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

.contact-info-card a:hover {
  color: var(--brand-accent);
}

/* Form Chips */
.form-chips-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.form-chip {
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.form-chip:hover {
  border-color: var(--brand-accent);
}

.form-chip.selected {
  background: var(--brand-accent-light);
  border-color: var(--brand-accent);
  color: var(--brand-accent-hover);
  box-shadow: var(--shadow-xs);
}

/* B2B Form Card */
.contact-form-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.form-input, 
.form-select, 
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-heading);
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--dur-fast) var(--ease-out);
  outline: none;
  font-family: inherit;
}

.form-select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus, 
.form-select:focus, 
.form-textarea:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

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

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 24px;
  }
}

/* ==========================================================================
   FLOATING DISCRETE WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: transform var(--dur-normal) var(--ease-out), box-shadow var(--dur-normal) var(--ease-out);
}

.floating-whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

.floating-whatsapp-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.floating-whatsapp-btn span {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (max-width: 576px) {
  .floating-whatsapp-btn span {
    display: none;
  }
  .floating-whatsapp-btn {
    padding: 14px;
    bottom: 20px;
    right: 20px;
  }
}

/* ==========================================================================
   FOOTER (Corporate B2B)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 80px 0 32px 0;
  border-top: 1px solid var(--bg-dark-border);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: 40px;
  margin-bottom: 64px;
}

.footer-brand-col p {
  color: #94a3b8;
  font-size: 0.92rem;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--bg-dark-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 991px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 576px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SCROLL REVEAL & ACCESSIBILITY
   ========================================================================== */
.reveal-fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  will-change: opacity, transform;
}

.reveal-fade.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-fade {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Ultra-Compact Mobile Breakpoints (320px - 380px) */
@media (max-width: 380px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .container {
    padding: 0 16px;
  }
  .contact-form-card {
    padding: 24px 16px;
  }
  .showcase-window {
    padding: 16px 12px;
  }
  .ecf-highlight-card {
    padding: 24px 16px;
  }
  .btn-lg {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   INDUSTRY VERTICALS & SPECIALIZED SOLUTIONS (Pilar 3)
   ========================================================================== */
.verticals-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.verticals-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.vertical-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-out);
}

.vertical-tab-btn:hover {
  border-color: var(--brand-accent);
  background: #ffffff;
}

.vertical-tab-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.vertical-tab-btn svg {
  width: 18px;
  height: 18px;
  color: inherit;
}

.vertical-panel {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.vertical-panel.active {
  display: block;
}

.vertical-card-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  background: var(--bg-canvas);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-xs);
}

.vertical-info h3 {
  font-size: 1.6rem;
  color: var(--brand-navy);
  margin-bottom: 16px;
}

.vertical-info p {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.vertical-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.vertical-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.vertical-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-teal);
  margin-top: 3px;
}

.vertical-metric-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.vertical-metric-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.vertical-metric-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.vertical-metric-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .vertical-card-grid {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

/* ==========================================================================
   METRICS & EXECUTIVE TESTIMONIALS (Pilar 4)
   ========================================================================== */
.impact-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.impact-metric-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-normal) var(--ease-out);
}

.impact-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.impact-metric-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.impact-metric-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.impact-metric-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 28px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--dur-normal) var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-accent);
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--brand-accent-light);
  color: var(--brand-primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.testimonial-author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
}

.testimonial-author-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

@media (max-width: 576px) {
  .impact-metrics-bar {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CERTIFICATION SEALS & TRUST BADGES (Pilar 4)
   ========================================================================== */
.cert-trust-bar {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  margin-top: 40px;
}

.cert-trust-header {
  text-align: center;
  margin-bottom: 24px;
}

.cert-trust-header h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.cert-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}

.cert-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.cert-badge-item svg {
  width: 26px;
  height: 26px;
  color: var(--brand-teal);
  flex-shrink: 0;
}

.cert-badge-text-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.2;
}

.cert-badge-text-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TECHNICAL RESOURCES CENTER (Pilar 3)
   ========================================================================== */
.resources-hero-section {
  padding: 150px 0 60px 0;
  background: radial-gradient(circle at 50% 10%, rgba(2, 132, 199, 0.06) 0%, transparent 60%);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 32px;
  margin-top: 48px;
}

.resource-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-xs);
  transition: all var(--dur-normal) var(--ease-out);
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-accent);
}

.resource-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--brand-accent-light);
  color: var(--brand-accent-hover);
  margin-bottom: 16px;
  width: fit-content;
}

.resource-card h3 {
  font-size: 1.25rem;
  color: var(--brand-navy);
  margin-bottom: 14px;
  line-height: 1.35;
}

.resource-card p {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.resource-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.resource-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 0.88rem;
}

.resource-link-btn:hover {
  color: var(--brand-accent);
}


