/* ===== Variables para consistencia ===== */
:root {
  --bg: #0a0a0a;
  --header: #0b0b0b;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --line: #1f2937;
  --brand: #dd1729;
  --brand-dark: #b31222;
  --brand-light: #ff1a2e;
  --accent: #3b82f6;
  --blue: #0ea5e9;
  --green: #06d6a0;
  --purple: #8b5cf6;
  --orange: #f97316;
  --yellow: #ffd166;
  --shadow: 0 10px 30px rgba(0,0,0,.4);
  --shadow-heavy: 0 25px 60px rgba(0,0,0,.6);
  --radius: 14px;
  --radius-lg: 20px;
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-smooth: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== Sección Hero Automatizaciones ===== */
.automation-hero {
  padding: 140px 24px 80px;
  background: 
    radial-gradient(circle at 25% 75%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 75% 25%, rgba(6, 214, 160, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, var(--bg) 0%, #0f0f0f 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.automation-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="rgba(6, 214, 160, 0.03)" fill-opacity="0.4"><circle cx="30" cy="30" r="1"/></g></g></svg>') repeat;
  animation: float 25s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Contenido del Hero */
.hero-content {
  animation: fadeInLeft 1s var(--ease-smooth) forwards;
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

.automation-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(6, 214, 160, 0.1);
  border: 1px solid rgba(6, 214, 160, 0.3);
  border-radius: 50px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  animation: glow-green 2s ease-in-out infinite alternate;
}

@keyframes glow-green {
  from { box-shadow: 0 0 20px rgba(6, 214, 160, 0.3); }
  to { box-shadow: 0 0 30px rgba(6, 214, 160, 0.5); }
}

.hero-title {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.highlight-blue {
  background: linear-gradient(135deg, var(--blue) 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  filter: drop-shadow(0 4px 12px rgba(14, 165, 233, 0.3));
}

.highlight-green {
  background: linear-gradient(135deg, var(--green) 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  filter: drop-shadow(0 4px 12px rgba(6, 214, 160, 0.3));
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 18px);
  color: var(--text-muted);
  margin: 0 0 40px;
  line-height: 1.6;
  max-width: 500px;
  text-align: justify;
  text-justify: inter-word;
}

.btn-automation {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  border-radius: 14px;
  border: 2px solid transparent;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
}

.btn-automation::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.6s var(--ease-smooth);
}

.btn-automation:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 50px rgba(6, 214, 160, 0.6);
}

.btn-automation:hover::before {
  transform: translateX(100%) skewX(-15deg);
}

/* ===== Flujo de Automatización ===== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s var(--ease-smooth) 0.3s both;
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.automation-flow {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.4s var(--ease-smooth);
  min-width: 150px;
  text-align: center;
}

.flow-node.active {
  background: rgba(6, 214, 160, 0.15);
  border-color: rgba(6, 214, 160, 0.4);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(6, 214, 160, 0.3);
}

.node-icon {
  width: 50px;
  height: 50px;
  background: rgba(6, 214, 160, 0.1);
  border: 1px solid rgba(6, 214, 160, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-smooth);
}

.node-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--green);
}

.flow-node.active .node-icon {
  background: rgba(6, 214, 160, 0.3);
  border-color: var(--green);
}

.node-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.flow-arrow {
  color: var(--text-muted);
  transition: all 0.3s var(--ease-smooth);
}

.flow-arrow svg {
  width: 24px;
  height: 24px;
}

/* ===== Banda de logos (reutilizando estilos existentes) ===== */
.logo-band {
  background: #0b0b0b;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 18px 0;
}

.logo-marquee {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.logo-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
  will-change: transform;
  animation: logo-marquee 28s linear infinite;
}

.logo-item {
  height: clamp(36px, 5vw, 56px);
  width: auto;
  flex: 0 0 auto;
  opacity: .95;
  filter: drop-shadow(0 2px 8px rgba(6, 214, 160, .18));
  transition: transform .25s cubic-bezier(.4,0,.2,1), opacity .25s cubic-bezier(.4,0,.2,1);
}

.logo-item:hover {
  transform: translateY(-2px) scale(1.04);
  opacity: 1;
  filter: drop-shadow(0 4px 14px rgba(6, 214, 160, .35));
}

.logo-marquee:hover .logo-track { 
  animation-play-state: paused; 
}

@keyframes logo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Sección Tipos de Automatización ===== */
.automation-types {
  padding: 120px 24px;
  background: #0f0f0f;
  position: relative;
}

.types-container {
  max-width: 1200px;
  margin: 0 auto;
}

.types-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 20px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.automation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.automation-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.automation-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.05), rgba(14, 165, 233, 0.05));
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
}

.automation-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 214, 160, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.automation-card:hover::before {
  opacity: 1;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.card-icon {
  width: 50px;
  height: 50px;
  background: rgba(6, 214, 160, 0.1);
  border: 1px solid rgba(6, 214, 160, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-smooth);
  flex-shrink: 0;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--green);
}

.automation-card:hover .card-icon {
  background: rgba(6, 214, 160, 0.2);
  border-color: rgba(6, 214, 160, 0.5);
  transform: scale(1.1);
}

.card-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  position: relative;
  z-index: 2;
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 20px;
  text-align: justify;
  text-justify: inter-word;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 15px;
}

