
.services {
  background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
  padding: 80px 0 60px 0;
  position: relative;
  overflow: hidden;
}
.services .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  color: #f8fafc;
}
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-header p {
  font-size: 1.18rem;
  color: #cbd5e1;
  margin-bottom: 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  margin-bottom: 3rem;
}
.service-card {
  background: rgba(17, 24, 39, 0.98);
  border-radius: 18px;
  box-shadow: none;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: visible;
  min-height: 450px;
  border: 1px solid #e5e7eb;
}
.service-card.featured {
  border: 1px solid #e5e7eb;
  box-shadow: 0 0 32px 4px rgba(59,130,246,0.18);
  transform: scale(1.03) rotate(-1deg);
}
.service-card:hover {
  transform: translateY(-12px) scale(1.04) rotate(1deg);
  box-shadow: 0 12px 40px rgba(59,130,246,0.2);
  border-color: #e5e7eb;
  z-index: 2;
}
.service-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}
.service-card-front {
  padding: 2.5rem 2rem 1.5rem 2rem;
  text-align: center;
}
.service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 50%;
  font-size: 2.5rem;
  color: #fff;
  transition: background 0.3s, transform 0.3s;
  border: 2px solid #3b82f6;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: scale(1.12) rotate(-6deg);
}
.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.6rem;
  letter-spacing: 0.5px;
}
.service-card p {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  font-size: 1.08rem;
}
.price-tag {
  display: inline-block;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  margin-top: 1rem;
  font-size: 1.08rem;
  letter-spacing: 0.5px;
}
.service-card-back {
  background: none;
  padding: 0 2rem 2rem 2rem;
  text-align: left;
}
.service-card-back h3 {
  color: #3b82f6;
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.service-card-back ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}
.service-card-back li {
  padding: 0.45rem 0;
  color: #e2e8f0;
  display: flex;
  align-items: flex-start;
  font-size: 1.01rem;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.13);
}
.service-card-back li:last-child {
  border-bottom: none;
}
.service-card-back li i {
  color: #3b82f6;
  margin-right: 0.6rem;
  margin-top: 0.18rem;
  font-size: 1.1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.08rem;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  border: 1px solid #e5e7eb;
  cursor: pointer;
  text-align: center;
  margin-top: 0.6rem;
}
.btn-outline {
  background: transparent;
  border: 2px solid #3b82f6;
  color: #3b82f6;
}
.btn-outline:hover {
  background: #2563eb;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.btn-primary {
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  color: #fff;
  border: none;
}
.btn-primary:hover {
  background: linear-gradient(90deg, #3b82f6, #10b981);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #2563eb 0%, #10b981 100%);
  border-radius: 18px;
  padding: 2.2rem 2.5rem;
  margin-top: 2.5rem;
  gap: 24px;
}
.cta-content h3 {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.cta-content p {
  color: #e0e7ef;
  font-size: 1.08rem;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
}
@media (max-width: 600px) {
  .services {
    padding: 40px 0 30px 0;
  }
  .section-header h2 {
    font-size: 1.5rem;
  }
  .service-card {
    min-height: 320px;
    padding: 1.2rem 0.5rem;
  }
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  .cta-box {
    padding: 1rem;
  }
}
/* Efecto de glassmorphism para tarjetas */
.service-card {
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(7px) saturate(130%);
  -webkit-backdrop-filter: blur(7px) saturate(130%);
  border: 1px solid #e5e7eb;
}
/* Animación de entrada */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.service-card {
  
}
