/* ==========================================================================
   Design System & Premium CSS Stylesheet for Every Pages Edit (EPE)
   Modern, elegant, B2B engineering consultancy positioning.
   Cohesively themed using logo colors (Deep Purple, Emerald Teal, and Vibrant Orange).
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Color Variables & Design Tokens */
:root {
  /* Colors based on EPE logo colors: Deep Violet, Electric Purple, Emerald Teal, and Vibrant Orange */
  --bg-dark-deep: #090615;
  --bg-dark-panel: #110d29;
  --bg-dark-surface: #19143b;
  
  --primary: #673de6; /* Electric Purple */
  --primary-glow: rgba(103, 61, 230, 0.4);
  --primary-light: #8c85ff;
  --primary-accent: #d5dfff;
  
  --accent-teal: #00b090; /* Logo Emerald Teal */
  --accent-teal-glow: rgba(0, 176, 144, 0.3);
  
  --accent-orange: #ff7a00; /* Logo Vibrant Orange */
  --accent-orange-glow: rgba(255, 122, 0, 0.3);
  
  --accent-cyan: #00f2fe; /* Futuristic Cyber Cyan */
  
  --success: #00b090;
  --success-glow: rgba(0, 176, 144, 0.2);
  --danger: #d63163;
  --danger-glow: rgba(214, 49, 99, 0.2);
  
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 122, 0, 0.3);
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* Global Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* Background Gradients & Glow Orbs */
.bg-glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(9, 6, 21, 0) 70%);
  z-index: -1;
  filter: blur(80px);
  pointer-events: none;
}

.orb-hero-left {
  top: -10%;
  left: -10%;
  opacity: 0.6;
}

.orb-hero-right {
  top: 15%;
  right: -10%;
  background: radial-gradient(circle, var(--accent-orange-glow) 0%, rgba(9, 6, 21, 0) 70%);
  opacity: 0.5;
}

.orb-section-left {
  bottom: 20%;
  left: -20%;
  opacity: 0.4;
}

/* Typography Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.section-subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/* Layout Blocks */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  position: relative;
  padding: 8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

/* Header & Sticky Glass Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(9, 6, 21, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-orange);
  display: inline-block;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.nav-link.active {
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-teal));
  border-radius: 2px;
}

.btn-nav {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(103, 61, 230, 0.4);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-dark-deep);
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-light);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .btn-nav {
    display: none;
  }
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent-orange));
  color: var(--text-primary);
  border: none;
  box-shadow: 0 4px 20px rgba(255, 122, 0, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 122, 0, 0.45);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-orange), #ff4500);
  color: var(--text-primary);
  border: none;
  box-shadow: 0 4px 20px rgba(255, 122, 0, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 122, 0, 0.5);
  filter: brightness(1.1);
}

/* Hero Section */
.hero {
  padding-top: 12rem;
  padding-bottom: 8rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
}

.hero-visual {
  position: relative;
}

/* Modern B2B mock dashboard for hero visual */
.dashboard-mock {
  background: rgba(25, 20, 59, 0.4);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.dots {
  display: flex;
  gap: 0.35rem;
}

.dot-fn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.dot-fn.red { background: #d63163; }
.dot-fn.yellow { background: var(--accent-orange); }
.dot-fn.green { background: var(--success); }

.dashboard-title {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
}

.dashboard-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1rem;
}

.db-kpi {
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 0.25rem;
  color: var(--accent-orange);
}

.db-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 80px;
  margin-top: 0.5rem;
}

.bar {
  width: 16%;
  background: linear-gradient(to top, var(--primary), var(--accent-orange));
  border-radius: 4px;
  transition: var(--transition-smooth);
  animation: growBar 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transform-origin: bottom;
}

.bar:nth-child(2) { animation-delay: 0.1s; }
.bar:nth-child(3) { animation-delay: 0.2s; }
.bar:nth-child(4) { animation-delay: 0.3s; }
.bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes growBar {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .hero {
    padding-top: 8rem;
  }
}

/* Brand Showcase: Quienes han confiado (Aesthetic logo grid) */
.brands-section {
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 5rem 0;
}

