.produccion-section {
background: linear-gradient(to bottom, #ffffff 0%, #0d3c66 100%);
padding: 80px 20px;
text-align: center;
}

.intro-produccion {
max-width: 1000px;
margin: 0 auto 60px auto;
}

.produccion-title {
font-size: 42px;
font-weight: bold;
color: #BCA500;
margin-bottom: 20px;
}

.produccion-text {
font-size: 18px;
color: #0d3c66;
line-height: 1.7;
text-align: justify;
}

.pilares-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
margin-top: 40px;
}

.pilar-card {
background-color: white;
border-radius: 12px;
box-shadow: 0 6px 20px rgba(0,0,0,0.1);
padding: 30px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pilar-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.pilar-card h3 {
color: #d1a800;
font-weight: bold;
font-size: 20px;
margin-bottom: 15px;
}

.pilar-card p {
font-size: 15px;
color: #002C59;
text-align: justify;
}

.servicios-especiales {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 60px;
gap: 30px;
}

.servicio-card {
    background-color: white;
    width: 300px;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    padding-bottom: 20px;
}
  

.servicio-card:hover {
transform: scale(1.03);
}

.servicio-card img {
width: 100%;
height: 200px;
object-fit: cover;
}

.servicio-card h4 {
    font-size: 20px;
    color: #0d3c66;
    font-weight: bold;
    margin: 15px 0 10px;
    padding: 0 20px;
  }

  .servicio-card p {
    font-size: 15px;
    padding: 5px 30px;
    color: #0d3c66;
    text-align: justify;
    flex-grow: 1;
  }

.btn-ver-mas {
    display: inline-block;
    margin: 15px auto 20px;
    background-color: #002C59;
    color: white;
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .btn-ver-mas:hover {
    background: linear-gradient(90deg, #002C59, #0050a0);
    transform: scale(1.05);
  }
  
  .breath {
    animation: breath 3s ease-in-out infinite;
  }
  
  @keyframes breath {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.02);
    }
  }  

.fade-up,
.fade-in-left,
.fade-in-right {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease-out;
}

.fade-in-left {
transform: translateX(-30px);
}

.fade-in-right {
transform: translateX(30px);
}

.visible {
opacity: 1 !important;
transform: translateY(0) translateX(0) !important;
}

.delay-1 {
transition-delay: 0.2s;
}
.delay-2 {
transition-delay: 0.4s;
}
.delay-3 {
transition-delay: 0.6s;
}

.typing-effect {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    width: fit-content;
  }
  
  .typing-active {
    border-right: 2px solid #002C59;
    animation: blink 0.8s steps(1) infinite;
  }
  
  @keyframes blink {
    0%, 100% {
      border-color: transparent;
    }
    50% {
      border-color: #002C59;
    }
  }

  @media (max-width: 768px) {
  .produccion-section {
    padding: 50px 15px;
    text-align: center;
  }

  .intro-produccion {
    margin-bottom: 40px;
  }

  .produccion-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .produccion-text {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
  }

  .pilares-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .pilar-card {
    padding: 20px;
  }

  .pilar-card h3 {
    font-size: 18px;
  }

  .pilar-card p {
    font-size: 14px;
  }

  .servicios-especiales {
    flex-direction: column;
    gap: 25px;
    margin-top: 50px;
  }

  .servicio-card {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .servicio-card h4 {
    font-size: 18px;
    padding: 0 15px;
  }

  .servicio-card p {
    font-size: 14px;
    padding: 5px 20px;
  }

  .btn-ver-mas {
    font-size: 15px;
    padding: 8px 20px;
  }
}

  

  