
/* ====================== SECCIÓN DE SERVICIOS ====================== */
.srv-section {
  background: #111;
  color: #fff;
  padding: 130px 20px 80px;
  display: flex;
  justify-content: center;
}

.srv-container {
  width: 100%;
  max-width: 1300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.srv-container h2 {
  font-size: 2rem;
  color: #f97316;
  margin-bottom: 10px;
}

.srv-container p {
  color: #ccc;
  max-width: 700px;
}

/* ====================== GRID ====================== */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  width: 100%;
  margin-top: 30px;
}

.srv-card {
  background: #1a1a1a;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  padding: 28px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.srv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.4);
  background: #222;
}

.srv-card i {
  font-size: 36px;
  color: #f97316;
  margin-bottom: 10px;
}

.srv-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.srv-card h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 6px;
}

.srv-card p {
  color: #b3b3b3;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ====================== MODAL EMERGENTE ====================== */
.srv-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.srv-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.srv-modal {
  background: #111;
  color: #fff;
  border-radius: 14px;
  width: 90%;
  max-width: 800px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  animation: srv-pop 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.4);
}

@keyframes srv-pop {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.srv-modal img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 20px;
}

.srv-modal h3 {
  color: #f97316;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.srv-modal p {
  color: #ffffff;
  margin-bottom: 20px;
}

.srv-modal .srv-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.srv-btn {
  background: #f97316;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.srv-btn:hover {
  background: #ff9d4c;
  transform: translateY(-2px);
}

.srv-btn.close {
  background: #333;
}

.srv-btn.close:hover {
  background: #555;
}

@media (max-width: 768px) {
  .srv-modal {
    padding: 20px;
  }
  .srv-container h2 {
    font-size: 1.6rem;
  }
}
