/* ===============================================
   MODERNIZACIÓN Y AUTOMATIZACIÓN - REDESIGN 2024
   =============================================== */

/* ================= VARIABLES ================= */
:root {
  --color-primary: #00897B;
  --color-primary-light: #00695C;
  --color-accent: #f07e26;
  --color-accent-bright: #f07e26;
  --color-text: #212529;
  --color-text-light: #495057;
  --color-bg-light: #f8f9fa;
  --color-white: #ffffff;
  --gradient-hero: linear-gradient(135deg, #004D40 0%, #00897B 100%);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-main: 'Maiandra GD', 'Century Gothic', Arial, sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: #f8f9fa;
  overflow-x: hidden;
}

/* ================= UTILITIES ================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

/* ================= HERO SECTION ================= */
.hero-modernizacion {
  position: relative;
  min-height: 500px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
  margin-top: 80px;
  padding: 80px 0;
}

.hero-modernizacion .hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  opacity: 0.2;
}

.hero-modernizacion .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-modernizacion .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-modernizacion h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-modernizacion p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 700px;
}

.hero-modernizacion .btn-primary {
  background: var(--color-accent-bright);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(240, 126, 38, 0.4);
  display: inline-block;
}

.hero-modernizacion .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(240, 126, 38, 0.6);
  background: #e67e22;
}

/* ================= PRODUCT DESCRIPTION ================= */
.product-description {
  padding: 100px 0;
  background: var(--color-white);
}

.description-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.description-text h2 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.description-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.description-image img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

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

.feature-item {
  background: var(--color-bg-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.feature-item h3 {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.6;
}

/* ================= SOLUTIONS INCLUDED ================= */
.solutions-included {
  padding: 80px 0;
  background: var(--color-bg-light);
}

.solutions-included h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 3rem;
}

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

.solution-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.solution-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.solution-card h3 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.solution-card p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.solution-card ul {
  list-style: none;
  padding: 0;
}

.solution-card li {
  padding: 0.5rem 0;
  color: var(--color-text);
  position: relative;
  padding-left: 1.5rem;
}

.solution-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* ================= BENEFITS ================= */
.benefits {
  padding: 80px 0;
  background: var(--color-white);
}

.benefits h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.benefit-card {
  background: var(--color-bg-light);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.benefit-card h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.benefit-card p {
  color: var(--color-text-light);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* ================= IMPLEMENTATION PROCESS ================= */
.implementation-process {
  padding: 80px 0;
  background: var(--color-bg-light);
}

.implementation-process h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 3rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all 0.3s ease;
}

.process-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.process-step h3 {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.process-step p {
  color: var(--color-text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ================= CTA SECTION ================= */
.cta-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--color-primary);
  text-align: center;
  color: white;
}

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

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--color-accent-bright);
  color: #fff;
  box-shadow: 0 4px 15px rgba(240, 126, 38, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(240, 126, 38, 0.6);
  background: #e67e22;
}

.btn-secondary {
  background: white;
  color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-bg-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .hero-modernizacion h1 {
    font-size: 2.5rem;
  }

  .description-content {
    grid-template-columns: 1fr;
  }

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

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-modernizacion {
    padding: 60px 0;
  }

  .hero-modernizacion h1 {
    font-size: 2rem;
  }

  .hero-modernizacion p {
    font-size: 1.1rem;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}

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