.brands-title {
  text-align: center;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.brands-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.brand-logo-card {
  background: rgba(25, 20, 59, 0.25);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  width: 250px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.brand-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(0.95) invert(0.85); /* grayscaled logos on dark theme */
  opacity: 0.55;
  transition: var(--transition-smooth);
}

.brand-logo-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-orange);
  box-shadow: 0 8px 30px rgba(255, 122, 0, 0.15);
  background: rgba(25, 20, 59, 0.45);
}

.brand-logo-card:hover img {
  filter: none; /* shows original colors */
  opacity: 1;
}

.mantra-quote {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
  color: var(--primary-accent);
  font-style: italic;
  margin-top: 3.5rem;
}

/* Methodology Section (Ingeniería detrás de cada solución) */
.methodology-intro {
  max-width: 800px;
  margin: 0 auto 5rem auto;
  text-align: center;
}

.methodology-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
}

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

.method-card {
  background: var(--bg-dark-panel);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transition: var(--transition-smooth);
}

.method-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-orange));
  opacity: 0;
  transition: var(--transition-smooth);
  border-radius: 3px 3px 0 0;
}

.method-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 30px rgba(255, 122, 0, 0.1);
}

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

.method-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-headings);
}

.method-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 122, 0, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 122, 0, 0.2);
}

.method-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.method-card p {
  font-size: 0.9rem;
}

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

@media (max-width: 768px) {
  .methodology-grid {
    grid-template-columns: 1fr;
  }
}

/* Business Lines Section (Tarjetas Principales) */
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.biz-card {
  background: rgba(25, 20, 59, 0.2);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
}

.biz-card-top {
  margin-bottom: 2rem;
}

.biz-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(103, 61, 230, 0.2), rgba(255, 122, 0, 0.1));
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
}

.biz-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.biz-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.biz-card li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.25rem;
}

.biz-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-light);
}

.biz-card:hover {
  transform: translateY(-5px);
  background: rgba(25, 20, 59, 0.4);
  border-color: var(--primary-light);
  box-shadow: 0 10px 40px rgba(255, 122, 0, 0.15);
}

/* Specific styling for spans to span full grid or last ones */
.biz-card.featured {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.biz-card.featured .biz-card-top {
  margin-bottom: 0;
  flex: 1;
}

.biz-card.featured .biz-card-bottom {
  flex: 1;
}

@media (max-width: 992px) {
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .biz-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .business-grid {
    grid-template-columns: 1fr;
  }
  .biz-card.featured {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Client Process Timeline Section */
.client-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 4rem;
}

.timeline-step {
  background: var(--bg-dark-panel);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-orange));
  opacity: 0;
  transition: var(--transition-smooth);
  border-radius: 4px 4px 0 0;
}

.timeline-step:hover {
  transform: translateY(-5px);
  border-color: var(--accent-orange);
  box-shadow: 0 10px 30px rgba(255, 122, 0, 0.15);
}

.timeline-step:hover::before {
  opacity: 1;
}

.timeline-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 122, 0, 0.1);
  border: 2px solid var(--accent-orange);
  color: var(--accent-orange);
  font-weight: 800;
  font-family: var(--font-headings);
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 12px rgba(255, 122, 0, 0.2);
}

.timeline-step:nth-child(2n) .timeline-badge {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  background: rgba(0, 176, 144, 0.1);
  box-shadow: 0 0 12px rgba(0, 176, 144, 0.2);
}