.card-features li::before {
  content: '→';
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}

/* ===== Sección ROI Calculator ===== */
.roi-section {
  padding: 120px 24px;
  background: #0a0a0a;
  position: relative;
}

.roi-container {
  max-width: 1200px;
  margin: 0 auto;
}

.roi-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.roi-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.2;
}

.roi-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 40px;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
}

.roi-calculator {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-input label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.calc-input input {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s var(--ease-smooth);
}

.calc-input input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(6, 214, 160, 0.1);
}

.roi-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.result-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s var(--ease-smooth);
}

.result-card:hover {
  background: rgba(6, 214, 160, 0.1);
  border-color: rgba(6, 214, 160, 0.3);
  transform: translateY(-4px);
}

.result-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--green);
  display: block;
  margin-bottom: 8px;
}

.result-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.btn-roi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border-radius: 12px;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn-roi::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.6s var(--ease-smooth);
}

.btn-roi:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 214, 160, 0.4);
}

.btn-roi:hover::before {
  transform: translateX(100%) skewX(-15deg);
}

/* ===== Sección Timeline ===== */
.timeline-section {
  padding: 120px 24px;
  background: #0f0f0f;
  position: relative;
}

.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-header {
  text-align: center;
  margin-bottom: 80px;
}

.timeline-wrapper {
  position: relative;
}

.timeline-track {
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease-smooth);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.timeline-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-icon {
  width: 60px;
  height: 60px;
  background: rgba(6, 214, 160, 0.1);
  border: 3px solid rgba(6, 214, 160, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  position: relative;
  transition: all 0.4s var(--ease-smooth);
}

.marker-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--green);
}

.timeline-item.animate .marker-icon {
  background: rgba(6, 214, 160, 0.2);
  border-color: var(--green);
  transform: scale(1.1);
}

.marker-line {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100px;
  background: linear-gradient(180deg, var(--green) 0%, rgba(6, 214, 160, 0.1) 100%);
  opacity: 0.5;
}

.timeline-item:last-child .marker-line {
  display: none;
}

.timeline-content {
  padding-top: 8px;
}

.timeline-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(6, 214, 160, 0.1);
  border: 1px solid rgba(6, 214, 160, 0.3);
  border-radius: 20px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.timeline-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.3;
}

.timeline-description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 20px;
  text-align: justify;
  text-justify: inter-word;
}

.timeline-deliverables {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-deliverables li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 15px;
}

.timeline-deliverables li::before {
  content: '✓';
  width: 18px;
  height: 18px;
  background: rgba(6, 214, 160, 0.2);
  border: 1px solid rgba(6, 214, 160, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--green);
  flex-shrink: 0;
}

/* ===== CTA Final ===== */
.final-cta {
  padding: 120px 24px;
  background: 
    radial-gradient(circle at 50% 50%, rgba(6, 214, 160, 0.1) 0%, transparent 60%),
    #0f0f0f;
  text-align: center;
}

.cta-container {
  max-width: 1000px;
  margin: 0 auto;
}

.cta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--green);
  display: block;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 500;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 20px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 40px;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  border-radius: 16px;
  border: 2px solid transparent;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(6, 214, 160, 0.4);
}

.btn-cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%) skewX(-20deg);
  transition: transform 0.6s var(--ease-smooth);
}

.btn-cta-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 50px rgba(6, 214, 160, 0.6);
}

