/* Estilos para páginas de servicios */

/* Hero Section */
.hero-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  margin-bottom: 40px;
}

.hero-icon {
  font-size: 4rem;
  color: #e63946;
  display: block;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

/* Servicios Cards */
.servicios-section {
  margin-bottom: 50px;
}

.servicio-card {
  background: white;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #e9ecef;
}

.servicio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.servicio-icon {
  font-size: 3rem;
  color: #e63946;
  margin-bottom: 20px;
  display: block;
}

.servicio-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.servicio-card p {
  color: #6c757d;
  line-height: 1.6;
}

/* Formulario de Cotización */
.cotizacion-section {
  margin-bottom: 50px;
}

.cotizacion-card {
  background: white;
  border-radius: 15px;
  padding: 40px;
  margin-top: 110px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  border: 1px solid #e9ecef;
}

.cotizacion-form {
  max-width: 100%;
}

.form-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e9ecef;
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section h4 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 25px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

.form-section h4 i {
  color: #e63946;
  margin-right: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 500;
  color: #495057;
  margin-bottom: 8px;
  display: block;
}

.form-control {
  border-radius: 8px;
  border: 2px solid #e9ecef;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #e63946;
  box-shadow: 0 0 0 0.2rem rgba(230, 57, 70, 0.25);
}

.form-control:focus {
  outline: none;
}

/* Checkboxes personalizados */
.form-check {
  margin-bottom: 15px;
}

.form-check-input {
  margin-right: 10px;
}

.form-check-label {
  font-weight: 500;
  color: #495057;
  cursor: pointer;
}

/* Botones */
.btn-custom {
  background: linear-gradient(135deg, #e63946 0%, #c12738 100%);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 40px;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
  min-width: 200px;
}

.btn-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
  color: white;
  text-decoration: none;
}

.btn-outline-secondary {
  border: 2px solid #6c757d;
  color: #6c757d;
  font-weight: 600;
  padding: 12px 40px;
  border-radius: 25px;
  transition: all 0.3s ease;
  min-width: 200px;
}

.btn-outline-secondary:hover {
  background-color: #6c757d;
  border-color: #6c757d;
  color: white;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .cotizacion-card {
    padding: 25px;
  }
  
  .servicio-card {
    padding: 20px 15px;
  }
  
  .servicio-icon {
    font-size: 2.5rem;
  }
  
  /* Botones en móviles */
  .btn-custom,
  .btn-outline-secondary {
    min-width: 180px;
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  /* Disposición de botones en móviles */
  .text-center .btn {
    margin: 5px;
    display: inline-block;
  }
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cotizacion-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Estados de formulario */
.form-control.is-valid {
  border-color: #28a745;
}

.form-control.is-invalid {
  border-color: #dc3545;
}

/* Mensajes de validación */
.invalid-feedback {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 5px;
}

.valid-feedback {
  color: #28a745;
  font-size: 0.875rem;
  margin-top: 5px;
}

/* Loading state */
.btn-custom:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Success message */
.success-message {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}

/* Error message */
.error-message {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}