.timeline-step h4 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.timeline-step p {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.timeline-line {
  position: absolute;
  top: 44px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: dashed rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.timeline-line-progress {
  position: absolute;
  height: 2px;
  width: 30%;
  background: linear-gradient(90deg, var(--primary), var(--accent-orange), var(--accent-teal));
  animation: timelineMove 6s linear infinite;
}

@keyframes timelineMove {
  0% { left: 0%; width: 0%; }
  50% { left: 0%; width: 100%; }
  100% { left: 100%; width: 0%; }
}

@media (max-width: 992px) {
  .client-timeline {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .timeline-line {
    display: none;
  }
  .timeline-step {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }
}

/* Case Studies (Casos de Uso) */
.cases-tabs-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.cases-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-tab-btn {
  background: var(--bg-dark-panel);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.case-tab-btn h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.case-tab-btn p {
  font-size: 0.8rem;
}

.case-tab-btn.active {
  background: rgba(103, 61, 230, 0.1);
  border-color: var(--primary-light);
  box-shadow: 0 4px 20px rgba(103, 61, 230, 0.1);
}

.case-tab-content {
  display: none;
  background: var(--bg-dark-panel);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3rem;
  min-height: 350px;
  transition: var(--transition-smooth);
}

.case-tab-content.active {
  display: block;
}

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

.case-badge {
  background: rgba(0, 176, 144, 0.1);
  border: 1px solid rgba(0, 176, 144, 0.2);
  color: var(--accent-teal);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

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

.case-feature-item {
  display: flex;
  gap: 1rem;
}

.case-feature-icon {
  color: var(--success);
  font-weight: bold;
}

@media (max-width: 992px) {
  .cases-tabs-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Pain Points & Solutions (Sección de Dolores) */
.pain-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.pain-column, .solution-column {
  border-radius: 16px;
  padding: 2.5rem;
}

.pain-column {
  background: rgba(214, 49, 99, 0.03);
  border: 1px solid rgba(214, 49, 99, 0.1);
}

.solution-column {
  background: rgba(0, 176, 144, 0.03);
  border: 1px solid rgba(0, 176, 144, 0.1);
}

.pain-list, .solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.pain-item, .solution-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pain-item-icon {
  background: rgba(214, 49, 99, 0.1);
  border: 1px solid var(--danger);
  color: var(--danger);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.solution-item-icon {
  background: rgba(0, 176, 144, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.pain-item p, .solution-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.solution-item p {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .pain-split {
    grid-template-columns: 1fr;
  }
}

/* Team Section (El Equipo) */
.team-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.team-badge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.team-badge-card {
  background: var(--bg-dark-panel);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.team-badge-card:hover {
  border-color: var(--accent-orange);
  box-shadow: 0 4px 20px rgba(255, 122, 0, 0.1);
}

.team-badge-icon {
  font-size: 2.5rem;
  color: var(--accent-orange);
  margin-bottom: 1rem;
}

.team-badge-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.team-badge-card p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-teal);
}

.team-content blockquote {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 2rem;
  border-left: 4px solid var(--accent-orange);
}

.team-content p {
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 992px) {
  .team-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Call to Action - Transformación Digital */
.cta-banner {
  background: linear-gradient(135deg, rgba(103, 61, 230, 0.15) 0%, rgba(255, 122, 0, 0.05) 100%);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* Contact Form Section */
.contact-section {
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-panel h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-details li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 122, 0, 0.1);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text h5 {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.contact-text p {
  font-size: 0.875rem;
}

.contact-form-container {
  background: var(--bg-dark-panel);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.contact-form-container h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-form-container > p {
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.2);
}

.form-checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-orange);
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-checkbox-label strong {
  color: var(--accent-orange);
}

.form-error {
  font-size: 0.75rem;
  color: var(--danger);
  margin-top: 0.25rem;
  display: none;
}

.form-submit-btn {
  width: 100%;
  margin-top: 1rem;
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .contact-form-container {
    padding: 2rem;
  }
}

/* Toast/Alert notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  max-width: 400px;
  background: var(--bg-dark-panel);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateY(0);
}

.toast-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast.success {
  border-color: var(--success);
}
.toast.success .toast-icon {
  background: rgba(0, 176, 144, 0.1);
  color: var(--success);
}

.toast.error {
  border-color: var(--danger);
}
.toast.error .toast-icon {
  background: rgba(214, 49, 99, 0.1);
  color: var(--danger);
}

.toast-message h5 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.toast-message p {
  font-size: 0.8rem;
}

/* Digital Transformation Detail Page */
.page-header {
  padding-top: 12rem;
  padding-bottom: 6rem;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at bottom, rgba(255, 122, 0, 0.08) 0%, rgba(9, 6, 21, 0) 70%);
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

.content-block-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 8rem;
}

.content-block-grid.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.content-block-text h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.content-block-text p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.content-block-visual {
  background: rgba(25, 20, 59, 0.2);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bpm-graphic {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bpm-node {
  background: var(--bg-dark-panel);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.bpm-connector {
  height: 20px;
  width: 2px;
  background: dashed var(--primary-light);
  margin-left: 2.5rem;
}

@media (max-width: 992px) {
  .content-block-grid, .content-block-grid.reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Footer Section */
.footer {
  background: #06040f;
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2rem 0;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand p {
  font-size: 0.95rem;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