.btn-cta-primary:hover::before {
  transform: translateX(100%) skewX(-20deg);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-subtitle {
    max-width: none;
    text-align: center;
  }
  
  .roi-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .timeline-item {
    grid-template-columns: 60px 1fr;
    gap: 30px;
  }
  
  .marker-icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .automation-hero {
    padding: 120px 20px 60px;
    min-height: 90vh;
  }
  
  .hero-container {
    gap: 40px;
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }
  
  .automation-badge {
    font-size: 11px;
    padding: 6px 16px;
  }
  
  .automation-flow {
    padding: 30px 20px;
  }
  
  .flow-node {
    min-width: 120px;
    padding: 16px;
  }
  
  .btn-automation,
  .btn-cta-primary {
    padding: 16px 28px;
    font-size: 15px;
  }
  
  .automation-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .automation-card {
    padding: 24px 20px;
  }
  
  .card-header {
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .card-icon {
    width: 44px;
    height: 44px;
  }
  
  .card-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .card-title {
    font-size: 18px;
  }
  
  .roi-calculator {
    gap: 20px;
  }
  
  .calc-input input {
    padding: 14px 16px;
    font-size: 16px;
  }
  
  .result-card {
    padding: 20px;
  }
  
  .result-value {
    font-size: 2rem;
  }
  
  .timeline-item {
    margin-bottom: 60px;
    grid-template-columns: 50px 1fr;
    gap: 20px;
  }
  
  .marker-icon {
    width: 40px;
    height: 40px;
  }
  
  .marker-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .marker-line {
    top: 40px;
    height: 80px;
  }
  
  .timeline-title {
    font-size: 20px;
  }
  
  .timeline-deliverables li::before {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }
  
  .cta-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .types-header .section-subtitle,
  .timeline-header .section-subtitle,
  .cta-subtitle {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .automation-hero {
    padding: 100px 16px 50px;
  }
  
  .automation-badge {
    font-size: 10px;
    padding: 5px 12px;
  }
  
  .hero-title {
    font-size: clamp(1.6rem, 9vw, 2.4rem);
    line-height: 1.2;
  }
  
  .automation-flow {
    padding: 20px 16px;
    gap: 20px;
  }
  
  .flow-node {
    min-width: 100px;
    padding: 12px;
  }
  
  .node-icon {
    width: 40px;
    height: 40px;
  }
  
  .node-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .node-label {
    font-size: 12px;
  }
  
  .flow-arrow svg {
    width: 20px;
    height: 20px;
  }
  
  .automation-card {
    padding: 20px 16px;
  }
  
  .card-title {
    font-size: 16px;
  }
  
  .card-description {
    font-size: 14px;
  }
  
  .card-features li {
    font-size: 14px;
  }
  
  .roi-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  
  .roi-subtitle {
    font-size: 16px;
  }
  
  .calc-input label {
    font-size: 14px;
  }
  
  .calc-input input {
    padding: 12px 14px;
    font-size: 15px;
  }
  
  .result-card {
    padding: 16px;
  }
  
  .result-value {
    font-size: 1.8rem;
  }
  
  .result-label {
    font-size: 13px;
  }
  
  .btn-roi {
    padding: 14px 20px;
    font-size: 15px;
  }
  
  .timeline-item {
    margin-bottom: 50px;
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }
  
  .marker-icon {
    width: 36px;
    height: 36px;
  }
  
  .marker-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .marker-line {
    top: 36px;
    height: 70px;
  }
  
  .timeline-badge {
    font-size: 11px;
    padding: 3px 10px;
  }
  
  .timeline-title {
    font-size: 18px;
  }
  
  .timeline-description {
    font-size: 14px;
  }
  
  .timeline-deliverables li {
    font-size: 14px;
  }
  
  .timeline-deliverables li::before {
    width: 14px;
    height: 14px;
    font-size: 8px;
  }
  
  .cta-title {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
  }
  
  .cta-subtitle {
    font-size: 16px;
  }
}

/* ===== Accesibilidad ===== */
@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
  }
  
  .automation-hero::before {
    animation: none;
  }
  
  .flow-node {
    transition: none;
  }
  
  .automation-card {
    transition: none;
  }
}

/* ===== Focus states para accesibilidad ===== */
.btn-automation:focus-visible,
.btn-roi:focus-visible,
.btn-cta-primary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.calc-input input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* ===== Animaciones adicionales ===== */
.automation-card {
  animation: fadeInUp 0.6s var(--ease-smooth) forwards;
}

.automation-card:nth-child(1) { animation-delay: 0.1s; }
.automation-card:nth-child(2) { animation-delay: 0.2s; }
.automation-card:nth-child(3) { animation-delay: 0.3s; }
.automation-card:nth-child(4) { animation-delay: 0.4s; }
.automation-card:nth-child(5) { animation-delay: 0.5s; }
.automation-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}